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/1942
[experiment] missing default_experiment-1-0.arrow
I don't see how this could be the responsibility of `Trainer`, who hasn't the faintest idea of what a `datasets.Metric` is. The trainer takes a function `compute_metrics` that goes from predictions + labels to metric results, there is nothing there. That computation is done on all processes The fact a `datasets.Metric` object cannot be used as a simple compute function in a multi-process environment is, in my opinion, a bug in `datasets`. Especially since, as I mentioned before, the multiprocessing part of `datasets.Metric` has a deep flaw since it can't work in a multinode environment. So you actually need to do the job of gather predictions and labels yourself. The changes you are proposing Stas are making the code less readable and also concatenate all the predictions and labels `number_of_processes` times I believe, which is not going to make the metric computation any faster.
the original report was pretty bad and incomplete - my apologies! Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481 ------------ As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files. w/o the network I get: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow ``` there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock` I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind. this is with master. Thank you.
144
[experiment] missing default_experiment-1-0.arrow
[ -0.07338229566812515, -0.2563176453113556, -0.19142918288707733, -0.23882794380187988, 0.09620597213506699, -0.09454365074634552, 0.25715136528015137, 0.29895901679992676, 0.2939397692680359, 0.3312016725540161, 0.41444849967956543, 0.48433589935302734, -0.3909769356250763, 0.20366349816322327, -0.12836064398288727, -0.012427924200892448, 0.04852054640650749, 0.1361445188522339, 0.025064844638109207, -0.1442653238773346, -0.2635476291179657, 0.3152832090854645, -0.35496819019317627, 0.4231581389904022, -0.002535457257181406, -0.013908006250858307, 0.10223031789064407, -0.05633821710944176, -0.02639392390847206, -0.6756616234779358, 0.23726284503936768, 0.04641937464475632, -0.00952453725039959, -0.1055658608675003, -0.00010767835192382336, -0.0948563739657402, 0.5123885273933411, 0.03505726531147957, -0.17420154809951782, 0.011398395523428917, 0.0707426592707634, 0.15889862179756165, 0.38810914754867554, -0.14761310815811157, 0.16947367787361145, -0.30423954129219055, 0.26135754585266113, -0.422943651676178, -0.07617928832769394, 0.1717883199453354, 0.2683282792568207, -0.00816939864307642, -0.0634726881980896, -0.33573949337005615, 0.5302495956420898, 0.08845501393079758, 0.1139148399233818, 0.09628438204526901, 0.07557585835456848, 0.16408513486385345, 0.0690593495965004, 0.11897782981395721, 0.2644070088863373, 0.05816793069243431, -0.19567054510116577, -0.16340163350105286, 0.5767311453819275, -0.14351409673690796, 0.025102313607931137, 0.24788957834243774, 0.34044796228408813, 0.01857348531484604, 0.1922793835401535, 0.30116721987724304, 0.05913456529378891, -0.08740293234586716, -0.032410621643066406, -0.05190327391028404, -0.020251858979463577, -0.06938675791025162, 0.3593166172504425, -0.15168605744838715, -0.2578505873680115, 0.3865874111652374, 0.1405244767665863, 0.3565194606781006, -0.023153677582740784, 0.286739319562912, -0.06822386384010315, 0.10204007476568222, 0.10807342082262039, 0.27494099736213684, -0.24306157231330872, -0.0657973662018776, 0.07387864589691162, 0.08613324910402298, 0.27057474851608276, -0.3036779761314392, 0.17930208146572113, 0.6141868233680725, -0.01293075829744339, 0.22090479731559753, 0.23036789894104004, 0.12060167640447617, 0.07964973896741867, 0.03102932870388031, 0.20042355358600616, 0.317363440990448, 0.13779470324516296, 0.19155651330947876, -0.06675458699464798, 0.14685659110546112, -0.06887591630220413, -0.3990168869495392, 0.17460009455680847, 0.129692941904068, 0.10372945666313171, 0.05483289435505867, -0.03603186830878258, 0.26561638712882996, -0.3884243071079254, 0.0022139642387628555, -0.1612589806318283, 0.1449425369501114, 0.4625319838523865, 0.21429257094860077, 0.1965084969997406, 0.09748291224241257, -0.009771961718797684, -0.05262811854481697, -0.4250442087650299, 0.0025981080252677202, -0.17704519629478455, -0.1913677603006363, 0.03061969019472599, 0.19627849757671356, 0.4444088339805603, -0.3651845455169678, 0.21415290236473083, -0.13829578459262848, 0.3954489827156067, 0.15283967554569244, -0.027447914704680443, 0.3350647985935211, -0.0732627734541893, 0.1361035257577896, 0.1754363477230072, 0.19057917594909668, -0.077956423163414, 0.11955490708351135, -0.09534356743097305, -0.4341011643409729, -0.0288234893232584, 0.3067198693752289, -0.07763015478849411, 0.15394942462444305, -0.05404318869113922, -0.02063642255961895, -0.3747020363807678, 0.032997358590364456, -0.031789630651474, -0.2605237364768982, 0.2639870047569275, -0.3770076632499695, 0.3088131546974182, 0.16727660596370697, -0.12999841570854187, -0.22238898277282715, -0.024991990998387337, -0.23230090737342834, 0.11292507499456406, -0.19562387466430664, -0.5058309435844421, 0.24647654592990875, -0.3310911953449249, 0.1429615169763565, 0.2998787760734558, -0.09179210662841797, -0.23893140256404877, -0.20469889044761658, -0.30205821990966797, -0.2659786641597748, -0.029440218582749367, 0.0044500320218503475, -0.21736246347427368, 0.18367742002010345, -0.27238836884498596, 0.02016986347734928, 0.1693471372127533, -0.03234697878360748, -0.18225504457950592, -0.25899526476860046, 0.048848289996385574, -0.052097514271736145, 0.1546834260225296, -0.15414829552173615, -0.07670103013515472, -0.3403382897377014, 0.16223862767219543, 0.025481723248958588, 0.02829020842909813, 0.10332115739583969, 0.7165560126304626, -0.16275666654109955, 0.17911645770072937, -0.07468649744987488, 0.13091085851192474, -0.07517582178115845, 0.10728751868009567, -0.015602481551468372, 0.19432300329208374, 0.025597210973501205, -0.22547553479671478, 0.2012774497270584, -0.0500803217291832, -0.2339639812707901, 0.2732841372489929, 0.26506710052490234, -0.12888842821121216, 0.0829780101776123, -0.3442956507205963, -0.05752526968717575, -0.1618824601173401, -0.030195189639925957, -0.2611466646194458, 0.06926008313894272, -0.26397499442100525, -0.3842495381832123, -0.10789772868156433, -0.22746221721172333, -0.0683184489607811, 0.016749968752264977, -0.16446061432361603, 0.3158847689628601, 0.043215926736593246, -0.055559251457452774, 0.43773457407951355, -0.12265276163816452, -0.23247578740119934, -0.735174834728241, -0.26286134123802185, 0.3016657531261444, -0.006505555473268032, 0.29546666145324707, 0.08304084837436676, 0.3100711703300476, 0.049696989357471466, 0.01852414384484291, -0.11342592537403107, 0.13245470821857452, -0.009198872372508049, -0.03326760232448578, -0.3611816167831421, -0.20121103525161743, 0.20325499773025513, -0.21787138283252716, 0.12303392589092255, -0.3473706543445587, -0.22518165409564972, -0.06970786303281784, 0.10411021113395691, 0.027811016887426376, 0.12992289662361145, 0.09136902540922165, -0.1197759360074997, -0.0891968384385109, 0.01607249304652214, -0.009544366039335728, 0.3703768253326416, 0.4228544533252716, -0.12804411351680756, -0.07461211085319519, -0.2005106657743454, -0.05668347328901291, 0.1839074343442917, -0.03355102986097336, 0.45091909170150757, -0.05093175172805786, 0.15958374738693237, -0.13477765023708344, -0.26546981930732727, -0.3288883864879608, -0.19555054605007172, 0.22848893702030182, -0.30532699823379517, -0.02459276281297207, -0.23335760831832886, 0.28394338488578796, 0.01103182416409254, -0.14625808596611023, 0.4144638776779175, -0.3514454662799835, 0.1744059920310974, -0.22567947208881378, -0.2941601872444153, 0.3789617121219635, -0.3192503750324249, 0.32827913761138916, 0.17772741615772247, 0.0697418674826622, -0.18572381138801575, -0.06771644949913025, -0.4145723879337311, 0.061483610421419144, -0.3339463174343109, 0.1797294318675995, 0.024549763649702072, 0.039277516305446625, 0.07654374837875366, -0.11699072271585464, -0.3463263213634491, 0.049980372190475464, 0.2755492627620697, 0.40122994780540466, 0.5701850056648254, 0.08026251941919327, -0.3707701861858368, -0.22303952276706696, 0.29647523164749146, -0.5859362483024597, -0.08604350686073303, 0.05789485201239586, -0.08056391030550003, -0.102237768471241, -0.20492659509181976, -0.3865140378475189, 0.15681809186935425, -0.1408044546842575, -0.09452179074287415, -0.08903910964727402, 0.07393313944339752, -0.07149233669042587, 0.38413572311401367, 0.04541575908660889, -0.06319884210824966, 0.03155040740966797, -0.2197457253932953, -0.39766159653663635, 0.1726865917444229, -0.15046648681163788, -0.2470550388097763, -0.06909353286027908, -0.24015216529369354, -0.1720326542854309, 0.15119755268096924, -0.41926708817481995, -0.053985390812158585, 0.29399627447128296, -0.09595032036304474, -0.22539925575256348, 0.0384097583591938, 0.2643980085849762, 0.23701231181621552, -0.23434412479400635, -0.2823922336101532, -0.2202741503715515, 0.5622429847717285, -0.13834506273269653, 0.1576588749885559, -0.15814439952373505, 0.17846961319446564, 0.06861432641744614, 0.5787314176559448, 0.05753106251358986, 0.005523559171706438, 0.07554646581411362, -0.10162732750177383, 0.04005178436636925, 0.0013344655744731426, 0.19249841570854187, 0.0964350625872612, 0.275795578956604, 0.09991700947284698, 0.13543906807899475, -0.09503737837076187, -0.21383094787597656, 0.16573871672153473, 0.2253512442111969, -0.19740030169487, -0.17269812524318695, -0.07937930524349213, -0.26450687646865845, 0.17802797257900238, -0.14596568048000336, -0.16186895966529846, -0.2763844132423401, 0.23072192072868347, 0.17050403356552124, 0.2143685668706894, -0.0142023004591465, 0.11561442911624908, -0.1304686963558197, 0.019938532263040543, -0.0728554055094719, 0.27057474851608276, -0.3465678095817566, 0.31095683574676514, 0.12476027011871338, -0.199081689119339, 0.0632655993103981, -0.23907583951950073, 0.5555779337882996, -0.21369734406471252, -0.05590081587433815, 0.045771244913339615, 0.5499215126037598, -0.49922314286231995, -0.38678431510925293, -0.14785893261432648, -0.02390875667333603, 0.1480982005596161, 0.015496044419705868, -0.009966571815311909, 0.053609758615493774, 0.4032469689846039, -0.19727888703346252, 0.042959656566381454, -0.08398469537496567, -0.3231596350669861, -0.5041266083717346, -0.17668870091438293, -0.09038788825273514, -0.1212175041437149, -0.028618192300200462, 0.11303319782018661, -0.029134241864085197, -0.24746489524841309, -0.20340846478939056, -0.07499391585588455, -0.08725621551275253, 0.25422200560569763, -0.24510692059993744, 0.0472249835729599, 0.16470268368721008, 0.13692232966423035, 0.3939920663833618, 0.08993075042963028, 0.07777455449104309, -0.04424583539366722, 0.22407805919647217, -0.15216152369976044, 0.3052811324596405, 0.3963155150413513, -0.16503241658210754, 0.17141205072402954, -0.19537119567394257, 0.12074442952871323, 0.4065832197666168, 0.2974751591682434, 0.39014503359794617, -0.23376984894275665, 0.21583575010299683, 0.0418514758348465, 0.14214670658111572, -0.16791486740112305, -0.17954030632972717, 0.4618099629878998, 0.0016146327834576368, -0.2205052673816681, 0.551200807094574, -0.020139802247285843, 0.7275046110153198, 0.4271324574947357, -0.0719362199306488, 0.23172366619110107, -0.48550042510032654, -0.17662498354911804, 0.35336416959762573, 0.22193369269371033, -0.29762959480285645, 0.05653533339500427, 0.08810136467218399, -0.31069034337997437, 0.20999391376972198, 0.06150103360414505, -0.13516642153263092, -0.054921746253967285, -0.3186900019645691, -0.030002208426594734, 0.06897790729999542, 0.09034651517868042, 0.17793762683868408, 0.12064623832702637, 0.34213516116142273, 0.17998173832893372, -0.12005409598350525, 0.12995533645153046, -0.056798920035362244, -0.04693141207098961, -0.2868349254131317, -0.2513922452926636, -0.12357806414365768, 0.043624915182590485, -0.31604906916618347, 0.26310062408447266, 0.2465209662914276, -0.12392108887434006, -0.15334336459636688, -0.10628177970647812, -0.0717230960726738, 0.16459310054779053, 0.02178170531988144, 0.2244691550731659, 0.7356694340705872, -0.31103143095970154, -0.10330842435359955, -0.0472026988863945, 0.18336030840873718, -0.034296225756406784, -0.4415014982223511, 0.24587087333202362, -0.07831568270921707, -0.1968427449464798, -0.05263688787817955, -0.15010368824005127, 0.2237682044506073, 0.11698814481496811, -0.09414774924516678, 0.26398515701293945, 0.0991922989487648, -0.22158992290496826, 0.24340100586414337, 0.05768607556819916, -0.07735776901245117, 0.007427734322845936, 0.17865434288978577, -0.08693143725395203, -0.05918387696146965, 0.016482412815093994, -0.07025766372680664, 0.12721432745456696, 0.4418889582157135, -0.303492933511734, -0.04920727387070656, -0.24086853861808777, 0.35167235136032104, 0.5980312824249268, -0.5040037631988525, 0.08273280411958694, -0.22433249652385712, -0.1405806988477707, 0.23787645995616913, 0.151678666472435, 0.18219254910945892, 0.025884414091706276, -0.05522395297884941, -0.07693187892436981, -0.3262910544872284, 0.2976842224597931, -0.3800983726978302, 0.3495447635650635, -0.29061928391456604, 0.06828244775533676, -0.27491670846939087, -0.05599164590239525, -0.45808732509613037, 0.17504218220710754, -0.02774493768811226, -0.1328863799571991, -0.3782581388950348, 0.05254589766263962, -0.044740281999111176, -0.06645707041025162, 0.2924724519252777, -0.14733535051345825, -0.19807475805282593, -0.36135777831077576, -0.1212720051407814, 0.06749767810106277, -0.1900569498538971, -0.0679909735918045, 0.0851222351193428, 0.04816756397485733, -0.12315084785223007, 0.14557668566703796, -0.13605906069278717, 0.03645617142319679, -0.03182367607951164, -0.08509685844182968, 0.0256769061088562, 0.07440804690122604, 0.09053093194961548, 0.008591077290475368, 0.09222570806741714, 0.12269804626703262, -0.0601789653301239, 0.04129414260387421, 0.002628382993862033, -0.09343773126602173, 0.18997494876384735, -0.011773832142353058, -0.27196893095970154, 0.45674818754196167, -0.08323000371456146, -0.3791641294956207, -0.3320375084877014, -0.30419600009918213, 0.20091620087623596, 0.058162253350019455, -0.45328426361083984, 0.023168206214904785, 0.03457120060920715, 0.2772741913795471, -0.1987772285938263, 0.13515089452266693, 0.23516283929347992, 0.19554059207439423, 0.05574650689959526, 0.13007961213588715, 0.28008970618247986, 0.004382469691336155, -0.07505227625370026, 0.28275585174560547, -0.05505428835749626, -0.0020123340655118227, 0.18402670323848724, 0.12701070308685303, -0.191808819770813, 0.034108567982912064, 0.11474467068910599, 0.15916353464126587, 0.5101093053817749, 0.1402721405029297, 0.39319872856140137, 0.21879073977470398, 0.30925023555755615, 0.08420917391777039, -0.20198285579681396, -0.10012135654687881, 0.1556759625673294, 0.17437435686588287, -0.07907614856958389, 0.11985009908676147, 0.297529935836792, 0.523160994052887, -0.07049862295389175, -0.1263708919286728, -0.05998150259256363, -0.06919710338115692, -0.03404867276549339, -0.2948487401008606, -0.26769593358039856, -0.056075919419527054, -0.35850009322166443, 0.021827787160873413, 0.0852581039071083, 0.079247385263443, -0.10512660443782806, 0.006841063033789396, -0.35907942056655884, -0.021083226427435875, 0.045942701399326324, 0.1251343935728073, 0.2897728383541107, -0.1121123656630516, 0.12781015038490295, -0.17390459775924683, -0.2710684537887573, 0.08542943000793457, 0.3444783389568329, 0.15591607987880707, 0.20469620823860168, -0.48853373527526855, -0.27416783571243286, 0.4546129107475281, -0.18124304711818695, 0.1042744591832161, -0.2722580134868622, 0.6661026477813721, -0.150001659989357, 0.11897220462560654, 0.27008408308029175, -0.26642727851867676, 0.11110973358154297, 0.22039155662059784, 0.2393447458744049, 0.10495764017105103, -0.027974441647529602, -0.20977942645549774, 0.04713478311896324, 0.13767220079898834, -0.10951192677021027, -0.42086634039878845, 0.025492025539278984, -0.01933063007891178, 0.05343477427959442, -0.07183245569467545, -0.13362319767475128, 0.13135820627212524, -0.13859650492668152, 0.21286779642105103, 0.09542371332645416, 0.1667448878288269, -0.07739390432834625, -0.49988043308258057, -0.16228152811527252, 0.46386653184890747, -0.15928927063941956, -0.12301899492740631, 0.20654097199440002, 0.12575890123844147, 0.050703827291727066, -0.20149141550064087, 0.4277804493904114, 0.1337045282125473, -0.0012911700177937746, 0.36178672313690186, -0.2743280827999115, -0.15342596173286438, 0.317817747592926, -0.044663358479738235, 0.024154070764780045, -0.167465478181839, -0.19011695683002472, 0.031027359887957573, 0.25186729431152344, 0.07940498739480972, -0.302703857421875, 0.1453576385974884, -0.12642282247543335, 0.6104909181594849, -0.13626687228679657, 0.22465942800045013, -0.09688831865787506, -0.008991768583655357, -0.19671279191970825, -0.1396997720003128, -0.18452610075473785, 0.2383011132478714, 0.034197062253952026, 0.33526232838630676, 0.0071235643699765205, -0.08720909059047699, -0.15097036957740784, -0.24825020134449005, 0.30554676055908203, 0.17499811947345734, -0.3641285300254822, 0.2883700430393219, -0.08304545283317566, -0.1307295262813568, -0.02709234319627285, 0.010530885308980942, -0.030312465503811836, 0.03268476575613022, -0.2733916938304901, -0.07725540548563004, 0.4568531811237335, -0.13775940239429474, -0.07872314006090164, -0.19743241369724274, 0.21073180437088013, 0.38373494148254395, 0.07123758643865585, -0.5163736343383789, -0.0896122083067894, 0.20244310796260834, 0.04563817009329796, -0.35704565048217773, 0.06682098656892776, -0.1259520798921585, 0.042168110609054565, 0.15921980142593384, 0.47707608342170715, 0.07246534526348114, 0.040262334048748016, -0.33871057629585266, -0.23821936547756195 ]
https://github.com/huggingface/datasets/issues/1942
[experiment] missing default_experiment-1-0.arrow
Right, to clarify, I meant it'd be good to have it sorted on the library side and not requiring the user to figure it out. This is too complex and error-prone and if not coded correctly the bug will be intermittent which is even worse. Oh I guess I wasn't clear in my message - in no way I'm proposing that we use this workaround code - I was just showing what I had to do to make it work. We are on the same page. > The changes you are proposing Stas are making the code less readable and also concatenate all the predictions and labels number_of_processes times I believe, which is not going to make the metric computation any faster. And yes, this is another problem that my workaround introduces. Thank you for pointing it out, @sgugger
the original report was pretty bad and incomplete - my apologies! Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481 ------------ As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files. w/o the network I get: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow ``` there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock` I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind. this is with master. Thank you.
139
[experiment] missing default_experiment-1-0.arrow
[ -0.07338229566812515, -0.2563176453113556, -0.19142918288707733, -0.23882794380187988, 0.09620597213506699, -0.09454365074634552, 0.25715136528015137, 0.29895901679992676, 0.2939397692680359, 0.3312016725540161, 0.41444849967956543, 0.48433589935302734, -0.3909769356250763, 0.20366349816322327, -0.12836064398288727, -0.012427924200892448, 0.04852054640650749, 0.1361445188522339, 0.025064844638109207, -0.1442653238773346, -0.2635476291179657, 0.3152832090854645, -0.35496819019317627, 0.4231581389904022, -0.002535457257181406, -0.013908006250858307, 0.10223031789064407, -0.05633821710944176, -0.02639392390847206, -0.6756616234779358, 0.23726284503936768, 0.04641937464475632, -0.00952453725039959, -0.1055658608675003, -0.00010767835192382336, -0.0948563739657402, 0.5123885273933411, 0.03505726531147957, -0.17420154809951782, 0.011398395523428917, 0.0707426592707634, 0.15889862179756165, 0.38810914754867554, -0.14761310815811157, 0.16947367787361145, -0.30423954129219055, 0.26135754585266113, -0.422943651676178, -0.07617928832769394, 0.1717883199453354, 0.2683282792568207, -0.00816939864307642, -0.0634726881980896, -0.33573949337005615, 0.5302495956420898, 0.08845501393079758, 0.1139148399233818, 0.09628438204526901, 0.07557585835456848, 0.16408513486385345, 0.0690593495965004, 0.11897782981395721, 0.2644070088863373, 0.05816793069243431, -0.19567054510116577, -0.16340163350105286, 0.5767311453819275, -0.14351409673690796, 0.025102313607931137, 0.24788957834243774, 0.34044796228408813, 0.01857348531484604, 0.1922793835401535, 0.30116721987724304, 0.05913456529378891, -0.08740293234586716, -0.032410621643066406, -0.05190327391028404, -0.020251858979463577, -0.06938675791025162, 0.3593166172504425, -0.15168605744838715, -0.2578505873680115, 0.3865874111652374, 0.1405244767665863, 0.3565194606781006, -0.023153677582740784, 0.286739319562912, -0.06822386384010315, 0.10204007476568222, 0.10807342082262039, 0.27494099736213684, -0.24306157231330872, -0.0657973662018776, 0.07387864589691162, 0.08613324910402298, 0.27057474851608276, -0.3036779761314392, 0.17930208146572113, 0.6141868233680725, -0.01293075829744339, 0.22090479731559753, 0.23036789894104004, 0.12060167640447617, 0.07964973896741867, 0.03102932870388031, 0.20042355358600616, 0.317363440990448, 0.13779470324516296, 0.19155651330947876, -0.06675458699464798, 0.14685659110546112, -0.06887591630220413, -0.3990168869495392, 0.17460009455680847, 0.129692941904068, 0.10372945666313171, 0.05483289435505867, -0.03603186830878258, 0.26561638712882996, -0.3884243071079254, 0.0022139642387628555, -0.1612589806318283, 0.1449425369501114, 0.4625319838523865, 0.21429257094860077, 0.1965084969997406, 0.09748291224241257, -0.009771961718797684, -0.05262811854481697, -0.4250442087650299, 0.0025981080252677202, -0.17704519629478455, -0.1913677603006363, 0.03061969019472599, 0.19627849757671356, 0.4444088339805603, -0.3651845455169678, 0.21415290236473083, -0.13829578459262848, 0.3954489827156067, 0.15283967554569244, -0.027447914704680443, 0.3350647985935211, -0.0732627734541893, 0.1361035257577896, 0.1754363477230072, 0.19057917594909668, -0.077956423163414, 0.11955490708351135, -0.09534356743097305, -0.4341011643409729, -0.0288234893232584, 0.3067198693752289, -0.07763015478849411, 0.15394942462444305, -0.05404318869113922, -0.02063642255961895, -0.3747020363807678, 0.032997358590364456, -0.031789630651474, -0.2605237364768982, 0.2639870047569275, -0.3770076632499695, 0.3088131546974182, 0.16727660596370697, -0.12999841570854187, -0.22238898277282715, -0.024991990998387337, -0.23230090737342834, 0.11292507499456406, -0.19562387466430664, -0.5058309435844421, 0.24647654592990875, -0.3310911953449249, 0.1429615169763565, 0.2998787760734558, -0.09179210662841797, -0.23893140256404877, -0.20469889044761658, -0.30205821990966797, -0.2659786641597748, -0.029440218582749367, 0.0044500320218503475, -0.21736246347427368, 0.18367742002010345, -0.27238836884498596, 0.02016986347734928, 0.1693471372127533, -0.03234697878360748, -0.18225504457950592, -0.25899526476860046, 0.048848289996385574, -0.052097514271736145, 0.1546834260225296, -0.15414829552173615, -0.07670103013515472, -0.3403382897377014, 0.16223862767219543, 0.025481723248958588, 0.02829020842909813, 0.10332115739583969, 0.7165560126304626, -0.16275666654109955, 0.17911645770072937, -0.07468649744987488, 0.13091085851192474, -0.07517582178115845, 0.10728751868009567, -0.015602481551468372, 0.19432300329208374, 0.025597210973501205, -0.22547553479671478, 0.2012774497270584, -0.0500803217291832, -0.2339639812707901, 0.2732841372489929, 0.26506710052490234, -0.12888842821121216, 0.0829780101776123, -0.3442956507205963, -0.05752526968717575, -0.1618824601173401, -0.030195189639925957, -0.2611466646194458, 0.06926008313894272, -0.26397499442100525, -0.3842495381832123, -0.10789772868156433, -0.22746221721172333, -0.0683184489607811, 0.016749968752264977, -0.16446061432361603, 0.3158847689628601, 0.043215926736593246, -0.055559251457452774, 0.43773457407951355, -0.12265276163816452, -0.23247578740119934, -0.735174834728241, -0.26286134123802185, 0.3016657531261444, -0.006505555473268032, 0.29546666145324707, 0.08304084837436676, 0.3100711703300476, 0.049696989357471466, 0.01852414384484291, -0.11342592537403107, 0.13245470821857452, -0.009198872372508049, -0.03326760232448578, -0.3611816167831421, -0.20121103525161743, 0.20325499773025513, -0.21787138283252716, 0.12303392589092255, -0.3473706543445587, -0.22518165409564972, -0.06970786303281784, 0.10411021113395691, 0.027811016887426376, 0.12992289662361145, 0.09136902540922165, -0.1197759360074997, -0.0891968384385109, 0.01607249304652214, -0.009544366039335728, 0.3703768253326416, 0.4228544533252716, -0.12804411351680756, -0.07461211085319519, -0.2005106657743454, -0.05668347328901291, 0.1839074343442917, -0.03355102986097336, 0.45091909170150757, -0.05093175172805786, 0.15958374738693237, -0.13477765023708344, -0.26546981930732727, -0.3288883864879608, -0.19555054605007172, 0.22848893702030182, -0.30532699823379517, -0.02459276281297207, -0.23335760831832886, 0.28394338488578796, 0.01103182416409254, -0.14625808596611023, 0.4144638776779175, -0.3514454662799835, 0.1744059920310974, -0.22567947208881378, -0.2941601872444153, 0.3789617121219635, -0.3192503750324249, 0.32827913761138916, 0.17772741615772247, 0.0697418674826622, -0.18572381138801575, -0.06771644949913025, -0.4145723879337311, 0.061483610421419144, -0.3339463174343109, 0.1797294318675995, 0.024549763649702072, 0.039277516305446625, 0.07654374837875366, -0.11699072271585464, -0.3463263213634491, 0.049980372190475464, 0.2755492627620697, 0.40122994780540466, 0.5701850056648254, 0.08026251941919327, -0.3707701861858368, -0.22303952276706696, 0.29647523164749146, -0.5859362483024597, -0.08604350686073303, 0.05789485201239586, -0.08056391030550003, -0.102237768471241, -0.20492659509181976, -0.3865140378475189, 0.15681809186935425, -0.1408044546842575, -0.09452179074287415, -0.08903910964727402, 0.07393313944339752, -0.07149233669042587, 0.38413572311401367, 0.04541575908660889, -0.06319884210824966, 0.03155040740966797, -0.2197457253932953, -0.39766159653663635, 0.1726865917444229, -0.15046648681163788, -0.2470550388097763, -0.06909353286027908, -0.24015216529369354, -0.1720326542854309, 0.15119755268096924, -0.41926708817481995, -0.053985390812158585, 0.29399627447128296, -0.09595032036304474, -0.22539925575256348, 0.0384097583591938, 0.2643980085849762, 0.23701231181621552, -0.23434412479400635, -0.2823922336101532, -0.2202741503715515, 0.5622429847717285, -0.13834506273269653, 0.1576588749885559, -0.15814439952373505, 0.17846961319446564, 0.06861432641744614, 0.5787314176559448, 0.05753106251358986, 0.005523559171706438, 0.07554646581411362, -0.10162732750177383, 0.04005178436636925, 0.0013344655744731426, 0.19249841570854187, 0.0964350625872612, 0.275795578956604, 0.09991700947284698, 0.13543906807899475, -0.09503737837076187, -0.21383094787597656, 0.16573871672153473, 0.2253512442111969, -0.19740030169487, -0.17269812524318695, -0.07937930524349213, -0.26450687646865845, 0.17802797257900238, -0.14596568048000336, -0.16186895966529846, -0.2763844132423401, 0.23072192072868347, 0.17050403356552124, 0.2143685668706894, -0.0142023004591465, 0.11561442911624908, -0.1304686963558197, 0.019938532263040543, -0.0728554055094719, 0.27057474851608276, -0.3465678095817566, 0.31095683574676514, 0.12476027011871338, -0.199081689119339, 0.0632655993103981, -0.23907583951950073, 0.5555779337882996, -0.21369734406471252, -0.05590081587433815, 0.045771244913339615, 0.5499215126037598, -0.49922314286231995, -0.38678431510925293, -0.14785893261432648, -0.02390875667333603, 0.1480982005596161, 0.015496044419705868, -0.009966571815311909, 0.053609758615493774, 0.4032469689846039, -0.19727888703346252, 0.042959656566381454, -0.08398469537496567, -0.3231596350669861, -0.5041266083717346, -0.17668870091438293, -0.09038788825273514, -0.1212175041437149, -0.028618192300200462, 0.11303319782018661, -0.029134241864085197, -0.24746489524841309, -0.20340846478939056, -0.07499391585588455, -0.08725621551275253, 0.25422200560569763, -0.24510692059993744, 0.0472249835729599, 0.16470268368721008, 0.13692232966423035, 0.3939920663833618, 0.08993075042963028, 0.07777455449104309, -0.04424583539366722, 0.22407805919647217, -0.15216152369976044, 0.3052811324596405, 0.3963155150413513, -0.16503241658210754, 0.17141205072402954, -0.19537119567394257, 0.12074442952871323, 0.4065832197666168, 0.2974751591682434, 0.39014503359794617, -0.23376984894275665, 0.21583575010299683, 0.0418514758348465, 0.14214670658111572, -0.16791486740112305, -0.17954030632972717, 0.4618099629878998, 0.0016146327834576368, -0.2205052673816681, 0.551200807094574, -0.020139802247285843, 0.7275046110153198, 0.4271324574947357, -0.0719362199306488, 0.23172366619110107, -0.48550042510032654, -0.17662498354911804, 0.35336416959762573, 0.22193369269371033, -0.29762959480285645, 0.05653533339500427, 0.08810136467218399, -0.31069034337997437, 0.20999391376972198, 0.06150103360414505, -0.13516642153263092, -0.054921746253967285, -0.3186900019645691, -0.030002208426594734, 0.06897790729999542, 0.09034651517868042, 0.17793762683868408, 0.12064623832702637, 0.34213516116142273, 0.17998173832893372, -0.12005409598350525, 0.12995533645153046, -0.056798920035362244, -0.04693141207098961, -0.2868349254131317, -0.2513922452926636, -0.12357806414365768, 0.043624915182590485, -0.31604906916618347, 0.26310062408447266, 0.2465209662914276, -0.12392108887434006, -0.15334336459636688, -0.10628177970647812, -0.0717230960726738, 0.16459310054779053, 0.02178170531988144, 0.2244691550731659, 0.7356694340705872, -0.31103143095970154, -0.10330842435359955, -0.0472026988863945, 0.18336030840873718, -0.034296225756406784, -0.4415014982223511, 0.24587087333202362, -0.07831568270921707, -0.1968427449464798, -0.05263688787817955, -0.15010368824005127, 0.2237682044506073, 0.11698814481496811, -0.09414774924516678, 0.26398515701293945, 0.0991922989487648, -0.22158992290496826, 0.24340100586414337, 0.05768607556819916, -0.07735776901245117, 0.007427734322845936, 0.17865434288978577, -0.08693143725395203, -0.05918387696146965, 0.016482412815093994, -0.07025766372680664, 0.12721432745456696, 0.4418889582157135, -0.303492933511734, -0.04920727387070656, -0.24086853861808777, 0.35167235136032104, 0.5980312824249268, -0.5040037631988525, 0.08273280411958694, -0.22433249652385712, -0.1405806988477707, 0.23787645995616913, 0.151678666472435, 0.18219254910945892, 0.025884414091706276, -0.05522395297884941, -0.07693187892436981, -0.3262910544872284, 0.2976842224597931, -0.3800983726978302, 0.3495447635650635, -0.29061928391456604, 0.06828244775533676, -0.27491670846939087, -0.05599164590239525, -0.45808732509613037, 0.17504218220710754, -0.02774493768811226, -0.1328863799571991, -0.3782581388950348, 0.05254589766263962, -0.044740281999111176, -0.06645707041025162, 0.2924724519252777, -0.14733535051345825, -0.19807475805282593, -0.36135777831077576, -0.1212720051407814, 0.06749767810106277, -0.1900569498538971, -0.0679909735918045, 0.0851222351193428, 0.04816756397485733, -0.12315084785223007, 0.14557668566703796, -0.13605906069278717, 0.03645617142319679, -0.03182367607951164, -0.08509685844182968, 0.0256769061088562, 0.07440804690122604, 0.09053093194961548, 0.008591077290475368, 0.09222570806741714, 0.12269804626703262, -0.0601789653301239, 0.04129414260387421, 0.002628382993862033, -0.09343773126602173, 0.18997494876384735, -0.011773832142353058, -0.27196893095970154, 0.45674818754196167, -0.08323000371456146, -0.3791641294956207, -0.3320375084877014, -0.30419600009918213, 0.20091620087623596, 0.058162253350019455, -0.45328426361083984, 0.023168206214904785, 0.03457120060920715, 0.2772741913795471, -0.1987772285938263, 0.13515089452266693, 0.23516283929347992, 0.19554059207439423, 0.05574650689959526, 0.13007961213588715, 0.28008970618247986, 0.004382469691336155, -0.07505227625370026, 0.28275585174560547, -0.05505428835749626, -0.0020123340655118227, 0.18402670323848724, 0.12701070308685303, -0.191808819770813, 0.034108567982912064, 0.11474467068910599, 0.15916353464126587, 0.5101093053817749, 0.1402721405029297, 0.39319872856140137, 0.21879073977470398, 0.30925023555755615, 0.08420917391777039, -0.20198285579681396, -0.10012135654687881, 0.1556759625673294, 0.17437435686588287, -0.07907614856958389, 0.11985009908676147, 0.297529935836792, 0.523160994052887, -0.07049862295389175, -0.1263708919286728, -0.05998150259256363, -0.06919710338115692, -0.03404867276549339, -0.2948487401008606, -0.26769593358039856, -0.056075919419527054, -0.35850009322166443, 0.021827787160873413, 0.0852581039071083, 0.079247385263443, -0.10512660443782806, 0.006841063033789396, -0.35907942056655884, -0.021083226427435875, 0.045942701399326324, 0.1251343935728073, 0.2897728383541107, -0.1121123656630516, 0.12781015038490295, -0.17390459775924683, -0.2710684537887573, 0.08542943000793457, 0.3444783389568329, 0.15591607987880707, 0.20469620823860168, -0.48853373527526855, -0.27416783571243286, 0.4546129107475281, -0.18124304711818695, 0.1042744591832161, -0.2722580134868622, 0.6661026477813721, -0.150001659989357, 0.11897220462560654, 0.27008408308029175, -0.26642727851867676, 0.11110973358154297, 0.22039155662059784, 0.2393447458744049, 0.10495764017105103, -0.027974441647529602, -0.20977942645549774, 0.04713478311896324, 0.13767220079898834, -0.10951192677021027, -0.42086634039878845, 0.025492025539278984, -0.01933063007891178, 0.05343477427959442, -0.07183245569467545, -0.13362319767475128, 0.13135820627212524, -0.13859650492668152, 0.21286779642105103, 0.09542371332645416, 0.1667448878288269, -0.07739390432834625, -0.49988043308258057, -0.16228152811527252, 0.46386653184890747, -0.15928927063941956, -0.12301899492740631, 0.20654097199440002, 0.12575890123844147, 0.050703827291727066, -0.20149141550064087, 0.4277804493904114, 0.1337045282125473, -0.0012911700177937746, 0.36178672313690186, -0.2743280827999115, -0.15342596173286438, 0.317817747592926, -0.044663358479738235, 0.024154070764780045, -0.167465478181839, -0.19011695683002472, 0.031027359887957573, 0.25186729431152344, 0.07940498739480972, -0.302703857421875, 0.1453576385974884, -0.12642282247543335, 0.6104909181594849, -0.13626687228679657, 0.22465942800045013, -0.09688831865787506, -0.008991768583655357, -0.19671279191970825, -0.1396997720003128, -0.18452610075473785, 0.2383011132478714, 0.034197062253952026, 0.33526232838630676, 0.0071235643699765205, -0.08720909059047699, -0.15097036957740784, -0.24825020134449005, 0.30554676055908203, 0.17499811947345734, -0.3641285300254822, 0.2883700430393219, -0.08304545283317566, -0.1307295262813568, -0.02709234319627285, 0.010530885308980942, -0.030312465503811836, 0.03268476575613022, -0.2733916938304901, -0.07725540548563004, 0.4568531811237335, -0.13775940239429474, -0.07872314006090164, -0.19743241369724274, 0.21073180437088013, 0.38373494148254395, 0.07123758643865585, -0.5163736343383789, -0.0896122083067894, 0.20244310796260834, 0.04563817009329796, -0.35704565048217773, 0.06682098656892776, -0.1259520798921585, 0.042168110609054565, 0.15921980142593384, 0.47707608342170715, 0.07246534526348114, 0.040262334048748016, -0.33871057629585266, -0.23821936547756195 ]
https://github.com/huggingface/datasets/issues/1942
[experiment] missing default_experiment-1-0.arrow
> The fact a datasets.Metric object cannot be used as a simple compute function in a multi-process environment is, in my opinion, a bug in datasets Yes totally, this use case is supposed to be supported by `datasets`. And in this case there shouldn't be any collision between the metrics. I'm looking into it :) My guess is that at one point the metric isn't using the right file name. It's supposed to use one with a unique uuid in order to avoid the collisions.
the original report was pretty bad and incomplete - my apologies! Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481 ------------ As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files. w/o the network I get: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow ``` there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock` I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind. this is with master. Thank you.
85
[experiment] missing default_experiment-1-0.arrow
[ -0.07338229566812515, -0.2563176453113556, -0.19142918288707733, -0.23882794380187988, 0.09620597213506699, -0.09454365074634552, 0.25715136528015137, 0.29895901679992676, 0.2939397692680359, 0.3312016725540161, 0.41444849967956543, 0.48433589935302734, -0.3909769356250763, 0.20366349816322327, -0.12836064398288727, -0.012427924200892448, 0.04852054640650749, 0.1361445188522339, 0.025064844638109207, -0.1442653238773346, -0.2635476291179657, 0.3152832090854645, -0.35496819019317627, 0.4231581389904022, -0.002535457257181406, -0.013908006250858307, 0.10223031789064407, -0.05633821710944176, -0.02639392390847206, -0.6756616234779358, 0.23726284503936768, 0.04641937464475632, -0.00952453725039959, -0.1055658608675003, -0.00010767835192382336, -0.0948563739657402, 0.5123885273933411, 0.03505726531147957, -0.17420154809951782, 0.011398395523428917, 0.0707426592707634, 0.15889862179756165, 0.38810914754867554, -0.14761310815811157, 0.16947367787361145, -0.30423954129219055, 0.26135754585266113, -0.422943651676178, -0.07617928832769394, 0.1717883199453354, 0.2683282792568207, -0.00816939864307642, -0.0634726881980896, -0.33573949337005615, 0.5302495956420898, 0.08845501393079758, 0.1139148399233818, 0.09628438204526901, 0.07557585835456848, 0.16408513486385345, 0.0690593495965004, 0.11897782981395721, 0.2644070088863373, 0.05816793069243431, -0.19567054510116577, -0.16340163350105286, 0.5767311453819275, -0.14351409673690796, 0.025102313607931137, 0.24788957834243774, 0.34044796228408813, 0.01857348531484604, 0.1922793835401535, 0.30116721987724304, 0.05913456529378891, -0.08740293234586716, -0.032410621643066406, -0.05190327391028404, -0.020251858979463577, -0.06938675791025162, 0.3593166172504425, -0.15168605744838715, -0.2578505873680115, 0.3865874111652374, 0.1405244767665863, 0.3565194606781006, -0.023153677582740784, 0.286739319562912, -0.06822386384010315, 0.10204007476568222, 0.10807342082262039, 0.27494099736213684, -0.24306157231330872, -0.0657973662018776, 0.07387864589691162, 0.08613324910402298, 0.27057474851608276, -0.3036779761314392, 0.17930208146572113, 0.6141868233680725, -0.01293075829744339, 0.22090479731559753, 0.23036789894104004, 0.12060167640447617, 0.07964973896741867, 0.03102932870388031, 0.20042355358600616, 0.317363440990448, 0.13779470324516296, 0.19155651330947876, -0.06675458699464798, 0.14685659110546112, -0.06887591630220413, -0.3990168869495392, 0.17460009455680847, 0.129692941904068, 0.10372945666313171, 0.05483289435505867, -0.03603186830878258, 0.26561638712882996, -0.3884243071079254, 0.0022139642387628555, -0.1612589806318283, 0.1449425369501114, 0.4625319838523865, 0.21429257094860077, 0.1965084969997406, 0.09748291224241257, -0.009771961718797684, -0.05262811854481697, -0.4250442087650299, 0.0025981080252677202, -0.17704519629478455, -0.1913677603006363, 0.03061969019472599, 0.19627849757671356, 0.4444088339805603, -0.3651845455169678, 0.21415290236473083, -0.13829578459262848, 0.3954489827156067, 0.15283967554569244, -0.027447914704680443, 0.3350647985935211, -0.0732627734541893, 0.1361035257577896, 0.1754363477230072, 0.19057917594909668, -0.077956423163414, 0.11955490708351135, -0.09534356743097305, -0.4341011643409729, -0.0288234893232584, 0.3067198693752289, -0.07763015478849411, 0.15394942462444305, -0.05404318869113922, -0.02063642255961895, -0.3747020363807678, 0.032997358590364456, -0.031789630651474, -0.2605237364768982, 0.2639870047569275, -0.3770076632499695, 0.3088131546974182, 0.16727660596370697, -0.12999841570854187, -0.22238898277282715, -0.024991990998387337, -0.23230090737342834, 0.11292507499456406, -0.19562387466430664, -0.5058309435844421, 0.24647654592990875, -0.3310911953449249, 0.1429615169763565, 0.2998787760734558, -0.09179210662841797, -0.23893140256404877, -0.20469889044761658, -0.30205821990966797, -0.2659786641597748, -0.029440218582749367, 0.0044500320218503475, -0.21736246347427368, 0.18367742002010345, -0.27238836884498596, 0.02016986347734928, 0.1693471372127533, -0.03234697878360748, -0.18225504457950592, -0.25899526476860046, 0.048848289996385574, -0.052097514271736145, 0.1546834260225296, -0.15414829552173615, -0.07670103013515472, -0.3403382897377014, 0.16223862767219543, 0.025481723248958588, 0.02829020842909813, 0.10332115739583969, 0.7165560126304626, -0.16275666654109955, 0.17911645770072937, -0.07468649744987488, 0.13091085851192474, -0.07517582178115845, 0.10728751868009567, -0.015602481551468372, 0.19432300329208374, 0.025597210973501205, -0.22547553479671478, 0.2012774497270584, -0.0500803217291832, -0.2339639812707901, 0.2732841372489929, 0.26506710052490234, -0.12888842821121216, 0.0829780101776123, -0.3442956507205963, -0.05752526968717575, -0.1618824601173401, -0.030195189639925957, -0.2611466646194458, 0.06926008313894272, -0.26397499442100525, -0.3842495381832123, -0.10789772868156433, -0.22746221721172333, -0.0683184489607811, 0.016749968752264977, -0.16446061432361603, 0.3158847689628601, 0.043215926736593246, -0.055559251457452774, 0.43773457407951355, -0.12265276163816452, -0.23247578740119934, -0.735174834728241, -0.26286134123802185, 0.3016657531261444, -0.006505555473268032, 0.29546666145324707, 0.08304084837436676, 0.3100711703300476, 0.049696989357471466, 0.01852414384484291, -0.11342592537403107, 0.13245470821857452, -0.009198872372508049, -0.03326760232448578, -0.3611816167831421, -0.20121103525161743, 0.20325499773025513, -0.21787138283252716, 0.12303392589092255, -0.3473706543445587, -0.22518165409564972, -0.06970786303281784, 0.10411021113395691, 0.027811016887426376, 0.12992289662361145, 0.09136902540922165, -0.1197759360074997, -0.0891968384385109, 0.01607249304652214, -0.009544366039335728, 0.3703768253326416, 0.4228544533252716, -0.12804411351680756, -0.07461211085319519, -0.2005106657743454, -0.05668347328901291, 0.1839074343442917, -0.03355102986097336, 0.45091909170150757, -0.05093175172805786, 0.15958374738693237, -0.13477765023708344, -0.26546981930732727, -0.3288883864879608, -0.19555054605007172, 0.22848893702030182, -0.30532699823379517, -0.02459276281297207, -0.23335760831832886, 0.28394338488578796, 0.01103182416409254, -0.14625808596611023, 0.4144638776779175, -0.3514454662799835, 0.1744059920310974, -0.22567947208881378, -0.2941601872444153, 0.3789617121219635, -0.3192503750324249, 0.32827913761138916, 0.17772741615772247, 0.0697418674826622, -0.18572381138801575, -0.06771644949913025, -0.4145723879337311, 0.061483610421419144, -0.3339463174343109, 0.1797294318675995, 0.024549763649702072, 0.039277516305446625, 0.07654374837875366, -0.11699072271585464, -0.3463263213634491, 0.049980372190475464, 0.2755492627620697, 0.40122994780540466, 0.5701850056648254, 0.08026251941919327, -0.3707701861858368, -0.22303952276706696, 0.29647523164749146, -0.5859362483024597, -0.08604350686073303, 0.05789485201239586, -0.08056391030550003, -0.102237768471241, -0.20492659509181976, -0.3865140378475189, 0.15681809186935425, -0.1408044546842575, -0.09452179074287415, -0.08903910964727402, 0.07393313944339752, -0.07149233669042587, 0.38413572311401367, 0.04541575908660889, -0.06319884210824966, 0.03155040740966797, -0.2197457253932953, -0.39766159653663635, 0.1726865917444229, -0.15046648681163788, -0.2470550388097763, -0.06909353286027908, -0.24015216529369354, -0.1720326542854309, 0.15119755268096924, -0.41926708817481995, -0.053985390812158585, 0.29399627447128296, -0.09595032036304474, -0.22539925575256348, 0.0384097583591938, 0.2643980085849762, 0.23701231181621552, -0.23434412479400635, -0.2823922336101532, -0.2202741503715515, 0.5622429847717285, -0.13834506273269653, 0.1576588749885559, -0.15814439952373505, 0.17846961319446564, 0.06861432641744614, 0.5787314176559448, 0.05753106251358986, 0.005523559171706438, 0.07554646581411362, -0.10162732750177383, 0.04005178436636925, 0.0013344655744731426, 0.19249841570854187, 0.0964350625872612, 0.275795578956604, 0.09991700947284698, 0.13543906807899475, -0.09503737837076187, -0.21383094787597656, 0.16573871672153473, 0.2253512442111969, -0.19740030169487, -0.17269812524318695, -0.07937930524349213, -0.26450687646865845, 0.17802797257900238, -0.14596568048000336, -0.16186895966529846, -0.2763844132423401, 0.23072192072868347, 0.17050403356552124, 0.2143685668706894, -0.0142023004591465, 0.11561442911624908, -0.1304686963558197, 0.019938532263040543, -0.0728554055094719, 0.27057474851608276, -0.3465678095817566, 0.31095683574676514, 0.12476027011871338, -0.199081689119339, 0.0632655993103981, -0.23907583951950073, 0.5555779337882996, -0.21369734406471252, -0.05590081587433815, 0.045771244913339615, 0.5499215126037598, -0.49922314286231995, -0.38678431510925293, -0.14785893261432648, -0.02390875667333603, 0.1480982005596161, 0.015496044419705868, -0.009966571815311909, 0.053609758615493774, 0.4032469689846039, -0.19727888703346252, 0.042959656566381454, -0.08398469537496567, -0.3231596350669861, -0.5041266083717346, -0.17668870091438293, -0.09038788825273514, -0.1212175041437149, -0.028618192300200462, 0.11303319782018661, -0.029134241864085197, -0.24746489524841309, -0.20340846478939056, -0.07499391585588455, -0.08725621551275253, 0.25422200560569763, -0.24510692059993744, 0.0472249835729599, 0.16470268368721008, 0.13692232966423035, 0.3939920663833618, 0.08993075042963028, 0.07777455449104309, -0.04424583539366722, 0.22407805919647217, -0.15216152369976044, 0.3052811324596405, 0.3963155150413513, -0.16503241658210754, 0.17141205072402954, -0.19537119567394257, 0.12074442952871323, 0.4065832197666168, 0.2974751591682434, 0.39014503359794617, -0.23376984894275665, 0.21583575010299683, 0.0418514758348465, 0.14214670658111572, -0.16791486740112305, -0.17954030632972717, 0.4618099629878998, 0.0016146327834576368, -0.2205052673816681, 0.551200807094574, -0.020139802247285843, 0.7275046110153198, 0.4271324574947357, -0.0719362199306488, 0.23172366619110107, -0.48550042510032654, -0.17662498354911804, 0.35336416959762573, 0.22193369269371033, -0.29762959480285645, 0.05653533339500427, 0.08810136467218399, -0.31069034337997437, 0.20999391376972198, 0.06150103360414505, -0.13516642153263092, -0.054921746253967285, -0.3186900019645691, -0.030002208426594734, 0.06897790729999542, 0.09034651517868042, 0.17793762683868408, 0.12064623832702637, 0.34213516116142273, 0.17998173832893372, -0.12005409598350525, 0.12995533645153046, -0.056798920035362244, -0.04693141207098961, -0.2868349254131317, -0.2513922452926636, -0.12357806414365768, 0.043624915182590485, -0.31604906916618347, 0.26310062408447266, 0.2465209662914276, -0.12392108887434006, -0.15334336459636688, -0.10628177970647812, -0.0717230960726738, 0.16459310054779053, 0.02178170531988144, 0.2244691550731659, 0.7356694340705872, -0.31103143095970154, -0.10330842435359955, -0.0472026988863945, 0.18336030840873718, -0.034296225756406784, -0.4415014982223511, 0.24587087333202362, -0.07831568270921707, -0.1968427449464798, -0.05263688787817955, -0.15010368824005127, 0.2237682044506073, 0.11698814481496811, -0.09414774924516678, 0.26398515701293945, 0.0991922989487648, -0.22158992290496826, 0.24340100586414337, 0.05768607556819916, -0.07735776901245117, 0.007427734322845936, 0.17865434288978577, -0.08693143725395203, -0.05918387696146965, 0.016482412815093994, -0.07025766372680664, 0.12721432745456696, 0.4418889582157135, -0.303492933511734, -0.04920727387070656, -0.24086853861808777, 0.35167235136032104, 0.5980312824249268, -0.5040037631988525, 0.08273280411958694, -0.22433249652385712, -0.1405806988477707, 0.23787645995616913, 0.151678666472435, 0.18219254910945892, 0.025884414091706276, -0.05522395297884941, -0.07693187892436981, -0.3262910544872284, 0.2976842224597931, -0.3800983726978302, 0.3495447635650635, -0.29061928391456604, 0.06828244775533676, -0.27491670846939087, -0.05599164590239525, -0.45808732509613037, 0.17504218220710754, -0.02774493768811226, -0.1328863799571991, -0.3782581388950348, 0.05254589766263962, -0.044740281999111176, -0.06645707041025162, 0.2924724519252777, -0.14733535051345825, -0.19807475805282593, -0.36135777831077576, -0.1212720051407814, 0.06749767810106277, -0.1900569498538971, -0.0679909735918045, 0.0851222351193428, 0.04816756397485733, -0.12315084785223007, 0.14557668566703796, -0.13605906069278717, 0.03645617142319679, -0.03182367607951164, -0.08509685844182968, 0.0256769061088562, 0.07440804690122604, 0.09053093194961548, 0.008591077290475368, 0.09222570806741714, 0.12269804626703262, -0.0601789653301239, 0.04129414260387421, 0.002628382993862033, -0.09343773126602173, 0.18997494876384735, -0.011773832142353058, -0.27196893095970154, 0.45674818754196167, -0.08323000371456146, -0.3791641294956207, -0.3320375084877014, -0.30419600009918213, 0.20091620087623596, 0.058162253350019455, -0.45328426361083984, 0.023168206214904785, 0.03457120060920715, 0.2772741913795471, -0.1987772285938263, 0.13515089452266693, 0.23516283929347992, 0.19554059207439423, 0.05574650689959526, 0.13007961213588715, 0.28008970618247986, 0.004382469691336155, -0.07505227625370026, 0.28275585174560547, -0.05505428835749626, -0.0020123340655118227, 0.18402670323848724, 0.12701070308685303, -0.191808819770813, 0.034108567982912064, 0.11474467068910599, 0.15916353464126587, 0.5101093053817749, 0.1402721405029297, 0.39319872856140137, 0.21879073977470398, 0.30925023555755615, 0.08420917391777039, -0.20198285579681396, -0.10012135654687881, 0.1556759625673294, 0.17437435686588287, -0.07907614856958389, 0.11985009908676147, 0.297529935836792, 0.523160994052887, -0.07049862295389175, -0.1263708919286728, -0.05998150259256363, -0.06919710338115692, -0.03404867276549339, -0.2948487401008606, -0.26769593358039856, -0.056075919419527054, -0.35850009322166443, 0.021827787160873413, 0.0852581039071083, 0.079247385263443, -0.10512660443782806, 0.006841063033789396, -0.35907942056655884, -0.021083226427435875, 0.045942701399326324, 0.1251343935728073, 0.2897728383541107, -0.1121123656630516, 0.12781015038490295, -0.17390459775924683, -0.2710684537887573, 0.08542943000793457, 0.3444783389568329, 0.15591607987880707, 0.20469620823860168, -0.48853373527526855, -0.27416783571243286, 0.4546129107475281, -0.18124304711818695, 0.1042744591832161, -0.2722580134868622, 0.6661026477813721, -0.150001659989357, 0.11897220462560654, 0.27008408308029175, -0.26642727851867676, 0.11110973358154297, 0.22039155662059784, 0.2393447458744049, 0.10495764017105103, -0.027974441647529602, -0.20977942645549774, 0.04713478311896324, 0.13767220079898834, -0.10951192677021027, -0.42086634039878845, 0.025492025539278984, -0.01933063007891178, 0.05343477427959442, -0.07183245569467545, -0.13362319767475128, 0.13135820627212524, -0.13859650492668152, 0.21286779642105103, 0.09542371332645416, 0.1667448878288269, -0.07739390432834625, -0.49988043308258057, -0.16228152811527252, 0.46386653184890747, -0.15928927063941956, -0.12301899492740631, 0.20654097199440002, 0.12575890123844147, 0.050703827291727066, -0.20149141550064087, 0.4277804493904114, 0.1337045282125473, -0.0012911700177937746, 0.36178672313690186, -0.2743280827999115, -0.15342596173286438, 0.317817747592926, -0.044663358479738235, 0.024154070764780045, -0.167465478181839, -0.19011695683002472, 0.031027359887957573, 0.25186729431152344, 0.07940498739480972, -0.302703857421875, 0.1453576385974884, -0.12642282247543335, 0.6104909181594849, -0.13626687228679657, 0.22465942800045013, -0.09688831865787506, -0.008991768583655357, -0.19671279191970825, -0.1396997720003128, -0.18452610075473785, 0.2383011132478714, 0.034197062253952026, 0.33526232838630676, 0.0071235643699765205, -0.08720909059047699, -0.15097036957740784, -0.24825020134449005, 0.30554676055908203, 0.17499811947345734, -0.3641285300254822, 0.2883700430393219, -0.08304545283317566, -0.1307295262813568, -0.02709234319627285, 0.010530885308980942, -0.030312465503811836, 0.03268476575613022, -0.2733916938304901, -0.07725540548563004, 0.4568531811237335, -0.13775940239429474, -0.07872314006090164, -0.19743241369724274, 0.21073180437088013, 0.38373494148254395, 0.07123758643865585, -0.5163736343383789, -0.0896122083067894, 0.20244310796260834, 0.04563817009329796, -0.35704565048217773, 0.06682098656892776, -0.1259520798921585, 0.042168110609054565, 0.15921980142593384, 0.47707608342170715, 0.07246534526348114, 0.040262334048748016, -0.33871057629585266, -0.23821936547756195 ]
https://github.com/huggingface/datasets/issues/1942
[experiment] missing default_experiment-1-0.arrow
I just opened #1966 to fix this :) @stas00 if have a chance feel free to try it !
the original report was pretty bad and incomplete - my apologies! Please see the complete version here: https://github.com/huggingface/datasets/issues/1942#issuecomment-786336481 ------------ As mentioned here https://github.com/huggingface/datasets/issues/1939 metrics don't get cached, looking at my local `~/.cache/huggingface/metrics` - there are many `*.arrow.lock` files but zero metrics files. w/o the network I get: ``` FileNotFoundError: [Errno 2] No such file or directory: '~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow ``` there is just `~/.cache/huggingface/metrics/sacrebleu/default/default_experiment-1-0.arrow.lock` I did run the same `run_seq2seq.py` script on the instance with network and it worked just fine, but only the lock file was left behind. this is with master. Thank you.
19
[experiment] missing default_experiment-1-0.arrow
[ -0.07338229566812515, -0.2563176453113556, -0.19142918288707733, -0.23882794380187988, 0.09620597213506699, -0.09454365074634552, 0.25715136528015137, 0.29895901679992676, 0.2939397692680359, 0.3312016725540161, 0.41444849967956543, 0.48433589935302734, -0.3909769356250763, 0.20366349816322327, -0.12836064398288727, -0.012427924200892448, 0.04852054640650749, 0.1361445188522339, 0.025064844638109207, -0.1442653238773346, -0.2635476291179657, 0.3152832090854645, -0.35496819019317627, 0.4231581389904022, -0.002535457257181406, -0.013908006250858307, 0.10223031789064407, -0.05633821710944176, -0.02639392390847206, -0.6756616234779358, 0.23726284503936768, 0.04641937464475632, -0.00952453725039959, -0.1055658608675003, -0.00010767835192382336, -0.0948563739657402, 0.5123885273933411, 0.03505726531147957, -0.17420154809951782, 0.011398395523428917, 0.0707426592707634, 0.15889862179756165, 0.38810914754867554, -0.14761310815811157, 0.16947367787361145, -0.30423954129219055, 0.26135754585266113, -0.422943651676178, -0.07617928832769394, 0.1717883199453354, 0.2683282792568207, -0.00816939864307642, -0.0634726881980896, -0.33573949337005615, 0.5302495956420898, 0.08845501393079758, 0.1139148399233818, 0.09628438204526901, 0.07557585835456848, 0.16408513486385345, 0.0690593495965004, 0.11897782981395721, 0.2644070088863373, 0.05816793069243431, -0.19567054510116577, -0.16340163350105286, 0.5767311453819275, -0.14351409673690796, 0.025102313607931137, 0.24788957834243774, 0.34044796228408813, 0.01857348531484604, 0.1922793835401535, 0.30116721987724304, 0.05913456529378891, -0.08740293234586716, -0.032410621643066406, -0.05190327391028404, -0.020251858979463577, -0.06938675791025162, 0.3593166172504425, -0.15168605744838715, -0.2578505873680115, 0.3865874111652374, 0.1405244767665863, 0.3565194606781006, -0.023153677582740784, 0.286739319562912, -0.06822386384010315, 0.10204007476568222, 0.10807342082262039, 0.27494099736213684, -0.24306157231330872, -0.0657973662018776, 0.07387864589691162, 0.08613324910402298, 0.27057474851608276, -0.3036779761314392, 0.17930208146572113, 0.6141868233680725, -0.01293075829744339, 0.22090479731559753, 0.23036789894104004, 0.12060167640447617, 0.07964973896741867, 0.03102932870388031, 0.20042355358600616, 0.317363440990448, 0.13779470324516296, 0.19155651330947876, -0.06675458699464798, 0.14685659110546112, -0.06887591630220413, -0.3990168869495392, 0.17460009455680847, 0.129692941904068, 0.10372945666313171, 0.05483289435505867, -0.03603186830878258, 0.26561638712882996, -0.3884243071079254, 0.0022139642387628555, -0.1612589806318283, 0.1449425369501114, 0.4625319838523865, 0.21429257094860077, 0.1965084969997406, 0.09748291224241257, -0.009771961718797684, -0.05262811854481697, -0.4250442087650299, 0.0025981080252677202, -0.17704519629478455, -0.1913677603006363, 0.03061969019472599, 0.19627849757671356, 0.4444088339805603, -0.3651845455169678, 0.21415290236473083, -0.13829578459262848, 0.3954489827156067, 0.15283967554569244, -0.027447914704680443, 0.3350647985935211, -0.0732627734541893, 0.1361035257577896, 0.1754363477230072, 0.19057917594909668, -0.077956423163414, 0.11955490708351135, -0.09534356743097305, -0.4341011643409729, -0.0288234893232584, 0.3067198693752289, -0.07763015478849411, 0.15394942462444305, -0.05404318869113922, -0.02063642255961895, -0.3747020363807678, 0.032997358590364456, -0.031789630651474, -0.2605237364768982, 0.2639870047569275, -0.3770076632499695, 0.3088131546974182, 0.16727660596370697, -0.12999841570854187, -0.22238898277282715, -0.024991990998387337, -0.23230090737342834, 0.11292507499456406, -0.19562387466430664, -0.5058309435844421, 0.24647654592990875, -0.3310911953449249, 0.1429615169763565, 0.2998787760734558, -0.09179210662841797, -0.23893140256404877, -0.20469889044761658, -0.30205821990966797, -0.2659786641597748, -0.029440218582749367, 0.0044500320218503475, -0.21736246347427368, 0.18367742002010345, -0.27238836884498596, 0.02016986347734928, 0.1693471372127533, -0.03234697878360748, -0.18225504457950592, -0.25899526476860046, 0.048848289996385574, -0.052097514271736145, 0.1546834260225296, -0.15414829552173615, -0.07670103013515472, -0.3403382897377014, 0.16223862767219543, 0.025481723248958588, 0.02829020842909813, 0.10332115739583969, 0.7165560126304626, -0.16275666654109955, 0.17911645770072937, -0.07468649744987488, 0.13091085851192474, -0.07517582178115845, 0.10728751868009567, -0.015602481551468372, 0.19432300329208374, 0.025597210973501205, -0.22547553479671478, 0.2012774497270584, -0.0500803217291832, -0.2339639812707901, 0.2732841372489929, 0.26506710052490234, -0.12888842821121216, 0.0829780101776123, -0.3442956507205963, -0.05752526968717575, -0.1618824601173401, -0.030195189639925957, -0.2611466646194458, 0.06926008313894272, -0.26397499442100525, -0.3842495381832123, -0.10789772868156433, -0.22746221721172333, -0.0683184489607811, 0.016749968752264977, -0.16446061432361603, 0.3158847689628601, 0.043215926736593246, -0.055559251457452774, 0.43773457407951355, -0.12265276163816452, -0.23247578740119934, -0.735174834728241, -0.26286134123802185, 0.3016657531261444, -0.006505555473268032, 0.29546666145324707, 0.08304084837436676, 0.3100711703300476, 0.049696989357471466, 0.01852414384484291, -0.11342592537403107, 0.13245470821857452, -0.009198872372508049, -0.03326760232448578, -0.3611816167831421, -0.20121103525161743, 0.20325499773025513, -0.21787138283252716, 0.12303392589092255, -0.3473706543445587, -0.22518165409564972, -0.06970786303281784, 0.10411021113395691, 0.027811016887426376, 0.12992289662361145, 0.09136902540922165, -0.1197759360074997, -0.0891968384385109, 0.01607249304652214, -0.009544366039335728, 0.3703768253326416, 0.4228544533252716, -0.12804411351680756, -0.07461211085319519, -0.2005106657743454, -0.05668347328901291, 0.1839074343442917, -0.03355102986097336, 0.45091909170150757, -0.05093175172805786, 0.15958374738693237, -0.13477765023708344, -0.26546981930732727, -0.3288883864879608, -0.19555054605007172, 0.22848893702030182, -0.30532699823379517, -0.02459276281297207, -0.23335760831832886, 0.28394338488578796, 0.01103182416409254, -0.14625808596611023, 0.4144638776779175, -0.3514454662799835, 0.1744059920310974, -0.22567947208881378, -0.2941601872444153, 0.3789617121219635, -0.3192503750324249, 0.32827913761138916, 0.17772741615772247, 0.0697418674826622, -0.18572381138801575, -0.06771644949913025, -0.4145723879337311, 0.061483610421419144, -0.3339463174343109, 0.1797294318675995, 0.024549763649702072, 0.039277516305446625, 0.07654374837875366, -0.11699072271585464, -0.3463263213634491, 0.049980372190475464, 0.2755492627620697, 0.40122994780540466, 0.5701850056648254, 0.08026251941919327, -0.3707701861858368, -0.22303952276706696, 0.29647523164749146, -0.5859362483024597, -0.08604350686073303, 0.05789485201239586, -0.08056391030550003, -0.102237768471241, -0.20492659509181976, -0.3865140378475189, 0.15681809186935425, -0.1408044546842575, -0.09452179074287415, -0.08903910964727402, 0.07393313944339752, -0.07149233669042587, 0.38413572311401367, 0.04541575908660889, -0.06319884210824966, 0.03155040740966797, -0.2197457253932953, -0.39766159653663635, 0.1726865917444229, -0.15046648681163788, -0.2470550388097763, -0.06909353286027908, -0.24015216529369354, -0.1720326542854309, 0.15119755268096924, -0.41926708817481995, -0.053985390812158585, 0.29399627447128296, -0.09595032036304474, -0.22539925575256348, 0.0384097583591938, 0.2643980085849762, 0.23701231181621552, -0.23434412479400635, -0.2823922336101532, -0.2202741503715515, 0.5622429847717285, -0.13834506273269653, 0.1576588749885559, -0.15814439952373505, 0.17846961319446564, 0.06861432641744614, 0.5787314176559448, 0.05753106251358986, 0.005523559171706438, 0.07554646581411362, -0.10162732750177383, 0.04005178436636925, 0.0013344655744731426, 0.19249841570854187, 0.0964350625872612, 0.275795578956604, 0.09991700947284698, 0.13543906807899475, -0.09503737837076187, -0.21383094787597656, 0.16573871672153473, 0.2253512442111969, -0.19740030169487, -0.17269812524318695, -0.07937930524349213, -0.26450687646865845, 0.17802797257900238, -0.14596568048000336, -0.16186895966529846, -0.2763844132423401, 0.23072192072868347, 0.17050403356552124, 0.2143685668706894, -0.0142023004591465, 0.11561442911624908, -0.1304686963558197, 0.019938532263040543, -0.0728554055094719, 0.27057474851608276, -0.3465678095817566, 0.31095683574676514, 0.12476027011871338, -0.199081689119339, 0.0632655993103981, -0.23907583951950073, 0.5555779337882996, -0.21369734406471252, -0.05590081587433815, 0.045771244913339615, 0.5499215126037598, -0.49922314286231995, -0.38678431510925293, -0.14785893261432648, -0.02390875667333603, 0.1480982005596161, 0.015496044419705868, -0.009966571815311909, 0.053609758615493774, 0.4032469689846039, -0.19727888703346252, 0.042959656566381454, -0.08398469537496567, -0.3231596350669861, -0.5041266083717346, -0.17668870091438293, -0.09038788825273514, -0.1212175041437149, -0.028618192300200462, 0.11303319782018661, -0.029134241864085197, -0.24746489524841309, -0.20340846478939056, -0.07499391585588455, -0.08725621551275253, 0.25422200560569763, -0.24510692059993744, 0.0472249835729599, 0.16470268368721008, 0.13692232966423035, 0.3939920663833618, 0.08993075042963028, 0.07777455449104309, -0.04424583539366722, 0.22407805919647217, -0.15216152369976044, 0.3052811324596405, 0.3963155150413513, -0.16503241658210754, 0.17141205072402954, -0.19537119567394257, 0.12074442952871323, 0.4065832197666168, 0.2974751591682434, 0.39014503359794617, -0.23376984894275665, 0.21583575010299683, 0.0418514758348465, 0.14214670658111572, -0.16791486740112305, -0.17954030632972717, 0.4618099629878998, 0.0016146327834576368, -0.2205052673816681, 0.551200807094574, -0.020139802247285843, 0.7275046110153198, 0.4271324574947357, -0.0719362199306488, 0.23172366619110107, -0.48550042510032654, -0.17662498354911804, 0.35336416959762573, 0.22193369269371033, -0.29762959480285645, 0.05653533339500427, 0.08810136467218399, -0.31069034337997437, 0.20999391376972198, 0.06150103360414505, -0.13516642153263092, -0.054921746253967285, -0.3186900019645691, -0.030002208426594734, 0.06897790729999542, 0.09034651517868042, 0.17793762683868408, 0.12064623832702637, 0.34213516116142273, 0.17998173832893372, -0.12005409598350525, 0.12995533645153046, -0.056798920035362244, -0.04693141207098961, -0.2868349254131317, -0.2513922452926636, -0.12357806414365768, 0.043624915182590485, -0.31604906916618347, 0.26310062408447266, 0.2465209662914276, -0.12392108887434006, -0.15334336459636688, -0.10628177970647812, -0.0717230960726738, 0.16459310054779053, 0.02178170531988144, 0.2244691550731659, 0.7356694340705872, -0.31103143095970154, -0.10330842435359955, -0.0472026988863945, 0.18336030840873718, -0.034296225756406784, -0.4415014982223511, 0.24587087333202362, -0.07831568270921707, -0.1968427449464798, -0.05263688787817955, -0.15010368824005127, 0.2237682044506073, 0.11698814481496811, -0.09414774924516678, 0.26398515701293945, 0.0991922989487648, -0.22158992290496826, 0.24340100586414337, 0.05768607556819916, -0.07735776901245117, 0.007427734322845936, 0.17865434288978577, -0.08693143725395203, -0.05918387696146965, 0.016482412815093994, -0.07025766372680664, 0.12721432745456696, 0.4418889582157135, -0.303492933511734, -0.04920727387070656, -0.24086853861808777, 0.35167235136032104, 0.5980312824249268, -0.5040037631988525, 0.08273280411958694, -0.22433249652385712, -0.1405806988477707, 0.23787645995616913, 0.151678666472435, 0.18219254910945892, 0.025884414091706276, -0.05522395297884941, -0.07693187892436981, -0.3262910544872284, 0.2976842224597931, -0.3800983726978302, 0.3495447635650635, -0.29061928391456604, 0.06828244775533676, -0.27491670846939087, -0.05599164590239525, -0.45808732509613037, 0.17504218220710754, -0.02774493768811226, -0.1328863799571991, -0.3782581388950348, 0.05254589766263962, -0.044740281999111176, -0.06645707041025162, 0.2924724519252777, -0.14733535051345825, -0.19807475805282593, -0.36135777831077576, -0.1212720051407814, 0.06749767810106277, -0.1900569498538971, -0.0679909735918045, 0.0851222351193428, 0.04816756397485733, -0.12315084785223007, 0.14557668566703796, -0.13605906069278717, 0.03645617142319679, -0.03182367607951164, -0.08509685844182968, 0.0256769061088562, 0.07440804690122604, 0.09053093194961548, 0.008591077290475368, 0.09222570806741714, 0.12269804626703262, -0.0601789653301239, 0.04129414260387421, 0.002628382993862033, -0.09343773126602173, 0.18997494876384735, -0.011773832142353058, -0.27196893095970154, 0.45674818754196167, -0.08323000371456146, -0.3791641294956207, -0.3320375084877014, -0.30419600009918213, 0.20091620087623596, 0.058162253350019455, -0.45328426361083984, 0.023168206214904785, 0.03457120060920715, 0.2772741913795471, -0.1987772285938263, 0.13515089452266693, 0.23516283929347992, 0.19554059207439423, 0.05574650689959526, 0.13007961213588715, 0.28008970618247986, 0.004382469691336155, -0.07505227625370026, 0.28275585174560547, -0.05505428835749626, -0.0020123340655118227, 0.18402670323848724, 0.12701070308685303, -0.191808819770813, 0.034108567982912064, 0.11474467068910599, 0.15916353464126587, 0.5101093053817749, 0.1402721405029297, 0.39319872856140137, 0.21879073977470398, 0.30925023555755615, 0.08420917391777039, -0.20198285579681396, -0.10012135654687881, 0.1556759625673294, 0.17437435686588287, -0.07907614856958389, 0.11985009908676147, 0.297529935836792, 0.523160994052887, -0.07049862295389175, -0.1263708919286728, -0.05998150259256363, -0.06919710338115692, -0.03404867276549339, -0.2948487401008606, -0.26769593358039856, -0.056075919419527054, -0.35850009322166443, 0.021827787160873413, 0.0852581039071083, 0.079247385263443, -0.10512660443782806, 0.006841063033789396, -0.35907942056655884, -0.021083226427435875, 0.045942701399326324, 0.1251343935728073, 0.2897728383541107, -0.1121123656630516, 0.12781015038490295, -0.17390459775924683, -0.2710684537887573, 0.08542943000793457, 0.3444783389568329, 0.15591607987880707, 0.20469620823860168, -0.48853373527526855, -0.27416783571243286, 0.4546129107475281, -0.18124304711818695, 0.1042744591832161, -0.2722580134868622, 0.6661026477813721, -0.150001659989357, 0.11897220462560654, 0.27008408308029175, -0.26642727851867676, 0.11110973358154297, 0.22039155662059784, 0.2393447458744049, 0.10495764017105103, -0.027974441647529602, -0.20977942645549774, 0.04713478311896324, 0.13767220079898834, -0.10951192677021027, -0.42086634039878845, 0.025492025539278984, -0.01933063007891178, 0.05343477427959442, -0.07183245569467545, -0.13362319767475128, 0.13135820627212524, -0.13859650492668152, 0.21286779642105103, 0.09542371332645416, 0.1667448878288269, -0.07739390432834625, -0.49988043308258057, -0.16228152811527252, 0.46386653184890747, -0.15928927063941956, -0.12301899492740631, 0.20654097199440002, 0.12575890123844147, 0.050703827291727066, -0.20149141550064087, 0.4277804493904114, 0.1337045282125473, -0.0012911700177937746, 0.36178672313690186, -0.2743280827999115, -0.15342596173286438, 0.317817747592926, -0.044663358479738235, 0.024154070764780045, -0.167465478181839, -0.19011695683002472, 0.031027359887957573, 0.25186729431152344, 0.07940498739480972, -0.302703857421875, 0.1453576385974884, -0.12642282247543335, 0.6104909181594849, -0.13626687228679657, 0.22465942800045013, -0.09688831865787506, -0.008991768583655357, -0.19671279191970825, -0.1396997720003128, -0.18452610075473785, 0.2383011132478714, 0.034197062253952026, 0.33526232838630676, 0.0071235643699765205, -0.08720909059047699, -0.15097036957740784, -0.24825020134449005, 0.30554676055908203, 0.17499811947345734, -0.3641285300254822, 0.2883700430393219, -0.08304545283317566, -0.1307295262813568, -0.02709234319627285, 0.010530885308980942, -0.030312465503811836, 0.03268476575613022, -0.2733916938304901, -0.07725540548563004, 0.4568531811237335, -0.13775940239429474, -0.07872314006090164, -0.19743241369724274, 0.21073180437088013, 0.38373494148254395, 0.07123758643865585, -0.5163736343383789, -0.0896122083067894, 0.20244310796260834, 0.04563817009329796, -0.35704565048217773, 0.06682098656892776, -0.1259520798921585, 0.042168110609054565, 0.15921980142593384, 0.47707608342170715, 0.07246534526348114, 0.040262334048748016, -0.33871057629585266, -0.23821936547756195 ]
https://github.com/huggingface/datasets/issues/1941
Loading of FAISS index fails for index_name = 'exact'
Works great 👍 I just put a minor comment on the commit, I think you meant to pass the `train_size` from the one obtained from the config. Thanks for a quick response!
Hi, It looks like loading of FAISS index now fails when using index_name = 'exact'. For example, from the RAG [model card](https://huggingface.co/facebook/rag-token-nq?fbclid=IwAR3bTfhls5U_t9DqsX2Vzb7NhtRHxJxfQ-uwFT7VuCPMZUM2AdAlKF_qkI8#usage). Running `transformers==4.3.2` and datasets installed from source on latest `master` branch. ```bash (venv) sergey_mkrtchyan datasets (master) $ python Python 3.8.6 (v3.8.6:db455296be, Sep 23 2020, 13:31:39) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from transformers import RagTokenizer, RagRetriever, RagTokenForGeneration >>> tokenizer = RagTokenizer.from_pretrained("facebook/rag-token-nq") >>> retriever = RagRetriever.from_pretrained("facebook/rag-token-nq", index_name="exact", use_dummy_dataset=True) Using custom data configuration dummy.psgs_w100.nq.no_index-dummy=True,with_index=False Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.no_index-dummy=True,with_index=False/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) Using custom data configuration dummy.psgs_w100.nq.exact-50b6cda57ff32ab4 Reusing dataset wiki_dpr (/Users/sergey_mkrtchyan/.cache/huggingface/datasets/wiki_dpr/dummy.psgs_w100.nq.exact-50b6cda57ff32ab4/0.0.0/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb) 0%| | 0/10 [00:00<?, ?it/s] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 425, in from_pretrained return cls( File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 387, in __init__ self.init_retrieval() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 458, in init_retrieval self.index.init_index() File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/transformers/models/rag/retrieval_rag.py", line 284, in init_index self.dataset = load_dataset( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/load.py", line 750, in load_dataset ds = builder_instance.as_dataset(split=split, ignore_verifications=ignore_verifications, in_memory=keep_in_memory) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 734, in as_dataset datasets = utils.map_nested( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/utils/py_utils.py", line 195, in map_nested return function(data_struct) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/builder.py", line 769, in _build_single_dataset post_processed = self._post_process(ds, resources_paths) File "/Users/sergey_mkrtchyan/.cache/huggingface/modules/datasets_modules/datasets/wiki_dpr/8a97e0f4fa5bc46e179474db6a61b09d5d2419d2911835bd3f91d110c936d8bb/wiki_dpr.py", line 205, in _post_process dataset.add_faiss_index("embeddings", custom_index=index) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/arrow_dataset.py", line 2516, in add_faiss_index super().add_faiss_index( File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 416, in add_faiss_index faiss_index.add_vectors(self, column=column, train_size=train_size, faiss_verbose=faiss_verbose) File "/Users/sergey_mkrtchyan/workspace/huggingface/datasets/src/datasets/search.py", line 281, in add_vectors self.faiss_index.add(vecs) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/__init__.py", line 104, in replacement_add self.add_c(n, swig_ptr(x)) File "/Users/sergey_mkrtchyan/workspace/cformers/venv/lib/python3.8/site-packages/faiss/swigfaiss.py", line 3263, in add return _swigfaiss.IndexHNSW_add(self, n, x) RuntimeError: Error in virtual void faiss::IndexHNSW::add(faiss::Index::idx_t, const float *) at /Users/runner/work/faiss-wheels/faiss-wheels/faiss/faiss/IndexHNSW.cpp:356: Error: 'is_trained' failed >>> ``` The issue seems to be related to the scalar quantization in faiss added in this commit: 8c5220307c33f00e01c3bf7b8. Reverting it fixes the issue.
32
Loading of FAISS index fails for index_name = 'exact'
[ -0.06893160194158554, -0.240916907787323, -0.13164934515953064, 0.07668552547693253, 0.24981123208999634, 0.012052365578711033, 0.15662775933742523, 0.29712560772895813, 0.5623182058334351, 0.3310728073120117, 0.009614160284399986, -0.05155143514275551, 0.18356987833976746, -0.07895391434431076, -0.3277822434902191, 0.3899257183074951, 0.136557474732399, 0.43212997913360596, -0.08898250013589859, -0.2766677141189575, -0.24560469388961792, 0.21800655126571655, 0.01526255439966917, 0.29216477274894714, -0.0184162724763155, 0.3814714252948761, -0.024100717157125473, 0.3752315640449524, -0.22807274758815765, -0.12969055771827698, 0.2604994773864746, -0.0713622123003006, 0.04729999974370003, 0.17309367656707764, -0.00011312159040244296, 0.2583397328853607, 0.6431587934494019, -0.12993168830871582, -0.34409183263778687, 0.2872559130191803, -0.159827321767807, 0.36436259746551514, 0.34733882546424866, -0.3569736182689667, -0.28570443391799927, 0.1291208267211914, 0.1338423490524292, -0.14438053965568542, 0.3243577778339386, 0.23106417059898376, 0.24280117452144623, -0.12830698490142822, 0.19823572039604187, -0.14268755912780762, 0.3779838979244232, -0.6103202700614929, -0.08780977129936218, 0.08190811425447464, -0.1449253410100937, 0.33225759863853455, 0.17598950862884521, 0.07532194256782532, -0.09907463192939758, -0.06950096786022186, -0.16715390980243683, -0.13848654925823212, 0.7589915990829468, 0.07751595228910446, 0.33979421854019165, 0.09540846198797226, 0.16357968747615814, 0.06384269893169403, -0.13196545839309692, 0.1670030802488327, 0.08420556038618088, -0.05454276502132416, 0.013460719026625156, -0.5769811868667603, 0.17017517983913422, 0.2888813018798828, 0.3516308665275574, -0.02509886957705021, 0.00837552361190319, 0.21824853122234344, -0.00764720793813467, 0.07641652226448059, 0.04408866912126541, 0.050440337508916855, 0.07002962380647659, -0.0854489654302597, -0.23536114394664764, 0.1379050612449646, -0.01993146352469921, 0.031750429421663284, -0.30316656827926636, 0.12730245292186737, 0.24730409681797028, -0.3003421425819397, -0.02717161364853382, -0.35797253251075745, -0.26979348063468933, 0.43357348442077637, 0.14805780351161957, 0.06864357739686966, -0.09984451532363892, 0.2109038233757019, 0.11349286139011383, -0.31277719140052795, 0.07742051035165787, 0.02628984861075878, -0.005537351593375206, 0.13950905203819275, -0.21497294306755066, -0.13245156407356262, -0.6382108926773071, -0.17283357679843903, -0.11757063120603561, -0.3143940269947052, -0.48658502101898193, 0.37175095081329346, 0.10593313723802567, 0.26512742042541504, 0.07702364772558212, 0.5099332928657532, 0.22117377817630768, -0.3357994854450226, 0.2637392580509186, 0.10757175087928772, -0.2035341113805771, 0.2542556822299957, -0.3673284649848938, -0.11360151320695877, -0.1025639995932579, 0.0690743550658226, 0.09988918900489807, -0.24008266627788544, 0.1383420079946518, -0.07192002236843109, -0.018998656421899796, 0.07144287973642349, -0.3336825966835022, 0.1669977307319641, -0.06995850056409836, 0.32527658343315125, 0.007032989989966154, 0.11238306760787964, 0.23212167620658875, -0.003370315534994006, 0.056695081293582916, -0.0151861272752285, -0.2020103931427002, -0.3631734549999237, 0.11986218392848969, 0.2442472130060196, 0.013225166127085686, 0.13930073380470276, 0.6476930975914001, -0.07882194966077805, -0.02473072148859501, 0.09515215456485748, -0.14958566427230835, -0.07560690492391586, 0.0918964073061943, 0.008435827679932117, 0.4402739107608795, 0.2970682978630066, 0.20953905582427979, -0.08497735857963562, 0.17188102006912231, -0.011727538891136646, 0.1424630731344223, 0.049512408673763275, 0.24227017164230347, -0.11298254877328873, -0.15848366916179657, -0.09173040091991425, 0.3859351873397827, 0.01751849055290222, 0.06110285222530365, 0.20932288467884064, 0.015960777178406715, -0.23753273487091064, 0.2368609607219696, -0.2841418385505676, -0.2471015900373459, 0.3316251039505005, 0.43739673495292664, 0.1323624551296234, 0.1319609135389328, -0.2236751914024353, -0.38508865237236023, -0.26853740215301514, -0.2674711346626282, 0.269226998090744, 0.004086907021701336, 0.10085756331682205, -0.028730403631925583, -0.33934035897254944, 0.11695735156536102, -0.16699881851673126, -0.0758722648024559, 0.19377490878105164, 0.1989963948726654, 0.08073712140321732, 0.5285505056381226, -0.07080642879009247, 0.10744526237249374, 0.21963508427143097, -0.2363927662372589, 0.08949969708919525, 0.002287959912791848, 0.13554851710796356, -0.41089749336242676, 0.06739082932472229, 0.012366214767098427, 0.23891784250736237, 0.1809425801038742, -0.17097671329975128, -0.07145533710718155, 0.09402021020650864, -0.08286531269550323, -0.15077325701713562, -0.2673795819282532, -0.016621757298707962, -0.26385825872421265, -0.08854388445615768, -0.2939399480819702, -0.3197616934776306, -0.011979405768215656, 0.3331015110015869, 0.22879686951637268, -0.3092847764492035, -0.1838705986738205, 0.19549500942230225, -0.042706094682216644, -0.35089170932769775, 0.24815472960472107, -0.006504777818918228, -0.36729860305786133, -0.0029801693744957447, -0.09231297671794891, 0.03225315734744072, -0.041086480021476746, -0.006027251947671175, 0.09056974947452545, 0.4251667261123657, -0.01314785610884428, 0.27936995029449463, -0.014435132034122944, -0.19472096860408783, 0.3664415776729584, -0.10157634317874908, 0.18089520931243896, -0.42180541157722473, 0.2622796297073364, 0.16297858953475952, -0.11103294789791107, -0.17773345112800598, 0.0719851553440094, -0.008127415552735329, -0.25383415818214417, 0.1101062223315239, 0.16639919579029083, 0.11266296356916428, 0.051487382501363754, -0.12599503993988037, -0.2301618754863739, -0.6497932076454163, -0.01645629107952118, 0.2934246361255646, -0.11614669114351273, -0.20693500339984894, 0.009683502838015556, -0.11390288919210434, 0.4523921310901642, -0.008760292083024979, -0.09879448264837265, 0.21795308589935303, -0.06978494673967361, -0.35170942544937134, -0.46663030982017517, -0.21349966526031494, -0.06173437461256981, 0.12135713547468185, -0.24718821048736572, 0.03502102568745613, -0.00508532440289855, 0.10117979347705841, 0.1379455178976059, 0.05404845252633095, -0.0018205299274995923, -0.12642168998718262, 0.3061849772930145, 0.03615416958928108, -0.15457448363304138, 0.18346571922302246, -0.5049882531166077, 0.05789431929588318, 0.4692288637161255, -0.280908465385437, -0.41185542941093445, -0.21887418627738953, -0.28748759627342224, 0.08405496180057526, -0.25536757707595825, -0.11095229536294937, -0.11807925254106522, -0.20798732340335846, -0.03133442625403404, -0.054488230496644974, -0.09943851083517075, 0.2639847993850708, 0.017805805429816246, 0.10686648637056351, 0.05033835023641586, 0.13037240505218506, -0.03446561470627785, -0.012184110470116138, 0.283723384141922, -0.20265832543373108, -0.12860772013664246, 0.19540752470493317, -0.28543782234191895, -0.2478388547897339, -0.2367546409368515, -0.10372038930654526, 0.2363557517528534, -0.2682102918624878, 0.06097707152366638, 0.04314349591732025, 0.12967927753925323, 0.0448351614177227, 0.06591156125068665, -0.08450251072645187, -0.04811210185289383, 0.2265675812959671, -0.4175952970981598, -0.04286513850092888, 0.1936536580324173, 0.04476010054349899, -0.2592853903770447, -0.07294563204050064, -0.16940484941005707, -0.1356162577867508, 0.17838270962238312, -0.19852177798748016, -0.11455827206373215, 0.15540096163749695, 0.019162725657224655, -0.06987681239843369, 0.01591535098850727, -0.01466769352555275, -0.05830992013216019, -0.3173423707485199, -0.2401798963546753, -0.08112286031246185, 0.4107559323310852, 0.14252077043056488, 0.021700002253055573, -0.2317647635936737, 0.1562458574771881, -0.38694995641708374, 0.4550526738166809, -0.2686031460762024, -0.19636951386928558, 0.4499940574169159, -0.05443592369556427, 0.19158712029457092, -0.1660231053829193, 0.01227237656712532, 0.06630051136016846, 0.360392302274704, -0.06629474461078644, 0.3288981318473816, -0.0799073725938797, -0.0581434927880764, 0.002713350811973214, 0.317986398935318, -0.09966320544481277, -0.13512837886810303, -0.040162622928619385, 0.44333145022392273, 0.04253281280398369, -0.0068645840510725975, 0.2986960709095001, -0.04868701845407486, -0.008886062540113926, 0.34393754601478577, 0.594961404800415, 0.04978175088763237, -0.03182319924235344, 0.25998449325561523, -0.2654759883880615, -0.04004776105284691, 0.35973918437957764, 0.002688545733690262, 0.40578556060791016, -0.17836228013038635, -0.08585203438997269, 0.40727803111076355, 0.02933386340737343, 0.813218891620636, 0.1437532752752304, -0.02238708734512329, 0.36473575234413147, 0.20873983204364777, -0.7150110006332397, -0.1692028045654297, 0.02066863514482975, 0.1862371265888214, 0.3245719075202942, 0.29085496068000793, -0.4213826358318329, -0.16987395286560059, 0.015203001908957958, -0.02661714516580105, -0.24341067671775818, -0.4694857895374298, -0.4746667444705963, -0.027777185663580894, -0.07480497658252716, 0.08159974217414856, -0.10134763270616531, 0.17538385093212128, 0.2664715051651001, 0.0797942578792572, -0.27352264523506165, -0.06497234106063843, -0.052863094955682755, 0.16723129153251648, 0.14251956343650818, -0.05096440762281418, 0.1854497641324997, 0.3095149099826813, 0.34593096375465393, -0.1022530198097229, 0.4262803792953491, -0.2792917490005493, 0.4044225811958313, 0.4360564351081848, 0.020394617691636086, -0.28014180064201355, 0.3081189692020416, -0.008322404697537422, -0.1924949288368225, -0.13056856393814087, -0.08978043496608734, 0.2606228291988373, 0.06622903794050217, 0.13725906610488892, -0.05711852014064789, -0.01489864569157362, -0.1886000782251358, 0.3734615743160248, -0.35925647616386414, -0.16654618084430695, 0.04109121114015579, 0.3628583550453186, -0.20074214041233063, 0.834190309047699, -0.12478256970643997, 0.6939853429794312, -0.22687149047851562, -0.01800655946135521, 0.253036767244339, 0.11723645031452179, 0.05037221685051918, -0.29936379194259644, 0.12574437260627747, -0.3524125814437866, -0.09208948165178299, 0.2694874405860901, -0.032706670463085175, -0.13493125140666962, -0.08530865609645844, 0.18518862128257751, 0.15782850980758667, -0.0414491705596447, -0.3271873891353607, -0.022203247994184494, 0.1019856333732605, 0.3490326702594757, 0.0011549799237400293, -0.01653825305402279, 0.08300910890102386, 0.2932281494140625, 0.43441107869148254, 0.016519933938980103, -0.03630313649773598, -0.2985890805721283, -0.04326793551445007, 0.045767560601234436, 0.24157266318798065, -0.027882035821676254, 0.2870084047317505, -0.08129727840423584, -0.1296970099210739, -0.3158631920814514, -0.6658958196640015, 0.23552559316158295, -0.1693875789642334, -0.29828715324401855, 0.22819063067436218, 0.16711007058620453, -0.21810637414455414, -0.32763686776161194, -0.02971116080880165, 0.038820140063762665, -0.07141156494617462, 0.0702776238322258, -0.24368087947368622, -0.09595867246389389, -0.053707852959632874, -0.2473309189081192, -0.07004981487989426, -0.10369590669870377, -0.26646143198013306, -0.3419797122478485, -0.10680613666772842, 0.22842563688755035, -0.07084476202726364, 0.16846756637096405, 0.055746834725141525, 0.03627433255314827, 0.16424089670181274, 0.02441873960196972, -0.43139398097991943, -0.07831896096467972, 0.4239520728588104, -0.08753825724124908, -0.010610021650791168, 0.3329029977321625, -0.22542491555213928, -0.28072839975357056, -0.07433263957500458, -0.6113309860229492, 0.484096497297287, -0.23831631243228912, -0.13170777261257172, 0.13569648563861847, -0.48013558983802795, 0.2420295923948288, -0.12520171701908112, 0.21013782918453217, -0.047097884118556976, -0.07470458745956421, -0.10987553000450134, -0.11744328588247299, 0.06394398212432861, -0.08375155180692673, 0.3316841721534729, 0.011870906688272953, 0.11694639921188354, -0.2047387659549713, -0.06528761982917786, -0.32325443625450134, -0.09956298768520355, -0.12695932388305664, 0.15404494106769562, 0.1250154674053192, -0.35375529527664185, 0.21194849908351898, 0.02629849873483181, 0.3157593905925751, -0.14216825366020203, -0.31912025809288025, -0.2788199484348297, 0.06270390748977661, 0.11292631179094315, -0.054867394268512726, 0.17424091696739197, -0.2715909779071808, -0.135936439037323, -0.060848258435726166, -0.06597568839788437, 0.1059805303812027, -0.0035196009557694197, -0.21204525232315063, -0.11779993772506714, -0.00546241132542491, 0.02671768330037594, -0.1474202275276184, 0.22062425315380096, -0.13877743482589722, 0.23627954721450806, -0.041373446583747864, 0.05486017093062401, -0.675670862197876, -0.10710281133651733, 0.05867026746273041, 0.03117501363158226, -0.062172360718250275, 0.060880936682224274, 0.0074436054565012455, -0.12123642861843109, -0.28388580679893494, 0.16370262205600739, 0.0808379128575325, 0.3941923975944519, -0.1355699747800827, -0.34142181277275085, 0.00696057453751564, 0.2800300121307373, -0.15473411977291107, 0.03534416854381561, 0.19735904037952423, -0.30268576741218567, 0.16187724471092224, 0.07704678922891617, 0.38070133328437805, -0.39108532667160034, -0.05001070722937584, 0.23393496870994568, -0.0002089786867145449, 0.37875139713287354, -0.5497601628303528, -0.07614395767450333, 0.023174351081252098, 0.1383070945739746, 0.332431435585022, 0.09568376839160919, 0.2518286406993866, 0.8444730043411255, -0.1379213184118271, 0.05919132009148598, 0.2617710828781128, 0.14290012419223785, -0.09250515699386597, -0.16026824712753296, 0.41489049792289734, 0.1119118481874466, 0.1491422802209854, 0.07542811334133148, 0.15689146518707275, 0.26297298073768616, -0.049252964556217194, -0.008862530812621117, -0.13167023658752441, -0.14896535873413086, -0.16539473831653595, -0.1970192939043045, 0.2270510494709015, -0.2518429756164551, -0.006240912713110447, -0.1897585690021515, -0.18702323734760284, 0.25826922059059143, -0.2926594614982605, 0.11890324205160141, -0.07750994712114334, 0.021436067298054695, -0.5841169357299805, 0.20939940214157104, 0.2594858705997467, -0.07174230366945267, 0.23750557005405426, 0.19679804146289825, -0.2706338167190552, 0.16923443973064423, -0.1674921065568924, 0.3743413984775543, 0.1188025251030922, -0.2553233206272125, 0.018331296741962433, 0.1982097178697586, -0.1106262058019638, -0.2824208438396454, -0.03690224885940552, 0.1683562844991684, -0.3100670576095581, 0.13735327124595642, 0.14712826907634735, -0.3069774806499481, -0.4064045548439026, 0.04267125949263573, 0.31245872378349304, 0.16978928446769714, -0.21754691004753113, 0.2830187976360321, 0.1179664134979248, -0.22432240843772888, -0.02361876331269741, -0.31296485662460327, 0.14021554589271545, -0.10480419546365738, -0.21718284487724304, 0.03810412436723709, 0.25372636318206787, 0.08549421280622482, -0.06114974990487099, 0.2817777395248413, -0.09846583008766174, 0.38526713848114014, -0.3130848705768585, 0.12445561587810516, -0.16899973154067993, 0.46228504180908203, 0.010250690393149853, 0.2366134524345398, 0.5039089918136597, 0.3550246059894562, 0.03243009001016617, -0.20671702921390533, 0.3177037835121155, 0.12784920632839203, 0.23136241734027863, 0.21276800334453583, -0.2645140290260315, 0.1563388705253601, -0.21281440556049347, -0.14784157276153564, 0.07178448885679245, -0.24928374588489532, 0.07366745918989182, -0.26264575123786926, 0.10453086346387863, 0.05119890719652176, -0.25701284408569336, 0.17947715520858765, 0.08182598650455475, 0.39113950729370117, 0.040218085050582886, 0.1553691178560257, -0.29526108503341675, -0.15888182818889618, 0.06169149652123451, -0.6030138731002808, -0.06358297169208527, 0.06306871026754379, -0.013068703934550285, -0.4581878185272217, 0.06752022355794907, -0.4597683846950531, -0.1830168217420578, 0.7411227822303772, 0.12173796445131302, -0.07085864245891571, -0.21454782783985138, 0.13886938989162445, -0.2286849468946457, 0.3193892538547516, -0.11809216439723969, 0.1449592113494873, 0.25987839698791504, 0.12587060034275055, -0.08999080955982208, -0.3049897849559784, 0.5896366238594055, -0.08151063323020935, -0.1536814421415329, -0.14657986164093018, 0.4865449070930481, 0.33688727021217346, 0.3232885003089905, -0.11974163353443146, 0.18788805603981018, 0.22598592936992645, 0.062186598777770996, -0.188777357339859, -0.014620690606534481, 0.07690605521202087, 0.04909731075167656, -0.11951146274805069, -0.19941258430480957, 0.3905995190143585, 0.03512829542160034, -0.15425598621368408, -0.20038382709026337 ]
https://github.com/huggingface/datasets/issues/1940
Side effect when filtering data due to `does_function_return_dict` call in `Dataset.map()`
Thanks for the report ! Currently we don't have a way to let the user easily disable this behavior. However I agree that we should support stateful processing functions, ideally by removing `does_function_return_dict`. We needed this function in order to know whether the `map` functions needs to write data or not. if `does_function_return_dict` returns False then we don't write anything. Instead of checking the output of the processing function outside of the for loop that iterates through the dataset to process it, we can check the output of the first processed example and at that point decide if we need to write data or not. Therefore it's definitely possible to fix this unwanted behavior, any contribution going into this direction is welcome :)
Hi there! In my codebase I have a function to filter rows in a dataset, selecting only a certain number of examples per class. The function passes a extra argument to maintain a counter of the number of dataset rows/examples already selected per each class, which are the ones I want to keep in the end: ```python def fill_train_examples_per_class(example, per_class_limit: int, counter: collections.Counter): label = int(example['label']) current_counter = counter.get(label, 0) if current_counter < per_class_limit: counter[label] = current_counter + 1 return True return False ``` At some point I invoke it through the `Dataset.filter()` method in the `arrow_dataset.py` module like this: ```python ... kwargs = {"per_class_limit": train_examples_per_class_limit, "counter": Counter()} datasets['train'] = datasets['train'].filter(fill_train_examples_per_class, num_proc=1, fn_kwargs=kwargs) ... ``` The problem is that, passing a stateful container (the counter,) provokes a side effect in the new filtered dataset obtained. This is due to the fact that at some point in `filter()`, the `map()`'s function `does_function_return_dict` is invoked in line [1290](https://github.com/huggingface/datasets/blob/96578adface7e4bc1f3e8bafbac920d72ca1ca60/src/datasets/arrow_dataset.py#L1290). When this occurs, the state of the counter is initially modified by the effects of the function call on the 1 or 2 rows selected in lines 1288 and 1289 of the same file (which are marked as `test_inputs` & `test_indices` respectively in lines 1288 and 1289. This happens out of the control of the user (which for example can't reset the state of the counter before continuing the execution,) provoking in the end an undesired side effect in the results obtained. In my case, the resulting dataset -despite of the counter results are ok- lacks an instance of the classes 0 and 1 (which happen to be the classes of the first two examples of my dataset.) The rest of the classes I have in my dataset, contain the right number of examples as they were not affected by the effects of `does_function_return_dict` call. I've debugged my code extensively and made a workaround myself hardcoding the necessary stuff (basically putting `update_data=True` in line 1290,) and then I obtain the results I expected without the side effect. Is there a way to avoid that call to `does_function_return_dict` in map()'s line 1290 ? (e.g. extracting the required information that `does_function_return_dict` returns without making the testing calls to the user function on dataset rows 0 & 1) Thanks in advance, Francisco Perez-Sorrosal
123
Side effect when filtering data due to `does_function_return_dict` call in `Dataset.map()`
[ -0.3984997570514679, -0.1341647207736969, -0.1928732693195343, -0.05142990127205849, 0.16605381667613983, -0.1856749802827835, 0.1572069376707077, 0.18875910341739655, 0.37989047169685364, 0.025923974812030792, -0.10912733525037766, 0.6285597681999207, -0.1703297197818756, 0.2470373511314392, -0.20338863134384155, 0.3362225592136383, 0.14310158789157867, -0.02109520323574543, -0.38833487033843994, -0.2479982078075409, -0.1795216053724289, 0.16774815320968628, -0.0819900780916214, 0.19230787456035614, 0.027285009622573853, -0.3096889555454254, 0.49090173840522766, 0.4360332489013672, -0.019122926518321037, -0.14030514657497406, 0.3068263828754425, 0.126466304063797, -0.3571184277534485, 0.21644677221775055, -0.00011003098188666627, 0.050905775278806686, 0.054487407207489014, -0.039434581995010376, -0.21927881240844727, -0.42149782180786133, -0.2743188440799713, 0.1596449315547943, 0.3062809407711029, -0.1219993382692337, -0.04406454414129257, 0.03681351989507675, -0.1446990966796875, -0.48794829845428467, 0.4448152184486389, 0.26605644822120667, 0.2312193661928177, -0.04094494879245758, -0.3942987024784088, 0.051883406937122345, 0.3741872012615204, 0.40004271268844604, 0.11275389790534973, 0.021475397050380707, 0.17089097201824188, -0.24075014889240265, -0.09127918630838394, 0.5047025084495544, -0.3090382218360901, 0.027367722243070602, -0.15644747018814087, 0.0757361426949501, -0.08106371760368347, -0.13571026921272278, 0.4013731777667999, -0.038578007370233536, 0.2253456711769104, -0.11621452122926712, -0.23805400729179382, -0.25425517559051514, -0.19200792908668518, 0.17748767137527466, 0.07174935191869736, -0.3776554763317108, -0.16244982182979584, -0.22137488424777985, -0.0820489376783371, -0.044932059943675995, -0.0039773075841367245, 0.07913542538881302, -0.36306852102279663, 0.16824305057525635, -0.10367969423532486, 0.21781043708324432, 0.014930034056305885, -0.10270833224058151, 0.07349139451980591, -0.3367619514465332, 0.12403267621994019, -0.07009565085172653, 0.07428864389657974, -0.22968187928199768, 0.4499157965183258, -0.10653465241193771, 0.18006856739521027, -0.15948881208896637, -0.015767080709338188, 0.1924782544374466, -0.08395776152610779, 0.01261526346206665, 0.5532626509666443, -0.3350362479686737, 0.008100984618067741, 0.5520464777946472, 0.3069310188293457, -0.4318869113922119, -0.16188405454158783, -0.15914864838123322, 0.4859870970249176, 0.2771482765674591, 0.13194705545902252, -0.04289303347468376, 0.3011748194694519, -0.33566296100616455, -0.21964991092681885, 0.3396080434322357, 0.0728432685136795, 0.16480274498462677, 0.020084289833903313, 0.296120285987854, 0.10460425913333893, 0.1863715499639511, -0.18803837895393372, -0.09718400985002518, 0.05505399405956268, 0.2518078088760376, -0.14754660427570343, -0.27280041575431824, -0.12641562521457672, -0.2724231481552124, 0.04552631825208664, 0.23788905143737793, 0.16256245970726013, 0.019761506468057632, 0.016969459131360054, 0.12889191508293152, -0.03880868852138519, -0.17867156863212585, 0.7462269067764282, 0.37520110607147217, -0.259073406457901, 0.20131197571754456, 0.15409305691719055, -0.1667001098394394, -0.17506828904151917, 0.08928021043539047, -0.11517328023910522, -0.14638115465641022, 0.15466393530368805, 0.2685799300670624, -0.036361049860715866, 0.2556241750717163, 0.13587862253189087, 0.11264707893133163, 0.1875150054693222, -0.48656395077705383, 0.05036447197198868, -0.3881027400493622, -0.24887694418430328, -0.13345345854759216, -0.023084504529833794, 0.34100162982940674, -0.6747267842292786, 0.046448156237602234, -0.28894343972206116, -0.10646305233240128, 0.03512270003557205, 0.15590502321720123, -0.12218465656042099, -0.004979824181646109, -0.1711120307445526, 0.3975180685520172, 0.5325726866722107, -0.4329990744590759, -0.5868375301361084, 0.20054306089878082, -0.040854886174201965, 0.3254649043083191, -0.07444524019956589, 0.08657581359148026, 0.48761889338493347, 0.0945359393954277, 0.30314165353775024, 0.0840785801410675, -0.17682650685310364, 0.1050606518983841, 0.006536200642585754, 0.2295682430267334, 0.47268715500831604, 0.028770295903086662, -0.07883992791175842, 0.20850849151611328, 0.13898932933807373, -0.30670395493507385, 0.11830753087997437, 0.059713445603847504, -0.09546677768230438, -0.35314515233039856, 0.2907688319683075, -0.07116043567657471, 0.05631342902779579, -0.3507511019706726, -0.208536759018898, -0.18939067423343658, -0.07103783637285233, -0.2854830026626587, -0.28185415267944336, -0.12769459187984467, -0.22241412103176117, 0.2562137842178345, -0.11921075731515884, 0.1659255474805832, 0.23020362854003906, -0.08885417878627777, 0.12418680638074875, 0.14684975147247314, -0.11412298679351807, 0.13923756778240204, -0.34653937816619873, -0.1256442368030548, -0.028173185884952545, 0.22543181478977203, 0.19237548112869263, -0.017463406547904015, -0.15987078845500946, 0.16808421909809113, -0.11593963950872421, 0.14922064542770386, -0.022872835397720337, -0.010682142339646816, 0.4390883147716522, -0.2386128455400467, 0.056183695793151855, 0.007172433193773031, -0.02420891635119915, 0.2043265998363495, -0.052503831684589386, 0.30294114351272583, 0.19249139726161957, -0.05756009370088577, -0.16079548001289368, 0.3487780690193176, 0.15378227829933167, 0.3464392423629761, 0.051208410412073135, 0.17546069622039795, 0.3675234913825989, 0.17407186329364777, -0.228219673037529, -0.5262572765350342, -0.2747555673122406, -0.06617853045463562, 0.21639443933963776, -0.0904366672039032, -0.24437496066093445, 0.03704565018415451, 0.47491106390953064, -0.11627870053052902, 0.23524056375026703, 0.0026336642913520336, 0.03151140362024307, -0.00760854734107852, 0.3090071380138397, 0.39403676986694336, 0.5596867203712463, 0.20888757705688477, 0.005920615047216415, -0.048462726175785065, -0.1385335624217987, -0.08797875046730042, -0.022994868457317352, 0.225943461060524, 0.02014598436653614, 0.3317941725254059, 0.27760446071624756, -0.06620398908853531, -0.42162036895751953, -0.04848571494221687, -0.14636901021003723, -0.21006877720355988, -0.1226053535938263, 0.09430389851331711, 0.008525525219738483, -0.33060258626937866, 0.39041945338249207, 0.0668017566204071, -0.017358720302581787, -0.3338779807090759, 0.2685803472995758, 0.2386072427034378, -0.5056119561195374, 0.05961959809064865, 0.19107186794281006, 0.19363701343536377, 0.22197675704956055, -0.35549768805503845, -0.07930658757686615, -0.456787645816803, -0.21146155893802643, 0.1825447827577591, -0.14936776459217072, -0.18066874146461487, 0.4209420084953308, 0.03913822025060654, -0.21946944296360016, -0.023629602044820786, -0.17604681849479675, 0.11280453205108643, 0.09766785055398941, 0.03934423252940178, 0.38875001668930054, 0.08338671177625656, 0.04868184030056, 0.057235270738601685, 0.1130402460694313, -0.004727204795926809, -0.20252853631973267, -0.08253952115774155, 0.05494359880685806, 0.12351394444704056, -0.2774304747581482, -0.13003337383270264, -0.1435452550649643, -0.11550789326429367, -0.018971793353557587, 0.0012713175965473056, 0.07432372868061066, 0.02189900539815426, 0.060534875839948654, -0.2832252085208893, -0.2891097068786621, -0.08680158108472824, -0.6018257141113281, 0.06702028959989548, 0.089901864528656, -0.09186084568500519, -0.20734161138534546, -0.1605612188577652, -0.19661736488342285, 0.2352791428565979, 0.4325317144393921, -0.4985978305339813, -0.19751596450805664, 0.14640453457832336, 0.27554118633270264, 0.046818558126688004, -0.04792540520429611, 0.20241636037826538, 0.28555575013160706, -0.23662815988063812, -0.29594430327415466, -0.20195133984088898, 0.24119466543197632, 0.36255183815956116, -0.03612702339887619, -0.049615226686000824, 0.23828621208667755, -0.14387795329093933, 0.22005008161067963, 0.0017176450928673148, 0.04207223653793335, -0.009084763005375862, 0.1677757054567337, 0.46921876072883606, -0.3273235261440277, -0.10425098985433578, -0.2844177782535553, -0.2146931141614914, -0.04068515822291374, 0.04498615860939026, 0.01038649957627058, -0.40557733178138733, -0.11386575549840927, -0.09533524513244629, -0.24788644909858704, -0.31722521781921387, 0.06252869218587875, -0.15958158671855927, 0.005882428493350744, 0.25792574882507324, 0.26790139079093933, -0.30123019218444824, 0.1744561642408371, -0.056818775832653046, -0.349986732006073, 0.4831361770629883, -0.3289986252784729, -0.2602093815803528, -0.22783221304416656, -0.0034667979925870895, 0.19822338223457336, 0.19328941404819489, 0.24957287311553955, -0.2203482836484909, -0.27924203872680664, -0.07641333341598511, 0.1517559438943863, 0.8176361322402954, -0.2581901550292969, 0.1857927441596985, 0.29144424200057983, -0.29594123363494873, -0.23441123962402344, 0.1346445530653, -0.45367076992988586, 0.4280230700969696, 0.0679454505443573, 0.22600506246089935, -0.13043874502182007, 0.14856205880641937, -0.10718844085931778, 0.11809955537319183, -0.0971575453877449, 0.14391674101352692, 0.028095712885260582, -0.13983845710754395, -0.12283722311258316, 0.32640960812568665, -0.1007462590932846, -0.19952775537967682, -0.0658869668841362, -0.450817346572876, 0.08613518625497818, -0.32553645968437195, -0.10060364753007889, 0.26889944076538086, 0.20159992575645447, -0.08201085031032562, -0.05600076541304588, 0.17593488097190857, 0.2237432450056076, -0.010175531730055809, 0.24017980694770813, -0.17311321198940277, -0.015636073425412178, -0.009692835621535778, 0.11751676350831985, 0.052519746124744415, 0.3447473347187042, -0.11606339365243912, 0.15534697473049164, -0.10373008996248245, -0.12617765367031097, 0.02174677513539791, -0.010641742497682571, 0.27829962968826294, 0.18366090953350067, -0.11473750323057175, -0.1444680392742157, 0.2600102722644806, -0.050127848982810974, -0.33731240034103394, 0.4006446897983551, -0.016419408842921257, -0.3006495237350464, 0.4179472029209137, 0.04996955022215843, 0.6071141958236694, 0.1856917291879654, 0.13427716493606567, -0.05334262549877167, -0.04262632504105568, 0.4131733477115631, 0.03351175785064697, 0.02365279756486416, 0.11072475463151932, -0.0007562066311948001, -0.0531606487929821, -0.1128493994474411, -0.004743508528918028, 0.09614908695220947, 0.04146609082818031, 0.04794643074274063, -0.16049356758594513, 0.5444544553756714, 0.03393199294805527, -0.04194575548171997, 0.39302316308021545, -0.1768478900194168, -0.3105972409248352, 0.19211043417453766, 0.12445172667503357, 0.039876192808151245, -0.0665193572640419, 0.07945898175239563, 0.22258466482162476, -0.14732153713703156, -0.0285560991615057, -0.1678897738456726, -0.10275068134069443, 0.2889419198036194, -0.07389722764492035, -0.45525023341178894, -0.16300900280475616, 0.14813746511936188, -0.2111036628484726, 0.3567369878292084, -0.11910786479711533, -0.05420570448040962, 0.21167154610157013, 0.6868100166320801, 0.0356077216565609, 0.07146750390529633, 0.27919235825538635, 0.04634401574730873, -0.2042863816022873, 0.1224801316857338, -0.1388034075498581, 0.01134067215025425, -0.1143328845500946, 0.22880639135837555, 0.31875139474868774, -0.6202518939971924, 0.08022499084472656, 0.02123781479895115, -0.013185033574700356, -0.14782178401947021, 0.1101015955209732, -0.10152605175971985, -0.05871431902050972, 0.47124210000038147, 0.2984139323234558, -0.09815491735935211, -0.24872690439224243, 0.09368433058261871, 0.24479496479034424, 0.2211795598268509, 0.23938730359077454, -0.3435589075088501, -0.23156383633613586, -0.3084012567996979, -0.35642626881599426, 0.03982828930020332, 0.10577283799648285, 0.45595449209213257, 0.22482150793075562, -0.2512386739253998, -0.30903252959251404, -0.05849150940775871, -0.13480700552463531, 0.18748721480369568, -0.4263249337673187, -0.39939817786216736, -0.1525641530752182, 0.18971872329711914, 0.019534965977072716, 0.06527338176965714, 0.15477032959461212, -0.02640971913933754, -0.18755696713924408, -0.11978918313980103, -0.3581292927265167, -0.20935159921646118, -0.11488521099090576, 0.3229711353778839, 0.08506658673286438, 0.2472759634256363, -0.08455687761306763, -0.1782539039850235, 0.21054142713546753, 0.1598474681377411, -0.13428619503974915, -0.2856995165348053, 0.22653453052043915, 0.13303138315677643, -0.027308756485581398, -0.21264977753162384, -0.018570851534605026, -0.18784010410308838, -0.004794713109731674, -0.18900497257709503, 0.35037875175476074, 0.22072851657867432, -0.15540704131126404, -0.14970578253269196, -0.11864966154098511, -0.07580100744962692, 0.16585925221443176, 0.33144378662109375, -0.19131815433502197, -0.18842993676662445, -0.16058650612831116, 0.31145575642585754, -0.04665817692875862, -0.08247733116149902, 0.22466954588890076, 0.04300224781036377, 0.034635238349437714, -0.029307350516319275, 0.4159955382347107, -0.13127455115318298, -0.17165270447731018, 0.2718946635723114, 0.34277358651161194, 0.3362029492855072, -0.16372926533222198, -0.13845615088939667, 0.024113381281495094, 0.27835994958877563, -0.3723464906215668, -0.297091543674469, 0.43902575969696045, -0.1598561555147171, 0.3514585793018341, 0.18339139223098755, 0.052362821996212006, -0.08957262337207794, 0.5071359276771545, 0.08692009747028351, 0.14793692529201508, -0.047937870025634766, 0.22896355390548706, 0.37655699253082275, 0.015480171889066696, 0.07941462844610214, 0.1961454600095749, 0.3835808336734772, -0.09349223226308823, 0.8291814923286438, 0.1607705056667328, 0.4883761405944824, 0.03126772120594978, 0.03822990879416466, -0.12144327163696289, -0.47952473163604736, 0.5188583135604858, 0.14805568754673004, -0.5670422315597534, 0.25809723138809204, 0.24808369576931, -0.5911595225334167, 0.028579548001289368, -0.07207408547401428, -0.11895227432250977, -0.1181437224149704, -0.3542230427265167, 0.03208957612514496, 0.12723898887634277, -0.18218016624450684, 0.3027350902557373, 0.01871531456708908, -0.07210830599069595, -0.08194690942764282, 0.4970802068710327, -0.3430328965187073, 0.0001434211735613644, 0.08040811121463776, 0.01864379644393921, -0.39346715807914734, -0.038964759558439255, -0.036443449556827545, 0.05654838681221008, 0.05340127274394035, 0.2811135947704315, 0.16669222712516785, -0.04554605484008789, 0.18224388360977173, 0.1671638786792755, -0.13029633462429047, 0.029776556417346, 0.018410125747323036, -0.2753775715827942, -0.215501070022583, 0.35953447222709656, -0.05864429101347923, 0.09216675162315369, 0.27369847893714905, 0.23470033705234528, -0.10895933955907822, -0.08679215610027313, 0.2209651917219162, 0.19703254103660583, -0.11179938167333603, -0.013056078925728798, 0.14964427053928375, -0.08002825081348419, -0.24514725804328918, 0.010796383023262024, -0.1099308580160141, -0.3453723192214966, 0.287981778383255, -0.010312975384294987, 0.3102381229400635, -0.10292717814445496, 0.14739957451820374, -0.10469518601894379, 0.26179516315460205, 0.017006322741508484, 0.19533036649227142, -0.09321044385433197, -0.04286384955048561, -0.19022944569587708, 0.06929204612970352, -0.009655398316681385, 0.03610900416970253, 0.011808865703642368, -0.04936004430055618, 0.3209223747253418, 0.30726930499076843, 0.023920420557260513, -0.11507607251405716, -0.2789554297924042, -0.2645684778690338, 0.06150529533624649, -0.19136543571949005, -0.4506068825721741, -0.20751787722110748, 0.039436131715774536, -0.30163460969924927, 0.08912492543458939, -0.13914377987384796, 0.21515095233917236, 0.05766686797142029, 0.067905493080616, -0.2787293791770935, 0.01153192576020956, 0.033192723989486694, 0.5377371907234192, 0.38995233178138733, -0.1449812650680542, 0.15346071124076843, 0.3673976957798004, -0.16902297735214233, -0.09592568874359131, 0.07007190585136414, 0.11714879423379898, 0.13077084720134735, -0.11860758811235428, -0.18778163194656372, 0.12333996593952179, -0.09533870965242386, 0.14168226718902588, 0.1273559331893921, -0.11631862819194794, 0.16475677490234375, -0.037080325186252594, -0.20655182003974915, -0.3214380145072937, -0.026816777884960175, -0.06373564898967743, 0.07618498057126999, -0.00874299556016922, -0.23047389090061188, 0.3972037732601166, -0.21096466481685638, -0.40559419989585876, -0.45945367217063904, 0.20133143663406372, -0.07279147952795029, -0.22554722428321838, -0.19240517914295197, -0.16249269247055054, 0.3592253029346466, -0.3340717554092407, -0.007676968816667795, -0.156396746635437, -0.21978220343589783, -0.06867966055870056, -0.2474055141210556, 0.15350113809108734, 0.036370545625686646, -0.25286635756492615, 0.24023684859275818, -0.26162394881248474 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
Thanks for reporting and for all the details and suggestions. I'm totally in favor of having a HF_DATASETS_OFFLINE env variable to disable manually all the connection checks, remove retries etc. Moreover you may know that the use case that you are mentioning is already supported from `datasets` 1.3.0, i.e. you already can: - first load datasets and metrics from an instance with internet connection - then be able to reload datasets and metrics from another instance without connection (as long as the filesystem is shared) This is already implemented, but currently it only works if the requests return a `ConnectionError` (or any error actually). Not sure why it would hang instead of returning an error. Maybe this is just a issue with the timeout value being not set or too high ? Is there a way I can have access to one of the instances on which there's this issue (we can discuss this offline) ?
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
156
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
I'm on master, so using all the available bells and whistles already. If you look at the common issues - it for example tries to look up files if they appear in `_PACKAGED_DATASETS_MODULES` which it shouldn't do. -------------- Yes, there is a nuance to it. As I mentioned it's firewalled - that is it has a network but making any calls outside - it just hangs in: ``` sin_addr=inet_addr("xx.xx.xx.xx")}, [28->16]) = 0 close(5) = 0 socket(AF_INET, SOCK_STREAM|SOCK_CLOEXEC, IPPROTO_TCP) = 5 connect(5, {sa_family=AF_INET, sin_port=htons(3128), sin_addr=inet_addr("yy.yy.yy.yy")}, 16^C) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) ``` until it times out. That's why we need to be able to tell the software that there is no network to rely on even if there is one (good for testing too). So what I'm thinking is that this is a simple matter of pre-ambling any network call wrappers with: ``` if HF_DATASETS_OFFLINE: assert "Attempting to make a network call under Offline mode" ``` and then fixing up if there is anything else to fix to make it work. -------------- Otherwise I think the only other problem I encountered is that we need to find a way to pre-cache metrics, for some reason it's not caching it and wanting to fetch it from online. Which is extra strange since it already has those files in the `datasets` repo itself that is on the filesystem. The workaround I had to do is to copy `rouge/rouge.py` (with the parent folder) from the datasets repo to the current dir - and then it proceeded.
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
257
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
Ok understand better the hanging issue. I guess catching connection errors is not enough, we should also avoid all the hangings. Currently the offline mode tests are only done by simulating an instant connection fail that returns an error, let's have another connection mock that hangs instead. I'll also take a look at why you had to do this for `rouge`.
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
61
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
FWIW, I think instant failure on the behalf of a network call is the simplest solution to correctly represent the environment and having the caller to sort it out is the next thing to do, since here it is the case of having no functional network, it's just that the software doesn't know this is the case, because there is some network. So we just need to help it to bail out instantly rather than hang waiting for it to time out. And afterwards everything else you said.
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
88
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
Update on this: I managed to create a mock environment for tests that makes the connections hang until timeout. I managed to reproduce the issue you're having in this environment. I'll update the offline test cases to also test the robustness to connection hangings, and make sure we set proper timeouts where it's needed in the code. This should cover the _automatic_ section you mentioned.
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
65
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1939
[firewalled env] OFFLINE mode
I lost access to the firewalled setup, but I emulated it with: ``` sudo ufw enable sudo ufw default deny outgoing ``` (thanks @mfuntowicz) I was able to test `HF_DATASETS_OFFLINE=1` and it worked great - i.e. didn't try to reach out with it and used the cached files instead. Thank you!
This issue comes from a need to be able to run `datasets` in a firewalled env, which currently makes the software hang until it times out, as it's unable to complete the network calls. I propose the following approach to solving this problem, using the example of `run_seq2seq.py` as a sample program. There are 2 possible ways to going about it. ## 1. Manual manually prepare data and metrics files, that is transfer to the firewalled instance the dataset and the metrics and run: ``` DATASETS_OFFLINE=1 run_seq2seq.py --train_file xyz.csv --validation_file xyz.csv ... ``` `datasets` must not make any network calls and if there is a logic to do that and something is missing it should assert that this or that action requires network and therefore it can't proceed. ## 2. Automatic In some clouds one can prepare a datastorage ahead of time with a normal networked environment but which doesn't have gpus and then one switches to the gpu instance which is firewalled, but it can access all the cached data. This is the ideal situation, since in this scenario we don't have to do anything manually, but simply run the same application twice: 1. on the non-firewalled instance: ``` run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` which should download and cached everything. 2. and then immediately after on the firewalled instance, which shares the same filesystem ``` DATASETS_OFFLINE=1 run_seq2seq.py --dataset_name wmt16 --dataset_config ro-en ... ``` and the metrics and datasets should be cached by the invocation number 1 and any network calls be skipped and if the logic is missing data it should assert and not try to fetch any data from online. ## Common Issues 1. for example currently `datasets` tries to look up online datasets if the files contain json or csv, despite the paths already provided ``` if dataset and path in _PACKAGED_DATASETS_MODULES: ``` 2. it has an issue with metrics. e.g. I had to manually copy `rouge/rouge.py` from the `datasets` repo to the current dir - or it was hanging. I had to comment out `head_hf_s3(...)` calls to make things work. So all those `try: head_hf_s3(...)` shouldn't be tried with `DATASETS_OFFLINE=1` Here is the corresponding issue for `transformers`: https://github.com/huggingface/transformers/issues/10379 Thanks.
51
[firewalled env] OFFLINE mode
[ -0.3361811339855194, -0.5414817929267883, -0.2820601761341095, -0.2123630791902542, 0.07188498228788376, -0.04890025779604912, 0.6683133840560913, -0.17042963206768036, 0.2412797212600708, 0.17115089297294617, -0.067365862429142, -0.07862140983343124, 0.011183065362274647, 0.41585707664489746, -0.11198683828115463, 0.1591590791940689, 0.05885225161910057, 0.027244336903095245, -0.2155834436416626, -0.1816125065088272, -0.01045297272503376, 0.06584420055150986, -0.40618255734443665, -0.160090371966362, 0.31467002630233765, -0.19004125893115997, 0.032913342118263245, -0.08330993354320526, -0.24672213196754456, -0.02406391128897667, 0.35755982995033264, 0.08090776950120926, 0.15023331344127655, -0.31228533387184143, -0.00010779206786537543, 0.02708396501839161, -0.01302992831915617, 0.012357218191027641, -0.036783941090106964, 0.25373291969299316, -0.3298494815826416, -0.4167712926864624, 0.20882631838321686, -0.43628421425819397, -0.004538670182228088, -0.3835100531578064, 0.16883738338947296, -0.1598384529352188, 0.40358904004096985, -0.01987648569047451, 0.20045699179172516, -0.1330423653125763, -0.20743753015995026, -0.18549281358718872, -0.3082430362701416, -0.2730570435523987, 0.022953564301133156, 0.21766386926174164, -0.05229762941598892, -0.13807155191898346, -0.0003971294208895415, -0.03721565008163452, -0.1935081034898758, 0.060680072754621506, 0.15378041565418243, -0.002272120676934719, 0.029746999964118004, 0.08232676237821579, 0.19858913123607635, 0.11633992195129395, 0.02676543965935707, 0.1883845180273056, 0.17960168421268463, 0.06137041002511978, 0.052119702100753784, -0.1292395442724228, 0.2513708472251892, 0.08669755607843399, -0.20906399190425873, 0.35707661509513855, -0.5915300846099854, -0.3301528990268707, -0.31765973567962646, 0.1237134337425232, -0.5203874111175537, 0.7445740699768066, -0.02533365972340107, 0.08994163572788239, -0.06845179945230484, 0.2006184160709381, -0.11313930153846741, -0.15450304746627808, 0.05940276011824608, -0.1221766397356987, 0.15558908879756927, -0.02381235361099243, 0.04139839485287666, 0.027652239426970482, -0.07239259034395218, 0.017155442386865616, -0.4944652020931244, -0.007236246019601822, 0.296798974275589, 0.04616287350654602, 0.043247174471616745, 0.11868777871131897, 0.1667032241821289, -0.3191230893135071, 0.34331944584846497, 0.14011244475841522, -0.23667669296264648, -0.04380178824067116, -0.026741929352283478, -0.022945323958992958, 0.1494065374135971, 0.08010364323854446, -0.05679378658533096, -0.16761910915374756, 0.07825310528278351, 0.1045389324426651, -0.10864154249429703, 0.25760596990585327, 0.16942614316940308, 0.19002178311347961, 0.12110976129770279, -0.32182246446609497, 0.04856831952929497, -0.035689786076545715, -0.20370052754878998, -0.12844456732273102, 0.07328461855649948, -0.24563710391521454, -0.19766245782375336, -0.598396897315979, -0.1268981397151947, 0.1545673906803131, 0.10158671438694, -0.0647474154829979, 0.1483430564403534, -0.0353841558098793, 0.162200465798378, 0.08043447881937027, 0.19435185194015503, 0.16826851665973663, -0.018080132082104683, -0.3585648834705353, 0.266664981842041, 0.011146699078381062, 0.20123684406280518, 0.06188960745930672, 0.18020914494991302, -0.32141825556755066, 0.027760721743106842, 0.24479040503501892, -0.03741608187556267, -0.2456963062286377, 0.2903488576412201, -0.10116230696439743, -0.22481359541416168, -0.39315757155418396, 0.2161589413881302, 0.01004582829773426, -0.15103593468666077, 0.16910310089588165, 0.22483815252780914, 0.19548793137073517, -0.23889482021331787, -0.009596253745257854, -0.0995933935046196, -0.20499679446220398, 0.09954674541950226, 0.06105631962418556, -0.16848409175872803, 0.10936523228883743, -0.21150758862495422, -0.5791661143302917, 0.3184359073638916, -0.02664586901664734, -0.34671419858932495, 0.5266112685203552, -0.20330451428890228, -0.18388226628303528, 0.19564516842365265, 0.157883882522583, 0.4675310552120209, 0.28143852949142456, 0.025584058836102486, 0.3011317551136017, -0.0601261667907238, -0.07665591686964035, -0.16617684066295624, 0.08868516236543655, 0.1832292377948761, -0.0972808375954628, 0.22159577906131744, 0.1729045808315277, 0.0154491625726223, -0.45121079683303833, 0.163818821310997, 0.07152765244245529, 0.08909716457128525, -0.28190740942955017, 0.11916755884885788, 0.30752262473106384, 0.1696375608444214, 0.17456257343292236, -0.13114714622497559, -0.1640731543302536, -0.13750892877578735, 0.17900234460830688, -0.40482908487319946, -0.1568501591682434, -0.0627753883600235, -0.06795082241296768, -0.1904335916042328, -0.19731833040714264, 0.22522984445095062, 0.023811642080545425, -0.4844342768192291, -0.006605363450944424, -0.1750582754611969, -0.11976343393325806, 0.06721814721822739, 0.010744119063019753, 0.4792754352092743, 0.019284803420305252, -0.1094568520784378, 0.17443042993545532, -0.2842695415019989, -0.21117790043354034, 0.02609430067241192, -0.07430204004049301, -0.08829391002655029, 0.16202329099178314, -0.12063337117433548, 0.2580256164073944, 0.3377918601036072, 0.09099050611257553, 0.127584770321846, -0.2666546404361725, 0.4123420715332031, 0.25918594002723694, 0.05089917406439781, 0.17960123717784882, -0.3178693950176239, 0.7310142517089844, -0.04518736153841019, 0.278084933757782, -0.1574692577123642, -0.06571274250745773, 0.22451192140579224, 0.07261916249990463, -0.294370174407959, -0.20009008049964905, 0.1580256074666977, 0.4573061168193817, -0.27819904685020447, -0.27950766682624817, -0.16467656195163727, 0.11355230957269669, -0.07104996591806412, 0.23929660022258759, 0.3060271739959717, -0.19172410666942596, 0.4166201651096344, -0.14925795793533325, 0.5067465901374817, 0.17933854460716248, 0.01863221451640129, 0.26857373118400574, 0.013393554836511612, 0.3950374722480774, -0.17412890493869781, -0.1625872254371643, 0.47885385155677795, -0.0883553996682167, 0.08480090647935867, 0.2098158746957779, 0.06313804537057877, -0.3167342245578766, -0.3366906940937042, -0.22347401082515717, 0.009209449402987957, -0.12309324741363525, 0.0401681624352932, 0.2007608413696289, -0.5071549415588379, -0.6854228377342224, 0.07768010348081589, 0.1510874629020691, -0.12390341609716415, -0.2651451528072357, 0.21059569716453552, -0.032817818224430084, -0.19109787046909332, 0.3110639750957489, -0.23426270484924316, 0.22812506556510925, 0.06982157379388809, 0.0903831273317337, 0.32972320914268494, -0.33425191044807434, -0.03708771988749504, 0.17231997847557068, -0.04970162361860275, -0.00961984321475029, 0.4686163663864136, 0.19288550317287445, -0.19537563621997833, -0.2427544742822647, -0.1496029943227768, 0.17593401670455933, -0.059238120913505554, 0.03792622685432434, 0.3462320864200592, 0.3007884919643402, -0.3391304314136505, 0.09396863728761673, 0.2738012671470642, -0.17710189521312714, 0.17218276858329773, 0.015153232030570507, -0.2401786744594574, 0.149389386177063, -0.2924315631389618, -0.5342718362808228, -0.06939814984798431, -0.10112178325653076, 0.0962553545832634, -0.24575315415859222, 0.15725980699062347, 0.08916661143302917, -0.11547423154115677, -0.09467312693595886, 0.0182508397847414, -0.03704548627138138, -0.04784132540225983, -0.3651736378669739, 0.03420429676771164, -0.11690416932106018, 0.014639900997281075, 0.11581574380397797, 0.08240891247987747, 0.04783974215388298, 0.2850496470928192, -0.38581156730651855, -0.14192451536655426, 0.3364594578742981, 0.3285468816757202, -0.23795261979103088, -0.3238406777381897, 0.3640826344490051, -0.10000278055667877, -0.19511523842811584, -0.06467630714178085, 0.49619564414024353, 0.4543828070163727, -0.18911567330360413, -0.032099660485982895, -0.04124188795685768, 0.8146837949752808, 0.1917228102684021, 0.01535568293184042, -0.29731279611587524, 0.6658830642700195, 0.42842769622802734, -0.028394531458616257, 0.20847956836223602, -0.3171404302120209, -0.0607522651553154, 0.12291897088289261, 0.3824177086353302, -0.49663999676704407, 0.12759152054786682, 0.06888604164123535, -0.03162448853254318, -0.2126922756433487, -0.3042925000190735, 0.15682019293308258, -0.1915549635887146, 0.01452771108597517, 0.2294383943080902, 0.2747000455856323, -0.12078704684972763, 0.17357587814331055, -0.14680996537208557, 0.01735999435186386, -0.14023450016975403, 0.3587696850299835, 0.04212311655282974, -0.09493009001016617, -0.21011973917484283, -0.1822994500398636, 0.25953051447868347, 0.24741829931735992, 0.19271320104599, 0.2816564738750458, -0.04414902999997139, 0.14244210720062256, 0.3925534188747406, -0.015551493503153324, 0.5466684699058533, 0.19227951765060425, 0.20682699978351593, 0.1604493260383606, 0.051406122744083405, -0.17534415423870087, -0.11661305278539658, 0.1078978180885315, 0.001860075630247593, 0.26155903935432434, -0.33329325914382935, 0.10702694952487946, 0.1486765444278717, -0.09128979593515396, -0.03616950288414955, -0.23854191601276398, -0.12904655933380127, -0.14267848432064056, 0.13744360208511353, -0.40155357122421265, 0.3131471872329712, -0.22978723049163818, -0.15017355978488922, 0.06322378665208817, -0.22999826073646545, 0.3724936544895172, 0.21468664705753326, -0.5047488808631897, -0.051938366144895554, -0.29488125443458557, -0.33990374207496643, -0.19054879248142242, -0.20150409638881683, 0.19074687361717224, -0.1336580216884613, -0.23340864479541779, 0.142167329788208, 0.14941680431365967, -0.015547976829111576, -0.07763882726430893, 0.28368905186653137, 0.2325809895992279, 0.12013314664363861, -0.17476725578308105, 0.21483373641967773, 0.3497818112373352, 0.2864578664302826, -0.5439282059669495, 0.09536517411470413, 0.04209628328680992, 0.09248088300228119, -0.1903408020734787, -0.04040050879120827, -0.5733227729797363, -0.0525597408413887, 0.06785611063241959, 0.6184231042861938, -0.148334339261055, 0.21303921937942505, -0.049959272146224976, 1.1002082824707031, 0.1658778339624405, 0.3123948872089386, 0.09684482961893082, 0.25916481018066406, 0.2624211311340332, -0.39825335144996643, 0.16051292419433594, 0.14790621399879456, 0.16471558809280396, -0.11458214372396469, 0.09376530349254608, 0.3172588348388672, -0.2047717422246933, -0.34807920455932617, 0.42815133929252625, -0.3406410217285156, 0.03301326930522919, -0.26481008529663086, -0.31802845001220703, -0.09925978630781174, 0.0898369550704956, -0.21145956218242645, 0.1962117999792099, 0.2741677761077881, -0.026519006118178368, -0.3707021474838257, 0.07110291719436646, 0.19278542697429657, 0.19641484320163727, -0.1329706907272339, -0.20074990391731262, 0.3407134413719177, 0.321536123752594, -0.2639633119106293, 0.008781520649790764, -0.45076966285705566, 0.1909143179655075, 0.09104692935943604, 0.144577294588089, -0.2998789846897125, -0.07482105493545532, 0.10193012654781342, -0.15333351492881775, -0.21327705681324005, 0.20996803045272827, -0.05893494933843613, -0.3416765630245209, -0.5644083619117737, -0.2754542827606201, -0.058950275182724, -0.07016127556562424, 0.18694105744361877, -0.06377176195383072, 0.456735759973526, -0.12348020821809769, 0.265611469745636, 0.12041312456130981, 0.025534003973007202, -0.20144382119178772, 0.16868700087070465, 0.06472363322973251, 0.04734903201460838, 0.009036262519657612, 0.20078317821025848, -0.19998236000537872, -0.16405388712882996, 0.46273431181907654, 0.016924511641263962, 0.4600728154182434, 0.2936652898788452, 0.05949370563030243, -0.29741814732551575, -0.3498315215110779, 0.22018320858478546, -0.31520336866378784, 0.6098735928535461, 0.025767380371689796, 0.11116248369216919, -0.0025105716194957495, -0.02077220194041729, 0.027702171355485916, -0.026743225753307343, 0.17495784163475037, -0.28549113869667053, -0.1376635730266571, -0.267368346452713, 0.16462533175945282, -0.086667999625206, -0.15573257207870483, 0.1281825304031372, 0.16647164523601532, 0.34100601077079773, -0.48917239904403687, -0.3853015899658203, 0.13831225037574768, -0.25546932220458984, 0.11760417371988297, 0.07907241582870483, -0.3318333923816681, 0.054877858608961105, -0.14581049978733063, 0.29806673526763916, -0.07868027687072754, -0.20968599617481232, -0.31137266755104065, 0.06653635203838348, 0.13620242476463318, -0.017029525712132454, -0.5256306529045105, -0.033235568553209305, -0.2658080756664276, -0.4520915746688843, 0.07840511202812195, -0.014314942061901093, 0.30178773403167725, 0.16936257481575012, -0.30905765295028687, -0.06859439611434937, 0.2617018520832062, -0.24827875196933746, -0.25156134366989136, -0.009192490950226784, 0.023414956405758858, -0.3423307538032532, -0.1519901007413864, -0.060106389224529266, -0.14421933889389038, -0.2303016185760498, 0.17323894798755646, 0.31527429819107056, 0.13307203352451324, 0.6071234345436096, 0.16138724982738495, 0.015796389430761337, -0.02361893840134144, 0.4501456320285797, 0.1163216307759285, 0.10218381136655807, 0.13146190345287323, 0.07622396945953369, 0.2417513132095337, -0.28230777382850647, 0.1688690185546875, 0.05167273059487343, -0.029063545167446136, 0.0556926429271698, -0.03982691466808319, 0.11304143071174622, -0.14018253982067108, 0.3289201855659485, -0.11428146809339523, 0.1350056380033493, -0.4122084677219391, -0.044311992824077606, -0.18202270567417145, -0.09847040474414825, 0.19491881132125854, -0.19986915588378906, 0.1570950597524643, 0.09243804961442947, 0.034583091735839844, 0.05680267885327339, -0.28816938400268555, 0.4194958508014679, 0.2541300058364868, 0.18727734684944153, -0.35105589032173157, -0.05902775749564171, -0.009940067306160927, -0.15084074437618256, 0.09423588216304779, -0.03474491462111473, 0.23106485605239868, -0.25307127833366394, -0.1241990402340889, -0.12475520372390747, 0.528532862663269, -0.25382503867149353, -0.08469104021787643, -0.3377040922641754, -0.120002880692482, -0.07913138717412949, 0.14127999544143677, 0.056285787373781204, 0.06846269220113754, -0.4487450420856476, 0.18390771746635437, 0.0965048149228096, -0.028271492570638657, 0.23277214169502258, -0.19754114747047424, 0.2827084958553314, -0.1221616193652153, 0.1705489456653595, 0.331417053937912, 0.2509332001209259, 0.29758304357528687, 0.17596246302127838, 0.024740954861044884, -0.07763661444187164, -0.05640876665711403, 0.14943422377109528, 0.21891145408153534, -0.1250358670949936, -0.26062285900115967, -0.13893570005893707, 0.0654873475432396, 0.7553941011428833, -0.03229750320315361, 0.20920567214488983, -0.23314641416072845, 0.5550963282585144, 0.13551683723926544, -0.2389979362487793, 0.0353141613304615, -0.19100618362426758, 0.2336077243089676, 0.005390112288296223, -0.18418660759925842, -0.0007731007062830031, -0.3314759135246277, -0.11391790956258774, -0.06627418100833893, -0.05350826308131218, 0.05684158205986023, 0.015116110444068909, 0.09611643850803375, -0.20225365459918976, 0.2230912297964096, -0.007368342950940132, 0.2547633945941925, 0.07717493176460266, -0.1518917977809906, -0.32256272435188293, 0.14099574089050293, 0.1691799759864807, -0.11406965553760529, -0.19905689358711243, -0.06657543033361435, 0.2730551064014435, 0.12660570442676544, 0.10623449087142944, 0.11039147526025772, 0.12200960516929626, -0.08591509610414505, -0.06003929674625397, 0.06080617755651474, 0.5454943776130676, 0.08125049620866776, -0.1312927007675171, -0.14757950603961945, 0.5104950666427612, -0.2233809232711792, 0.2510553300380707, 0.4663133919239044, -0.016627850010991096, -0.3718504309654236, 0.0983894094824791, 0.4748093783855438, -0.05554201081395149, 0.561948299407959, -0.03203645721077919, -0.05693739280104637, 0.149788036942482, 0.14555025100708008, 0.09631801396608353, 0.11314132064580917, 0.20405016839504242, -0.039563264697790146, -0.07267795503139496, -0.04804440587759018, 0.23505200445652008, 0.29103386402130127, -0.1332077980041504, 0.3312676250934601, -0.3397129476070404, -0.06796081364154816, -0.030186709016561508, -0.06956946849822998, -0.35677459836006165, 0.07201657444238663, 0.09433279931545258, -0.06145193427801132, -0.2834358513355255, 0.14427584409713745, 0.20319156348705292, 0.1179237961769104, 0.04780339077115059, -0.3889993727207184, 0.20413167774677277, 0.46957704424858093, 0.34876424074172974, -0.0938907191157341, -0.1912868320941925, 0.190700501203537, -0.13549642264842987, -0.002383443294093013, 0.03979264199733734, 0.15754924714565277, -0.09679567813873291, -0.19834086298942566, 0.4115217626094818, -0.06626369059085846, -0.28166112303733826, -0.22109335660934448, -0.07311562448740005 ]
https://github.com/huggingface/datasets/issues/1924
Anonymous Dataset Addition (i.e Anonymous PR?)
Hi ! I guess you can add a dataset without the fields that must be kept anonymous, and then update those when the anonymity period is over. You can also make the PR from an anonymous org. Pinging @yjernite just to make sure it's ok
Hello, Thanks a lot for your librairy. We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ? Cheers @eusip
45
Anonymous Dataset Addition (i.e Anonymous PR?)
[ -0.316382497549057, 0.3562008738517761, -0.09292615950107574, -0.10867009311914444, 0.09515726566314697, -0.09144202619791031, 0.3095964193344116, -0.1868312656879425, -0.18044812977313995, 0.23096619546413422, -0.04494529217481613, 0.13689328730106354, -0.06201717257499695, 0.20891906321048737, 0.354185551404953, 0.14081282913684845, -0.04019603878259659, -0.006035072263330221, 0.038015495985746384, 0.0035769480746239424, -0.38755595684051514, -0.3829045295715332, -0.060809165239334106, -0.2882309556007385, -0.0018743746913969517, -0.21592915058135986, -0.21858713030815125, -0.2467590868473053, -0.14456157386302948, -0.17639970779418945, -0.11341815441846848, 0.21036396920681, 0.014761111699044704, 0.1416618674993515, -0.00011200430890312418, -0.027897868305444717, -0.05246951803565025, -0.0027901800349354744, -0.46671080589294434, 0.40332281589508057, -0.6482268571853638, 0.08347118645906448, -0.30681362748146057, -0.28142720460891724, -0.05068852752447128, -0.2900339365005493, 0.22557611763477325, -0.3847563862800598, -0.2639690637588501, -0.1556108593940735, 0.25641360878944397, 0.24340912699699402, -0.15141373872756958, -0.36766618490219116, 0.08136272430419922, 0.23597446084022522, 0.09869929403066635, -0.2879871428012848, -0.22607731819152832, 0.04416923597455025, 0.23729336261749268, 0.07030963897705078, 0.2594257593154907, -0.24605479836463928, 0.39723604917526245, 0.2535995543003082, 0.07026202976703644, 0.09460490942001343, 0.0065938993357121944, 0.016620080918073654, 0.5159083008766174, -0.10357823967933655, -0.3586222231388092, -0.14942815899848938, 0.1634238064289093, -0.39242827892303467, -0.10283831506967545, 0.22765688598155975, -0.22826620936393738, 0.01973547413945198, -0.39951857924461365, 0.004705851897597313, -0.11320443451404572, 0.07039996981620789, 0.2715547978878021, 0.024127621203660965, 0.3102690279483795, 0.21002522110939026, -0.17864593863487244, -0.1288747489452362, -0.27025774121284485, -0.08876080811023712, -0.08322322368621826, 0.12758123874664307, 0.2360939085483551, -0.10785552114248276, 0.30602049827575684, 0.03230682387948036, 0.018530238419771194, 0.019127799198031425, 0.13688750565052032, -0.20956306159496307, -0.2074824869632721, -0.05260615050792694, 0.20341435074806213, -0.3610939383506775, -0.12719732522964478, 0.19768960773944855, 0.10215473175048828, -0.09692002087831497, 0.40298888087272644, 0.08695472031831741, 0.07821404188871384, 0.20956723392009735, -0.1156793162226677, -0.10322340577840805, -0.19809293746948242, 0.11457459628582001, -0.21699663996696472, 0.028420913964509964, 0.08389666676521301, -0.001596202957443893, -0.11047477275133133, 0.16819055378437042, 0.1406346559524536, -0.4215586483478546, 0.18312987685203552, -0.003664698451757431, -0.06353136152029037, -0.06821009516716003, -0.15054649114608765, 0.13274738192558289, -0.26158449053764343, -0.3534798324108124, 0.14181110262870789, 0.44000014662742615, -0.08887127786874771, 0.07995437830686569, 0.15048155188560486, 0.24761418998241425, 0.2202785313129425, 0.10166628658771515, 0.2206966131925583, 0.10363340377807617, -0.009341795928776264, -0.25060805678367615, -0.21992845833301544, -0.45335593819618225, 0.027748337015509605, 0.1185690388083458, 0.5289292335510254, 0.032738398760557175, -0.0763726532459259, 0.2793547511100769, -0.05131496489048004, -0.4233912229537964, 0.04566429927945137, 0.4180111289024353, 0.043623507022857666, -0.26653873920440674, 0.20349881052970886, 0.1305234581232071, -0.1141807958483696, -0.0011803823290392756, 0.1431838423013687, 0.6225964426994324, -0.28274407982826233, -0.060347095131874084, 0.221006378531456, -0.3431025743484497, 0.027638733386993408, -0.02042117528617382, -0.039213865995407104, 0.018610630184412003, -0.14017587900161743, -0.22684010863304138, 0.22945283353328705, -0.206055149435997, -0.27573758363723755, -0.2164495885372162, -0.2664388418197632, -0.24607126414775848, 0.3603833317756653, 0.4250869154930115, -0.11977525800466537, -0.15716615319252014, 0.17994989454746246, -0.004614091478288174, -0.25491586327552795, -0.12758176028728485, -0.11169800162315369, -0.1640527844429016, 0.050149042159318924, 0.0719367116689682, -0.06255465000867844, 0.3054983913898468, 0.35287046432495117, -0.011158944107592106, 0.26433223485946655, -0.33400338888168335, 0.10631120204925537, -0.1335422545671463, 0.2510790526866913, -0.11394932121038437, -0.3208128809928894, -0.010211046785116196, 0.09087046980857849, -0.14489446580410004, -0.16459792852401733, 0.25271716713905334, 0.03404855728149414, -0.4766139090061188, 0.19724543392658234, -0.0030268405098468065, 0.014663630165159702, -0.01649562455713749, 0.14751894772052765, 0.3835189938545227, -0.07688213884830475, -0.35779350996017456, -0.156074658036232, 0.1067948192358017, 0.18458934128284454, -0.15153531730175018, -0.29859480261802673, -0.4706155061721802, 0.2348075658082962, 0.04238458722829819, -0.1578468233346939, 0.3299471139907837, -0.056190140545368195, 0.06624981760978699, 0.2490009069442749, 0.12313137203454971, -0.3173794150352478, -0.08176609873771667, 0.6481338143348694, 0.3298743963241577, 0.00990491732954979, 0.20551060140132904, 0.04791075363755226, -0.1317625492811203, 0.12412650883197784, 0.09536918252706528, -0.5921797156333923, 0.3235955834388733, -0.06823929399251938, -0.19253699481487274, -0.05179303511977196, 0.02300940454006195, 0.29214560985565186, -0.0046317195519804955, 0.2266344577074051, -0.12296998500823975, 0.010184451937675476, 0.4125478267669678, 0.31674882769584656, 0.027110649272799492, -0.37720420956611633, 0.5544570684432983, -0.34314656257629395, -0.03302905708551407, 0.17493188381195068, -0.14391076564788818, -0.045985136181116104, 0.15886111557483673, 0.021998649463057518, 0.4080948829650879, 0.22580356895923615, 0.39384669065475464, 0.24188511073589325, -0.007539148908108473, 0.0727359801530838, -0.03172767534852028, 0.022264843806624413, -0.3577440083026886, -0.4803216755390167, -0.05767830088734627, 0.2654615044593811, 0.05823240429162979, -0.13441362977027893, 0.06858610361814499, 0.19442878663539886, 0.10052738338708878, -0.0036471905186772346, -0.2117381989955902, 0.17235909402370453, -0.28443536162376404, 0.15181833505630493, 0.2717234194278717, 0.19815847277641296, -0.03631561994552612, 0.29437994956970215, -0.026584668084979057, -0.31750544905662537, 0.05034530535340309, -0.08689701557159424, 0.49120306968688965, -0.3069596588611603, -0.1212661936879158, 0.05962374806404114, -0.10260675102472305, 0.0892072543501854, 0.27812185883522034, -0.04322192072868347, -0.1839086264371872, 0.7050829529762268, 0.06963041424751282, 0.12885050475597382, -0.4107825458049774, -0.2975216805934906, -0.09841887652873993, 0.1281251460313797, -0.07942292839288712, 0.3051975667476654, -0.27199360728263855, -0.006728578824549913, -0.04802194610238075, -0.07906125485897064, -0.08754687011241913, -0.19996562600135803, -0.16272565722465515, -0.0848332867026329, -0.3144628703594208, -0.28248751163482666, -0.2165076583623886, -0.43812593817710876, 0.050359804183244705, 0.36482080817222595, 0.4658544361591339, -0.052333589643239975, 0.03891649469733238, 0.006558598019182682, -0.08265633881092072, 0.018800148740410805, -0.1987542361021042, -0.3373723328113556, -0.451270192861557, 0.24486404657363892, -0.19624274969100952, -0.07756023108959198, 0.10750609636306763, -0.3902486562728882, -0.28212496638298035, 0.44436880946159363, -0.25313520431518555, -0.21064092218875885, 0.06365647912025452, 0.512475848197937, 0.2131887674331665, 0.21553592383861542, 0.46976450085639954, 0.20571380853652954, -0.2677869498729706, -0.299701452255249, -0.22876161336898804, 0.09953953325748444, -0.14875346422195435, 0.47569575905799866, -0.38721203804016113, -0.20488187670707703, 0.006993706338107586, 0.7183518409729004, 0.29398539662361145, -0.14626669883728027, 0.07496511191129684, -0.3270333409309387, 0.4939448833465576, 0.203766867518425, 0.014130746945738792, -0.06674432009458542, 0.12028109282255173, 0.08322695642709732, -0.2155800312757492, 0.011902602389454842, -0.27906784415245056, -0.025540374219417572, 0.04389580711722374, -0.2590140104293823, -0.21290454268455505, -0.14106671512126923, -0.03540294989943504, 0.4522102475166321, 0.31939610838890076, -0.029722487553954124, -0.6879644393920898, -0.27234649658203125, -0.008883374743163586, -0.10156802088022232, 0.1694858819246292, -0.25331515073776245, -0.4484671652317047, 0.5506410598754883, -0.4484185576438904, 0.44645529985427856, -0.09199314564466476, -0.014677921310067177, -0.1064004898071289, -0.1998206079006195, 0.21995548903942108, 0.03445875644683838, 0.41385701298713684, -0.4785546362400055, -0.039602264761924744, -0.12650686502456665, 0.2525170147418976, 0.23414942622184753, 0.17637401819229126, -0.34876593947410583, 0.07450951635837555, 0.21400144696235657, -0.10039123147726059, -0.25126275420188904, 0.4324137270450592, 0.671072781085968, -0.16696138679981232, -0.19434334337711334, -0.11379367113113403, -0.15570993721485138, -0.19068366289138794, 0.14411833882331848, 0.2764195203781128, -0.12905730307102203, 0.03817569091916084, 0.17532889544963837, 0.178336963057518, -0.2340683788061142, 0.6030703186988831, 0.5042084455490112, 0.0517229326069355, -0.16267265379428864, 0.6422330737113953, 0.2271386831998825, -0.04517964646220207, 0.10999089479446411, 0.4152749478816986, 0.49097684025764465, -0.20869481563568115, -0.32979074120521545, -0.07533491402864456, -0.3565930128097534, 0.5279228687286377, 0.3570186495780945, 0.18412843346595764, 0.22283530235290527, -0.050288308411836624, 0.11468685418367386, -0.19192421436309814, -0.003967257682234049, 0.09011776000261307, 0.044297751039266586, -0.006839178968220949, -0.5089706182479858, 0.04411610960960388, 0.055037230253219604, -0.3490118086338043, 0.08297771960496902, 0.03268339857459068, -0.14381951093673706, 0.18052636086940765, 0.0038219799753278494, 0.9674201011657715, -0.10496760159730911, 0.337443470954895, -0.14814451336860657, -0.40279731154441833, 0.33103159070014954, -0.1826082468032837, 0.20600096881389618, -0.19146789610385895, -0.009628457017242908, 0.04828307777643204, -0.3315339982509613, 0.0217367522418499, 0.12155868113040924, 0.0814332589507103, -0.07012954354286194, -0.047831080853939056, 0.10051465779542923, 0.027845116332173347, 0.13746120035648346, 0.04846912622451782, -0.11690205335617065, 0.2590872049331665, 0.20385374128818512, 0.27613967657089233, -0.31556227803230286, -0.14558827877044678, -0.22290153801441193, -0.23381569981575012, -0.09224411845207214, -0.12385940551757812, 0.13125023245811462, 0.17788559198379517, -0.15226149559020996, 0.18773362040519714, -0.1692533791065216, 0.04437624290585518, 0.27469104528427124, 0.2932789623737335, 0.16830326616764069, 0.0535859614610672, 0.14764149487018585, 0.08437390625476837, 0.41339167952537537, 0.11618668586015701, -0.04749571532011032, -0.10848522186279297, 0.1293921321630478, -0.23852507770061493, 0.37581464648246765, -0.0771414116024971, -0.48009151220321655, -0.41900143027305603, 0.1461990624666214, 0.12687146663665771, -0.4187900424003601, 0.47299087047576904, 0.4325590133666992, -0.11532684415578842, -0.2740273177623749, 0.09447509050369263, 0.14924737811088562, -0.1655590683221817, 0.27202820777893066, -0.07971742004156113, -0.11158895492553711, -0.11223392188549042, 0.39768263697624207, 0.010625233873724937, 0.06694679707288742, 0.2208738625049591, -0.3966619074344635, -0.12645722925662994, -0.2257855087518692, 0.06152276694774628, -0.12399458140134811, -0.07435750216245651, 0.02482498437166214, 0.2184421718120575, 0.020029058679938316, 0.10186326503753662, -0.20651927590370178, 0.037791747599840164, 0.16254457831382751, -0.020354827865958214, 0.02933460846543312, -0.46063774824142456, 0.003909266088157892, 0.0014682280598208308, 0.22811691462993622, 0.21479041874408722, 0.13420908153057098, -0.05944180116057396, -0.007205564063042402, -0.3773786127567291, -0.1816222220659256, -0.17116913199424744, 0.2736561894416809, 0.1940910816192627, 0.04801810905337334, -0.0923098549246788, -0.2601500451564789, 0.24657399952411652, -0.04049358144402504, -0.17665572464466095, -0.23518207669258118, 0.031232565641403198, 0.10632319748401642, -0.04395643621683121, -0.327036589384079, 0.04441484436392784, -0.023158734664320946, -0.1016857922077179, 0.07048877328634262, 0.17568714916706085, 0.21555429697036743, -0.1739787459373474, -0.25512203574180603, 0.15452967584133148, 0.3957836925983429, -0.02254652976989746, 0.03274400532245636, 0.1850081831216812, 0.2903594672679901, -0.2670145332813263, 0.1628732830286026, -0.28584179282188416, -0.1294129192829132, 0.5583835244178772, 0.06501808762550354, 0.4434044063091278, 0.24602270126342773, 0.04759043827652931, -0.10532096773386002, 0.028593823313713074, -0.0557565838098526, 0.10111148655414581, 0.15016455948352814, -0.09300766885280609, 0.1537734568119049, -0.19314619898796082, 0.26543667912483215, -0.5756849050521851, 0.019244391471147537, 0.1603272408246994, 0.3924904763698578, 0.25721806287765503, 0.1888444423675537, 0.3143419027328491, 0.025180410593748093, -0.013973859138786793, -0.1875278800725937, -0.23876136541366577, -0.27446603775024414, -0.13638947904109955, 0.1935010552406311, -0.22391800582408905, -0.11933356523513794, 0.1278514415025711, 0.3645596504211426, -0.21854130923748016, 0.4269331395626068, -0.06711386144161224, 0.06585434824228287, 0.06075040623545647, 0.0236896313726902, -0.06250191479921341, -0.16896766424179077, 0.4903082549571991, 0.10695802420377731, 0.44218841195106506, 0.3019590973854065, 0.46927809715270996, -0.03596250340342522, -0.14304515719413757, 0.37116682529449463, -0.11047171801328659, 0.05759049206972122, 0.08140671253204346, -0.16571974754333496, -0.22558395564556122, -0.2231377363204956, -0.1500149518251419, -0.023881664499640465, 0.062425047159194946, -0.3367633521556854, 0.08727041631937027, -0.09546395391225815, 0.19202160835266113, -0.23044690489768982, 0.3860119581222534, 0.10123318433761597, 0.16061189770698547, -0.3318815231323242, 0.05630512535572052, 0.4210887849330902, 0.10484829545021057, 0.48049262166023254, 0.5529866218566895, 0.14425158500671387, -0.20657476782798767, 0.01563848741352558, 0.3840537965297699, -0.07168956100940704, 0.022584518417716026, -0.33772945404052734, 0.05494673177599907, 0.2566802203655243, 0.14405232667922974, 0.11029260605573654, 0.14632967114448547, -0.09750915318727493, 0.20596693456172943, 0.12189583480358124, 0.05724469944834709, -0.3340938687324524, 0.34204936027526855, -0.06418000161647797, -0.2556745409965515, 0.05565259978175163, 0.09903698414564133, 0.037760134786367416, -0.23061981797218323, 0.6164793968200684, -0.17902299761772156, 0.041403502225875854, -0.0855298712849617, 0.08412167429924011, -0.04444228485226631, 0.10932607203722, 0.15623953938484192, 0.02088155411183834, -0.1844564974308014, 0.020439287647604942, -0.41963720321655273, 0.2568361759185791, -0.07402966171503067, -0.3818148672580719, -0.8203862309455872, 0.15723951160907745, 0.32418087124824524, 0.0017294927965849638, 0.16382654011249542, -0.0396844856441021, 0.051327500492334366, 0.5400737524032593, -0.14286798238754272, 0.09039730578660965, -0.03534848615527153, 0.10036568343639374, 0.13392281532287598, -0.2168988734483719, 0.041845012456178665, 0.041702404618263245, 0.18363626301288605, 0.03786064684391022, -0.21829542517662048, 0.07311501353979111, 0.4052923917770386, 0.2899804711341858, 0.013395517133176327, 0.528154194355011, -0.2133491337299347, -0.07384388148784637, 0.14796605706214905, 0.10735737532377243, -0.2886595129966736, 0.3240082859992981, 0.03183659911155701, -0.22488056123256683, -0.06822813302278519, 0.10809483379125595, 0.351437509059906, -0.18304257094860077, -0.04056335985660553, 0.10228384286165237, -0.19308176636695862, 0.05566101521253586, -0.2632530927658081, 0.11743893474340439, 0.026390762999653816, 0.08920669555664062, 0.14809419214725494, -0.10486195981502533, 0.06889791786670685, -0.013435562141239643, 0.200093075633049, -0.24468722939491272, 0.013325708918273449, -0.4490780830383301, 0.18279755115509033, -0.023047778755426407, -0.27044859528541565, -0.16080129146575928, 0.03293726593255997, 0.2637442350387573, -0.3884301483631134, 0.07478885352611542, 0.041419610381126404, -0.3526802361011505, -0.05405599996447563, -0.2630614638328552, 0.27367907762527466, -0.08784711360931396, -0.04148046299815178, -0.07576324790716171, -0.2780218720436096 ]
https://github.com/huggingface/datasets/issues/1924
Anonymous Dataset Addition (i.e Anonymous PR?)
Hello, I would prefer to do the reverse: adding a link to an anonymous paper without the people names/institution in the PR. Would it be conceivable ? Cheers
Hello, Thanks a lot for your librairy. We plan to submit a paper on OpenReview using the Anonymous setting. Is it possible to add a new dataset without breaking the anonimity, with a link to the paper ? Cheers @eusip
28
Anonymous Dataset Addition (i.e Anonymous PR?)
[ -0.316382497549057, 0.3562008738517761, -0.09292615950107574, -0.10867009311914444, 0.09515726566314697, -0.09144202619791031, 0.3095964193344116, -0.1868312656879425, -0.18044812977313995, 0.23096619546413422, -0.04494529217481613, 0.13689328730106354, -0.06201717257499695, 0.20891906321048737, 0.354185551404953, 0.14081282913684845, -0.04019603878259659, -0.006035072263330221, 0.038015495985746384, 0.0035769480746239424, -0.38755595684051514, -0.3829045295715332, -0.060809165239334106, -0.2882309556007385, -0.0018743746913969517, -0.21592915058135986, -0.21858713030815125, -0.2467590868473053, -0.14456157386302948, -0.17639970779418945, -0.11341815441846848, 0.21036396920681, 0.014761111699044704, 0.1416618674993515, -0.00011200430890312418, -0.027897868305444717, -0.05246951803565025, -0.0027901800349354744, -0.46671080589294434, 0.40332281589508057, -0.6482268571853638, 0.08347118645906448, -0.30681362748146057, -0.28142720460891724, -0.05068852752447128, -0.2900339365005493, 0.22557611763477325, -0.3847563862800598, -0.2639690637588501, -0.1556108593940735, 0.25641360878944397, 0.24340912699699402, -0.15141373872756958, -0.36766618490219116, 0.08136272430419922, 0.23597446084022522, 0.09869929403066635, -0.2879871428012848, -0.22607731819152832, 0.04416923597455025, 0.23729336261749268, 0.07030963897705078, 0.2594257593154907, -0.24605479836463928, 0.39723604917526245, 0.2535995543003082, 0.07026202976703644, 0.09460490942001343, 0.0065938993357121944, 0.016620080918073654, 0.5159083008766174, -0.10357823967933655, -0.3586222231388092, -0.14942815899848938, 0.1634238064289093, -0.39242827892303467, -0.10283831506967545, 0.22765688598155975, -0.22826620936393738, 0.01973547413945198, -0.39951857924461365, 0.004705851897597313, -0.11320443451404572, 0.07039996981620789, 0.2715547978878021, 0.024127621203660965, 0.3102690279483795, 0.21002522110939026, -0.17864593863487244, -0.1288747489452362, -0.27025774121284485, -0.08876080811023712, -0.08322322368621826, 0.12758123874664307, 0.2360939085483551, -0.10785552114248276, 0.30602049827575684, 0.03230682387948036, 0.018530238419771194, 0.019127799198031425, 0.13688750565052032, -0.20956306159496307, -0.2074824869632721, -0.05260615050792694, 0.20341435074806213, -0.3610939383506775, -0.12719732522964478, 0.19768960773944855, 0.10215473175048828, -0.09692002087831497, 0.40298888087272644, 0.08695472031831741, 0.07821404188871384, 0.20956723392009735, -0.1156793162226677, -0.10322340577840805, -0.19809293746948242, 0.11457459628582001, -0.21699663996696472, 0.028420913964509964, 0.08389666676521301, -0.001596202957443893, -0.11047477275133133, 0.16819055378437042, 0.1406346559524536, -0.4215586483478546, 0.18312987685203552, -0.003664698451757431, -0.06353136152029037, -0.06821009516716003, -0.15054649114608765, 0.13274738192558289, -0.26158449053764343, -0.3534798324108124, 0.14181110262870789, 0.44000014662742615, -0.08887127786874771, 0.07995437830686569, 0.15048155188560486, 0.24761418998241425, 0.2202785313129425, 0.10166628658771515, 0.2206966131925583, 0.10363340377807617, -0.009341795928776264, -0.25060805678367615, -0.21992845833301544, -0.45335593819618225, 0.027748337015509605, 0.1185690388083458, 0.5289292335510254, 0.032738398760557175, -0.0763726532459259, 0.2793547511100769, -0.05131496489048004, -0.4233912229537964, 0.04566429927945137, 0.4180111289024353, 0.043623507022857666, -0.26653873920440674, 0.20349881052970886, 0.1305234581232071, -0.1141807958483696, -0.0011803823290392756, 0.1431838423013687, 0.6225964426994324, -0.28274407982826233, -0.060347095131874084, 0.221006378531456, -0.3431025743484497, 0.027638733386993408, -0.02042117528617382, -0.039213865995407104, 0.018610630184412003, -0.14017587900161743, -0.22684010863304138, 0.22945283353328705, -0.206055149435997, -0.27573758363723755, -0.2164495885372162, -0.2664388418197632, -0.24607126414775848, 0.3603833317756653, 0.4250869154930115, -0.11977525800466537, -0.15716615319252014, 0.17994989454746246, -0.004614091478288174, -0.25491586327552795, -0.12758176028728485, -0.11169800162315369, -0.1640527844429016, 0.050149042159318924, 0.0719367116689682, -0.06255465000867844, 0.3054983913898468, 0.35287046432495117, -0.011158944107592106, 0.26433223485946655, -0.33400338888168335, 0.10631120204925537, -0.1335422545671463, 0.2510790526866913, -0.11394932121038437, -0.3208128809928894, -0.010211046785116196, 0.09087046980857849, -0.14489446580410004, -0.16459792852401733, 0.25271716713905334, 0.03404855728149414, -0.4766139090061188, 0.19724543392658234, -0.0030268405098468065, 0.014663630165159702, -0.01649562455713749, 0.14751894772052765, 0.3835189938545227, -0.07688213884830475, -0.35779350996017456, -0.156074658036232, 0.1067948192358017, 0.18458934128284454, -0.15153531730175018, -0.29859480261802673, -0.4706155061721802, 0.2348075658082962, 0.04238458722829819, -0.1578468233346939, 0.3299471139907837, -0.056190140545368195, 0.06624981760978699, 0.2490009069442749, 0.12313137203454971, -0.3173794150352478, -0.08176609873771667, 0.6481338143348694, 0.3298743963241577, 0.00990491732954979, 0.20551060140132904, 0.04791075363755226, -0.1317625492811203, 0.12412650883197784, 0.09536918252706528, -0.5921797156333923, 0.3235955834388733, -0.06823929399251938, -0.19253699481487274, -0.05179303511977196, 0.02300940454006195, 0.29214560985565186, -0.0046317195519804955, 0.2266344577074051, -0.12296998500823975, 0.010184451937675476, 0.4125478267669678, 0.31674882769584656, 0.027110649272799492, -0.37720420956611633, 0.5544570684432983, -0.34314656257629395, -0.03302905708551407, 0.17493188381195068, -0.14391076564788818, -0.045985136181116104, 0.15886111557483673, 0.021998649463057518, 0.4080948829650879, 0.22580356895923615, 0.39384669065475464, 0.24188511073589325, -0.007539148908108473, 0.0727359801530838, -0.03172767534852028, 0.022264843806624413, -0.3577440083026886, -0.4803216755390167, -0.05767830088734627, 0.2654615044593811, 0.05823240429162979, -0.13441362977027893, 0.06858610361814499, 0.19442878663539886, 0.10052738338708878, -0.0036471905186772346, -0.2117381989955902, 0.17235909402370453, -0.28443536162376404, 0.15181833505630493, 0.2717234194278717, 0.19815847277641296, -0.03631561994552612, 0.29437994956970215, -0.026584668084979057, -0.31750544905662537, 0.05034530535340309, -0.08689701557159424, 0.49120306968688965, -0.3069596588611603, -0.1212661936879158, 0.05962374806404114, -0.10260675102472305, 0.0892072543501854, 0.27812185883522034, -0.04322192072868347, -0.1839086264371872, 0.7050829529762268, 0.06963041424751282, 0.12885050475597382, -0.4107825458049774, -0.2975216805934906, -0.09841887652873993, 0.1281251460313797, -0.07942292839288712, 0.3051975667476654, -0.27199360728263855, -0.006728578824549913, -0.04802194610238075, -0.07906125485897064, -0.08754687011241913, -0.19996562600135803, -0.16272565722465515, -0.0848332867026329, -0.3144628703594208, -0.28248751163482666, -0.2165076583623886, -0.43812593817710876, 0.050359804183244705, 0.36482080817222595, 0.4658544361591339, -0.052333589643239975, 0.03891649469733238, 0.006558598019182682, -0.08265633881092072, 0.018800148740410805, -0.1987542361021042, -0.3373723328113556, -0.451270192861557, 0.24486404657363892, -0.19624274969100952, -0.07756023108959198, 0.10750609636306763, -0.3902486562728882, -0.28212496638298035, 0.44436880946159363, -0.25313520431518555, -0.21064092218875885, 0.06365647912025452, 0.512475848197937, 0.2131887674331665, 0.21553592383861542, 0.46976450085639954, 0.20571380853652954, -0.2677869498729706, -0.299701452255249, -0.22876161336898804, 0.09953953325748444, -0.14875346422195435, 0.47569575905799866, -0.38721203804016113, -0.20488187670707703, 0.006993706338107586, 0.7183518409729004, 0.29398539662361145, -0.14626669883728027, 0.07496511191129684, -0.3270333409309387, 0.4939448833465576, 0.203766867518425, 0.014130746945738792, -0.06674432009458542, 0.12028109282255173, 0.08322695642709732, -0.2155800312757492, 0.011902602389454842, -0.27906784415245056, -0.025540374219417572, 0.04389580711722374, -0.2590140104293823, -0.21290454268455505, -0.14106671512126923, -0.03540294989943504, 0.4522102475166321, 0.31939610838890076, -0.029722487553954124, -0.6879644393920898, -0.27234649658203125, -0.008883374743163586, -0.10156802088022232, 0.1694858819246292, -0.25331515073776245, -0.4484671652317047, 0.5506410598754883, -0.4484185576438904, 0.44645529985427856, -0.09199314564466476, -0.014677921310067177, -0.1064004898071289, -0.1998206079006195, 0.21995548903942108, 0.03445875644683838, 0.41385701298713684, -0.4785546362400055, -0.039602264761924744, -0.12650686502456665, 0.2525170147418976, 0.23414942622184753, 0.17637401819229126, -0.34876593947410583, 0.07450951635837555, 0.21400144696235657, -0.10039123147726059, -0.25126275420188904, 0.4324137270450592, 0.671072781085968, -0.16696138679981232, -0.19434334337711334, -0.11379367113113403, -0.15570993721485138, -0.19068366289138794, 0.14411833882331848, 0.2764195203781128, -0.12905730307102203, 0.03817569091916084, 0.17532889544963837, 0.178336963057518, -0.2340683788061142, 0.6030703186988831, 0.5042084455490112, 0.0517229326069355, -0.16267265379428864, 0.6422330737113953, 0.2271386831998825, -0.04517964646220207, 0.10999089479446411, 0.4152749478816986, 0.49097684025764465, -0.20869481563568115, -0.32979074120521545, -0.07533491402864456, -0.3565930128097534, 0.5279228687286377, 0.3570186495780945, 0.18412843346595764, 0.22283530235290527, -0.050288308411836624, 0.11468685418367386, -0.19192421436309814, -0.003967257682234049, 0.09011776000261307, 0.044297751039266586, -0.006839178968220949, -0.5089706182479858, 0.04411610960960388, 0.055037230253219604, -0.3490118086338043, 0.08297771960496902, 0.03268339857459068, -0.14381951093673706, 0.18052636086940765, 0.0038219799753278494, 0.9674201011657715, -0.10496760159730911, 0.337443470954895, -0.14814451336860657, -0.40279731154441833, 0.33103159070014954, -0.1826082468032837, 0.20600096881389618, -0.19146789610385895, -0.009628457017242908, 0.04828307777643204, -0.3315339982509613, 0.0217367522418499, 0.12155868113040924, 0.0814332589507103, -0.07012954354286194, -0.047831080853939056, 0.10051465779542923, 0.027845116332173347, 0.13746120035648346, 0.04846912622451782, -0.11690205335617065, 0.2590872049331665, 0.20385374128818512, 0.27613967657089233, -0.31556227803230286, -0.14558827877044678, -0.22290153801441193, -0.23381569981575012, -0.09224411845207214, -0.12385940551757812, 0.13125023245811462, 0.17788559198379517, -0.15226149559020996, 0.18773362040519714, -0.1692533791065216, 0.04437624290585518, 0.27469104528427124, 0.2932789623737335, 0.16830326616764069, 0.0535859614610672, 0.14764149487018585, 0.08437390625476837, 0.41339167952537537, 0.11618668586015701, -0.04749571532011032, -0.10848522186279297, 0.1293921321630478, -0.23852507770061493, 0.37581464648246765, -0.0771414116024971, -0.48009151220321655, -0.41900143027305603, 0.1461990624666214, 0.12687146663665771, -0.4187900424003601, 0.47299087047576904, 0.4325590133666992, -0.11532684415578842, -0.2740273177623749, 0.09447509050369263, 0.14924737811088562, -0.1655590683221817, 0.27202820777893066, -0.07971742004156113, -0.11158895492553711, -0.11223392188549042, 0.39768263697624207, 0.010625233873724937, 0.06694679707288742, 0.2208738625049591, -0.3966619074344635, -0.12645722925662994, -0.2257855087518692, 0.06152276694774628, -0.12399458140134811, -0.07435750216245651, 0.02482498437166214, 0.2184421718120575, 0.020029058679938316, 0.10186326503753662, -0.20651927590370178, 0.037791747599840164, 0.16254457831382751, -0.020354827865958214, 0.02933460846543312, -0.46063774824142456, 0.003909266088157892, 0.0014682280598208308, 0.22811691462993622, 0.21479041874408722, 0.13420908153057098, -0.05944180116057396, -0.007205564063042402, -0.3773786127567291, -0.1816222220659256, -0.17116913199424744, 0.2736561894416809, 0.1940910816192627, 0.04801810905337334, -0.0923098549246788, -0.2601500451564789, 0.24657399952411652, -0.04049358144402504, -0.17665572464466095, -0.23518207669258118, 0.031232565641403198, 0.10632319748401642, -0.04395643621683121, -0.327036589384079, 0.04441484436392784, -0.023158734664320946, -0.1016857922077179, 0.07048877328634262, 0.17568714916706085, 0.21555429697036743, -0.1739787459373474, -0.25512203574180603, 0.15452967584133148, 0.3957836925983429, -0.02254652976989746, 0.03274400532245636, 0.1850081831216812, 0.2903594672679901, -0.2670145332813263, 0.1628732830286026, -0.28584179282188416, -0.1294129192829132, 0.5583835244178772, 0.06501808762550354, 0.4434044063091278, 0.24602270126342773, 0.04759043827652931, -0.10532096773386002, 0.028593823313713074, -0.0557565838098526, 0.10111148655414581, 0.15016455948352814, -0.09300766885280609, 0.1537734568119049, -0.19314619898796082, 0.26543667912483215, -0.5756849050521851, 0.019244391471147537, 0.1603272408246994, 0.3924904763698578, 0.25721806287765503, 0.1888444423675537, 0.3143419027328491, 0.025180410593748093, -0.013973859138786793, -0.1875278800725937, -0.23876136541366577, -0.27446603775024414, -0.13638947904109955, 0.1935010552406311, -0.22391800582408905, -0.11933356523513794, 0.1278514415025711, 0.3645596504211426, -0.21854130923748016, 0.4269331395626068, -0.06711386144161224, 0.06585434824228287, 0.06075040623545647, 0.0236896313726902, -0.06250191479921341, -0.16896766424179077, 0.4903082549571991, 0.10695802420377731, 0.44218841195106506, 0.3019590973854065, 0.46927809715270996, -0.03596250340342522, -0.14304515719413757, 0.37116682529449463, -0.11047171801328659, 0.05759049206972122, 0.08140671253204346, -0.16571974754333496, -0.22558395564556122, -0.2231377363204956, -0.1500149518251419, -0.023881664499640465, 0.062425047159194946, -0.3367633521556854, 0.08727041631937027, -0.09546395391225815, 0.19202160835266113, -0.23044690489768982, 0.3860119581222534, 0.10123318433761597, 0.16061189770698547, -0.3318815231323242, 0.05630512535572052, 0.4210887849330902, 0.10484829545021057, 0.48049262166023254, 0.5529866218566895, 0.14425158500671387, -0.20657476782798767, 0.01563848741352558, 0.3840537965297699, -0.07168956100940704, 0.022584518417716026, -0.33772945404052734, 0.05494673177599907, 0.2566802203655243, 0.14405232667922974, 0.11029260605573654, 0.14632967114448547, -0.09750915318727493, 0.20596693456172943, 0.12189583480358124, 0.05724469944834709, -0.3340938687324524, 0.34204936027526855, -0.06418000161647797, -0.2556745409965515, 0.05565259978175163, 0.09903698414564133, 0.037760134786367416, -0.23061981797218323, 0.6164793968200684, -0.17902299761772156, 0.041403502225875854, -0.0855298712849617, 0.08412167429924011, -0.04444228485226631, 0.10932607203722, 0.15623953938484192, 0.02088155411183834, -0.1844564974308014, 0.020439287647604942, -0.41963720321655273, 0.2568361759185791, -0.07402966171503067, -0.3818148672580719, -0.8203862309455872, 0.15723951160907745, 0.32418087124824524, 0.0017294927965849638, 0.16382654011249542, -0.0396844856441021, 0.051327500492334366, 0.5400737524032593, -0.14286798238754272, 0.09039730578660965, -0.03534848615527153, 0.10036568343639374, 0.13392281532287598, -0.2168988734483719, 0.041845012456178665, 0.041702404618263245, 0.18363626301288605, 0.03786064684391022, -0.21829542517662048, 0.07311501353979111, 0.4052923917770386, 0.2899804711341858, 0.013395517133176327, 0.528154194355011, -0.2133491337299347, -0.07384388148784637, 0.14796605706214905, 0.10735737532377243, -0.2886595129966736, 0.3240082859992981, 0.03183659911155701, -0.22488056123256683, -0.06822813302278519, 0.10809483379125595, 0.351437509059906, -0.18304257094860077, -0.04056335985660553, 0.10228384286165237, -0.19308176636695862, 0.05566101521253586, -0.2632530927658081, 0.11743893474340439, 0.026390762999653816, 0.08920669555664062, 0.14809419214725494, -0.10486195981502533, 0.06889791786670685, -0.013435562141239643, 0.200093075633049, -0.24468722939491272, 0.013325708918273449, -0.4490780830383301, 0.18279755115509033, -0.023047778755426407, -0.27044859528541565, -0.16080129146575928, 0.03293726593255997, 0.2637442350387573, -0.3884301483631134, 0.07478885352611542, 0.041419610381126404, -0.3526802361011505, -0.05405599996447563, -0.2630614638328552, 0.27367907762527466, -0.08784711360931396, -0.04148046299815178, -0.07576324790716171, -0.2780218720436096 ]
https://github.com/huggingface/datasets/issues/1922
How to update the "wino_bias" dataset
Hi @JieyuZhao ! You can edit the dataset card of wino_bias to update the URL via a Pull Request. This would be really appreciated :) The dataset card is the README.md file you can find at https://github.com/huggingface/datasets/tree/master/datasets/wino_bias Also the homepage url is also mentioned in the wino_bias.py so feel free to update it there as well. You can create a Pull Request directly from the github interface by editing the files you want and submit a PR, or from a local clone of the repository. Thanks for noticing !
Hi all, Thanks for the efforts to collect all the datasets! But I think there is a problem with the wino_bias dataset. The current link is not correct. How can I update that? Thanks!
89
How to update the "wino_bias" dataset
[ -0.5724708437919617, 0.3242664337158203, -0.2119290828704834, -0.019254345446825027, -0.15870657563209534, 0.21120427548885345, -0.02917814999818802, 0.0443623848259449, 0.06342437118291855, 0.00688453484326601, -0.4100838899612427, 0.13194243609905243, 0.05894811823964119, 0.09984742850065231, 0.035519178956747055, -0.09343525767326355, 0.06463251262903214, 0.3630770444869995, 0.028150934725999832, -0.18212704360485077, -0.36081424355506897, -0.06783735752105713, -0.24561044573783875, 0.04962627589702606, 0.007121576461941004, -0.38878685235977173, -0.329962819814682, 0.17713694274425507, -0.37970682978630066, -0.2790544927120209, 0.140908882021904, 0.5145508050918579, -0.06607059389352798, 0.14879047870635986, -0.00010615726205287501, -0.1459418088197708, -0.025021569803357124, -0.0373096764087677, 0.10185056924819946, 0.428857684135437, 0.010102372616529465, -0.2073252648115158, -0.47367793321609497, -0.1506028175354004, 0.0075473058968782425, -0.27436965703964233, 0.10470245033502579, 0.007580822799354792, 0.31245163083076477, 0.60760098695755, 0.19850745797157288, 0.35103729367256165, 0.247955322265625, -0.2016446739435196, 0.5090240240097046, -0.052672550082206726, 0.059885893017053604, 0.16173940896987915, 0.045565683394670486, -0.1671878546476364, -0.07245416194200516, 0.3151432275772095, -0.25331372022628784, -0.1468779593706131, -0.2715318500995636, -0.04153245687484741, 0.19982069730758667, -0.021216891705989838, 0.19790178537368774, 0.038468558341264725, -0.06158003956079483, 0.029138870537281036, -0.22729840874671936, -0.012589572928845882, 0.2644432783126831, -0.7499523162841797, -0.022935668006539345, -0.1718631386756897, 0.10182783752679825, -0.2117416113615036, 0.11295001208782196, -0.3367193639278412, -0.07664117217063904, 0.07638777792453766, -0.11913096904754639, 0.27402743697166443, 0.02485063672065735, 0.09125113487243652, 0.13471350073814392, 0.12337452918291092, 0.37470006942749023, 0.3129933178424835, -0.3323712944984436, -0.14435634016990662, -0.2048112452030182, -0.15021418035030365, -0.06418126821517944, 0.496537983417511, -0.003692517289891839, -0.11220379918813705, -0.1203843206167221, 0.024717653170228004, -0.11353829503059387, -0.27443915605545044, 0.10632340610027313, -0.03360104560852051, -0.07320772856473923, -0.044809091836214066, -0.05703650787472725, 0.0483916699886322, -0.14550383388996124, 0.18338093161582947, -0.01120067946612835, -0.33874213695526123, 0.03943575173616409, 0.09075868129730225, 0.29100504517555237, 0.0033394815400242805, -0.6147142648696899, 0.02200179360806942, 0.20632389187812805, -0.07829085737466812, 0.017741011455655098, 0.08288411051034927, -0.10472344607114792, 0.05499838665127754, 0.01442844606935978, 0.09023125469684601, -0.3870680034160614, -0.39999571442604065, -0.326384961605072, 0.09086102247238159, -0.15378278493881226, -0.18512608110904694, 0.1418975442647934, 0.011695160530507565, 0.41811618208885193, -0.2844168543815613, -0.16236691176891327, 0.10709936916828156, -0.36323219537734985, 0.0013940019998699427, 0.1901998221874237, 0.07754767686128616, -0.10233554989099503, -0.04025650396943092, -0.05918733403086662, 0.3605410158634186, -0.13220539689064026, 0.09928254783153534, -0.16519765555858612, -0.224559485912323, -0.0014254838461056352, 0.06662093102931976, -0.05399911478161812, -0.38348081707954407, 0.06896467506885529, 0.23442092537879944, 0.044412121176719666, -0.27895432710647583, 0.1002492681145668, -0.3445125222206116, -0.34974634647369385, -0.02319910377264023, 0.16284887492656708, 0.40406501293182373, -0.14611542224884033, 0.23758353292942047, -0.015769753605127335, -0.03653613105416298, 0.1901792585849762, -0.006626713089644909, 0.009040403179824352, -0.0520322248339653, 0.07741034775972366, -0.28742721676826477, 0.182309091091156, -0.37010085582733154, -0.42608851194381714, -0.4935169816017151, -0.13619118928909302, -0.3168056607246399, 0.12925410270690918, 0.10675545781850815, -0.10320989787578583, 0.05463697388768196, -0.07486423850059509, 0.16767337918281555, -0.25690075755119324, -0.18648041784763336, -0.08212254196405411, -0.1149102970957756, -0.09772086143493652, 0.15624889731407166, 0.2904922664165497, 0.04870335012674332, -0.044023547321558, 0.12517493963241577, 0.32060909271240234, 0.19035831093788147, 0.03056034818291664, -0.09138015657663345, 0.2963712215423584, -0.11245255917310715, -0.09157336503267288, -0.19470256567001343, -0.144522562623024, -0.2113955020904541, -0.09724751114845276, -0.029870737344026566, 0.477448433637619, -0.08142611384391785, -0.35124918818473816, 0.14146968722343445, 0.015505616553127766, 0.1420828402042389, 0.20334726572036743, 0.42744627594947815, 0.19345451891422272, 0.06840374320745468, 0.0005770073621533811, -0.03667982295155525, -0.30546316504478455, 0.08572117984294891, 0.2485191524028778, 0.0490708127617836, -0.04009485989809036, -0.4237196743488312, 0.30839112401008606, 0.4246535003185272, -0.002050945069640875, -0.03994479775428772, 0.05627688392996788, 0.41804179549217224, -0.2158723920583725, 0.09466049075126648, 0.06312954425811768, 0.2866056263446808, 0.062369875609874725, -0.24830515682697296, 0.16634246706962585, -0.06211894750595093, -0.11913257092237473, 0.40343594551086426, -0.021761510521173477, 0.1958446502685547, -0.25586870312690735, -0.055155154317617416, -0.35726091265678406, 0.2227880209684372, 0.3200663626194, -0.10295867174863815, 0.07754302024841309, -0.036123935133218765, -0.16589133441448212, -0.053844649344682693, 0.01366907637566328, -0.1349550187587738, -0.3076247572898865, 0.4017694890499115, 0.4592897295951843, -0.044483497738838196, -0.05736349895596504, -0.10663985460996628, -0.18063929677009583, -0.25700342655181885, -0.15459544956684113, 0.08038295805454254, 0.30040836334228516, 0.11899510771036148, 0.18148930370807648, 0.04341525584459305, -0.1442079395055771, -0.047597117722034454, 0.21326886117458344, 0.24157081544399261, -0.015940403565764427, 0.12668511271476746, 0.14021646976470947, 0.18923676013946533, -0.35276997089385986, 0.2789372205734253, 0.17535839974880219, 0.41904598474502563, 0.14707154035568237, -0.12263058125972748, 0.10457359254360199, -0.058566514402627945, -0.07427581399679184, 0.020303800702095032, -0.10004249215126038, -0.1443691998720169, 0.30041196942329407, 0.22063452005386353, -0.1717653125524521, 0.4025056064128876, 0.0018324729753658175, 0.442073255777359, 0.33638715744018555, 0.36225759983062744, -0.07750619202852249, -0.06197170540690422, -0.07913485169410706, 0.10461540520191193, 0.10248629003763199, -0.21808847784996033, 0.33990684151649475, -0.15810935199260712, 0.3302379846572876, -0.40696215629577637, -0.04502734914422035, -0.1226138323545456, 0.04428623989224434, 0.2641436457633972, 0.26568660140037537, 0.05665498971939087, -0.06528271734714508, -0.30688077211380005, 0.010628721676766872, -0.6678264737129211, 0.06870312988758087, -0.08551198989152908, -0.1571398824453354, 0.04131431505084038, 0.11142841726541519, -0.4216915965080261, -0.045295070856809616, -0.16008375585079193, -0.06314308941364288, 0.18762122094631195, 0.3076419532299042, 0.056417495012283325, 0.11416272819042206, -0.12524279952049255, -0.16261957585811615, -0.0677923858165741, -0.31178048253059387, -0.3764761984348297, 0.35494816303253174, -0.33289700746536255, -0.260283499956131, 0.10722033679485321, -0.11633279919624329, 0.14152362942695618, 0.013600548729300499, -0.29818740487098694, -0.07552468776702881, -0.031443413347005844, -0.03426329046487808, -0.025774074718356133, 0.2912483513355255, 0.5521328449249268, -0.17539897561073303, -0.363218754529953, -0.12903255224227905, -0.08835703134536743, 0.03357818350195885, 0.2823517322540283, 0.10588614642620087, -0.04181743040680885, -0.07699541747570038, -0.2260696440935135, 0.4251246452331543, -0.06118858978152275, -0.47815513610839844, 0.19825701415538788, -0.0834420919418335, 0.3724082112312317, -0.024937964975833893, -0.25416746735572815, 0.04525858536362648, 0.12264035642147064, 0.45719635486602783, 0.5465530157089233, -0.13291406631469727, -0.258698970079422, 0.10324002057313919, -0.30150488018989563, -0.2725713551044464, -0.15754029154777527, 0.08025893568992615, -0.20683154463768005, 0.2219187319278717, 0.2705095410346985, 0.027468645945191383, -0.4141419231891632, -0.4463706612586975, 0.25594452023506165, -0.15192249417304993, 0.05548330023884773, -0.019666854292154312, -0.12837249040603638, 0.0016047979006543756, -0.37282517552375793, 0.1439736932516098, -0.39476117491722107, 0.31247586011886597, 0.23145262897014618, 0.027169574052095413, 0.00315901730209589, -0.2027348279953003, 0.24184775352478027, -0.3764089047908783, 0.2692769169807434, 0.2570968568325043, 0.3563736081123352, 0.26687467098236084, -0.08291622251272202, -0.4068542420864105, 0.4067893922328949, 0.30728447437286377, -0.09660876542329788, 0.022171493619680405, -0.15943531692028046, 0.8365982174873352, -0.11775383353233337, -0.3814137279987335, 0.06490275263786316, 0.1242336854338646, -0.14003118872642517, 0.15996645390987396, 0.4508019685745239, 0.03727979212999344, 0.28109756112098694, -0.009376678615808487, 0.23924297094345093, -0.3756919205188751, 0.26721078157424927, 0.19491587579250336, -0.08605591952800751, 0.10635354369878769, 0.9416339993476868, -0.12974518537521362, 0.04948260262608528, 0.4442182779312134, 0.08525676280260086, 0.17213964462280273, -0.05918283388018608, 0.17343048751354218, -0.16686318814754486, -0.1265995055437088, 0.3705972135066986, 0.3366202414035797, 0.10548756271600723, -0.23468883335590363, -0.0271596759557724, -0.035964854061603546, -0.3066555857658386, 0.399352103471756, 0.3993062973022461, 0.045871552079916, 0.31106802821159363, -0.1479947566986084, 0.14129474759101868, -0.07355231046676636, -0.3043988347053528, 0.18439628183841705, 0.5851354598999023, -0.17857688665390015, 0.3809766173362732, 0.42562180757522583, 0.907996416091919, -0.1265062540769577, 0.31367990374565125, 0.2215159684419632, -0.19477790594100952, 0.6178650856018066, -0.08694866299629211, 0.15105120837688446, -0.04787832126021385, -0.11696584522724152, 0.19142663478851318, 0.0835752859711647, 0.10910078883171082, -0.08548865467309952, -0.10467914491891861, -0.1376369744539261, 0.21506112813949585, -0.0929800271987915, 0.11566014587879181, -0.1783270537853241, 0.27931466698646545, -0.054651252925395966, 0.23406647145748138, 0.09171469509601593, 0.058152247220277786, 0.07869181036949158, -0.059181079268455505, 0.15853583812713623, 0.3288736343383789, 0.026716426014900208, -0.297886461019516, -0.16921982169151306, -0.29450753331184387, -0.1914341300725937, -0.27977773547172546, -0.05269010365009308, -0.11682091653347015, 0.15017683804035187, 0.47396427392959595, 0.09712353348731995, 0.034174900501966476, 0.18733780086040497, 0.29039090871810913, -0.39647090435028076, -0.03947395086288452, -0.06123778596520424, 0.2429559826850891, -0.08565215021371841, -0.3558621406555176, 0.04096079245209694, 0.006165823433548212, -0.47352468967437744, -0.2750564217567444, -0.13721251487731934, 0.03893131762742996, -0.1396160125732422, -0.11472225189208984, 0.18320190906524658, 0.10483909398317337, -0.24486954510211945, 0.1748889833688736, 0.05408661067485809, -0.1960250437259674, 0.3451445400714874, -0.011728191748261452, -0.1865871250629425, -0.04432706907391548, 0.21833035349845886, 0.08194141089916229, -0.07237545400857925, 0.484274685382843, -0.22256380319595337, 0.14479349553585052, -0.3688034117221832, -0.33337169885635376, 0.2197541892528534, -0.12828484177589417, -0.24203193187713623, -0.0772702619433403, -0.22059300541877747, 0.22970376908779144, 0.19774098694324493, 0.22335965931415558, 0.1399061381816864, 0.031217556446790695, -0.3538219630718231, -0.2491443157196045, -0.05997040867805481, 0.30027273297309875, 0.23210717737674713, -0.036119066178798676, -0.23331233859062195, 0.00503248255699873, 0.24065746366977692, -0.39358487725257874, 0.06779760122299194, 0.08183086663484573, 0.11851084977388382, -0.09001386165618896, 0.017379989847540855, -0.12972870469093323, 0.022632353007793427, 0.11582881212234497, -0.22448194026947021, -0.15189984440803528, -0.23143340647220612, -0.20333701372146606, 0.15339291095733643, 0.02163243293762207, -0.16895705461502075, 0.16231313347816467, -0.1768466681241989, -0.14587749540805817, 0.013143902644515038, -0.1923677772283554, -0.09477569162845612, 0.004272376652806997, 0.27933329343795776, -0.24214191734790802, 0.38240471482276917, 0.1964370161294937, 0.11685018241405487, 0.06431141495704651, 0.2020128071308136, 0.007819478400051594, 0.4771849513053894, 0.05765659362077713, -0.41415151953697205, 0.2713005244731903, 0.0746011883020401, -0.12022050470113754, 0.16588419675827026, -0.018750926479697227, -0.011054808273911476, -0.17005161941051483, 0.45859017968177795, 0.2139476239681244, 0.42189234495162964, 0.26613906025886536, -0.14537958800792694, 0.1605256348848343, 0.3063974380493164, -0.6475408673286438, 0.21206943690776825, 0.5380935072898865, 0.040307383984327316, 0.2557663023471832, -0.05089719593524933, 0.4680585265159607, -0.20332291722297668, -0.09727831929922104, 0.10294819623231888, 0.1439014971256256, -0.20258985459804535, 0.05357542261481285, 0.16242438554763794, 0.03761936351656914, -0.11745840311050415, 0.16714823246002197, 0.4480653703212738, 0.18775957822799683, 0.49353399872779846, 0.16194391250610352, 0.39927855134010315, -0.12965896725654602, 0.053175557404756546, -0.23522116243839264, -0.09136157482862473, 0.26750481128692627, 0.24243678152561188, -0.02262929454445839, 0.16876694560050964, -0.04558173567056656, 0.4782865047454834, 0.029704172164201736, -0.24474374949932098, -0.5757834911346436, 0.0879402905702591, -0.09140866249799728, -0.3959549069404602, -0.7336894273757935, -0.27761438488960266, -0.08466298133134842, 0.07097791135311127, 0.2416476309299469, -0.014623169787228107, 0.48227658867836, -0.3368613123893738, -0.24344943463802338, -0.01894865557551384, 0.14048030972480774, -0.14743424952030182, 0.003007965860888362, -0.19555027782917023, 0.12497786432504654, 0.18366692960262299, -0.058225441724061966, 0.11653275042772293, 0.6436047554016113, -0.06596838682889938, -0.08865837007761002, -0.2596527636051178, 0.10554393380880356, 0.0054899598471820354, -0.11920879781246185, -0.25439879298210144, 0.09877686202526093, 0.04402047395706177, 0.12017140537500381, 0.08422541618347168, 0.14523978531360626, -0.11634624749422073, 0.06401018053293228, 0.3052029609680176, -0.04176973178982735, 0.12850841879844666, -0.13051897287368774, 0.3698940575122833, -0.33898693323135376, 0.11178762465715408, -0.04134414345026016, 0.12953372299671173, -0.13860410451889038, 0.01965307630598545, -0.16986967623233795, 0.06502242386341095, -0.23015142977237701, 0.08206068724393845, -0.04080314189195633, 0.5209495425224304, 0.14952117204666138, 0.1820952594280243, -0.15229424834251404, -0.24154998362064362, -0.5378220081329346, 0.2780221402645111, 0.2316460907459259, -0.2981114685535431, -0.09467306733131409, 0.15254279971122742, 0.052229590713977814, -0.03647433593869209, 0.26767414808273315, -0.2909329831600189, 0.11657969653606415, 0.17021211981773376, -0.45753058791160583, 0.038444969803094864, 0.16879695653915405, 0.23083920776844025, 0.33044445514678955, -0.14956669509410858, 0.0563046894967556, -0.013165358453989029, 0.14444506168365479, 0.019233109429478645, -0.10927514731884003, 0.09236949682235718, 0.39973315596580505, 0.20608371496200562, -0.011947027407586575, 0.09625241905450821, -0.15101110935211182, 0.02926035411655903, -0.7278181314468384, -0.014639063738286495, -0.4638904631137848, 0.08122706413269043, 0.12301431596279144, 0.11876040697097778, -0.3863389790058136, -0.19490744173526764, 0.2952713370323181, 0.060646794736385345, 0.030968952924013138, -0.2167963981628418, -0.2815548777580261, 0.34772899746894836, 0.10625258833169937, -0.11399982869625092, 0.13808132708072662, 0.14901719987392426, -0.01617681048810482, 0.00133890297729522, -0.19264917075634003, -0.11189467459917068, 0.2788331210613251, -0.44324225187301636, -0.06552253663539886, -0.4779835641384125, 0.29130154848098755, 0.5156508684158325, 0.2547486126422882, -0.08750690519809723, 0.22438469529151917, 0.10636971890926361, 0.02803727425634861, -0.18992938101291656, 0.1842965930700302, -0.20168262720108032, -0.40456491708755493, -0.01684137061238289, 0.6867407560348511, 0.1176319494843483, -0.3182464838027954, -0.28216543793678284, -0.2586206793785095 ]
https://github.com/huggingface/datasets/issues/1919
Failure to save with save_to_disk
Hi thanks for reporting and for proposing a fix :) I just merged a fix, feel free to try it from the master branch !
When I try to save a dataset locally using the `save_to_disk` method I get the error: ```bash FileNotFoundError: [Errno 2] No such file or directory: '/content/squad/train/squad-train.arrow' ``` To replicate: 1. Install `datasets` from master 2. Run this code: ```python from datasets import load_dataset squad = load_dataset("squad") # or any other dataset squad.save_to_disk("squad") # error here ``` The problem is that the method is not creating a directory with the name `dataset_path` for saving the dataset in (i.e. it's not creating the *train* and *validation* directories in this case). After creating the directory the problem resolves. I'll open a PR soon doing that and linking this issue.
25
Failure to save with save_to_disk
[ -0.15672098100185394, -0.23917675018310547, -0.1557503491640091, 0.11374151706695557, 0.4304685592651367, 0.0629432201385498, 0.01682942546904087, 0.21852150559425354, -0.1562950611114502, 0.32184314727783203, 0.14474545419216156, 0.01395892072468996, -0.19258233904838562, 0.15327244997024536, -0.18634431064128876, 0.21435542404651642, 0.2939838767051697, 0.04218914732336998, 0.09695468842983246, -0.1167776957154274, -0.24988876283168793, 0.40968048572540283, 0.14830529689788818, 0.07351648062467575, -0.2804686427116394, -0.17606747150421143, -0.03146471828222275, 0.2842334806919098, -0.028508201241493225, -0.011999377980828285, -0.07169722020626068, -0.22003032267093658, 0.0498572401702404, 0.11928614228963852, -0.00009968933591153473, -0.08435025811195374, -0.019489042460918427, -0.21366243064403534, -0.3818690776824951, 0.11200172454118729, -0.019605344161391258, -0.13451969623565674, -0.19007757306098938, -0.3642963469028473, 0.2553612291812897, 0.11586866527795792, 0.38891664147377014, -0.16608445346355438, 0.26536309719085693, -0.010368146002292633, 0.4166935384273529, 0.021152373403310776, 0.30358511209487915, -0.2099922150373459, -0.05724165961146355, 0.2538626194000244, -0.21722684800624847, 0.1701776534318924, -0.24108734726905823, -0.0852959007024765, 0.3718510866165161, 0.13441698253154755, -0.04651579260826111, -0.3069247901439667, 0.049946129322052, -0.045843709260225296, 0.31219229102134705, -0.13581088185310364, 0.19710013270378113, -0.4117718040943146, 0.2486414909362793, -0.33278489112854004, -0.10763116180896759, 0.2681104242801666, -0.09044060856103897, -0.06075025349855423, 0.31411585211753845, -0.13564305007457733, -0.045378901064395905, 0.0215480774641037, -0.03734700754284859, -0.3513622581958771, -0.18477486073970795, 0.021379470825195312, 0.2223339080810547, -0.4255753755569458, -0.17463570833206177, -0.041002143174409866, 0.3202904760837555, 0.06838584691286087, -0.1327463984489441, -0.19995266199111938, -0.027384737506508827, -0.20497535169124603, -0.07404036074876785, -0.13777218759059906, -0.03900666534900665, 0.10395929962396622, -0.13903839886188507, 0.03143669292330742, 0.1617003232240677, -0.009482275694608688, 0.2125360071659088, 0.16373658180236816, -0.08127237111330032, 0.13928738236427307, 0.19974428415298462, 0.05881785601377487, 0.2620100677013397, 0.12869927287101746, -0.013585293665528297, -0.039633315056562424, -0.03231179714202881, -0.06102988123893738, 0.6413534283638, -0.06229603663086891, 0.28647440671920776, -0.09948380291461945, -0.2695082128047943, 0.4501006305217743, 0.12560534477233887, 0.12756560742855072, -0.21626053750514984, 0.22560548782348633, 0.11223690211772919, -0.18575797975063324, 0.19414392113685608, 0.3812658190727234, -0.062090836465358734, 0.45902547240257263, -0.2940133213996887, 0.044201675802469254, 0.10282377898693085, 0.09941073507070541, 0.18963754177093506, 0.02585184946656227, 0.0017932784976437688, -0.04503670707345009, -0.12366807460784912, -0.13568326830863953, -0.07380607724189758, -0.3073021173477173, 0.12212516367435455, 0.20533742010593414, 0.1480875462293625, 0.21872356534004211, 0.18277543783187866, -0.29291632771492004, 0.10151168704032898, 0.1529070883989334, 0.11292129755020142, -0.2151004821062088, 0.02853439562022686, 0.3225989043712616, 0.16499336063861847, 0.09503474086523056, -0.22768494486808777, -0.17820672690868378, 0.1997644603252411, -0.16165481507778168, -0.022591331973671913, -0.004170526284724474, -0.08551310002803802, -0.4950067698955536, 0.19355151057243347, 0.31276756525039673, -0.07521382719278336, 0.24566808342933655, 0.04343819245696068, -0.31811773777008057, 0.19162628054618835, 0.12124663591384888, 0.3067895472049713, 0.09927693009376526, -0.2542038857936859, 0.285873144865036, 0.18379844725131989, -0.22978366911411285, -0.31226015090942383, 0.05941439047455788, -0.24176739156246185, -0.2468930333852768, 0.08476072549819946, 0.15211622416973114, 0.1129654049873352, -0.2347356230020523, 0.01640627160668373, -0.02280580624938011, 0.0057364823296666145, -0.042734529823064804, -0.5239015817642212, 0.1870211362838745, -0.32566115260124207, 0.01756407879292965, -0.01241174153983593, 0.2146269977092743, 0.28120875358581543, 0.2632544934749603, 0.19441676139831543, 0.00795545894652605, 0.2223619520664215, 0.27060770988464355, 0.49123793840408325, -0.34546059370040894, -0.3362192213535309, 0.13991768658161163, -0.16308511793613434, -0.05219249799847603, 0.008934790268540382, -0.15679970383644104, 0.1882253885269165, 0.11605148762464523, -0.1654852330684662, 0.1637256145477295, -0.003917258232831955, 0.2603166997432709, 0.34244391322135925, 0.2888721227645874, -0.03584296628832817, 0.3096320927143097, 0.07028675824403763, 0.13038277626037598, -0.1745990514755249, -0.09212512522935867, 0.12938091158866882, 0.11887259036302567, -0.3841153085231781, -0.47803977131843567, 0.08494830876588821, -0.1370019167661667, 0.2605513036251068, 0.02012682519853115, -0.039985012263059616, 0.31748166680336, -0.19543001055717468, 0.09894847869873047, -0.09541453421115875, 0.027547819539904594, -0.12427470088005066, -0.19091233611106873, -0.06906983256340027, 0.125746488571167, 0.29223182797431946, -0.0933973640203476, -0.08238345384597778, -0.05385808274149895, -0.016939444467425346, -0.21259576082229614, 0.11006186157464981, -0.00980005320161581, 0.009747757576406002, 0.00660425890237093, 0.20484846830368042, -0.2331511378288269, 0.14338578283786774, 0.1508144736289978, -0.11539144814014435, -0.42796507477760315, -0.15251043438911438, 0.11595921963453293, 0.3089612126350403, 0.0265741515904665, 0.31035116314888, 0.1342102736234665, 0.23011060059070587, -0.09844166040420532, -0.07901222258806229, 0.3320201635360718, 0.4267899692058563, 0.03792747110128403, 0.050775136798620224, -0.09785749018192291, -0.19974714517593384, -0.199387788772583, 0.19512486457824707, -0.2789480984210968, 0.058888424187898636, 0.36558037996292114, 0.012399598024785519, -0.17905479669570923, -0.18242309987545013, 0.1775016337633133, -0.06061642989516258, 0.0802072286605835, -0.1441228687763214, -0.13535813987255096, -0.0719534382224083, 0.14195062220096588, 0.04740886017680168, 0.1796596199274063, -0.0206008143723011, -0.3665177822113037, 0.12939830124378204, 0.6359449625015259, -0.04631846398115158, -0.17266137897968292, 0.2688244581222534, 0.14607681334018707, -0.08113426715135574, 0.16166555881500244, -0.1575440615415573, 0.2203775942325592, -0.1665530949831009, 0.2020307034254074, -0.012575158849358559, -0.16903220117092133, 0.39983007311820984, -0.13290156424045563, 0.1812211275100708, -0.3944880962371826, 0.11876001954078674, -0.009875599294900894, -0.050511278212070465, 0.14858025312423706, 0.026162290945649147, 0.4283052980899811, -0.08175313472747803, -0.2154286801815033, 0.3497706353664398, -0.08550305664539337, -0.1503804475069046, 0.19173242151737213, 0.21180658042430878, -0.3431342840194702, -0.20563219487667084, 0.04700787365436554, -0.06110793724656105, -0.3002524673938751, 0.21969208121299744, -0.19002121686935425, 0.14807818830013275, -0.028487347066402435, 0.1379537284374237, 0.0038174393121153116, 0.11469507217407227, -0.11308032274246216, -0.3141721487045288, -0.0940266028046608, 0.3820914328098297, -0.14793246984481812, -0.3782764673233032, 0.2789115607738495, 0.2976665794849396, -0.16913995146751404, -0.08510570228099823, -0.25638094544410706, -0.19465838372707367, 0.07800567895174026, -0.14439162611961365, -0.23349732160568237, 0.06117858365178108, 0.318959504365921, 0.06398702412843704, -0.22199200093746185, -0.12579983472824097, -0.4967774748802185, 0.30080288648605347, 0.20794393122196198, 0.44966360926628113, -0.45891493558883667, 0.3334183096885681, -0.023189838975667953, 0.10071434080600739, -0.0964084193110466, 0.2619772255420685, 0.4464397728443146, 0.14510905742645264, 0.3129558265209198, -0.037251412868499756, -0.2651952803134918, 0.002323001390323043, -0.10295767337083817, -0.2981288433074951, 0.02195899747312069, -0.14563465118408203, 0.11366463452577591, 0.046968743205070496, -0.06238529831171036, -0.04404228925704956, -0.15929821133613586, -0.17429061233997345, 0.33768293261528015, 0.15962757170200348, -0.06689001619815826, 0.02304748445749283, 0.1468942016363144, 0.11209337413311005, 0.003621236886829138, 0.6267801523208618, 0.25504785776138306, -0.007692137733101845, -0.33462974429130554, -0.09665293246507645, -0.2567799687385559, 0.03406842425465584, -0.11714597791433334, 0.288023978471756, -0.49946486949920654, -0.18741652369499207, 0.17371539771556854, -0.03908897191286087, 0.5485847592353821, -0.11576419323682785, 0.10096702724695206, 0.14040900766849518, -0.022204626351594925, -0.14644087851047516, 0.05161835625767708, 0.1650480329990387, 0.028413714841008186, -0.15230463445186615, 0.45497965812683105, -0.11888657510280609, 0.1970759779214859, -0.2641432583332062, 0.037591706961393356, -0.21451407670974731, -0.12934263050556183, -0.20206902921199799, -0.4581543803215027, -0.41377443075180054, 0.0001902519288705662, -0.05389731749892235, -0.03787698224186897, 0.12618987262248993, 0.009995750151574612, -0.11236535012722015, -0.22843168675899506, -0.033933620899915695, -0.29862165451049805, 0.3784441351890564, -0.3001014292240143, -0.035559944808483124, -0.21942614018917084, -0.01199046429246664, 0.18495014309883118, -0.06443891674280167, -0.09597968310117722, 0.18269754946231842, 0.33442166447639465, -0.11820980906486511, 0.038238976150751114, 0.27116161584854126, -0.09695912897586823, -0.22008343040943146, -0.073247991502285, 0.04003899171948433, -0.1285286694765091, -0.046777091920375824, 0.09906933456659317, -0.15526722371578217, -0.12096168100833893, 0.4611336290836334, 0.02251088060438633, -0.2239183485507965, 0.14777611196041107, -0.16854289174079895, 0.14459927380084991, -0.07822367548942566, 0.18468616902828217, 0.11900424212217331, 0.8928520679473877, -0.019442850723862648, 0.24500007927417755, 0.10307326167821884, -0.3361576497554779, -0.2957285940647125, -0.005452780984342098, 0.13357605040073395, -0.41014036536216736, 0.005088812205940485, 0.12608323991298676, 0.05423329398036003, -0.09043649584054947, -0.06147964298725128, -0.389555424451828, -0.10078664869070053, -0.15394462645053864, -0.03959772735834122, -0.03731931373476982, -0.05575345456600189, -0.37209728360176086, -0.10253717750310898, -0.11938721686601639, 0.360772967338562, 0.24044576287269592, 0.21670407056808472, -0.10265977680683136, -0.25570669770240784, -0.08819103240966797, -0.14208301901817322, -0.06823091208934784, 0.054729755967855453, -0.288918137550354, 0.154026597738266, -0.38339826464653015, -0.3473857641220093, -0.2661891579627991, 0.1678488701581955, 0.460770845413208, 0.08530189841985703, -0.029055971652269363, -0.23700203001499176, -0.007789089810103178, -0.059559985995292664, -0.26721906661987305, -0.1779179573059082, 0.2258777767419815, -0.21359439194202423, 0.06940028816461563, -0.12850628793239594, -0.047789450734853745, -0.24659375846385956, -0.17502819001674652, 0.04674246907234192, -0.15714283287525177, -0.16545052826404572, -0.3139961361885071, -0.1326906383037567, -0.23890794813632965, -0.2061394453048706, 0.3171400725841522, 0.01138569787144661, 0.19423572719097137, 0.2446763962507248, -0.21445147693157196, -0.05137399584054947, -0.027233881875872612, 0.4310152232646942, -0.1604001820087433, -0.06493417918682098, 0.3588189482688904, -0.3860291838645935, -0.15070626139640808, -0.34757450222969055, 0.02989739552140236, -0.14569848775863647, -0.07655856758356094, 0.26980775594711304, -0.33056527376174927, -0.08513464778661728, -0.07799187302589417, 0.13139736652374268, 0.2292049527168274, 0.00393934128805995, -0.05867413803935051, -0.07047084718942642, -0.42785516381263733, -0.08783716708421707, 0.20455917716026306, 0.18669450283050537, -0.017748724669218063, -0.0458281934261322, 0.12275604903697968, -0.05360199138522148, -0.4895275831222534, -0.1486586034297943, -0.24951963126659393, -0.18138323724269867, 0.31298592686653137, -0.14486312866210938, 0.10998816043138504, -0.09340722858905792, 0.325312077999115, 0.2336278259754181, -0.05925285443663597, -0.3635571300983429, 0.11080717295408249, 0.05450361222028732, 0.0678015723824501, 0.08777792006731033, -0.06480420380830765, -0.18854226171970367, 0.036590997129678726, 0.17954961955547333, -0.15521346032619476, 0.18137799203395844, -0.03273128345608711, -0.23505185544490814, 0.0675663948059082, 0.5663582682609558, 0.23563718795776367, -0.2748675048351288, -0.03642488270998001, 0.25874727964401245, -0.05609342083334923, -0.23451004922389984, -0.10239657759666443, -0.21464821696281433, -0.25422096252441406, -0.026668380945920944, 0.07720876485109329, 0.16021791100502014, 0.10005179792642593, -0.12540146708488464, -0.2814880609512329, 0.08308000862598419, 0.15264290571212769, -0.1508709192276001, -0.21726094186306, -0.14118704199790955, -0.004054324235767126, 0.32968491315841675, 0.30519139766693115, -0.14975067973136902, -0.024808013811707497, -0.3837760090827942, -0.2842208743095398, 0.015368274413049221, -0.010769114829599857, -0.1036752238869667, -0.20471498370170593, 0.06915391981601715, 0.09524456411600113, -0.21715879440307617, -0.260558545589447, 0.0052689979784190655, -0.1855650097131729, 0.40466660261154175, 0.1661270558834076, -0.17209787666797638, 0.1881733536720276, 0.19343014061450958, -0.009370743297040462, 0.27621302008628845, 0.11841568350791931, 0.12579113245010376, -0.09623103588819504, -0.08653464913368225, -0.015898920595645905, -0.17117606103420258, -0.019953515380620956, 0.27727776765823364, 0.01588297449052334, -0.12159339338541031, -0.44666728377342224, 0.03737267851829529, -0.25363850593566895, 0.25418800115585327, -0.30619174242019653, -0.03864511474967003, 0.16782964766025543, -0.1428709328174591, 0.07656418532133102, -0.005905547179281712, -0.17906531691551208, 0.07142212241888046, 0.007538263686001301, 0.04459535703063011, -0.018004002049565315, 0.37129318714141846, -0.26660245656967163, 0.05289978161454201, 0.10161317884922028, -0.119225412607193, 0.04192076995968819, 0.11081085354089737, 0.006705618929117918, -0.31618526577949524, 0.18275125324726105, 0.40996891260147095, 0.23244069516658783, 0.16516955196857452, 0.11631862819194794, 0.025370830669999123, 0.052010271698236465, 0.06382659822702408, 0.19832228124141693, 0.2017466276884079, 0.16684570908546448, 0.1580347865819931, 0.2942325174808502, -0.27110183238983154, 0.11388412863016129, 0.10174916684627533, -0.011861992068588734, 0.2611883580684662, 0.012234757654368877, -0.09866420179605484, -0.23769845068454742, -0.1507520079612732, -0.009750301949679852, -0.18928411602973938, -0.1536201536655426, 0.15099285542964935, -0.0355503149330616, 0.2169487625360489, -0.020546864718198776, 0.1919698268175125, -0.05246609449386597, 0.28225189447402954, -0.058677155524492264, -0.386109858751297, -0.3622194826602936, -0.07774633169174194, -0.24112391471862793, 0.2251422107219696, 0.3214060962200165, 0.23919689655303955, -0.306180477142334, 0.07943426817655563, 0.14879034459590912, -0.168565571308136, 0.1984250247478485, 0.01851597987115383, -0.0039565833285450935, 0.3071969747543335, -0.017910702154040337, 0.12971381843090057, 0.32994344830513, -0.16088932752609253, 0.12025346606969833, -0.29189518094062805, 0.3785814344882965, 0.1868010014295578, 0.36761951446533203, -0.10989018529653549, 0.06270351260900497, -0.40791192650794983, 0.22105011343955994, 0.34472841024398804, 0.011882218532264233, 0.016327733173966408, -0.34282225370407104, -0.3253519833087921, 0.3139857351779938, 0.28987208008766174, 0.10546287149190903, -0.10289935767650604, 0.20247237384319305, 0.45524293184280396, -0.029967576265335083, 0.2182101309299469, -0.18694519996643066, 0.14946450293064117, 0.10802936553955078, 0.15442588925361633, -0.02320253476500511, 0.20420102775096893, 0.2135757952928543, -0.07351864129304886, 0.3530972898006439, 0.09817976504564285, 0.16648127138614655, 0.3011024594306946, -0.5142479538917542, -0.20884405076503754, 0.15040355920791626, 0.4326462745666504, -0.15949808061122894, 0.18157048523426056, 0.3753914535045624, 0.11920053511857986, 0.2628236413002014, -0.3237089216709137, -0.19232489168643951, 0.08302470296621323, -0.19890014827251434, -0.25708702206611633, 0.3928346037864685, -0.3006381392478943, -0.010425436310470104, 0.2280401587486267, 0.5045966506004333, 0.13626186549663544, -0.08467170596122742, 0.09506303817033768, -0.041614748537540436 ]
https://github.com/huggingface/datasets/issues/1915
Unable to download `wiki_dpr`
Thanks for reporting ! This is a bug. For now feel free to set `ignore_verifications=False` in `load_dataset`. I'm working on a fix
I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran: `curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")` However, I got the following error: `datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}` I tried adding in flags `with_embeddings=False` and `with_index=False`: `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")` But I got the following error: `raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2’}` Is there anything else I need to set to download the dataset? **UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
22
Unable to download `wiki_dpr`
[ -0.06902935355901718, -0.4417065680027008, -0.24255894124507904, 0.24934980273246765, 0.0482301339507103, 0.2006705105304718, -0.16223084926605225, 0.1104513481259346, 0.1149786040186882, 0.12112140655517578, 0.1904831975698471, 0.07765495032072067, 0.13001719117164612, 0.008923088200390339, 0.0007820711471140385, -0.3070499897003174, 0.01991378515958786, 0.014337765984237194, 0.28715410828590393, -0.1430017203092575, -0.06995303183794022, 0.28054332733154297, -0.19901596009731293, 0.1962227076292038, 0.05792563781142235, -0.18990293145179749, 0.17496640980243683, -0.021031072363257408, -0.28947433829307556, -0.3205958902835846, 0.5068534016609192, 0.15466377139091492, 0.3182065188884735, 0.02374965324997902, -0.00009934401168720797, 0.0898551195859909, 0.2711648643016815, 0.1204695999622345, 0.021173613145947456, 0.1304110884666443, -0.12291537970304489, -0.046422697603702545, -0.03308483213186264, -0.2741332948207855, 0.22310487926006317, -0.03220481798052788, 0.09450405836105347, 0.407060831785202, 0.12126073986291885, 0.11294319480657578, 0.37772729992866516, -0.09212937951087952, 0.2503952980041504, -0.22908422350883484, 0.03291236236691475, -0.11511135846376419, 0.03296865150332451, -0.01860230416059494, -0.1591014564037323, 0.02116239070892334, 0.20588096976280212, 0.12271834909915924, -0.16834868490695953, 0.1699659526348114, 0.10379143059253693, -0.08715231716632843, 0.22930093109607697, -0.14952190220355988, 0.5004332065582275, 0.14190830290317535, 0.5566141605377197, 0.11438862234354019, 0.24752363562583923, 0.3682958483695984, 0.05700330063700676, -0.12287681549787521, 0.265196293592453, 0.0017848965944722295, -0.3002679646015167, 0.06267271190881729, 0.2132510542869568, -0.15148614346981049, -0.09382040053606033, 0.0965852439403534, -0.37719443440437317, 0.530741810798645, 0.09640946984291077, 0.009157195687294006, 0.035792041569948196, -0.02176438830792904, -0.07050197571516037, 0.07957769185304642, -0.16719894111156464, 0.04313124716281891, 0.433262437582016, 0.2136099487543106, 0.05082624405622482, 0.05373524874448776, 0.08682580292224884, 0.05075269192457199, -0.22287917137145996, 0.09115760773420334, 0.5083224773406982, -0.13457316160202026, 0.008566365577280521, -0.059951841831207275, -0.09044826775789261, 0.4206891357898712, 0.32768911123275757, 0.45044901967048645, 0.0291555467993021, 0.22087082266807556, -0.15556836128234863, -0.014942185953259468, 0.0407346673309803, -0.1048654243350029, -0.24721659719944, -0.09293618053197861, 0.1469906121492386, 0.1752656251192093, 0.12916713953018188, -0.07712900638580322, -0.4838068187236786, 0.24991697072982788, -0.2543729841709137, 0.35734716057777405, 0.35701724886894226, -0.15835118293762207, -0.02397031895816326, 0.24664442241191864, -0.20723484456539154, 0.05317608639597893, -0.11564693599939346, -0.05385344848036766, -0.03369710594415665, 0.1821705549955368, 0.28170838952064514, -0.24007652699947357, 0.07420714199542999, -0.16307370364665985, -0.30793237686157227, 0.3603453040122986, -0.1721297800540924, 0.3859770894050598, 0.15416593849658966, 0.17664013803005219, -0.24041876196861267, -0.23487821221351624, 0.09610459208488464, 0.04752449318766594, -0.08196341246366501, -0.31158915162086487, -0.051387447863817215, 0.3834279179573059, 0.12110483646392822, -0.13420166075229645, 0.049819882959127426, -0.058636393398046494, 0.1893535852432251, -0.23180389404296875, -0.06982941180467606, 0.0765516385436058, 0.1870548278093338, -0.2066349983215332, 0.23150749504566193, 0.17411565780639648, -0.1760101169347763, 0.04153827577829361, -0.010939923115074635, -0.23451824486255646, 0.10156861692667007, -0.08874581009149551, -0.1631585955619812, 0.0878397673368454, -0.11945158243179321, 0.09689328819513321, 0.3855884373188019, -0.5022041201591492, -0.45461028814315796, 0.16855347156524658, -0.23085865378379822, -0.07585868239402771, 0.2304048389196396, -0.04679106920957565, 0.1663895547389984, 0.18249844014644623, -0.027879802510142326, 0.31009727716445923, 0.21131020784378052, -0.08753525465726852, -0.22732184827327728, -0.1685408353805542, -0.10363568365573883, 0.021806906908750534, 0.4799700677394867, 0.12853723764419556, 0.18605154752731323, 0.586040198802948, 0.43057307600975037, 0.2588430941104889, -0.05708341673016548, 0.12285971641540527, -0.09045135229825974, 0.06058808043599129, 0.0498107373714447, 0.0334063284099102, 0.009111282415688038, -0.07234980165958405, -0.3041234016418457, 0.15314441919326782, 0.10618597269058228, 0.010463878512382507, -0.4989541471004486, 0.12976469099521637, -0.05215507373213768, -0.19867859780788422, 0.34225258231163025, 0.12536709010601044, 0.29790979623794556, 0.27130937576293945, 0.2748403549194336, -0.39590269327163696, -0.27390775084495544, 0.03179722651839256, 0.17947827279567719, -0.17665694653987885, -0.527374267578125, 0.19115141034126282, 0.08876566588878632, -0.09175959974527359, 0.11436329036951065, 0.10798631608486176, 0.1350002884864807, -0.11323099583387375, -0.17939986288547516, -0.1371343582868576, -0.09398254752159119, -0.09602691978216171, 0.0200039129704237, -0.38943204283714294, -0.2621256709098816, 0.10623670369386673, 0.2062055468559265, 0.001991674769669771, 0.16885237395763397, 0.04458906874060631, 0.2563760578632355, -0.014354122802615166, -0.024385271593928337, 0.20010416209697723, 0.2748587727546692, -0.05013037100434303, 0.4076322615146637, -0.11392497271299362, 0.09560149163007736, 0.1672848016023636, -0.35679134726524353, -0.3468233048915863, -0.1183876320719719, 0.0036694917362183332, 0.17563124001026154, -0.26528093218803406, 0.06556518375873566, 0.03868556395173073, 0.1750321239233017, -0.08998629450798035, 0.06782431900501251, 0.13418012857437134, -0.10427920520305634, 0.14806541800498962, 0.2286430448293686, 0.001179656246677041, -0.15196040272712708, -0.35751914978027344, 0.17603984475135803, -0.07833219319581985, -0.36085939407348633, 0.33714988827705383, -0.13690556585788727, 0.060515571385622025, 0.008792147040367126, -0.07778643071651459, 0.012112118303775787, 0.13408350944519043, 0.027941547334194183, -0.10567636042833328, -0.25544223189353943, -0.17952241003513336, 0.4075568914413452, 0.22212183475494385, -0.12891598045825958, -0.3259611427783966, 0.2482096403837204, -0.008749397471547127, 0.05426454171538353, 0.1670394241809845, -0.07815422862768173, -0.21705374121665955, -0.09444700926542282, -0.12116911262273788, -0.14417460560798645, -0.2179165780544281, -0.5270025730133057, 0.24414442479610443, 0.020699549466371536, 0.17502278089523315, 0.28633764386177063, -0.2234329879283905, -0.047127824276685715, -0.2594384253025055, -0.3089827001094818, 0.14131325483322144, 0.10972277820110321, -0.1856640875339508, 0.173496276140213, 0.26938360929489136, -0.11838410049676895, -0.3137340545654297, -0.01551293209195137, -0.29465702176094055, -0.052008256316185, -0.15038728713989258, -0.08461956679821014, -0.3211199641227722, -0.017743375152349472, -0.5658717155456543, -0.11969521641731262, -0.14936956763267517, 0.04660565406084061, 0.1784508377313614, 0.017586274072527885, -0.19854512810707092, 0.03924085944890976, 0.04407322779297829, 0.056529343128204346, 0.13192391395568848, -0.2489403635263443, 0.06420332193374634, 0.37559279799461365, -0.18241751194000244, -0.38214775919914246, 0.2738533914089203, -0.12608283758163452, 0.1668768972158432, -0.10141628235578537, -0.6127680540084839, -0.026605764403939247, 0.016589907929301262, 0.21010415256023407, 0.1173943504691124, 0.2283233255147934, 0.29645615816116333, -0.06301749497652054, -0.16319426894187927, 0.04756338521838188, 0.008393026888370514, 0.038540493696928024, -0.25269046425819397, 0.09796371310949326, -0.09389165043830872, 0.09324268996715546, -0.1043156310915947, 0.7607858777046204, -0.1977858543395996, 0.15579845011234283, 0.10120031237602234, -0.012514921836555004, -0.010333161801099777, 0.03995180130004883, 0.024005742743611336, -0.07018005847930908, -0.08713284879922867, 0.08703961968421936, 0.25273412466049194, -0.11284571886062622, -0.496184766292572, -0.2606910467147827, 0.0066849784925580025, -0.08996418863534927, -0.10210122168064117, -0.21644113957881927, 0.3078944981098175, 0.06286802142858505, 0.286969393491745, 0.10796239227056503, -0.022197354584932327, -0.21417424082756042, 0.3434521555900574, 0.44414520263671875, -0.2006339281797409, 0.11647723615169525, -0.05486662685871124, -0.04777342453598976, -0.17055822908878326, 0.17855189740657806, 0.1905163824558258, -0.15929125249385834, -0.29016736149787903, 0.02603422850370407, 0.3133488893508911, -0.24649593234062195, 0.05794898048043251, -0.18933382630348206, 0.3854112923145294, 0.16198283433914185, -0.11018898338079453, 0.3221420347690582, -0.19024398922920227, -0.1658450961112976, -0.43119892477989197, 0.1345907747745514, 0.0384892076253891, -0.46721577644348145, 0.3020074665546417, 0.1319458931684494, -0.27985456585884094, -0.15932244062423706, -0.012385820038616657, -0.17786318063735962, -0.7189092636108398, -0.4231377840042114, 0.037365250289440155, 0.12987449765205383, 0.33645886182785034, 0.02993406355381012, 0.03734249249100685, -0.17349804937839508, 0.16354596614837646, -0.30715733766555786, 0.11081128567457199, 0.06540065258741379, -0.03577519580721855, -0.11209985613822937, -0.005787299480289221, 0.012548425234854221, 0.008861853741109371, 0.0604284293949604, 0.021097302436828613, 0.1830226331949234, -0.06746955960988998, -0.07829079031944275, -0.27764225006103516, 0.17078962922096252, -0.24172289669513702, -0.17354224622249603, 0.19585375487804413, 0.1416371911764145, -0.005190729629248381, -0.17335212230682373, 0.13170231878757477, -0.2937067449092865, -0.20001232624053955, -0.254304975271225, 0.14253637194633484, 0.13910691440105438, -0.12094448506832123, 0.18206417560577393, 0.3056451082229614, -0.02109919674694538, 0.10545918345451355, 0.16274119913578033, 0.8904216289520264, -0.013668359257280827, 0.27624446153640747, 0.20595265924930573, -0.16450738906860352, 0.1605527698993683, -0.4108731150627136, 0.21252551674842834, -0.21868620812892914, 0.23856483399868011, -0.07325390726327896, 0.217003732919693, -0.1238139420747757, -0.008119179867208004, -0.21467921137809753, 0.07739041745662689, 0.0034422173630446196, -0.16041240096092224, 0.1843026578426361, 0.18221831321716309, 0.04272353649139404, 0.23580971360206604, 0.042201049625873566, 0.2154606282711029, 0.15679745376110077, 0.3540158271789551, -0.23577894270420074, -0.10580727458000183, 0.12424254417419434, -0.3641246557235718, -0.3885202407836914, 0.05331204831600189, 0.1871863603591919, 0.3537428677082062, -0.23094633221626282, -0.11059997230768204, -0.14968335628509521, 0.4618074893951416, -0.15734052658081055, 0.23391743004322052, -0.1407909244298935, 0.27963873744010925, -0.1224963515996933, -0.6437258124351501, -0.22511857748031616, 0.3069043457508087, -0.107239730656147, -0.35373634099960327, -0.36619237065315247, 0.0850287675857544, -0.13971900939941406, -0.13404053449630737, -0.30459070205688477, 0.08386809378862381, -0.06426879018545151, 0.0690336525440216, 0.10368483513593674, -0.08631812036037445, -0.2704099714756012, -0.12336387485265732, 0.30394691228866577, -0.2559407651424408, -0.03929436206817627, -0.11921759694814682, 0.44289663434028625, -0.07859642058610916, -0.10456154495477676, 0.4566895067691803, 0.09135209769010544, -0.30273059010505676, 0.13023656606674194, 0.10026708245277405, -0.47624868154525757, -0.39450642466545105, -0.32076963782310486, -0.3564899265766144, -0.25875523686408997, 0.030230794101953506, 0.12140507996082306, -0.20027832686901093, -0.059232573956251144, 0.29100367426872253, 0.2850087583065033, -0.07864794880151749, 0.11026035994291306, -0.2152591049671173, -0.11148449778556824, -0.018679307773709297, -0.28950679302215576, -0.08235829323530197, -0.022589461877942085, -0.14137153327465057, 0.3337257206439972, 0.18031151592731476, -0.4069405198097229, 0.04910343140363693, -0.35162514448165894, -0.255977988243103, 0.08465951681137085, -0.18318447470664978, 0.03288182616233826, 0.37284788489341736, 0.28873854875564575, 0.19513458013534546, -0.03710617870092392, -0.32819226384162903, 0.07155047357082367, 0.0774838775396347, 0.024745579808950424, -0.10136974602937698, 0.3666702210903168, -0.1345091015100479, -0.2979976534843445, 0.3464703857898712, 0.18080763518810272, 0.0044139837846159935, 0.1602991223335266, 0.024846306070685387, 0.12865854799747467, 0.33740466833114624, -0.2696484327316284, 0.24984347820281982, -0.031498320400714874, 0.4658830165863037, -0.041694968938827515, -0.09183569997549057, 0.1662123054265976, -0.16320650279521942, -0.0830201730132103, -0.0753229409456253, 0.13288284838199615, 0.060972005128860474, 0.4410077631473541, -0.19575123488903046, -0.11976778507232666, 0.09172199666500092, 0.0304158553481102, 0.18803799152374268, -0.08465892821550369, 0.15787741541862488, 0.245911106467247, 0.3178996741771698, -0.217996284365654, -0.13466686010360718, 0.1264590471982956, 0.05096273124217987, -0.23461611568927765, -0.04664653167128563, 0.1042257770895958, -0.40512412786483765, -0.1376345157623291, 0.3765471875667572, -0.01708586886525154, -0.4403574466705322, 0.0022616235073655844, 0.552365779876709, 0.024971436709165573, 0.13380305469036102, -0.20839570462703705, 0.11781363934278488, -0.04627634212374687, 0.20203013718128204, -0.021338218823075294, 0.18954570591449738, -0.1575503945350647, 0.12442955374717712, -0.023776216432452202, -0.13444314897060394, 0.16583874821662903, 0.010714137926697731, 0.05522685497999191, 0.1216348260641098, 0.02414144016802311, -0.11167526990175247, 0.2630801200866699, 0.2971898317337036, -0.4642525911331177, 0.1259138286113739, -0.16425122320652008, -0.22172030806541443, 0.002700777491554618, -0.22576668858528137, 0.030610941350460052, 0.37894177436828613, 0.29639557003974915, -0.0017724621575325727, 0.14409348368644714, -0.026530621573328972, -0.35257020592689514, -0.1226692870259285, 0.08055660128593445, -0.24705038964748383, 0.13043507933616638, 0.044018469750881195, -0.18687351047992706, 0.027571970596909523, -0.09477344155311584, 0.1436910331249237, 0.07687133550643921, 0.13210242986679077, 0.03974822536110878, -0.3813451826572418, -0.21216243505477905, 0.1708751916885376, 0.0035934518091380596, -0.30673179030418396, 0.5514698624610901, 0.270561546087265, 0.3177039623260498, -0.011337106116116047, 0.2361280620098114, -0.35363414883613586, -0.04491402953863144, 0.16272187232971191, -0.028506051748991013, 0.3032858967781067, 0.17097997665405273, -0.03343043476343155, 0.09318523854017258, 0.021548321470618248, 0.21114011108875275, -0.3554401099681854, 0.3052578270435333, 0.006179468240588903, 0.2905007600784302, 0.16656090319156647, -0.2779761850833893, 0.13938099145889282, -0.1412467509508133, 0.5029764175415039, 0.22138535976409912, -0.06600715965032578, 0.18739096820354462, -0.061090923845767975, -0.29137760400772095, 0.3949154317378998, 0.03136683627963066, -0.2855202555656433, 0.09223300218582153, 0.04695923998951912, -0.033247049897909164, 0.09761528670787811, 0.05456215515732765, -0.04730475693941116, -0.048803798854351044, 0.41691696643829346, 0.013171826489269733, -0.05382819473743439, 0.0385703481733799, -0.07859185338020325, -0.11264067888259888, -0.15757262706756592, 0.12243551760911942, -0.03144693002104759, 0.25580713152885437, -0.2569044232368469, 0.006771543063223362, 0.014370320364832878, 0.38488849997520447, 0.3107418119907379, 0.012503131292760372, 0.42595937848091125, -0.16467274725437164, -0.0994960144162178, -0.23624621331691742, 0.08729065209627151, 0.057236023247241974, 0.18818050622940063, 0.06298713386058807, -0.07571226358413696, 0.012733522802591324, -0.017572840675711632, -0.16514332592487335, -0.01922605372965336, 0.033530112355947495, 0.6005316376686096, -0.3459359407424927, -0.1767245978116989, 0.09567315876483917, 0.11635071784257889, 0.1306740641593933, 0.13572901487350464, -0.16728775203227997, -0.22337459027767181, -0.24786591529846191, -0.39521464705467224, 0.1666286587715149, -0.2780750095844269, -0.257424920797348, 0.1994117796421051, -0.011874573305249214, -0.2019004225730896, -0.05028679966926575, -0.30054205656051636, 0.15280096232891083, 0.03436962515115738, -0.1718297302722931, -0.29944533109664917, -0.13181491196155548, -0.06279975175857544, -0.04130677878856659, -0.08628819137811661, 0.22085288166999817, -0.05732063204050064, -0.207508847117424, -0.27050721645355225, -0.2621420919895172 ]
https://github.com/huggingface/datasets/issues/1915
Unable to download `wiki_dpr`
I just merged a fix :) We'll do a patch release soon. In the meantime feel free to try it from the master branch Thanks again for reporting !
I am trying to download the `wiki_dpr` dataset. Specifically, I want to download `psgs_w100.multiset.no_index` with no embeddings/no index. In order to do so, I ran: `curr_dataset = load_dataset("wiki_dpr", embeddings_name="multiset", index_name="no_index")` However, I got the following error: `datasets.utils.info_utils.UnexpectedDownloadedFile: {'embeddings_index'}` I tried adding in flags `with_embeddings=False` and `with_index=False`: `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False, embeddings_name="multiset", index_name="no_index")` But I got the following error: `raise ExpectedMoreDownloadedFiles(str(set(expected_checksums) - set(recorded_checksums))) datasets.utils.info_utils.ExpectedMoreDownloadedFiles: {‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_5’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_15’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_30’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_36’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_18’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_41’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_13’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_48’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_10’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_23’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_14’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_34’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_43’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_40’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_47’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_3’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_24’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_7’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_33’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_46’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_42’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_27’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_29’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_26’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_22’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_4’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_20’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_39’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_6’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_16’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_8’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_35’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_49’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_17’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_25’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_0’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_38’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_12’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_44’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_1’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_32’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_19’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_31’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_37’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_9’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_11’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_21’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_28’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_45’, ‘https://dl.fbaipublicfiles.com/rag/rag_multiset_embeddings/wiki_passages_2’}` Is there anything else I need to set to download the dataset? **UPDATE**: just running `curr_dataset = load_dataset("wiki_dpr", with_embeddings=False, with_index=False)` gives me the same error.
29
Unable to download `wiki_dpr`
[ -0.06902935355901718, -0.4417065680027008, -0.24255894124507904, 0.24934980273246765, 0.0482301339507103, 0.2006705105304718, -0.16223084926605225, 0.1104513481259346, 0.1149786040186882, 0.12112140655517578, 0.1904831975698471, 0.07765495032072067, 0.13001719117164612, 0.008923088200390339, 0.0007820711471140385, -0.3070499897003174, 0.01991378515958786, 0.014337765984237194, 0.28715410828590393, -0.1430017203092575, -0.06995303183794022, 0.28054332733154297, -0.19901596009731293, 0.1962227076292038, 0.05792563781142235, -0.18990293145179749, 0.17496640980243683, -0.021031072363257408, -0.28947433829307556, -0.3205958902835846, 0.5068534016609192, 0.15466377139091492, 0.3182065188884735, 0.02374965324997902, -0.00009934401168720797, 0.0898551195859909, 0.2711648643016815, 0.1204695999622345, 0.021173613145947456, 0.1304110884666443, -0.12291537970304489, -0.046422697603702545, -0.03308483213186264, -0.2741332948207855, 0.22310487926006317, -0.03220481798052788, 0.09450405836105347, 0.407060831785202, 0.12126073986291885, 0.11294319480657578, 0.37772729992866516, -0.09212937951087952, 0.2503952980041504, -0.22908422350883484, 0.03291236236691475, -0.11511135846376419, 0.03296865150332451, -0.01860230416059494, -0.1591014564037323, 0.02116239070892334, 0.20588096976280212, 0.12271834909915924, -0.16834868490695953, 0.1699659526348114, 0.10379143059253693, -0.08715231716632843, 0.22930093109607697, -0.14952190220355988, 0.5004332065582275, 0.14190830290317535, 0.5566141605377197, 0.11438862234354019, 0.24752363562583923, 0.3682958483695984, 0.05700330063700676, -0.12287681549787521, 0.265196293592453, 0.0017848965944722295, -0.3002679646015167, 0.06267271190881729, 0.2132510542869568, -0.15148614346981049, -0.09382040053606033, 0.0965852439403534, -0.37719443440437317, 0.530741810798645, 0.09640946984291077, 0.009157195687294006, 0.035792041569948196, -0.02176438830792904, -0.07050197571516037, 0.07957769185304642, -0.16719894111156464, 0.04313124716281891, 0.433262437582016, 0.2136099487543106, 0.05082624405622482, 0.05373524874448776, 0.08682580292224884, 0.05075269192457199, -0.22287917137145996, 0.09115760773420334, 0.5083224773406982, -0.13457316160202026, 0.008566365577280521, -0.059951841831207275, -0.09044826775789261, 0.4206891357898712, 0.32768911123275757, 0.45044901967048645, 0.0291555467993021, 0.22087082266807556, -0.15556836128234863, -0.014942185953259468, 0.0407346673309803, -0.1048654243350029, -0.24721659719944, -0.09293618053197861, 0.1469906121492386, 0.1752656251192093, 0.12916713953018188, -0.07712900638580322, -0.4838068187236786, 0.24991697072982788, -0.2543729841709137, 0.35734716057777405, 0.35701724886894226, -0.15835118293762207, -0.02397031895816326, 0.24664442241191864, -0.20723484456539154, 0.05317608639597893, -0.11564693599939346, -0.05385344848036766, -0.03369710594415665, 0.1821705549955368, 0.28170838952064514, -0.24007652699947357, 0.07420714199542999, -0.16307370364665985, -0.30793237686157227, 0.3603453040122986, -0.1721297800540924, 0.3859770894050598, 0.15416593849658966, 0.17664013803005219, -0.24041876196861267, -0.23487821221351624, 0.09610459208488464, 0.04752449318766594, -0.08196341246366501, -0.31158915162086487, -0.051387447863817215, 0.3834279179573059, 0.12110483646392822, -0.13420166075229645, 0.049819882959127426, -0.058636393398046494, 0.1893535852432251, -0.23180389404296875, -0.06982941180467606, 0.0765516385436058, 0.1870548278093338, -0.2066349983215332, 0.23150749504566193, 0.17411565780639648, -0.1760101169347763, 0.04153827577829361, -0.010939923115074635, -0.23451824486255646, 0.10156861692667007, -0.08874581009149551, -0.1631585955619812, 0.0878397673368454, -0.11945158243179321, 0.09689328819513321, 0.3855884373188019, -0.5022041201591492, -0.45461028814315796, 0.16855347156524658, -0.23085865378379822, -0.07585868239402771, 0.2304048389196396, -0.04679106920957565, 0.1663895547389984, 0.18249844014644623, -0.027879802510142326, 0.31009727716445923, 0.21131020784378052, -0.08753525465726852, -0.22732184827327728, -0.1685408353805542, -0.10363568365573883, 0.021806906908750534, 0.4799700677394867, 0.12853723764419556, 0.18605154752731323, 0.586040198802948, 0.43057307600975037, 0.2588430941104889, -0.05708341673016548, 0.12285971641540527, -0.09045135229825974, 0.06058808043599129, 0.0498107373714447, 0.0334063284099102, 0.009111282415688038, -0.07234980165958405, -0.3041234016418457, 0.15314441919326782, 0.10618597269058228, 0.010463878512382507, -0.4989541471004486, 0.12976469099521637, -0.05215507373213768, -0.19867859780788422, 0.34225258231163025, 0.12536709010601044, 0.29790979623794556, 0.27130937576293945, 0.2748403549194336, -0.39590269327163696, -0.27390775084495544, 0.03179722651839256, 0.17947827279567719, -0.17665694653987885, -0.527374267578125, 0.19115141034126282, 0.08876566588878632, -0.09175959974527359, 0.11436329036951065, 0.10798631608486176, 0.1350002884864807, -0.11323099583387375, -0.17939986288547516, -0.1371343582868576, -0.09398254752159119, -0.09602691978216171, 0.0200039129704237, -0.38943204283714294, -0.2621256709098816, 0.10623670369386673, 0.2062055468559265, 0.001991674769669771, 0.16885237395763397, 0.04458906874060631, 0.2563760578632355, -0.014354122802615166, -0.024385271593928337, 0.20010416209697723, 0.2748587727546692, -0.05013037100434303, 0.4076322615146637, -0.11392497271299362, 0.09560149163007736, 0.1672848016023636, -0.35679134726524353, -0.3468233048915863, -0.1183876320719719, 0.0036694917362183332, 0.17563124001026154, -0.26528093218803406, 0.06556518375873566, 0.03868556395173073, 0.1750321239233017, -0.08998629450798035, 0.06782431900501251, 0.13418012857437134, -0.10427920520305634, 0.14806541800498962, 0.2286430448293686, 0.001179656246677041, -0.15196040272712708, -0.35751914978027344, 0.17603984475135803, -0.07833219319581985, -0.36085939407348633, 0.33714988827705383, -0.13690556585788727, 0.060515571385622025, 0.008792147040367126, -0.07778643071651459, 0.012112118303775787, 0.13408350944519043, 0.027941547334194183, -0.10567636042833328, -0.25544223189353943, -0.17952241003513336, 0.4075568914413452, 0.22212183475494385, -0.12891598045825958, -0.3259611427783966, 0.2482096403837204, -0.008749397471547127, 0.05426454171538353, 0.1670394241809845, -0.07815422862768173, -0.21705374121665955, -0.09444700926542282, -0.12116911262273788, -0.14417460560798645, -0.2179165780544281, -0.5270025730133057, 0.24414442479610443, 0.020699549466371536, 0.17502278089523315, 0.28633764386177063, -0.2234329879283905, -0.047127824276685715, -0.2594384253025055, -0.3089827001094818, 0.14131325483322144, 0.10972277820110321, -0.1856640875339508, 0.173496276140213, 0.26938360929489136, -0.11838410049676895, -0.3137340545654297, -0.01551293209195137, -0.29465702176094055, -0.052008256316185, -0.15038728713989258, -0.08461956679821014, -0.3211199641227722, -0.017743375152349472, -0.5658717155456543, -0.11969521641731262, -0.14936956763267517, 0.04660565406084061, 0.1784508377313614, 0.017586274072527885, -0.19854512810707092, 0.03924085944890976, 0.04407322779297829, 0.056529343128204346, 0.13192391395568848, -0.2489403635263443, 0.06420332193374634, 0.37559279799461365, -0.18241751194000244, -0.38214775919914246, 0.2738533914089203, -0.12608283758163452, 0.1668768972158432, -0.10141628235578537, -0.6127680540084839, -0.026605764403939247, 0.016589907929301262, 0.21010415256023407, 0.1173943504691124, 0.2283233255147934, 0.29645615816116333, -0.06301749497652054, -0.16319426894187927, 0.04756338521838188, 0.008393026888370514, 0.038540493696928024, -0.25269046425819397, 0.09796371310949326, -0.09389165043830872, 0.09324268996715546, -0.1043156310915947, 0.7607858777046204, -0.1977858543395996, 0.15579845011234283, 0.10120031237602234, -0.012514921836555004, -0.010333161801099777, 0.03995180130004883, 0.024005742743611336, -0.07018005847930908, -0.08713284879922867, 0.08703961968421936, 0.25273412466049194, -0.11284571886062622, -0.496184766292572, -0.2606910467147827, 0.0066849784925580025, -0.08996418863534927, -0.10210122168064117, -0.21644113957881927, 0.3078944981098175, 0.06286802142858505, 0.286969393491745, 0.10796239227056503, -0.022197354584932327, -0.21417424082756042, 0.3434521555900574, 0.44414520263671875, -0.2006339281797409, 0.11647723615169525, -0.05486662685871124, -0.04777342453598976, -0.17055822908878326, 0.17855189740657806, 0.1905163824558258, -0.15929125249385834, -0.29016736149787903, 0.02603422850370407, 0.3133488893508911, -0.24649593234062195, 0.05794898048043251, -0.18933382630348206, 0.3854112923145294, 0.16198283433914185, -0.11018898338079453, 0.3221420347690582, -0.19024398922920227, -0.1658450961112976, -0.43119892477989197, 0.1345907747745514, 0.0384892076253891, -0.46721577644348145, 0.3020074665546417, 0.1319458931684494, -0.27985456585884094, -0.15932244062423706, -0.012385820038616657, -0.17786318063735962, -0.7189092636108398, -0.4231377840042114, 0.037365250289440155, 0.12987449765205383, 0.33645886182785034, 0.02993406355381012, 0.03734249249100685, -0.17349804937839508, 0.16354596614837646, -0.30715733766555786, 0.11081128567457199, 0.06540065258741379, -0.03577519580721855, -0.11209985613822937, -0.005787299480289221, 0.012548425234854221, 0.008861853741109371, 0.0604284293949604, 0.021097302436828613, 0.1830226331949234, -0.06746955960988998, -0.07829079031944275, -0.27764225006103516, 0.17078962922096252, -0.24172289669513702, -0.17354224622249603, 0.19585375487804413, 0.1416371911764145, -0.005190729629248381, -0.17335212230682373, 0.13170231878757477, -0.2937067449092865, -0.20001232624053955, -0.254304975271225, 0.14253637194633484, 0.13910691440105438, -0.12094448506832123, 0.18206417560577393, 0.3056451082229614, -0.02109919674694538, 0.10545918345451355, 0.16274119913578033, 0.8904216289520264, -0.013668359257280827, 0.27624446153640747, 0.20595265924930573, -0.16450738906860352, 0.1605527698993683, -0.4108731150627136, 0.21252551674842834, -0.21868620812892914, 0.23856483399868011, -0.07325390726327896, 0.217003732919693, -0.1238139420747757, -0.008119179867208004, -0.21467921137809753, 0.07739041745662689, 0.0034422173630446196, -0.16041240096092224, 0.1843026578426361, 0.18221831321716309, 0.04272353649139404, 0.23580971360206604, 0.042201049625873566, 0.2154606282711029, 0.15679745376110077, 0.3540158271789551, -0.23577894270420074, -0.10580727458000183, 0.12424254417419434, -0.3641246557235718, -0.3885202407836914, 0.05331204831600189, 0.1871863603591919, 0.3537428677082062, -0.23094633221626282, -0.11059997230768204, -0.14968335628509521, 0.4618074893951416, -0.15734052658081055, 0.23391743004322052, -0.1407909244298935, 0.27963873744010925, -0.1224963515996933, -0.6437258124351501, -0.22511857748031616, 0.3069043457508087, -0.107239730656147, -0.35373634099960327, -0.36619237065315247, 0.0850287675857544, -0.13971900939941406, -0.13404053449630737, -0.30459070205688477, 0.08386809378862381, -0.06426879018545151, 0.0690336525440216, 0.10368483513593674, -0.08631812036037445, -0.2704099714756012, -0.12336387485265732, 0.30394691228866577, -0.2559407651424408, -0.03929436206817627, -0.11921759694814682, 0.44289663434028625, -0.07859642058610916, -0.10456154495477676, 0.4566895067691803, 0.09135209769010544, -0.30273059010505676, 0.13023656606674194, 0.10026708245277405, -0.47624868154525757, -0.39450642466545105, -0.32076963782310486, -0.3564899265766144, -0.25875523686408997, 0.030230794101953506, 0.12140507996082306, -0.20027832686901093, -0.059232573956251144, 0.29100367426872253, 0.2850087583065033, -0.07864794880151749, 0.11026035994291306, -0.2152591049671173, -0.11148449778556824, -0.018679307773709297, -0.28950679302215576, -0.08235829323530197, -0.022589461877942085, -0.14137153327465057, 0.3337257206439972, 0.18031151592731476, -0.4069405198097229, 0.04910343140363693, -0.35162514448165894, -0.255977988243103, 0.08465951681137085, -0.18318447470664978, 0.03288182616233826, 0.37284788489341736, 0.28873854875564575, 0.19513458013534546, -0.03710617870092392, -0.32819226384162903, 0.07155047357082367, 0.0774838775396347, 0.024745579808950424, -0.10136974602937698, 0.3666702210903168, -0.1345091015100479, -0.2979976534843445, 0.3464703857898712, 0.18080763518810272, 0.0044139837846159935, 0.1602991223335266, 0.024846306070685387, 0.12865854799747467, 0.33740466833114624, -0.2696484327316284, 0.24984347820281982, -0.031498320400714874, 0.4658830165863037, -0.041694968938827515, -0.09183569997549057, 0.1662123054265976, -0.16320650279521942, -0.0830201730132103, -0.0753229409456253, 0.13288284838199615, 0.060972005128860474, 0.4410077631473541, -0.19575123488903046, -0.11976778507232666, 0.09172199666500092, 0.0304158553481102, 0.18803799152374268, -0.08465892821550369, 0.15787741541862488, 0.245911106467247, 0.3178996741771698, -0.217996284365654, -0.13466686010360718, 0.1264590471982956, 0.05096273124217987, -0.23461611568927765, -0.04664653167128563, 0.1042257770895958, -0.40512412786483765, -0.1376345157623291, 0.3765471875667572, -0.01708586886525154, -0.4403574466705322, 0.0022616235073655844, 0.552365779876709, 0.024971436709165573, 0.13380305469036102, -0.20839570462703705, 0.11781363934278488, -0.04627634212374687, 0.20203013718128204, -0.021338218823075294, 0.18954570591449738, -0.1575503945350647, 0.12442955374717712, -0.023776216432452202, -0.13444314897060394, 0.16583874821662903, 0.010714137926697731, 0.05522685497999191, 0.1216348260641098, 0.02414144016802311, -0.11167526990175247, 0.2630801200866699, 0.2971898317337036, -0.4642525911331177, 0.1259138286113739, -0.16425122320652008, -0.22172030806541443, 0.002700777491554618, -0.22576668858528137, 0.030610941350460052, 0.37894177436828613, 0.29639557003974915, -0.0017724621575325727, 0.14409348368644714, -0.026530621573328972, -0.35257020592689514, -0.1226692870259285, 0.08055660128593445, -0.24705038964748383, 0.13043507933616638, 0.044018469750881195, -0.18687351047992706, 0.027571970596909523, -0.09477344155311584, 0.1436910331249237, 0.07687133550643921, 0.13210242986679077, 0.03974822536110878, -0.3813451826572418, -0.21216243505477905, 0.1708751916885376, 0.0035934518091380596, -0.30673179030418396, 0.5514698624610901, 0.270561546087265, 0.3177039623260498, -0.011337106116116047, 0.2361280620098114, -0.35363414883613586, -0.04491402953863144, 0.16272187232971191, -0.028506051748991013, 0.3032858967781067, 0.17097997665405273, -0.03343043476343155, 0.09318523854017258, 0.021548321470618248, 0.21114011108875275, -0.3554401099681854, 0.3052578270435333, 0.006179468240588903, 0.2905007600784302, 0.16656090319156647, -0.2779761850833893, 0.13938099145889282, -0.1412467509508133, 0.5029764175415039, 0.22138535976409912, -0.06600715965032578, 0.18739096820354462, -0.061090923845767975, -0.29137760400772095, 0.3949154317378998, 0.03136683627963066, -0.2855202555656433, 0.09223300218582153, 0.04695923998951912, -0.033247049897909164, 0.09761528670787811, 0.05456215515732765, -0.04730475693941116, -0.048803798854351044, 0.41691696643829346, 0.013171826489269733, -0.05382819473743439, 0.0385703481733799, -0.07859185338020325, -0.11264067888259888, -0.15757262706756592, 0.12243551760911942, -0.03144693002104759, 0.25580713152885437, -0.2569044232368469, 0.006771543063223362, 0.014370320364832878, 0.38488849997520447, 0.3107418119907379, 0.012503131292760372, 0.42595937848091125, -0.16467274725437164, -0.0994960144162178, -0.23624621331691742, 0.08729065209627151, 0.057236023247241974, 0.18818050622940063, 0.06298713386058807, -0.07571226358413696, 0.012733522802591324, -0.017572840675711632, -0.16514332592487335, -0.01922605372965336, 0.033530112355947495, 0.6005316376686096, -0.3459359407424927, -0.1767245978116989, 0.09567315876483917, 0.11635071784257889, 0.1306740641593933, 0.13572901487350464, -0.16728775203227997, -0.22337459027767181, -0.24786591529846191, -0.39521464705467224, 0.1666286587715149, -0.2780750095844269, -0.257424920797348, 0.1994117796421051, -0.011874573305249214, -0.2019004225730896, -0.05028679966926575, -0.30054205656051636, 0.15280096232891083, 0.03436962515115738, -0.1718297302722931, -0.29944533109664917, -0.13181491196155548, -0.06279975175857544, -0.04130677878856659, -0.08628819137811661, 0.22085288166999817, -0.05732063204050064, -0.207508847117424, -0.27050721645355225, -0.2621420919895172 ]
https://github.com/huggingface/datasets/issues/1911
Saving processed dataset running infinitely
am suspicious of this thing? what's the purpose of this? pickling and unplickling `self = pickle.loads(pickle.dumps(self))` ``` def save_to_disk(self, dataset_path: str, fs=None): """ Saves a dataset to a dataset directory, or in a filesystem using either :class:`datasets.filesystem.S3FileSystem` or any implementation of ``fsspec.spec.AbstractFileSystem``. Args: dataset_path (``str``): path (e.g. ``dataset/train``) or remote uri (e.g. ``s3://my-bucket/dataset/train``) of the dataset directory where the dataset will be saved to fs (Optional[:class:`datasets.filesystem.S3FileSystem`,``fsspec.spec.AbstractFileSystem``], `optional`, defaults ``None``): instance of :class:`datasets.filesystem.S3FileSystem` or ``fsspec.spec.AbstractFileSystem`` used to download the files from remote filesystem. """ assert ( not self.list_indexes() ), "please remove all the indexes using `dataset.drop_index` before saving a dataset" self = pickle.loads(pickle.dumps(self)) ```
I have a text dataset of size 220M. For pre-processing, I need to tokenize this and filter rows with the large sequence. My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes. filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796) ```dataset._data = dataset._data.filter(...)``` It took 1 hr for the filter. Then i use `save_to_disk()` on processed dataset and it is running forever. I have been waiting since 8 hrs, it has not written a single byte. Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`. Second process is the one. <img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png"> I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
103
Saving processed dataset running infinitely
[ -0.6247734427452087, 0.11631621420383453, -0.2550230920314789, 0.161199688911438, 0.10409775376319885, -0.00885417964309454, 0.16880524158477783, 0.3013860881328583, -0.26337185502052307, 0.2783437669277191, 0.11734090000391006, 0.07116930186748505, -0.31172773241996765, 0.43692314624786377, -0.46327853202819824, 0.20981906354427338, 0.07310434430837631, 0.18136316537857056, -0.1516122817993164, 0.05752108246088028, -0.13649217784404755, 0.005070810206234455, 0.02206858992576599, 0.01106399204581976, -0.3732165992259979, -0.4729589521884918, 0.22161005437374115, 0.04979909956455231, -0.11204491555690765, -0.06769668310880661, -0.15893499553203583, 0.34585440158843994, 0.06854978203773499, 0.5988010168075562, -0.00010556417691987008, -0.21547679603099823, 0.1994938850402832, -0.1029105857014656, -0.4416281580924988, 0.16005636751651764, -0.2442179024219513, 0.024260034784674644, -0.1915465146303177, -0.34970375895500183, 0.1450076699256897, 0.11216894537210464, 0.12015961110591888, -0.37614643573760986, 0.34166157245635986, -0.2335556447505951, 0.3088493049144745, -0.18387477099895477, -0.29699772596359253, -0.11487606167793274, -0.2128894329071045, 0.15943890810012817, -0.015352216549217701, 0.08381563425064087, 0.19026115536689758, -0.10250779986381531, 0.10761266201734543, 0.4632110893726349, -0.021528277546167374, -0.14916108548641205, -0.06842035800218582, -0.23865465819835663, 0.1557643562555313, -0.1927388310432434, 0.5052235722541809, 0.08256633579730988, 0.03183767572045326, -0.29982951283454895, -0.08115487545728683, -0.12218466401100159, -0.07529890537261963, -0.6413042545318604, 0.05270124599337578, 0.2847539484500885, -0.1868385672569275, 0.16973453760147095, -0.18245746195316315, -0.0802367627620697, -0.320488303899765, -0.0894373282790184, -0.08652954548597336, -0.3257051408290863, -0.2039196491241455, -0.0019065012456849217, 0.10500094294548035, 0.11427165567874908, 0.035020411014556885, -0.025485925376415253, 0.15490037202835083, -0.27279165387153625, -0.1159319058060646, 0.005615897011011839, -0.0951777994632721, 0.15920430421829224, 0.21486538648605347, 0.07146487385034561, -0.0321650430560112, 0.150850310921669, 0.2705182433128357, -0.0946604460477829, 0.408383309841156, -0.25788557529449463, 0.09963046759366989, -0.2757595181465149, 0.1793748140335083, -0.3355308771133423, -0.5893262624740601, 0.0690402016043663, 0.009952659718692303, 0.08780274540185928, 0.4390055239200592, -0.3400299549102783, 0.3080021142959595, -0.10637837648391724, -0.08417150378227234, 0.5987570285797119, 0.07165990769863129, 0.08635216951370239, -0.2239006906747818, 0.3339308500289917, -0.27754315733909607, -0.12102716416120529, 0.06840392202138901, -0.0627114325761795, -0.1948494017124176, -0.25001752376556396, -0.26068782806396484, -0.12350931763648987, -0.051585469394922256, -0.025363711640238762, 0.098558209836483, -0.20305101573467255, -0.0003328461025375873, -0.06977664679288864, -0.29245227575302124, -0.295177161693573, 0.19552914798259735, -0.45325803756713867, 0.4254618287086487, 0.18213705718517303, 0.2957131564617157, 0.2780728042125702, -0.2615436613559723, -0.02664586715400219, 0.07609950006008148, 0.39264073967933655, 0.33381447196006775, -0.05049774423241615, 0.1431088149547577, 0.28173574805259705, 0.06312019377946854, 0.09586396813392639, 0.10237594693899155, 0.07378112524747849, 0.32040947675704956, -0.015867937356233597, -0.12971843779087067, -0.1751900166273117, -0.10111650824546814, -0.03922094777226448, -0.21531392633914948, 0.5429530143737793, -0.329998642206192, 0.31880471110343933, -0.10835658013820648, 0.050268545746803284, -0.1061730906367302, 0.17570775747299194, 0.029961226508021355, 0.22702738642692566, -0.07367183268070221, -0.061112724244594574, 0.17598889768123627, 0.1809954047203064, -0.11133453249931335, -0.12611469626426697, -0.1784798949956894, -0.2300710380077362, -0.16397935152053833, 0.1986718326807022, 0.32355353236198425, -0.33044975996017456, 0.030440019443631172, -0.24576109647750854, -0.042753588408231735, -0.011854368261992931, -0.14553479850292206, -0.25737887620925903, -0.17454813420772552, 0.025017831474542618, 0.19074179232120514, 0.0630861148238182, -0.06725574284791946, -0.041379962116479874, 0.2450544834136963, 0.07066027075052261, 0.24153731763362885, 0.5194001793861389, 0.21818028390407562, 0.43733689188957214, -0.1766648143529892, -0.20170916616916656, -0.07592972368001938, -0.15565158426761627, 0.06407830864191055, -0.1829981952905655, -0.03783634305000305, -0.24411846697330475, -0.004106642212718725, 0.3399534225463867, -0.046957340091466904, 0.1563330888748169, 0.2479887455701828, 0.25039076805114746, -0.21608753502368927, 0.25607365369796753, -0.20111659169197083, 0.34200793504714966, -0.30992573499679565, -0.111906036734581, -0.3820345997810364, -0.08891434967517853, 0.08688011765480042, -0.3000001609325409, 0.010653561912477016, 0.08902326226234436, 0.03991474211215973, -0.1318119764328003, 0.07236769050359726, 0.08760477602481842, -0.0017830653814598918, 0.2276633381843567, -0.01692967675626278, 0.22376534342765808, -0.2596595287322998, 0.07791612297296524, 0.03941917419433594, -0.18724475800991058, 0.1175822764635086, 0.056919220834970474, -0.15606334805488586, 0.21918195486068726, -0.10101515054702759, 0.20635655522346497, 0.2970046401023865, -0.16173270344734192, 0.23461918532848358, -0.21891829371452332, -0.10198415815830231, -0.22799009084701538, 0.0942213162779808, 0.12097927927970886, 0.17707237601280212, 0.17421595752239227, -0.3519380986690521, 0.4057968556880951, 0.4454270005226135, -0.128849595785141, 0.025262460112571716, -0.0185178741812706, 0.011398455128073692, 0.055917829275131226, -0.11306305229663849, 0.21459801495075226, 0.19085237383842468, 0.3548959195613861, 0.21059034764766693, -0.08580361306667328, -0.10107892751693726, -0.22113952040672302, 0.11082737147808075, 0.1467478722333908, 0.2305985987186432, 0.4026148021221161, 0.12123619019985199, -0.2956031858921051, -0.35459592938423157, -0.05771997943520546, 0.1904117912054062, 0.23902229964733124, 0.1261167824268341, 0.1313043236732483, -0.47452858090400696, -0.2588708996772766, -0.1927241086959839, 0.06797289848327637, -0.12364627420902252, -0.12973959743976593, -0.03523900732398033, 0.3463931977748871, -0.15897364914417267, 0.12675777077674866, -0.13372565805912018, 0.23072274029254913, 0.20526911318302155, -0.09140395373106003, 0.1212228387594223, -0.035296645015478134, -0.057171765714883804, 0.09058228135108948, 0.03619084507226944, 0.06485895067453384, 0.5984134078025818, 0.20157407224178314, -0.12997519969940186, -0.25800222158432007, -0.0010193089256063104, 0.2183200716972351, 0.3067035377025604, 0.018396468833088875, -0.20055627822875977, 0.40580129623413086, 0.0056620133109390736, -0.13634812831878662, 0.038130342960357666, -0.25178229808807373, -0.005507864523679018, -0.1877378225326538, 0.31173011660575867, 0.03887090086936951, -0.1000940203666687, -0.006466268561780453, -0.20608888566493988, -0.2532191574573517, 0.35513725876808167, -0.09740664064884186, 0.13422147929668427, -0.012221056967973709, 0.16753844916820526, -0.008648579008877277, -0.07555549591779709, -0.09796469658613205, -0.42982515692710876, -0.27598750591278076, 0.1538015455007553, -0.16604427993297577, -0.28587624430656433, 0.17939960956573486, -0.033640872687101364, 0.13173769414424896, 0.24948716163635254, -0.34668630361557007, 0.17600999772548676, 0.004262473434209824, 0.09603658318519592, -0.04826001822948456, 0.00822131521999836, 0.47624894976615906, 0.009576342068612576, -0.25046294927597046, -0.0477006696164608, -0.2805997431278229, 0.3652280569076538, -0.268144816160202, -0.06822261959314346, -0.06756430119276047, 0.4484099745750427, -0.07844769209623337, 0.27860939502716064, 0.28311315178871155, -0.012651600874960423, 0.06093686819076538, -0.02855757810175419, 0.37789666652679443, -0.2006041705608368, -0.23035714030265808, -0.04215450584888458, 0.032583873718976974, -0.42810800671577454, 0.14296577870845795, -0.05555493384599686, -0.23098509013652802, -0.05008774250745773, -0.1365942656993866, -0.28474190831184387, -0.3690538704395294, -0.06322354078292847, 0.42586344480514526, 0.41254955530166626, 0.3786892294883728, 0.16810399293899536, -0.08606907725334167, -0.011672068387269974, -0.11344490200281143, 0.1476513147354126, -0.010506385937333107, -0.14053362607955933, -0.10337789356708527, 0.13866564631462097, -0.30152738094329834, 0.05687466263771057, -0.1970861703157425, 0.2837464511394501, -0.09298676252365112, -0.22879482805728912, 0.2837257385253906, -0.21950481832027435, 0.7393200397491455, -0.169971764087677, 0.18251459300518036, 0.2353064864873886, -0.2370145469903946, -0.03019125573337078, 0.14098000526428223, -0.0037284994032233953, 0.0527740977704525, 0.4090684950351715, 0.13932111859321594, -0.09371674805879593, -0.13338351249694824, 0.3674979507923126, 0.21206951141357422, -0.4399399757385254, -0.10876541584730148, -0.20075231790542603, -0.3155896067619324, -0.13679803907871246, 0.28458425402641296, -0.049296241253614426, -0.05190953612327576, -0.04026433825492859, -0.28511884808540344, -0.5612618923187256, -0.014477538876235485, 0.16934658586978912, -0.018644848838448524, 0.23395924270153046, -0.3307746946811676, 0.17553293704986572, -0.14364613592624664, 0.1565258502960205, 0.29009488224983215, 0.09207936376333237, -0.10465466231107712, 0.21727792918682098, 0.4023113250732422, -0.2095969170331955, 0.1589028388261795, 0.3836728632450104, -0.026392536237835884, -0.10012980550527573, -0.039197348058223724, 0.374424010515213, -0.3959551751613617, 0.16754375398159027, 0.01450430043041706, 0.2913264334201813, -0.25798407196998596, -0.07927115261554718, 0.18434149026870728, 0.09003176540136337, 0.008998671546578407, 0.2576819062232971, -0.24081678688526154, -0.11974354088306427, 0.13320136070251465, 0.10288935899734497, 1.0041110515594482, -0.10994774103164673, 0.19675160944461823, 0.20207345485687256, -0.1881360113620758, -0.18415959179401398, -0.3713512122631073, -0.06689770519733429, -0.167942076921463, -0.23904487490653992, 0.004345754627138376, -0.004042875021696091, 0.0968594178557396, 0.11307426542043686, -0.06191840022802353, -0.009628180414438248, -0.13724561035633087, -0.10441301763057709, 0.033554986119270325, 0.3859921991825104, -0.29342442750930786, -0.1438204050064087, -0.2021888792514801, 0.2690582871437073, 0.11948490142822266, 0.07771594822406769, -0.18743914365768433, -0.024926302954554558, 0.24247460067272186, 0.23377732932567596, 0.021287379786372185, -0.062407299876213074, -0.2664528787136078, 0.041156649589538574, -0.41986969113349915, -0.028569646179676056, -0.29944637417793274, -0.1687956601381302, 0.24088284373283386, 0.2007337361574173, 0.07681328058242798, 0.03687727823853493, 0.03854195401072502, -0.1455444097518921, -0.15816715359687805, -0.22572503983974457, 0.25175103545188904, -0.12092141807079315, 0.07713880389928818, 0.08292481303215027, 0.018956393003463745, -0.11445784568786621, -0.12858740985393524, 0.013028070330619812, -0.06896155327558517, -0.25539422035217285, -0.061908915638923645, 0.07022339105606079, -0.16715364158153534, -0.10185842961072922, 0.17750956118106842, 0.3008292615413666, 0.030938347801566124, 0.6885340809822083, -0.1851826310157776, -0.3014569580554962, -0.3031492829322815, 0.39879223704338074, 0.1751049906015396, 0.10343047231435776, 0.4534253776073456, 0.07856586575508118, -0.15314631164073944, -0.4767478406429291, 0.10260166227817535, -0.2116336077451706, -0.09865688532590866, 0.6322811841964722, -0.18480877578258514, -0.07737510651350021, 0.019879069179296494, 0.08047910034656525, -0.009120890870690346, -0.005630660802125931, -0.16500623524188995, -0.2246372103691101, -0.35052546858787537, -0.10618694126605988, 0.2831648290157318, 0.19373178482055664, 0.3172810673713684, 0.0993080586194992, 0.18245510756969452, 0.1912587583065033, -0.4344629943370819, -0.0347200483083725, -0.17506611347198486, 0.07984009385108948, 0.13847236335277557, -0.383041650056839, 0.08213582634925842, -0.0838150903582573, 0.16284072399139404, 0.35792049765586853, -0.1977711170911789, -0.3668181896209717, -0.178450807929039, 0.11967562884092331, -0.10701034963130951, 0.214016854763031, -0.22531405091285706, -0.4473768174648285, 0.023679109290242195, 0.005838005803525448, -0.07278551906347275, 0.11121033877134323, 0.017812704667448997, -0.4256862699985504, 0.1010105162858963, 0.18419727683067322, 0.10344666242599487, -0.15076316893100739, 0.35510826110839844, 0.09102948009967804, -0.1229359582066536, 0.0260772742331028, 0.05669086053967476, -0.12022218853235245, -0.19351719319820404, 0.21444270014762878, 0.19257189333438873, -0.1774016171693802, 0.25966599583625793, -0.3872328996658325, -0.2855242192745209, 0.14192979037761688, 0.28668978810310364, 0.5369225740432739, -0.10317671298980713, -0.2708948254585266, 0.32270121574401855, 0.305715411901474, -0.14957670867443085, 0.09609202295541763, 0.14001111686229706, -0.12667399644851685, 0.061559855937957764, 0.22972078621387482, -0.11672566086053848, -0.11908718198537827, -0.10149934142827988, 0.29781660437583923, 0.16536961495876312, -0.47403740882873535, -0.09462305903434753, 0.13056713342666626, 0.12326019257307053, 0.04048309847712517, 0.2806704640388489, 0.4910459518432617, 0.22933842241764069, 0.39443349838256836, 0.3131662905216217, 0.2160978466272354, 0.17428451776504517, 0.13458584249019623, -0.2655331492424011, -0.33960720896720886, -0.22527921199798584, 0.25675883889198303, -0.33956119418144226, 0.3412667512893677, -0.07291357219219208, 0.14583593606948853, 0.04293185845017433, -0.34349969029426575, -0.32245269417762756, 0.5409621596336365, -0.2987000346183777, -0.13014116883277893, -0.036995623260736465, -0.1869819015264511, 0.1711249053478241, 0.17106859385967255, 0.1824142187833786, -0.12397771328687668, 0.10548973828554153, 0.08387647569179535, 0.12834733724594116, -0.049972549080848694, 0.11695832014083862, -0.0009059590520337224, 0.03718981146812439, -0.18951354920864105, 0.055538881570100784, 0.03832739219069481, 0.16776317358016968, -0.3745045065879822, 0.14218586683273315, 0.1390310525894165, 0.21242789924144745, -0.011911822482943535, 0.21582043170928955, 0.07063600420951843, -0.17502419650554657, -0.34808316826820374, 0.23419998586177826, 0.17301860451698303, 0.38333097100257874, 0.5008166432380676, 0.20807792246341705, -0.23531030118465424, 0.04533539339900017, 0.27050450444221497, 0.28488796949386597, -0.20033591985702515, 0.1122167706489563, 0.27799203991889954, -0.1671251505613327, -0.21729224920272827, -0.24493786692619324, -0.5600847005844116, 0.010571387596428394, 0.42436355352401733, -0.5075369477272034, 0.1495358794927597, -0.1389307677745819, 0.14704297482967377, -0.3745460510253906, 0.5076078176498413, -0.18638204038143158, 0.08470419049263, 0.0037445714697241783, -0.24012069404125214, -0.27744024991989136, 0.06541614234447479, -0.2879224717617035, 0.032268647104501724, -0.08685918897390366, 0.2844926118850708, 0.18795384466648102, 0.032110415399074554, 0.12268492579460144, -0.19964855909347534, -0.18652185797691345, 0.3838067054748535, -0.22777828574180603, 0.13636010885238647, 0.12136257439851761, 0.11493213474750519, 0.08461887389421463, -0.33906710147857666, 0.4127652645111084, -0.08756212145090103, 0.25952622294425964, 0.23556986451148987, 0.03603464737534523, -0.32846084237098694, -0.0082000233232975, 0.29472169280052185, 0.06982215493917465, -0.2710930109024048, -0.17059563100337982, 0.09036947786808014, -0.10550893098115921, 0.3784421682357788, 0.033424295485019684, 0.005832597613334656, 0.4830738604068756, 0.2442110925912857, -0.32544031739234924, 0.18367856740951538, 0.12747187912464142, -0.1412453055381775, 0.23148618638515472, 0.05803070589900017, 0.3083823621273041, 0.032908372581005096, 0.16260579228401184, 0.40681758522987366, 0.1443263590335846, 0.434184730052948, 0.06886115670204163, 0.3369288444519043, -0.3830735683441162, -0.07962214201688766, 0.42773348093032837, -0.17293013632297516, -0.6221678256988525, -0.21093063056468964, 0.233267143368721, 0.438507080078125, -0.2554733455181122, -0.2824804484844208, 0.12050028890371323, 0.252770334482193, -0.1043810322880745, -0.2038675844669342, 0.37630516290664673, -0.34786051511764526, -0.24205107986927032, 0.07618559896945953, 0.3833170235157013, 0.1605052500963211, -0.18693281710147858, -0.03448536619544029, -0.03068830631673336 ]
https://github.com/huggingface/datasets/issues/1911
Saving processed dataset running infinitely
Tried finding the root cause but was unsuccessful. I am using lazy tokenization with `dataset.set_transform()`, it works like a charm with almost same performance as pre-compute.
I have a text dataset of size 220M. For pre-processing, I need to tokenize this and filter rows with the large sequence. My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes. filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796) ```dataset._data = dataset._data.filter(...)``` It took 1 hr for the filter. Then i use `save_to_disk()` on processed dataset and it is running forever. I have been waiting since 8 hrs, it has not written a single byte. Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`. Second process is the one. <img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png"> I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
26
Saving processed dataset running infinitely
[ -0.6247734427452087, 0.11631621420383453, -0.2550230920314789, 0.161199688911438, 0.10409775376319885, -0.00885417964309454, 0.16880524158477783, 0.3013860881328583, -0.26337185502052307, 0.2783437669277191, 0.11734090000391006, 0.07116930186748505, -0.31172773241996765, 0.43692314624786377, -0.46327853202819824, 0.20981906354427338, 0.07310434430837631, 0.18136316537857056, -0.1516122817993164, 0.05752108246088028, -0.13649217784404755, 0.005070810206234455, 0.02206858992576599, 0.01106399204581976, -0.3732165992259979, -0.4729589521884918, 0.22161005437374115, 0.04979909956455231, -0.11204491555690765, -0.06769668310880661, -0.15893499553203583, 0.34585440158843994, 0.06854978203773499, 0.5988010168075562, -0.00010556417691987008, -0.21547679603099823, 0.1994938850402832, -0.1029105857014656, -0.4416281580924988, 0.16005636751651764, -0.2442179024219513, 0.024260034784674644, -0.1915465146303177, -0.34970375895500183, 0.1450076699256897, 0.11216894537210464, 0.12015961110591888, -0.37614643573760986, 0.34166157245635986, -0.2335556447505951, 0.3088493049144745, -0.18387477099895477, -0.29699772596359253, -0.11487606167793274, -0.2128894329071045, 0.15943890810012817, -0.015352216549217701, 0.08381563425064087, 0.19026115536689758, -0.10250779986381531, 0.10761266201734543, 0.4632110893726349, -0.021528277546167374, -0.14916108548641205, -0.06842035800218582, -0.23865465819835663, 0.1557643562555313, -0.1927388310432434, 0.5052235722541809, 0.08256633579730988, 0.03183767572045326, -0.29982951283454895, -0.08115487545728683, -0.12218466401100159, -0.07529890537261963, -0.6413042545318604, 0.05270124599337578, 0.2847539484500885, -0.1868385672569275, 0.16973453760147095, -0.18245746195316315, -0.0802367627620697, -0.320488303899765, -0.0894373282790184, -0.08652954548597336, -0.3257051408290863, -0.2039196491241455, -0.0019065012456849217, 0.10500094294548035, 0.11427165567874908, 0.035020411014556885, -0.025485925376415253, 0.15490037202835083, -0.27279165387153625, -0.1159319058060646, 0.005615897011011839, -0.0951777994632721, 0.15920430421829224, 0.21486538648605347, 0.07146487385034561, -0.0321650430560112, 0.150850310921669, 0.2705182433128357, -0.0946604460477829, 0.408383309841156, -0.25788557529449463, 0.09963046759366989, -0.2757595181465149, 0.1793748140335083, -0.3355308771133423, -0.5893262624740601, 0.0690402016043663, 0.009952659718692303, 0.08780274540185928, 0.4390055239200592, -0.3400299549102783, 0.3080021142959595, -0.10637837648391724, -0.08417150378227234, 0.5987570285797119, 0.07165990769863129, 0.08635216951370239, -0.2239006906747818, 0.3339308500289917, -0.27754315733909607, -0.12102716416120529, 0.06840392202138901, -0.0627114325761795, -0.1948494017124176, -0.25001752376556396, -0.26068782806396484, -0.12350931763648987, -0.051585469394922256, -0.025363711640238762, 0.098558209836483, -0.20305101573467255, -0.0003328461025375873, -0.06977664679288864, -0.29245227575302124, -0.295177161693573, 0.19552914798259735, -0.45325803756713867, 0.4254618287086487, 0.18213705718517303, 0.2957131564617157, 0.2780728042125702, -0.2615436613559723, -0.02664586715400219, 0.07609950006008148, 0.39264073967933655, 0.33381447196006775, -0.05049774423241615, 0.1431088149547577, 0.28173574805259705, 0.06312019377946854, 0.09586396813392639, 0.10237594693899155, 0.07378112524747849, 0.32040947675704956, -0.015867937356233597, -0.12971843779087067, -0.1751900166273117, -0.10111650824546814, -0.03922094777226448, -0.21531392633914948, 0.5429530143737793, -0.329998642206192, 0.31880471110343933, -0.10835658013820648, 0.050268545746803284, -0.1061730906367302, 0.17570775747299194, 0.029961226508021355, 0.22702738642692566, -0.07367183268070221, -0.061112724244594574, 0.17598889768123627, 0.1809954047203064, -0.11133453249931335, -0.12611469626426697, -0.1784798949956894, -0.2300710380077362, -0.16397935152053833, 0.1986718326807022, 0.32355353236198425, -0.33044975996017456, 0.030440019443631172, -0.24576109647750854, -0.042753588408231735, -0.011854368261992931, -0.14553479850292206, -0.25737887620925903, -0.17454813420772552, 0.025017831474542618, 0.19074179232120514, 0.0630861148238182, -0.06725574284791946, -0.041379962116479874, 0.2450544834136963, 0.07066027075052261, 0.24153731763362885, 0.5194001793861389, 0.21818028390407562, 0.43733689188957214, -0.1766648143529892, -0.20170916616916656, -0.07592972368001938, -0.15565158426761627, 0.06407830864191055, -0.1829981952905655, -0.03783634305000305, -0.24411846697330475, -0.004106642212718725, 0.3399534225463867, -0.046957340091466904, 0.1563330888748169, 0.2479887455701828, 0.25039076805114746, -0.21608753502368927, 0.25607365369796753, -0.20111659169197083, 0.34200793504714966, -0.30992573499679565, -0.111906036734581, -0.3820345997810364, -0.08891434967517853, 0.08688011765480042, -0.3000001609325409, 0.010653561912477016, 0.08902326226234436, 0.03991474211215973, -0.1318119764328003, 0.07236769050359726, 0.08760477602481842, -0.0017830653814598918, 0.2276633381843567, -0.01692967675626278, 0.22376534342765808, -0.2596595287322998, 0.07791612297296524, 0.03941917419433594, -0.18724475800991058, 0.1175822764635086, 0.056919220834970474, -0.15606334805488586, 0.21918195486068726, -0.10101515054702759, 0.20635655522346497, 0.2970046401023865, -0.16173270344734192, 0.23461918532848358, -0.21891829371452332, -0.10198415815830231, -0.22799009084701538, 0.0942213162779808, 0.12097927927970886, 0.17707237601280212, 0.17421595752239227, -0.3519380986690521, 0.4057968556880951, 0.4454270005226135, -0.128849595785141, 0.025262460112571716, -0.0185178741812706, 0.011398455128073692, 0.055917829275131226, -0.11306305229663849, 0.21459801495075226, 0.19085237383842468, 0.3548959195613861, 0.21059034764766693, -0.08580361306667328, -0.10107892751693726, -0.22113952040672302, 0.11082737147808075, 0.1467478722333908, 0.2305985987186432, 0.4026148021221161, 0.12123619019985199, -0.2956031858921051, -0.35459592938423157, -0.05771997943520546, 0.1904117912054062, 0.23902229964733124, 0.1261167824268341, 0.1313043236732483, -0.47452858090400696, -0.2588708996772766, -0.1927241086959839, 0.06797289848327637, -0.12364627420902252, -0.12973959743976593, -0.03523900732398033, 0.3463931977748871, -0.15897364914417267, 0.12675777077674866, -0.13372565805912018, 0.23072274029254913, 0.20526911318302155, -0.09140395373106003, 0.1212228387594223, -0.035296645015478134, -0.057171765714883804, 0.09058228135108948, 0.03619084507226944, 0.06485895067453384, 0.5984134078025818, 0.20157407224178314, -0.12997519969940186, -0.25800222158432007, -0.0010193089256063104, 0.2183200716972351, 0.3067035377025604, 0.018396468833088875, -0.20055627822875977, 0.40580129623413086, 0.0056620133109390736, -0.13634812831878662, 0.038130342960357666, -0.25178229808807373, -0.005507864523679018, -0.1877378225326538, 0.31173011660575867, 0.03887090086936951, -0.1000940203666687, -0.006466268561780453, -0.20608888566493988, -0.2532191574573517, 0.35513725876808167, -0.09740664064884186, 0.13422147929668427, -0.012221056967973709, 0.16753844916820526, -0.008648579008877277, -0.07555549591779709, -0.09796469658613205, -0.42982515692710876, -0.27598750591278076, 0.1538015455007553, -0.16604427993297577, -0.28587624430656433, 0.17939960956573486, -0.033640872687101364, 0.13173769414424896, 0.24948716163635254, -0.34668630361557007, 0.17600999772548676, 0.004262473434209824, 0.09603658318519592, -0.04826001822948456, 0.00822131521999836, 0.47624894976615906, 0.009576342068612576, -0.25046294927597046, -0.0477006696164608, -0.2805997431278229, 0.3652280569076538, -0.268144816160202, -0.06822261959314346, -0.06756430119276047, 0.4484099745750427, -0.07844769209623337, 0.27860939502716064, 0.28311315178871155, -0.012651600874960423, 0.06093686819076538, -0.02855757810175419, 0.37789666652679443, -0.2006041705608368, -0.23035714030265808, -0.04215450584888458, 0.032583873718976974, -0.42810800671577454, 0.14296577870845795, -0.05555493384599686, -0.23098509013652802, -0.05008774250745773, -0.1365942656993866, -0.28474190831184387, -0.3690538704395294, -0.06322354078292847, 0.42586344480514526, 0.41254955530166626, 0.3786892294883728, 0.16810399293899536, -0.08606907725334167, -0.011672068387269974, -0.11344490200281143, 0.1476513147354126, -0.010506385937333107, -0.14053362607955933, -0.10337789356708527, 0.13866564631462097, -0.30152738094329834, 0.05687466263771057, -0.1970861703157425, 0.2837464511394501, -0.09298676252365112, -0.22879482805728912, 0.2837257385253906, -0.21950481832027435, 0.7393200397491455, -0.169971764087677, 0.18251459300518036, 0.2353064864873886, -0.2370145469903946, -0.03019125573337078, 0.14098000526428223, -0.0037284994032233953, 0.0527740977704525, 0.4090684950351715, 0.13932111859321594, -0.09371674805879593, -0.13338351249694824, 0.3674979507923126, 0.21206951141357422, -0.4399399757385254, -0.10876541584730148, -0.20075231790542603, -0.3155896067619324, -0.13679803907871246, 0.28458425402641296, -0.049296241253614426, -0.05190953612327576, -0.04026433825492859, -0.28511884808540344, -0.5612618923187256, -0.014477538876235485, 0.16934658586978912, -0.018644848838448524, 0.23395924270153046, -0.3307746946811676, 0.17553293704986572, -0.14364613592624664, 0.1565258502960205, 0.29009488224983215, 0.09207936376333237, -0.10465466231107712, 0.21727792918682098, 0.4023113250732422, -0.2095969170331955, 0.1589028388261795, 0.3836728632450104, -0.026392536237835884, -0.10012980550527573, -0.039197348058223724, 0.374424010515213, -0.3959551751613617, 0.16754375398159027, 0.01450430043041706, 0.2913264334201813, -0.25798407196998596, -0.07927115261554718, 0.18434149026870728, 0.09003176540136337, 0.008998671546578407, 0.2576819062232971, -0.24081678688526154, -0.11974354088306427, 0.13320136070251465, 0.10288935899734497, 1.0041110515594482, -0.10994774103164673, 0.19675160944461823, 0.20207345485687256, -0.1881360113620758, -0.18415959179401398, -0.3713512122631073, -0.06689770519733429, -0.167942076921463, -0.23904487490653992, 0.004345754627138376, -0.004042875021696091, 0.0968594178557396, 0.11307426542043686, -0.06191840022802353, -0.009628180414438248, -0.13724561035633087, -0.10441301763057709, 0.033554986119270325, 0.3859921991825104, -0.29342442750930786, -0.1438204050064087, -0.2021888792514801, 0.2690582871437073, 0.11948490142822266, 0.07771594822406769, -0.18743914365768433, -0.024926302954554558, 0.24247460067272186, 0.23377732932567596, 0.021287379786372185, -0.062407299876213074, -0.2664528787136078, 0.041156649589538574, -0.41986969113349915, -0.028569646179676056, -0.29944637417793274, -0.1687956601381302, 0.24088284373283386, 0.2007337361574173, 0.07681328058242798, 0.03687727823853493, 0.03854195401072502, -0.1455444097518921, -0.15816715359687805, -0.22572503983974457, 0.25175103545188904, -0.12092141807079315, 0.07713880389928818, 0.08292481303215027, 0.018956393003463745, -0.11445784568786621, -0.12858740985393524, 0.013028070330619812, -0.06896155327558517, -0.25539422035217285, -0.061908915638923645, 0.07022339105606079, -0.16715364158153534, -0.10185842961072922, 0.17750956118106842, 0.3008292615413666, 0.030938347801566124, 0.6885340809822083, -0.1851826310157776, -0.3014569580554962, -0.3031492829322815, 0.39879223704338074, 0.1751049906015396, 0.10343047231435776, 0.4534253776073456, 0.07856586575508118, -0.15314631164073944, -0.4767478406429291, 0.10260166227817535, -0.2116336077451706, -0.09865688532590866, 0.6322811841964722, -0.18480877578258514, -0.07737510651350021, 0.019879069179296494, 0.08047910034656525, -0.009120890870690346, -0.005630660802125931, -0.16500623524188995, -0.2246372103691101, -0.35052546858787537, -0.10618694126605988, 0.2831648290157318, 0.19373178482055664, 0.3172810673713684, 0.0993080586194992, 0.18245510756969452, 0.1912587583065033, -0.4344629943370819, -0.0347200483083725, -0.17506611347198486, 0.07984009385108948, 0.13847236335277557, -0.383041650056839, 0.08213582634925842, -0.0838150903582573, 0.16284072399139404, 0.35792049765586853, -0.1977711170911789, -0.3668181896209717, -0.178450807929039, 0.11967562884092331, -0.10701034963130951, 0.214016854763031, -0.22531405091285706, -0.4473768174648285, 0.023679109290242195, 0.005838005803525448, -0.07278551906347275, 0.11121033877134323, 0.017812704667448997, -0.4256862699985504, 0.1010105162858963, 0.18419727683067322, 0.10344666242599487, -0.15076316893100739, 0.35510826110839844, 0.09102948009967804, -0.1229359582066536, 0.0260772742331028, 0.05669086053967476, -0.12022218853235245, -0.19351719319820404, 0.21444270014762878, 0.19257189333438873, -0.1774016171693802, 0.25966599583625793, -0.3872328996658325, -0.2855242192745209, 0.14192979037761688, 0.28668978810310364, 0.5369225740432739, -0.10317671298980713, -0.2708948254585266, 0.32270121574401855, 0.305715411901474, -0.14957670867443085, 0.09609202295541763, 0.14001111686229706, -0.12667399644851685, 0.061559855937957764, 0.22972078621387482, -0.11672566086053848, -0.11908718198537827, -0.10149934142827988, 0.29781660437583923, 0.16536961495876312, -0.47403740882873535, -0.09462305903434753, 0.13056713342666626, 0.12326019257307053, 0.04048309847712517, 0.2806704640388489, 0.4910459518432617, 0.22933842241764069, 0.39443349838256836, 0.3131662905216217, 0.2160978466272354, 0.17428451776504517, 0.13458584249019623, -0.2655331492424011, -0.33960720896720886, -0.22527921199798584, 0.25675883889198303, -0.33956119418144226, 0.3412667512893677, -0.07291357219219208, 0.14583593606948853, 0.04293185845017433, -0.34349969029426575, -0.32245269417762756, 0.5409621596336365, -0.2987000346183777, -0.13014116883277893, -0.036995623260736465, -0.1869819015264511, 0.1711249053478241, 0.17106859385967255, 0.1824142187833786, -0.12397771328687668, 0.10548973828554153, 0.08387647569179535, 0.12834733724594116, -0.049972549080848694, 0.11695832014083862, -0.0009059590520337224, 0.03718981146812439, -0.18951354920864105, 0.055538881570100784, 0.03832739219069481, 0.16776317358016968, -0.3745045065879822, 0.14218586683273315, 0.1390310525894165, 0.21242789924144745, -0.011911822482943535, 0.21582043170928955, 0.07063600420951843, -0.17502419650554657, -0.34808316826820374, 0.23419998586177826, 0.17301860451698303, 0.38333097100257874, 0.5008166432380676, 0.20807792246341705, -0.23531030118465424, 0.04533539339900017, 0.27050450444221497, 0.28488796949386597, -0.20033591985702515, 0.1122167706489563, 0.27799203991889954, -0.1671251505613327, -0.21729224920272827, -0.24493786692619324, -0.5600847005844116, 0.010571387596428394, 0.42436355352401733, -0.5075369477272034, 0.1495358794927597, -0.1389307677745819, 0.14704297482967377, -0.3745460510253906, 0.5076078176498413, -0.18638204038143158, 0.08470419049263, 0.0037445714697241783, -0.24012069404125214, -0.27744024991989136, 0.06541614234447479, -0.2879224717617035, 0.032268647104501724, -0.08685918897390366, 0.2844926118850708, 0.18795384466648102, 0.032110415399074554, 0.12268492579460144, -0.19964855909347534, -0.18652185797691345, 0.3838067054748535, -0.22777828574180603, 0.13636010885238647, 0.12136257439851761, 0.11493213474750519, 0.08461887389421463, -0.33906710147857666, 0.4127652645111084, -0.08756212145090103, 0.25952622294425964, 0.23556986451148987, 0.03603464737534523, -0.32846084237098694, -0.0082000233232975, 0.29472169280052185, 0.06982215493917465, -0.2710930109024048, -0.17059563100337982, 0.09036947786808014, -0.10550893098115921, 0.3784421682357788, 0.033424295485019684, 0.005832597613334656, 0.4830738604068756, 0.2442110925912857, -0.32544031739234924, 0.18367856740951538, 0.12747187912464142, -0.1412453055381775, 0.23148618638515472, 0.05803070589900017, 0.3083823621273041, 0.032908372581005096, 0.16260579228401184, 0.40681758522987366, 0.1443263590335846, 0.434184730052948, 0.06886115670204163, 0.3369288444519043, -0.3830735683441162, -0.07962214201688766, 0.42773348093032837, -0.17293013632297516, -0.6221678256988525, -0.21093063056468964, 0.233267143368721, 0.438507080078125, -0.2554733455181122, -0.2824804484844208, 0.12050028890371323, 0.252770334482193, -0.1043810322880745, -0.2038675844669342, 0.37630516290664673, -0.34786051511764526, -0.24205107986927032, 0.07618559896945953, 0.3833170235157013, 0.1605052500963211, -0.18693281710147858, -0.03448536619544029, -0.03068830631673336 ]
https://github.com/huggingface/datasets/issues/1911
Saving processed dataset running infinitely
Hi ! This very probably comes from the hack you used. The pickling line was added an a sanity check because save_to_disk uses the same assumptions as pickling for a dataset object. The main assumption is that memory mapped pyarrow tables must be reloadable from the disk. In your case it's not possible since you altered the pyarrow table. I would suggest you to rebuild a valid Dataset object from your new pyarrow table. To do so you must first save your new table to a file, and then make a new Dataset object from that arrow file. You can save the raw arrow table (without all the `datasets.Datasets` metadata) by calling `map` with `cache_file_name="path/to/outut.arrow"` and `function=None`. Having `function=None` makes the `map` write your dataset on disk with no data transformation. Once you have your new arrow file, load it with `datasets.Dataset.from_file` to have a brand new Dataset object :) In the future we'll have a better support for the fast filtering method from pyarrow so you don't have to do this very unpractical workaround. Since it breaks somes assumptions regarding the core behavior of Dataset objects, this is very discouraged.
I have a text dataset of size 220M. For pre-processing, I need to tokenize this and filter rows with the large sequence. My tokenization took roughly 3hrs. I used map() with batch size 1024 and multi-process with 96 processes. filter() function was way to slow, so I used a hack to use pyarrow filter table function, which is damm fast. Mentioned [here](https://github.com/huggingface/datasets/issues/1796) ```dataset._data = dataset._data.filter(...)``` It took 1 hr for the filter. Then i use `save_to_disk()` on processed dataset and it is running forever. I have been waiting since 8 hrs, it has not written a single byte. Infact it has actually read from disk more than 100GB, screenshot below shows the stats using `iotop`. Second process is the one. <img width="1672" alt="Screenshot 2021-02-19 at 6 36 53 PM" src="https://user-images.githubusercontent.com/20911334/108508197-7325d780-72e1-11eb-8369-7c057d137d81.png"> I am not able to figure out, whether this is some issue with dataset library or that it is due to my hack for filter() function.
191
Saving processed dataset running infinitely
[ -0.6247734427452087, 0.11631621420383453, -0.2550230920314789, 0.161199688911438, 0.10409775376319885, -0.00885417964309454, 0.16880524158477783, 0.3013860881328583, -0.26337185502052307, 0.2783437669277191, 0.11734090000391006, 0.07116930186748505, -0.31172773241996765, 0.43692314624786377, -0.46327853202819824, 0.20981906354427338, 0.07310434430837631, 0.18136316537857056, -0.1516122817993164, 0.05752108246088028, -0.13649217784404755, 0.005070810206234455, 0.02206858992576599, 0.01106399204581976, -0.3732165992259979, -0.4729589521884918, 0.22161005437374115, 0.04979909956455231, -0.11204491555690765, -0.06769668310880661, -0.15893499553203583, 0.34585440158843994, 0.06854978203773499, 0.5988010168075562, -0.00010556417691987008, -0.21547679603099823, 0.1994938850402832, -0.1029105857014656, -0.4416281580924988, 0.16005636751651764, -0.2442179024219513, 0.024260034784674644, -0.1915465146303177, -0.34970375895500183, 0.1450076699256897, 0.11216894537210464, 0.12015961110591888, -0.37614643573760986, 0.34166157245635986, -0.2335556447505951, 0.3088493049144745, -0.18387477099895477, -0.29699772596359253, -0.11487606167793274, -0.2128894329071045, 0.15943890810012817, -0.015352216549217701, 0.08381563425064087, 0.19026115536689758, -0.10250779986381531, 0.10761266201734543, 0.4632110893726349, -0.021528277546167374, -0.14916108548641205, -0.06842035800218582, -0.23865465819835663, 0.1557643562555313, -0.1927388310432434, 0.5052235722541809, 0.08256633579730988, 0.03183767572045326, -0.29982951283454895, -0.08115487545728683, -0.12218466401100159, -0.07529890537261963, -0.6413042545318604, 0.05270124599337578, 0.2847539484500885, -0.1868385672569275, 0.16973453760147095, -0.18245746195316315, -0.0802367627620697, -0.320488303899765, -0.0894373282790184, -0.08652954548597336, -0.3257051408290863, -0.2039196491241455, -0.0019065012456849217, 0.10500094294548035, 0.11427165567874908, 0.035020411014556885, -0.025485925376415253, 0.15490037202835083, -0.27279165387153625, -0.1159319058060646, 0.005615897011011839, -0.0951777994632721, 0.15920430421829224, 0.21486538648605347, 0.07146487385034561, -0.0321650430560112, 0.150850310921669, 0.2705182433128357, -0.0946604460477829, 0.408383309841156, -0.25788557529449463, 0.09963046759366989, -0.2757595181465149, 0.1793748140335083, -0.3355308771133423, -0.5893262624740601, 0.0690402016043663, 0.009952659718692303, 0.08780274540185928, 0.4390055239200592, -0.3400299549102783, 0.3080021142959595, -0.10637837648391724, -0.08417150378227234, 0.5987570285797119, 0.07165990769863129, 0.08635216951370239, -0.2239006906747818, 0.3339308500289917, -0.27754315733909607, -0.12102716416120529, 0.06840392202138901, -0.0627114325761795, -0.1948494017124176, -0.25001752376556396, -0.26068782806396484, -0.12350931763648987, -0.051585469394922256, -0.025363711640238762, 0.098558209836483, -0.20305101573467255, -0.0003328461025375873, -0.06977664679288864, -0.29245227575302124, -0.295177161693573, 0.19552914798259735, -0.45325803756713867, 0.4254618287086487, 0.18213705718517303, 0.2957131564617157, 0.2780728042125702, -0.2615436613559723, -0.02664586715400219, 0.07609950006008148, 0.39264073967933655, 0.33381447196006775, -0.05049774423241615, 0.1431088149547577, 0.28173574805259705, 0.06312019377946854, 0.09586396813392639, 0.10237594693899155, 0.07378112524747849, 0.32040947675704956, -0.015867937356233597, -0.12971843779087067, -0.1751900166273117, -0.10111650824546814, -0.03922094777226448, -0.21531392633914948, 0.5429530143737793, -0.329998642206192, 0.31880471110343933, -0.10835658013820648, 0.050268545746803284, -0.1061730906367302, 0.17570775747299194, 0.029961226508021355, 0.22702738642692566, -0.07367183268070221, -0.061112724244594574, 0.17598889768123627, 0.1809954047203064, -0.11133453249931335, -0.12611469626426697, -0.1784798949956894, -0.2300710380077362, -0.16397935152053833, 0.1986718326807022, 0.32355353236198425, -0.33044975996017456, 0.030440019443631172, -0.24576109647750854, -0.042753588408231735, -0.011854368261992931, -0.14553479850292206, -0.25737887620925903, -0.17454813420772552, 0.025017831474542618, 0.19074179232120514, 0.0630861148238182, -0.06725574284791946, -0.041379962116479874, 0.2450544834136963, 0.07066027075052261, 0.24153731763362885, 0.5194001793861389, 0.21818028390407562, 0.43733689188957214, -0.1766648143529892, -0.20170916616916656, -0.07592972368001938, -0.15565158426761627, 0.06407830864191055, -0.1829981952905655, -0.03783634305000305, -0.24411846697330475, -0.004106642212718725, 0.3399534225463867, -0.046957340091466904, 0.1563330888748169, 0.2479887455701828, 0.25039076805114746, -0.21608753502368927, 0.25607365369796753, -0.20111659169197083, 0.34200793504714966, -0.30992573499679565, -0.111906036734581, -0.3820345997810364, -0.08891434967517853, 0.08688011765480042, -0.3000001609325409, 0.010653561912477016, 0.08902326226234436, 0.03991474211215973, -0.1318119764328003, 0.07236769050359726, 0.08760477602481842, -0.0017830653814598918, 0.2276633381843567, -0.01692967675626278, 0.22376534342765808, -0.2596595287322998, 0.07791612297296524, 0.03941917419433594, -0.18724475800991058, 0.1175822764635086, 0.056919220834970474, -0.15606334805488586, 0.21918195486068726, -0.10101515054702759, 0.20635655522346497, 0.2970046401023865, -0.16173270344734192, 0.23461918532848358, -0.21891829371452332, -0.10198415815830231, -0.22799009084701538, 0.0942213162779808, 0.12097927927970886, 0.17707237601280212, 0.17421595752239227, -0.3519380986690521, 0.4057968556880951, 0.4454270005226135, -0.128849595785141, 0.025262460112571716, -0.0185178741812706, 0.011398455128073692, 0.055917829275131226, -0.11306305229663849, 0.21459801495075226, 0.19085237383842468, 0.3548959195613861, 0.21059034764766693, -0.08580361306667328, -0.10107892751693726, -0.22113952040672302, 0.11082737147808075, 0.1467478722333908, 0.2305985987186432, 0.4026148021221161, 0.12123619019985199, -0.2956031858921051, -0.35459592938423157, -0.05771997943520546, 0.1904117912054062, 0.23902229964733124, 0.1261167824268341, 0.1313043236732483, -0.47452858090400696, -0.2588708996772766, -0.1927241086959839, 0.06797289848327637, -0.12364627420902252, -0.12973959743976593, -0.03523900732398033, 0.3463931977748871, -0.15897364914417267, 0.12675777077674866, -0.13372565805912018, 0.23072274029254913, 0.20526911318302155, -0.09140395373106003, 0.1212228387594223, -0.035296645015478134, -0.057171765714883804, 0.09058228135108948, 0.03619084507226944, 0.06485895067453384, 0.5984134078025818, 0.20157407224178314, -0.12997519969940186, -0.25800222158432007, -0.0010193089256063104, 0.2183200716972351, 0.3067035377025604, 0.018396468833088875, -0.20055627822875977, 0.40580129623413086, 0.0056620133109390736, -0.13634812831878662, 0.038130342960357666, -0.25178229808807373, -0.005507864523679018, -0.1877378225326538, 0.31173011660575867, 0.03887090086936951, -0.1000940203666687, -0.006466268561780453, -0.20608888566493988, -0.2532191574573517, 0.35513725876808167, -0.09740664064884186, 0.13422147929668427, -0.012221056967973709, 0.16753844916820526, -0.008648579008877277, -0.07555549591779709, -0.09796469658613205, -0.42982515692710876, -0.27598750591278076, 0.1538015455007553, -0.16604427993297577, -0.28587624430656433, 0.17939960956573486, -0.033640872687101364, 0.13173769414424896, 0.24948716163635254, -0.34668630361557007, 0.17600999772548676, 0.004262473434209824, 0.09603658318519592, -0.04826001822948456, 0.00822131521999836, 0.47624894976615906, 0.009576342068612576, -0.25046294927597046, -0.0477006696164608, -0.2805997431278229, 0.3652280569076538, -0.268144816160202, -0.06822261959314346, -0.06756430119276047, 0.4484099745750427, -0.07844769209623337, 0.27860939502716064, 0.28311315178871155, -0.012651600874960423, 0.06093686819076538, -0.02855757810175419, 0.37789666652679443, -0.2006041705608368, -0.23035714030265808, -0.04215450584888458, 0.032583873718976974, -0.42810800671577454, 0.14296577870845795, -0.05555493384599686, -0.23098509013652802, -0.05008774250745773, -0.1365942656993866, -0.28474190831184387, -0.3690538704395294, -0.06322354078292847, 0.42586344480514526, 0.41254955530166626, 0.3786892294883728, 0.16810399293899536, -0.08606907725334167, -0.011672068387269974, -0.11344490200281143, 0.1476513147354126, -0.010506385937333107, -0.14053362607955933, -0.10337789356708527, 0.13866564631462097, -0.30152738094329834, 0.05687466263771057, -0.1970861703157425, 0.2837464511394501, -0.09298676252365112, -0.22879482805728912, 0.2837257385253906, -0.21950481832027435, 0.7393200397491455, -0.169971764087677, 0.18251459300518036, 0.2353064864873886, -0.2370145469903946, -0.03019125573337078, 0.14098000526428223, -0.0037284994032233953, 0.0527740977704525, 0.4090684950351715, 0.13932111859321594, -0.09371674805879593, -0.13338351249694824, 0.3674979507923126, 0.21206951141357422, -0.4399399757385254, -0.10876541584730148, -0.20075231790542603, -0.3155896067619324, -0.13679803907871246, 0.28458425402641296, -0.049296241253614426, -0.05190953612327576, -0.04026433825492859, -0.28511884808540344, -0.5612618923187256, -0.014477538876235485, 0.16934658586978912, -0.018644848838448524, 0.23395924270153046, -0.3307746946811676, 0.17553293704986572, -0.14364613592624664, 0.1565258502960205, 0.29009488224983215, 0.09207936376333237, -0.10465466231107712, 0.21727792918682098, 0.4023113250732422, -0.2095969170331955, 0.1589028388261795, 0.3836728632450104, -0.026392536237835884, -0.10012980550527573, -0.039197348058223724, 0.374424010515213, -0.3959551751613617, 0.16754375398159027, 0.01450430043041706, 0.2913264334201813, -0.25798407196998596, -0.07927115261554718, 0.18434149026870728, 0.09003176540136337, 0.008998671546578407, 0.2576819062232971, -0.24081678688526154, -0.11974354088306427, 0.13320136070251465, 0.10288935899734497, 1.0041110515594482, -0.10994774103164673, 0.19675160944461823, 0.20207345485687256, -0.1881360113620758, -0.18415959179401398, -0.3713512122631073, -0.06689770519733429, -0.167942076921463, -0.23904487490653992, 0.004345754627138376, -0.004042875021696091, 0.0968594178557396, 0.11307426542043686, -0.06191840022802353, -0.009628180414438248, -0.13724561035633087, -0.10441301763057709, 0.033554986119270325, 0.3859921991825104, -0.29342442750930786, -0.1438204050064087, -0.2021888792514801, 0.2690582871437073, 0.11948490142822266, 0.07771594822406769, -0.18743914365768433, -0.024926302954554558, 0.24247460067272186, 0.23377732932567596, 0.021287379786372185, -0.062407299876213074, -0.2664528787136078, 0.041156649589538574, -0.41986969113349915, -0.028569646179676056, -0.29944637417793274, -0.1687956601381302, 0.24088284373283386, 0.2007337361574173, 0.07681328058242798, 0.03687727823853493, 0.03854195401072502, -0.1455444097518921, -0.15816715359687805, -0.22572503983974457, 0.25175103545188904, -0.12092141807079315, 0.07713880389928818, 0.08292481303215027, 0.018956393003463745, -0.11445784568786621, -0.12858740985393524, 0.013028070330619812, -0.06896155327558517, -0.25539422035217285, -0.061908915638923645, 0.07022339105606079, -0.16715364158153534, -0.10185842961072922, 0.17750956118106842, 0.3008292615413666, 0.030938347801566124, 0.6885340809822083, -0.1851826310157776, -0.3014569580554962, -0.3031492829322815, 0.39879223704338074, 0.1751049906015396, 0.10343047231435776, 0.4534253776073456, 0.07856586575508118, -0.15314631164073944, -0.4767478406429291, 0.10260166227817535, -0.2116336077451706, -0.09865688532590866, 0.6322811841964722, -0.18480877578258514, -0.07737510651350021, 0.019879069179296494, 0.08047910034656525, -0.009120890870690346, -0.005630660802125931, -0.16500623524188995, -0.2246372103691101, -0.35052546858787537, -0.10618694126605988, 0.2831648290157318, 0.19373178482055664, 0.3172810673713684, 0.0993080586194992, 0.18245510756969452, 0.1912587583065033, -0.4344629943370819, -0.0347200483083725, -0.17506611347198486, 0.07984009385108948, 0.13847236335277557, -0.383041650056839, 0.08213582634925842, -0.0838150903582573, 0.16284072399139404, 0.35792049765586853, -0.1977711170911789, -0.3668181896209717, -0.178450807929039, 0.11967562884092331, -0.10701034963130951, 0.214016854763031, -0.22531405091285706, -0.4473768174648285, 0.023679109290242195, 0.005838005803525448, -0.07278551906347275, 0.11121033877134323, 0.017812704667448997, -0.4256862699985504, 0.1010105162858963, 0.18419727683067322, 0.10344666242599487, -0.15076316893100739, 0.35510826110839844, 0.09102948009967804, -0.1229359582066536, 0.0260772742331028, 0.05669086053967476, -0.12022218853235245, -0.19351719319820404, 0.21444270014762878, 0.19257189333438873, -0.1774016171693802, 0.25966599583625793, -0.3872328996658325, -0.2855242192745209, 0.14192979037761688, 0.28668978810310364, 0.5369225740432739, -0.10317671298980713, -0.2708948254585266, 0.32270121574401855, 0.305715411901474, -0.14957670867443085, 0.09609202295541763, 0.14001111686229706, -0.12667399644851685, 0.061559855937957764, 0.22972078621387482, -0.11672566086053848, -0.11908718198537827, -0.10149934142827988, 0.29781660437583923, 0.16536961495876312, -0.47403740882873535, -0.09462305903434753, 0.13056713342666626, 0.12326019257307053, 0.04048309847712517, 0.2806704640388489, 0.4910459518432617, 0.22933842241764069, 0.39443349838256836, 0.3131662905216217, 0.2160978466272354, 0.17428451776504517, 0.13458584249019623, -0.2655331492424011, -0.33960720896720886, -0.22527921199798584, 0.25675883889198303, -0.33956119418144226, 0.3412667512893677, -0.07291357219219208, 0.14583593606948853, 0.04293185845017433, -0.34349969029426575, -0.32245269417762756, 0.5409621596336365, -0.2987000346183777, -0.13014116883277893, -0.036995623260736465, -0.1869819015264511, 0.1711249053478241, 0.17106859385967255, 0.1824142187833786, -0.12397771328687668, 0.10548973828554153, 0.08387647569179535, 0.12834733724594116, -0.049972549080848694, 0.11695832014083862, -0.0009059590520337224, 0.03718981146812439, -0.18951354920864105, 0.055538881570100784, 0.03832739219069481, 0.16776317358016968, -0.3745045065879822, 0.14218586683273315, 0.1390310525894165, 0.21242789924144745, -0.011911822482943535, 0.21582043170928955, 0.07063600420951843, -0.17502419650554657, -0.34808316826820374, 0.23419998586177826, 0.17301860451698303, 0.38333097100257874, 0.5008166432380676, 0.20807792246341705, -0.23531030118465424, 0.04533539339900017, 0.27050450444221497, 0.28488796949386597, -0.20033591985702515, 0.1122167706489563, 0.27799203991889954, -0.1671251505613327, -0.21729224920272827, -0.24493786692619324, -0.5600847005844116, 0.010571387596428394, 0.42436355352401733, -0.5075369477272034, 0.1495358794927597, -0.1389307677745819, 0.14704297482967377, -0.3745460510253906, 0.5076078176498413, -0.18638204038143158, 0.08470419049263, 0.0037445714697241783, -0.24012069404125214, -0.27744024991989136, 0.06541614234447479, -0.2879224717617035, 0.032268647104501724, -0.08685918897390366, 0.2844926118850708, 0.18795384466648102, 0.032110415399074554, 0.12268492579460144, -0.19964855909347534, -0.18652185797691345, 0.3838067054748535, -0.22777828574180603, 0.13636010885238647, 0.12136257439851761, 0.11493213474750519, 0.08461887389421463, -0.33906710147857666, 0.4127652645111084, -0.08756212145090103, 0.25952622294425964, 0.23556986451148987, 0.03603464737534523, -0.32846084237098694, -0.0082000233232975, 0.29472169280052185, 0.06982215493917465, -0.2710930109024048, -0.17059563100337982, 0.09036947786808014, -0.10550893098115921, 0.3784421682357788, 0.033424295485019684, 0.005832597613334656, 0.4830738604068756, 0.2442110925912857, -0.32544031739234924, 0.18367856740951538, 0.12747187912464142, -0.1412453055381775, 0.23148618638515472, 0.05803070589900017, 0.3083823621273041, 0.032908372581005096, 0.16260579228401184, 0.40681758522987366, 0.1443263590335846, 0.434184730052948, 0.06886115670204163, 0.3369288444519043, -0.3830735683441162, -0.07962214201688766, 0.42773348093032837, -0.17293013632297516, -0.6221678256988525, -0.21093063056468964, 0.233267143368721, 0.438507080078125, -0.2554733455181122, -0.2824804484844208, 0.12050028890371323, 0.252770334482193, -0.1043810322880745, -0.2038675844669342, 0.37630516290664673, -0.34786051511764526, -0.24205107986927032, 0.07618559896945953, 0.3833170235157013, 0.1605052500963211, -0.18693281710147858, -0.03448536619544029, -0.03068830631673336 ]
https://github.com/huggingface/datasets/issues/1907
DBPedia14 Dataset Checksum bug?
Hi ! :) This looks like the same issue as https://github.com/huggingface/datasets/issues/1856 Basically google drive has quota issues that makes it inconvenient for downloading files. If the quota of a file is exceeded, you have to wait 24h for the quota to reset (which is painful). The error says that the checksum of the downloaded file doesn't match because google drive returns a text file with the "Quota Exceeded" error instead of the actual data file.
Hi there!!! I've been using successfully the DBPedia dataset (https://huggingface.co/datasets/dbpedia_14) with my codebase in the last couple of weeks, but in the last couple of days now I get this error: ``` Traceback (most recent call last): File "./conditional_classification/basic_pipeline.py", line 178, in <module> main() File "./conditional_classification/basic_pipeline.py", line 128, in main corpus.load_data(limit_train_examples_per_class=args.data_args.train_examples_per_class, File "/home/fp/dev/conditional_classification/conditional_classification/datasets_base.py", line 83, in load_data datasets = load_dataset(self.name, split=dataset_split) File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/load.py", line 609, in load_dataset builder_instance.download_and_prepare( File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 526, in download_and_prepare self._download_and_prepare( File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/builder.py", line 586, in _download_and_prepare verify_checksums( File "/home/fp/anaconda3/envs/conditional/lib/python3.8/site-packages/datasets/utils/info_utils.py", line 39, in verify_checksums raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k'] ``` I've seen this has happened before in other datasets as reported in #537. I've tried clearing my cache and call again `load_dataset` but still is not working. My same codebase is successfully downloading and using other datasets (e.g. AGNews) without any problem, so I guess something has happened specifically to the DBPedia dataset in the last few days. Can you please check if there's a problem with the checksums? Or this is related to any other stuff? I've seen that the path in the cache for the dataset is `/home/fp/.cache/huggingface/datasets/d_bpedia14/dbpedia_14/2.0.0/a70413e39e7a716afd0e90c9e53cb053691f56f9ef5fe317bd07f2c368e8e897...` and includes `d_bpedia14` instead maybe of `dbpedia_14`. Was this maybe a bug introduced recently? Thanks!
75
DBPedia14 Dataset Checksum bug?
[ -0.21355845034122467, 0.1921117603778839, -0.22225579619407654, 0.3268173933029175, -0.09893517941236496, 0.10934700816869736, 0.2549991011619568, 0.2960939109325409, -0.014966903254389763, -0.10270848870277405, 0.09896271675825119, -0.0651627853512764, 0.25208014249801636, 0.28404003381729126, -0.24825090169906616, 0.28846514225006104, 0.18187496066093445, 0.08744308352470398, -0.11651724576950073, -0.17818230390548706, -0.15711930394172668, -0.08420880883932114, -0.32198116183280945, -0.24356785416603088, -0.18698683381080627, 0.3080745041370392, 0.26759475469589233, 0.0618179626762867, -0.11397337913513184, -0.05904565006494522, 0.13824038207530975, 0.21302972733974457, -0.20425809919834137, 0.3001737594604492, -0.00010876727901631966, -0.17277728021144867, 0.3019731342792511, 0.026764752343297005, -0.35376158356666565, 0.5035507678985596, -0.5310640931129456, 0.02177441492676735, -0.05756359174847603, -0.033128414303064346, -0.0449819415807724, -0.2961847484111786, -0.21642445027828217, -0.051307741552591324, -0.060567378997802734, 0.10228756070137024, 0.286485493183136, 0.23272468149662018, -0.05990264192223549, -0.18890416622161865, -0.10621826350688934, 0.02138584852218628, 0.03880148008465767, -0.026216808706521988, -0.09480495750904083, -0.10715077817440033, -0.040563181042671204, 0.2676573693752289, 0.1442362666130066, 0.016047673299908638, 0.06745366752147675, -0.18561409413814545, -0.0722651556134224, -0.019188784062862396, 0.20777077972888947, 0.21830116212368011, 0.2589782774448395, -0.11093852669000626, -0.2594181299209595, -0.08740722388029099, -0.14208056032657623, -0.15348513424396515, 0.2269797921180725, 0.15432651340961456, -0.004840299487113953, -0.01989131048321724, -0.09853552281856537, 0.14824987947940826, 0.17815937101840973, -0.2298634648323059, -0.3744828701019287, 0.29592111706733704, -0.008308453485369682, -0.05200662463903427, -0.005892955232411623, 0.025068014860153198, 0.34045010805130005, 0.05570526421070099, -0.1469496339559555, -0.07124213129281998, -0.17515476047992706, -0.2660040259361267, 0.1321459859609604, 0.5095453262329102, 0.24623681604862213, 0.2633759081363678, -0.22143171727657318, 0.38762325048446655, -0.22787611186504364, -0.2068067193031311, 0.340243935585022, -0.2789067029953003, 0.04751395061612129, 0.30978497862815857, 0.2977093458175659, 0.01823882944881916, -0.016988160088658333, 0.10494258254766464, 0.2671821117401123, -0.04028673097491264, 0.2709285318851471, -0.0607597678899765, 0.03915771096944809, -0.4009383022785187, -0.33076080679893494, 0.3543873429298401, 0.3048645853996277, -0.21403135359287262, 0.16490091383457184, 0.25759682059288025, -0.2838049530982971, -0.07852865755558014, -0.22978805005550385, -0.04321618005633354, -0.13843627274036407, -0.4079824388027191, -0.3113781809806824, -0.2035071700811386, -0.012270930223166943, -0.05998366326093674, -0.046052467077970505, 0.14608882367610931, 0.31908708810806274, 0.09206682443618774, 0.153184175491333, 0.03858768194913864, 0.13883353769779205, -0.30270150303840637, 0.41872209310531616, 0.48237699270248413, -0.0934440866112709, 0.14944159984588623, -0.021084848791360855, -0.1621621698141098, 0.08354797959327698, 0.1164555624127388, -0.05753397196531296, 0.10665838420391083, -0.4289742708206177, 0.27884191274642944, -0.2469581812620163, -0.05727506801486015, -0.3063136041164398, -0.21330055594444275, 0.36136603355407715, -0.36438706517219543, 0.31505438685417175, -0.024115636944770813, -0.3509967029094696, 0.004327468108385801, -0.027503080666065216, 0.2898266017436981, -0.24622341990470886, 0.1885177195072174, -0.34408295154571533, -0.11216647177934647, 0.16728925704956055, 0.13550108671188354, -0.12857379019260406, 0.2088177651166916, -0.3235703706741333, -0.011743091978132725, 0.2798099219799042, -0.47668755054473877, -0.48645418882369995, 0.00396618340164423, 0.20013611018657684, 0.023684140294790268, -0.09072695672512054, -0.19190530478954315, 0.23525218665599823, -0.28893476724624634, 0.0746450424194336, -0.05741501972079277, 0.08675377815961838, 0.0698322281241417, -0.458795964717865, 0.12853163480758667, 0.3982989192008972, -0.08704378455877304, 0.0993339791893959, 0.0509968064725399, 0.21891912817955017, 0.32536640763282776, 0.19054779410362244, 0.03571922332048416, -0.048808079212903976, 0.07423371076583862, 0.21525761485099792, -0.07713518291711807, 0.06969484686851501, -0.20810788869857788, -0.1450238823890686, 0.006491797976195812, -0.12776915729045868, 0.09568292647600174, 0.03942897170782089, -0.09329870343208313, -0.2720184028148651, -0.05754851922392845, -0.2970447242259979, -0.06375855207443237, 0.25298774242401123, 0.2197996824979782, -0.1280624121427536, 0.15141882002353668, 0.06188905984163284, -0.061736252158880234, -0.2994906008243561, -0.09813414514064789, -0.007886716164648533, 0.12504006922245026, 0.02056931145489216, -0.017717979848384857, -0.05066380277276039, 0.1013767272233963, 0.031666483730077744, 0.01953803189098835, 0.011733942665159702, 0.31041815876960754, 0.35451146960258484, -0.15029917657375336, 0.11883563548326492, 0.34129762649536133, 0.3012130856513977, -0.10589389503002167, -0.19725404679775238, 0.2878269553184509, 0.21771001815795898, -0.046427931636571884, -0.24728789925575256, 0.3739563226699829, -0.1768646389245987, -0.22014077007770538, 0.06943031400442123, -0.05874866619706154, 0.5767319202423096, -0.018358292058110237, -0.10354244709014893, -0.49344709515571594, -0.20585505664348602, 0.10895252972841263, -0.049286723136901855, 0.2577631175518036, 0.03709058836102486, 0.26232776045799255, 0.44426169991493225, 0.022524677217006683, 0.11221961677074432, -0.15145990252494812, 0.21384406089782715, -0.19027018547058105, 0.16449037194252014, 0.43591347336769104, 0.4544451832771301, 0.08818843215703964, 0.18817563354969025, 0.04330655559897423, -0.09651822596788406, -0.04350369796156883, -0.19802378118038177, -0.1877647042274475, 0.026134446263313293, 0.2709512710571289, 0.036390021443367004, -0.19383521378040314, -0.2586238980293274, 0.12707531452178955, 0.28617534041404724, 0.33651331067085266, -0.3050469160079956, -0.08228088915348053, -0.28696730732917786, -0.41370469331741333, -0.2556156516075134, 0.06212920695543289, -0.06547853350639343, -0.45656004548072815, 0.13785305619239807, 0.14836986362934113, -0.07517021894454956, 0.12240856885910034, -0.41921886801719666, 0.1193833276629448, 0.155421644449234, -0.03940114751458168, -0.011218474246561527, 0.12821342051029205, -0.08392561227083206, 0.09064873307943344, 0.332165390253067, 0.37780383229255676, 0.3960498571395874, -0.27589818835258484, -0.0836673155426979, -0.4409583508968353, -0.4323827624320984, 0.17120803892612457, 0.1354219913482666, 0.25778672099113464, 0.17884361743927002, 0.18740534782409668, 0.0686986893415451, -0.14714621007442474, 0.05824357643723488, 0.14698217809200287, -0.18976126611232758, -0.016786305233836174, -0.02644425816833973, 0.020529884845018387, -0.06306787580251694, 0.058510687202215195, 0.10778719186782837, 0.02700396254658699, -0.08157877624034882, 0.1481320708990097, 0.08194365352392197, -0.07261887937784195, -0.27646636962890625, -0.1438336819410324, -0.01038908027112484, 0.16389420628547668, -0.4522036015987396, -0.18245795369148254, 0.10575006902217865, -0.2570997178554535, -0.4890300929546356, -0.05513974279165268, -0.04615398123860359, 0.3051794469356537, -0.14382244646549225, -0.23470152914524078, 0.010828591883182526, -0.14022937417030334, 0.10902813822031021, 0.239895299077034, -0.2272080034017563, 0.23877593874931335, -0.10407789796590805, -0.08274665474891663, -0.25002315640449524, -0.03322076424956322, 0.09676163643598557, -0.18490225076675415, 0.37567266821861267, -0.29267653822898865, -0.19879186153411865, 0.00415125722065568, 0.05125782638788223, 0.36555230617523193, -0.04478496313095093, 0.2534307539463043, -0.1482282131910324, 0.4542388916015625, -0.2882597744464874, -0.22891616821289062, -0.18707825243473053, 0.0804125964641571, 0.021508680656552315, 0.1795651912689209, -0.2983396351337433, -0.36839810013771057, 0.06754586845636368, -0.07939272373914719, -0.36829715967178345, -0.2136811465024948, -0.079213447868824, -0.36374184489250183, -0.055282484740018845, 0.1969354897737503, 0.10770661383867264, 0.15916059911251068, -0.2592891752719879, 0.12405005842447281, -0.035493526607751846, -0.0602598674595356, -0.2512953281402588, -0.32612165808677673, 0.01929418183863163, 0.29933059215545654, 0.005461735185235739, -0.024711785838007927, 0.6690024733543396, 0.043465279042720795, -0.3166165351867676, -0.11808827519416809, 0.013828112743794918, 0.3327210545539856, -0.4207829236984253, 0.4963442087173462, -0.07562294602394104, 0.12047150731086731, 0.07229503989219666, -0.21862700581550598, -0.14360594749450684, 0.07468827813863754, 0.14558088779449463, 0.38127923011779785, -0.31679433584213257, -0.002639652928337455, 0.39973923563957214, 0.06877397000789642, -0.20850113034248352, 0.08807635307312012, -0.3293580412864685, -0.09453433007001877, 0.13075876235961914, 0.15819858014583588, 0.20447967946529388, 0.1308504343032837, -0.08733247220516205, -0.17529483139514923, -0.08739673346281052, -0.02380438521504402, -0.012172892689704895, 0.23715956509113312, 0.20078910887241364, 0.04159532114863396, 0.3371959328651428, -0.051831942051649094, -0.07310191541910172, 0.49726542830467224, 0.32254961133003235, 0.0007522804080508649, -0.1917870193719864, 0.20048026740550995, -0.3829050660133362, 0.10399366170167923, 0.19241635501384735, -0.06865434348583221, 0.06082611158490181, 0.3131564259529114, -0.14556199312210083, -0.1785092055797577, -0.03944731876254082, -0.0015368034364655614, 0.02223064750432968, -0.3177073001861572, -0.2309214174747467, -0.24120202660560608, 0.03123430535197258, -0.05411123111844063, 0.35013991594314575, 0.13010652363300323, -0.06135953590273857, 0.30859389901161194, 0.16399520635604858, 0.5906498432159424, 0.060081351548433304, -0.16035820543766022, -0.16417764127254486, -0.22193166613578796, -0.14355961978435516, -0.17795349657535553, -0.03833724930882454, -0.37588009238243103, -0.6711127161979675, -0.038770947605371475, 0.04948129877448082, 0.24570982158184052, -0.24318361282348633, 0.15480923652648926, 0.12341821193695068, 0.03781639412045479, 0.09085244685411453, -0.027567919343709946, 0.0672774612903595, -0.08194157481193542, 0.09687328338623047, -0.0921740010380745, 0.1855652928352356, 0.2826283574104309, -0.035570383071899414, -0.29101496934890747, -0.05405378341674805, -0.02779383584856987, -0.22932904958724976, -0.3960687220096588, -0.0757867693901062, 0.13030315935611725, -0.07380055636167526, 0.26557424664497375, 0.08907707035541534, -0.41310641169548035, 0.16510063409805298, 0.09445983916521072, 0.2979016900062561, -0.14980880916118622, 0.1477944552898407, 0.1280437856912613, 0.26366323232650757, 0.19403524696826935, -0.05166275054216385, 0.3944292664527893, -0.1595212072134018, -0.31108424067497253, -0.0779585987329483, -0.05415777862071991, -0.34635141491889954, 0.1274101883172989, 0.35989245772361755, -0.42441579699516296, -0.2576446533203125, -0.04319463297724724, -0.040928009897470474, 0.04859178885817528, -0.20508459210395813, 0.23315775394439697, 0.03950226679444313, -0.018722783774137497, 0.28234434127807617, 0.25889867544174194, -0.4407026171684265, -0.2639404535293579, 0.6981841325759888, 0.12715812027454376, -0.023005466908216476, 0.15569369494915009, -0.2896070182323456, -0.23441125452518463, -0.3301147222518921, 0.04484608769416809, 0.1347009390592575, -0.22764964401721954, -0.0637042447924614, -0.4402011036872864, -0.04121557995676994, -0.000985252670943737, 0.5310136675834656, 0.13471290469169617, 0.001236969605088234, -0.15652668476104736, -0.5586861371994019, -0.003499086946249008, -0.0489204041659832, -0.09473603218793869, -0.006683103274554014, -0.24715553224086761, 0.051952630281448364, 0.14838914573192596, -0.2115083783864975, -0.36158299446105957, -0.0743495523929596, -0.28452789783477783, 0.11281904578208923, -0.36931607127189636, 0.15585272014141083, -0.039171747863292694, -0.11662552505731583, 0.20799937844276428, 0.21652792394161224, 0.0670183002948761, -0.2751599848270416, 0.021773353219032288, 0.09239412099123001, 0.11347474157810211, -0.017365437000989914, 0.04589890316128731, 0.09229852259159088, -0.17935460805892944, 0.013878850266337395, 0.0002106042084051296, -0.07444542646408081, 0.008014564402401447, 0.27772587537765503, 0.3970031440258026, 0.101438507437706, 0.10768057405948639, -0.22798337042331696, 0.09312447905540466, -0.008325876668095589, -0.045899081975221634, 0.12438014894723892, -0.15439735352993011, -0.00676754442974925, 0.3593170642852783, 0.03274849057197571, -0.2109212875366211, 0.17875145375728607, 0.19469328224658966, -0.2722342610359192, 0.04552847519516945, 0.5562605261802673, 0.5564175248146057, 0.5744832158088684, -0.2850092351436615, -0.3501266837120056, 0.0817534327507019, 0.27100950479507446, -0.42458611726760864, -0.24918191134929657, 0.4393121302127838, 0.17639125883579254, 0.08178024739027023, 0.30961373448371887, 0.46168583631515503, -0.38409221172332764, 0.3659350574016571, 0.10986217856407166, 0.05599917843937874, -0.6069294214248657, 0.2031201720237732, 0.4543536603450775, -0.29989874362945557, 0.07862938195466995, 0.36785244941711426, -0.07757490873336792, -0.1877942830324173, 0.6438066363334656, 0.28685078024864197, 0.16026939451694489, 0.059543877840042114, 0.1073206290602684, -0.21555334329605103, -0.4525485038757324, 0.6341935396194458, 0.18958443403244019, 0.12276028096675873, 0.06286788731813431, 0.3117963969707489, -0.053866829723119736, 0.1510322242975235, -0.02128876931965351, -0.4299870729446411, -0.20095178484916687, -0.34879305958747864, 0.04543587565422058, 0.20380237698554993, -0.24677224457263947, -0.06498706340789795, 0.09029223024845123, 0.20434735715389252, 0.16690444946289062, 0.2558915615081787, -0.0883825495839119, -0.3208363652229309, -0.2829139232635498, 0.28225255012512207, -0.20610955357551575, -0.06466221064329147, -0.26974722743034363, 0.20744886994361877, 0.09917422384023666, 0.1713487207889557, 0.21935713291168213, 0.17932432889938354, 0.04926997423171997, 0.2800445854663849, 0.22040428221225739, -0.22340098023414612, -0.14127029478549957, -0.061558954417705536, -0.21242259442806244, 0.5715435743331909, 0.23365384340286255, 0.27107173204421997, 0.14617972075939178, 0.21012775599956512, -0.16996121406555176, 0.2959772050380707, 0.2256605625152588, 0.12426512688398361, -0.014687695540487766, 0.1961243897676468, 0.027073493227362633, 0.05157152935862541, -0.11891190707683563, 0.015502138994634151, -0.06291276216506958, -0.15079760551452637, 0.19655589759349823, 0.004629765637218952, 0.2725253403186798, -0.10424073040485382, 0.12687085568904877, 0.13509464263916016, 0.4701990783214569, 0.04972774162888527, -0.07501469552516937, 0.07300183922052383, -0.3109704256057739, -0.5207688808441162, 0.19344718754291534, 0.03226407244801521, 0.3135998547077179, 0.0026139954570680857, 0.44082725048065186, -0.011143961921334267, 0.07781176269054413, 0.37126120924949646, -0.5299870371818542, 0.16665183007717133, 0.12883371114730835, -0.16387709975242615, -0.16147319972515106, -0.2817530035972595, -0.04015795886516571, -0.08373627066612244, -0.3263978958129883, 0.5250037312507629, 0.014050072990357876, 0.25360390543937683, 0.14164920151233673, -0.49167948961257935, -0.04381673038005829, 0.1586490124464035, 0.3165305554866791, 0.10371414572000504, 0.6327131390571594, -0.08349253237247467, 0.09999683499336243, -0.22326375544071198, 0.17987275123596191, -0.0016011284897103906, 0.6054970026016235, 0.12123764306306839, -0.18191304802894592, 0.15982621908187866, 0.13364407420158386, -0.04128977656364441, 0.4222347140312195, 0.20375774800777435, -0.14938759803771973, -0.4693456292152405, 0.02153688482940197, 0.08483374863862991, -0.31616467237472534, -0.28536635637283325, -0.10932464897632599, -0.1040123775601387, 0.24462100863456726, 0.14398892223834991, -0.2138921320438385, 0.18704082071781158, -0.205840602517128, -0.016302064061164856, -0.37260663509368896, 0.2871054708957672, -0.012180989608168602, -0.4933541417121887, -0.6933292746543884, -0.022458087652921677, 0.345675528049469, -0.09973382204771042, -0.027922550216317177, 0.1761585921049118, -0.22428400814533234, 0.2655041217803955, -0.012546826153993607, 0.6358690857887268, -0.10511630773544312, -0.26926329731941223, 0.13425596058368683, 0.004966995678842068 ]
https://github.com/huggingface/datasets/issues/1906
Feature Request: Support for Pandas `Categorical`
We already have a ClassLabel type that does this kind of mapping between the label ids (integers) and actual label values (strings). I wonder if actually we should use the DictionaryType from Arrow and the Categorical type from pandas for the `datasets` ClassLabel feature type. Currently ClassLabel corresponds to `pa.int64()` in pyarrow and `dtype('int64')` in pandas (so the label names are lost during conversions). What do you think ?
``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws NotImplementedError # TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table ``` I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`? e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept: ``` index_type = generate_from_arrow_type(pa_type.index_type) value_type = generate_from_arrow_type(pa_type.value_type) ``` and then additional code points to modify: - FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694 - A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719 - I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755 - Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775 I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
69
Feature Request: Support for Pandas `Categorical`
[ -0.32757768034935, 0.20318035781383514, -0.35378581285476685, -0.2496234029531479, 0.35286837816238403, 0.10377136617898941, 0.36551740765571594, 0.28902047872543335, 0.14740867912769318, 0.08987715095281601, -0.1414341777563095, 0.20661742985248566, -0.18350331485271454, 0.35571739077568054, -0.09975580126047134, -0.20550094544887543, 0.19685038924217224, 0.19211822748184204, 0.1305387020111084, 0.11328081041574478, -0.34998348355293274, 0.14289869368076324, -0.04701722413301468, 0.16905760765075684, -0.1908949762582779, -0.13192424178123474, -0.2142648994922638, -0.18946152925491333, -0.19452504813671112, -0.5316623449325562, 0.32346558570861816, 0.1822996884584427, -0.0013188854791224003, 0.2668364644050598, -0.00009622595825931057, -0.1385950893163681, 0.10855905711650848, 0.15837803483009338, 0.11422383040189743, -0.09750020503997803, -0.09727500379085541, -0.23653466999530792, 0.15799327194690704, -0.07900069653987885, -0.10818549990653992, -0.2104077935218811, 0.10381320863962173, -0.08776045590639114, -0.06496132910251617, -0.04306808114051819, 0.3188447952270508, -0.10385650396347046, 0.04194452241063118, -0.06083114445209503, -0.04899248480796814, 0.04741406440734863, -0.20972797274589539, 0.11463107168674469, 0.23366263508796692, -0.39842236042022705, -0.0012754341587424278, 0.2171284258365631, 0.19390298426151276, -0.1839599907398224, -0.08928675949573517, -0.13374309241771698, 0.26580920815467834, -0.27386635541915894, -0.14194168150424957, 0.19234344363212585, 0.3329928517341614, -0.2464672327041626, -0.46778106689453125, -0.09582916647195816, -0.11542031168937683, -0.1348573863506317, -0.051280297338962555, 0.20756959915161133, -0.034643251448869705, 0.17433404922485352, 0.615746259689331, 0.006134147755801678, -0.07981976121664047, 0.039649318903684616, -0.21847809851169586, 0.307029664516449, 0.07179153710603714, -0.4717484414577484, 0.2359980344772339, -0.06429415941238403, 0.026476413011550903, 0.08808063715696335, -0.01652088575065136, 0.13074298202991486, -0.41117238998413086, -0.2977924644947052, 0.0720607191324234, -0.07491349428892136, -0.10296861082315445, -0.05079922080039978, 0.22775131464004517, 0.3355737030506134, -0.34208589792251587, 0.08414429426193237, 0.29828810691833496, 0.13208112120628357, -0.07738928496837616, -0.07867623120546341, 0.18975047767162323, 0.0816691666841507, -0.008530179969966412, -0.03163671866059303, -0.12268874049186707, -0.1579935997724533, -0.20406654477119446, 0.17744068801403046, 0.05282849073410034, 0.178781658411026, -0.21320244669914246, -0.08077505975961685, 0.22160889208316803, -0.1018638163805008, -0.14333927631378174, 0.18842485547065735, -0.08469133079051971, 0.3875415623188019, -0.17274942994117737, 0.026980023831129074, 0.007018696516752243, -0.002747775986790657, -0.12245146185159683, 0.22825351357460022, 0.009216156788170338, -0.29216882586479187, 0.049819108098745346, -0.0074547091498970985, -0.10919873416423798, -0.08099483698606491, 0.1848675012588501, 0.24567192792892456, -0.2339097261428833, -0.12328943610191345, -0.12328706681728363, 0.0227446760982275, -0.3437058925628662, -0.3285006284713745, 0.05960243567824364, 0.01709870621562004, -0.1660594344139099, 0.19086042046546936, 0.33764520287513733, -0.12700490653514862, -0.504740834236145, 0.26235631108283997, 0.04195438325405121, -0.0777820274233818, 0.2021094113588333, 0.5469653606414795, -0.21420122683048248, -0.009482919238507748, 0.252524197101593, 0.13312605023384094, 0.017383083701133728, -0.10012546926736832, -0.2629813849925995, 0.10747131705284119, -0.36062055826187134, -0.04886195808649063, -0.010726312175393105, -0.02627788484096527, 0.002778042107820511, 0.050807543098926544, 0.025512199848890305, -0.3388539254665375, 0.3512387275695801, 0.1589866280555725, 0.45080453157424927, -0.05177526921033859, -0.14865118265151978, 0.031049789860844612, 0.1334085613489151, 0.021582866087555885, 0.2393515259027481, 0.1427391767501831, -0.12680640816688538, -0.05624207854270935, -0.056566301733255386, 0.08402495086193085, 0.0934339165687561, 0.03795982897281647, -0.03429512679576874, -0.3290339708328247, 0.2934107184410095, 0.17880360782146454, 0.2626141607761383, 0.15112777054309845, 0.2471408098936081, -0.1300167292356491, 0.24944914877414703, -0.1070370003581047, -0.1776476502418518, -0.30402126908302307, 0.6727820038795471, 0.23525208234786987, 0.15446650981903076, -0.5502912998199463, 0.20586618781089783, -0.02833889238536358, 0.03625015541911125, 0.22536413371562958, 0.058235034346580505, -0.4231133460998535, -0.07465735822916031, 0.05769329518079758, 0.1219596341252327, 0.12115544825792313, 0.2718059718608856, -0.13775770366191864, 0.03206604719161987, 0.4573715925216675, -0.20754531025886536, 0.3368700444698334, -0.11743662506341934, 0.08246065676212311, 0.28950235247612, 0.06742603331804276, -0.001268880907446146, -0.12102213501930237, 0.25155189633369446, 0.14512275159358978, -0.07512509822845459, 0.005144833587110043, 0.08229031413793564, 0.17408563196659088, -0.08747352659702301, -0.021574081853032112, -0.08708344399929047, 0.2675020396709442, 0.23212631046772003, 0.2952779531478882, -0.15276652574539185, 0.23333683609962463, 0.15362322330474854, 0.26672637462615967, -0.15943551063537598, 0.2779049873352051, -0.2939867079257965, -0.13596166670322418, 0.21954648196697235, 0.12436436861753464, 0.4294971227645874, 0.08777448534965515, -0.14865918457508087, -0.1664239764213562, -0.06828078627586365, -0.11269932240247726, -0.4421096444129944, -0.05913897976279259, -0.5601224303245544, 0.1869347095489502, 0.3565736711025238, 0.06138158217072487, 0.42689305543899536, -0.043404221534729004, 0.22379949688911438, 0.060800082981586456, 0.42150065302848816, 0.037672217935323715, 0.1483525186777115, 0.27585047483444214, -0.07561063021421432, -0.028537612408399582, -0.21081885695457458, -0.08807522058486938, 0.2755972743034363, -0.08702587336301804, -0.3632763922214508, -0.13538792729377747, 0.28911420702934265, -0.008661532774567604, -0.36482012271881104, -0.12913310527801514, -0.12055107951164246, -0.06746219843626022, -0.020055964589118958, -0.01751532033085823, -0.17257675528526306, -0.2914980947971344, 0.49722734093666077, -0.35335180163383484, 0.1612423062324524, -0.2899472713470459, 0.2643206715583801, 0.13676603138446808, -0.07819627970457077, 0.15903286635875702, -0.5333462357521057, 0.38894224166870117, 0.11429927498102188, 0.1691618263721466, -0.15456177294254303, -0.26206567883491516, 0.250763863325119, 0.3253624737262726, -0.16848938167095184, -0.1296405792236328, 0.17025870084762573, -0.0771961510181427, 0.2633112072944641, 0.09266508370637894, -0.37159740924835205, 0.021994199603796005, 0.006844970863312483, 0.036781907081604004, 0.06971857696771622, -0.09672363102436066, -0.2956829071044922, -0.21375668048858643, 0.051293179392814636, -0.016246605664491653, -0.020455772057175636, -0.2347557246685028, 0.03406105935573578, -0.022569388151168823, -0.23754659295082092, -0.16447481513023376, -0.2403796911239624, -0.5172757506370544, 0.42259645462036133, -0.08402233570814133, 0.03978731110692024, 0.07170330733060837, 0.1820535659790039, -0.2639857232570648, -0.11561189591884613, -0.1422632932662964, -0.16379989683628082, 0.1053052544593811, 0.36060628294944763, -0.24977834522724152, -0.278660386800766, -0.18639959394931793, -0.21153831481933594, 0.16460084915161133, 0.054688967764377594, -0.02828475646674633, -0.29801589250564575, -0.2837265431880951, 0.1235099658370018, 0.10092411190271378, 0.03232363611459732, 0.15350890159606934, 0.37628746032714844, -0.31930625438690186, 0.05333714559674263, 0.038550492376089096, -0.15396691858768463, 0.2531341314315796, -0.19205377995967865, -0.07628881931304932, 0.1773797571659088, 0.4667702317237854, 0.014494596049189568, -0.30921924114227295, 0.044132329523563385, 0.5082802176475525, -0.1178034320473671, 0.36499854922294617, 0.14464260637760162, -0.5545607805252075, -0.22413310408592224, -0.2787381112575531, 0.32754412293434143, 0.064360611140728, -0.08395477384328842, -0.3922312557697296, -0.175090029835701, -0.2531260848045349, -0.2362765520811081, 0.030322879552841187, -0.04142110049724579, -0.310663640499115, 0.2602066695690155, 0.13739675283432007, -0.1570858657360077, -0.26110923290252686, 0.02635570429265499, 0.14043587446212769, 0.30815184116363525, 0.14810606837272644, -0.25320208072662354, 0.10766063630580902, -0.26324355602264404, -0.16679725050926208, 0.11541229486465454, 0.2832777202129364, 0.037019990384578705, 0.0572669543325901, -0.0338536761701107, -0.15611602365970612, -0.028696857392787933, 0.43979257345199585, 0.0239863358438015, -0.28690287470817566, 0.10537763684988022, -0.3927794396877289, -0.1877562254667282, 0.16242530941963196, -0.035080958157777786, -0.14572280645370483, -0.024634454399347305, -0.1796899437904358, -0.0011350071290507913, 0.11223877221345901, 0.03487104922533035, -0.34731200337409973, -0.14706094563007355, -0.19749639928340912, -0.13087181746959686, 0.014128796756267548, -0.15793165564537048, -0.06347675621509552, 0.2692020535469055, -0.023652952164411545, -0.015281081199645996, -0.2157292515039444, -0.23787425458431244, -0.3123406767845154, 0.3004651963710785, 0.08080368489027023, -0.25039321184158325, 0.1008317694067955, -0.14375396072864532, -0.34459033608436584, 0.03775222226977348, -0.15995477139949799, 0.2242119014263153, 0.03369525820016861, -0.38914766907691956, -0.1352790892124176, 0.14838746190071106, 0.3406420648097992, 0.19304712116718292, -0.1305007040500641, 0.054708339273929596, -0.4130041003227234, -0.07736100256443024, -0.09285673499107361, 0.12056676298379898, 0.2961682379245758, 0.20791161060333252, 0.22728294134140015, -0.5057309865951538, 0.17577697336673737, -0.10602539032697678, -0.05741839110851288, 0.08756730705499649, 0.33819401264190674, -0.1191568374633789, -0.018041357398033142, 0.12320946902036667, 0.6179612278938293, 0.02340843342244625, 0.14172159135341644, 0.2078123837709427, -0.09361357986927032, 0.45501649379730225, 0.008753439411520958, 0.5104578137397766, -0.17196650803089142, -0.19833162426948547, -0.09197279810905457, 0.12736289203166962, 0.3556765615940094, 0.2007538378238678, -0.24239392578601837, 0.09705827385187149, 0.09629157185554504, -0.10414697974920273, 0.08893517404794693, 0.07021210342645645, -0.31764230132102966, -0.04559200629591942, -0.5227135419845581, 0.23440565168857574, 0.31846821308135986, -0.24095098674297333, -0.1285296380519867, -0.08630935102701187, 0.009428313001990318, 0.12514160573482513, -0.14247815310955048, -0.15151837468147278, -0.11664698272943497, 0.17354542016983032, -0.11798755079507828, 0.07545600086450577, 0.12200342118740082, 0.018880851566791534, 0.3418583273887634, -0.11430633813142776, 0.06533157080411911, 0.04423629492521286, -0.0040419260039925575, -0.09932754188776016, -0.13556122779846191, 0.02173161320388317, 0.3980835974216461, -0.1442512720823288, -0.015553808771073818, -0.060677267611026764, 0.22259201109409332, -0.13162438571453094, -0.3874000310897827, 0.16565926373004913, -0.29161158204078674, -0.32639941573143005, 0.060807839035987854, -0.21531085669994354, 0.07478324323892593, -0.15999582409858704, 0.32192471623420715, 0.08994577080011368, 0.2891691029071808, 0.23958273231983185, -0.05740503594279289, 0.24151837825775146, -0.32866063714027405, 0.014465763233602047, 0.08908957242965698, 0.3243104815483093, -0.10365692526102066, -0.20433664321899414, -0.32412779331207275, -0.18747442960739136, -0.247065007686615, 0.12936265766620636, -0.17596715688705444, 0.1896388977766037, -0.16552864015102386, -0.4878578186035156, -0.11301737278699875, 0.22810672223567963, 0.11257895827293396, 0.2353850156068802, -0.21049773693084717, -0.05320949852466583, -0.08680359274148941, 0.1689044088125229, -0.17002719640731812, 0.2548166811466217, -0.06498382240533829, 0.22413212060928345, -0.0677974745631218, -0.048624541610479355, -0.4718347489833832, -0.21254928410053253, 0.09690000116825104, -0.10984474420547485, 0.10664958506822586, 0.016601720824837685, 0.0231259074062109, 0.1279691457748413, 0.31196582317352295, 0.32238733768463135, 0.05470796301960945, -0.32487568259239197, -0.07524959743022919, 0.010118772275745869, -0.009362028911709785, 0.20319724082946777, 0.15605543553829193, 0.11139581352472305, -0.4388130307197571, -0.05416199564933777, -0.16637633740901947, 0.03016376681625843, -0.20271027088165283, 0.32706087827682495, -0.07287976890802383, -0.2076597809791565, 0.28819239139556885, 0.06390716880559921, -0.0392780527472496, 0.2491462677717209, 0.2074742466211319, 0.1643150895833969, 0.03567597642540932, 0.1773206889629364, 0.23979374766349792, 0.14637751877307892, -0.05203648656606674, -0.08211573958396912, 0.3630613088607788, 0.12395644932985306, -0.25657787919044495, 0.03544017672538757, 0.24118086695671082, 0.06282906979322433, 0.16260695457458496, 0.11704494804143906, 0.16087035834789276, 0.3533456027507782, -0.5990197658538818, -0.2924710512161255, 0.06458444148302078, -0.04045596346259117, 0.38141748309135437, 0.3451530337333679, 0.4882989823818207, -0.013984385877847672, 0.2908371090888977, 0.0532718226313591, 0.08967659622430801, 0.08589228987693787, 0.10267095267772675, 0.30641892552375793, 0.10201548784971237, 0.0005058786482550204, 0.3112272322177887, 0.22460147738456726, 0.15073330700397491, 0.4241573214530945, 0.1342722624540329, -0.05959109961986542, 0.0897531658411026, -0.02804885432124138, 0.04785085469484329, 0.1549026072025299, 0.20748725533485413, 0.10883785784244537, -0.11695452034473419, 0.11714976280927658, 0.3013262450695038, 0.1490580141544342, -0.1132219135761261, 0.32425329089164734, -0.12284228950738907, 0.08891158550977707, 0.02608633041381836, -0.13858608901500702, 0.3509206473827362, -0.13620856404304504, -0.07663671672344208, -0.11681979894638062, 0.09004230797290802, 0.00791472289711237, 0.33376625180244446, -0.26411107182502747, 0.2588619887828827, -0.019655507057905197, 0.017998648807406425, 0.052488282322883606, 0.5337791442871094, -0.08321654051542282, -0.30153435468673706, 0.1714903563261032, -0.21946021914482117, -0.005213186144828796, 0.38560950756073, 0.293870747089386, 0.0658445730805397, -0.06469518691301346, -0.2995368242263794, -0.4689876437187195, -0.161418616771698, -0.0392799973487854, 0.2206251174211502, 0.20485320687294006, 0.37773630023002625, 0.029119914397597313, 0.2533600330352783, -0.2527667284011841, 0.1416492760181427, -0.03036624751985073, 0.1320856213569641, -0.44971904158592224, 0.32231128215789795, 0.11803760379552841, -0.05286495015025139, 0.13130462169647217, 0.05547112971544266, -0.10709500312805176, -0.4328880310058594, -0.001308154664002359, -0.27244019508361816, 0.023975221440196037, -0.2341153621673584, 0.19098129868507385, 0.25358060002326965, 0.03582712635397911, -0.19083456695079803, 0.21445323526859283, 0.4449036717414856, -0.06430631130933762, -0.3093113899230957, 0.022000888362526894, 0.24797125160694122, -0.01631760038435459, 0.10929474234580994, 0.07028447091579437, 0.10084535926580429, 0.26375436782836914, -0.10105108469724655, -0.28951528668403625, 0.005945868324488401, 0.011796428821980953, -0.21993353962898254, -0.03923632949590683, -0.023609479889273643, 0.19877831637859344, -0.07261137664318085, -0.02671714313328266, 0.13037395477294922, -0.23447230458259583, 0.19787445664405823, -0.05679195001721382, -0.0009473760146647692, -0.2525332570075989, 0.0627196654677391, 0.29769837856292725, 0.08947425335645676, -0.008153948001563549, -0.17574793100357056, 0.0027596247382462025, 0.0827990248799324, 0.010358092375099659, -0.12862402200698853, 0.21718701720237732, 0.2746846079826355, 0.23914775252342224, -0.20556730031967163, -0.3237541615962982, 0.1731903851032257, 0.3515598177909851, 0.23259660601615906, 0.007644821889698505, -0.024344537407159805, 0.10252934694290161, -0.030413933098316193, -0.33053067326545715, -0.13089030981063843, 0.3181471824645996, -0.1470244824886322, 0.09894374012947083, 0.1568322777748108, -0.45533448457717896, -0.005065659061074257, -0.34562069177627563, -0.4380345642566681, -0.3179231584072113, -0.15693692862987518, 0.24733172357082367, 0.04917269945144653, -0.01744544692337513, 0.003152713645249605, 0.09719832241535187, 0.3156135678291321, 0.14217916131019592, 0.1255185455083847, -0.12491004914045334, -0.16707445681095123, -0.22219175100326538, -0.1916075348854065, -0.019385889172554016, 0.23627029359340668, -0.041775912046432495, -0.17570364475250244 ]
https://github.com/huggingface/datasets/issues/1906
Feature Request: Support for Pandas `Categorical`
Now that I've heard you explain ClassLabel, that makes a lot of sense! While DictionaryType for Arrow (I think) can have arbitrarily typed keys, so it won't cover all potential cases, pandas' Category is *probably* the most common use for that pyarrow type, and ClassLabel should match that perfectly? Other thoughts: - changing the resulting patype on ClassLabel might be backward-incompatible? I'm not totally sure if users of the `datasets` library tend to directly access the `patype` attribute (I don't think we really do, but we haven't been using it for very long yet). - would ClassLabel's dtype change to `dict[int64, string]`? It seems like in practice a ClassLabel (when not explicitly specified) would be constructed from the DictionaryType branch of `generate_from_arrow_type`, so it's not totally clear to me that anyone ever actually accesses/uses that dtype? - I don't quite know how `.int2str` and `.str2int` are used in practice - would those be kept? Perhaps the implementation might actually be substantially smaller if we can just delegate to pyarrow's dict methods? Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else. In practice, I don't think this would be backward-incompatible in a way anyone would care about since the current behavior just throws an exception, and this way, we could support *reading* a pandas Categorical into a `Dataset` as a ClassLabel. I *think* from there, while it would require some custom glue it wouldn't be too hard to convert the ClassLabel into a pandas Category if we want to go back - I think this would improve on the current behavior without risking changing the behavior of ClassLabel in a backward-incompat way. Thoughts? I'm not sure if this is overly cautious. Whichever approach you think is better, I'd be happy to take it on!
``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws NotImplementedError # TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table ``` I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`? e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept: ``` index_type = generate_from_arrow_type(pa_type.index_type) value_type = generate_from_arrow_type(pa_type.value_type) ``` and then additional code points to modify: - FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694 - A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719 - I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755 - Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775 I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
319
Feature Request: Support for Pandas `Categorical`
[ -0.32757768034935, 0.20318035781383514, -0.35378581285476685, -0.2496234029531479, 0.35286837816238403, 0.10377136617898941, 0.36551740765571594, 0.28902047872543335, 0.14740867912769318, 0.08987715095281601, -0.1414341777563095, 0.20661742985248566, -0.18350331485271454, 0.35571739077568054, -0.09975580126047134, -0.20550094544887543, 0.19685038924217224, 0.19211822748184204, 0.1305387020111084, 0.11328081041574478, -0.34998348355293274, 0.14289869368076324, -0.04701722413301468, 0.16905760765075684, -0.1908949762582779, -0.13192424178123474, -0.2142648994922638, -0.18946152925491333, -0.19452504813671112, -0.5316623449325562, 0.32346558570861816, 0.1822996884584427, -0.0013188854791224003, 0.2668364644050598, -0.00009622595825931057, -0.1385950893163681, 0.10855905711650848, 0.15837803483009338, 0.11422383040189743, -0.09750020503997803, -0.09727500379085541, -0.23653466999530792, 0.15799327194690704, -0.07900069653987885, -0.10818549990653992, -0.2104077935218811, 0.10381320863962173, -0.08776045590639114, -0.06496132910251617, -0.04306808114051819, 0.3188447952270508, -0.10385650396347046, 0.04194452241063118, -0.06083114445209503, -0.04899248480796814, 0.04741406440734863, -0.20972797274589539, 0.11463107168674469, 0.23366263508796692, -0.39842236042022705, -0.0012754341587424278, 0.2171284258365631, 0.19390298426151276, -0.1839599907398224, -0.08928675949573517, -0.13374309241771698, 0.26580920815467834, -0.27386635541915894, -0.14194168150424957, 0.19234344363212585, 0.3329928517341614, -0.2464672327041626, -0.46778106689453125, -0.09582916647195816, -0.11542031168937683, -0.1348573863506317, -0.051280297338962555, 0.20756959915161133, -0.034643251448869705, 0.17433404922485352, 0.615746259689331, 0.006134147755801678, -0.07981976121664047, 0.039649318903684616, -0.21847809851169586, 0.307029664516449, 0.07179153710603714, -0.4717484414577484, 0.2359980344772339, -0.06429415941238403, 0.026476413011550903, 0.08808063715696335, -0.01652088575065136, 0.13074298202991486, -0.41117238998413086, -0.2977924644947052, 0.0720607191324234, -0.07491349428892136, -0.10296861082315445, -0.05079922080039978, 0.22775131464004517, 0.3355737030506134, -0.34208589792251587, 0.08414429426193237, 0.29828810691833496, 0.13208112120628357, -0.07738928496837616, -0.07867623120546341, 0.18975047767162323, 0.0816691666841507, -0.008530179969966412, -0.03163671866059303, -0.12268874049186707, -0.1579935997724533, -0.20406654477119446, 0.17744068801403046, 0.05282849073410034, 0.178781658411026, -0.21320244669914246, -0.08077505975961685, 0.22160889208316803, -0.1018638163805008, -0.14333927631378174, 0.18842485547065735, -0.08469133079051971, 0.3875415623188019, -0.17274942994117737, 0.026980023831129074, 0.007018696516752243, -0.002747775986790657, -0.12245146185159683, 0.22825351357460022, 0.009216156788170338, -0.29216882586479187, 0.049819108098745346, -0.0074547091498970985, -0.10919873416423798, -0.08099483698606491, 0.1848675012588501, 0.24567192792892456, -0.2339097261428833, -0.12328943610191345, -0.12328706681728363, 0.0227446760982275, -0.3437058925628662, -0.3285006284713745, 0.05960243567824364, 0.01709870621562004, -0.1660594344139099, 0.19086042046546936, 0.33764520287513733, -0.12700490653514862, -0.504740834236145, 0.26235631108283997, 0.04195438325405121, -0.0777820274233818, 0.2021094113588333, 0.5469653606414795, -0.21420122683048248, -0.009482919238507748, 0.252524197101593, 0.13312605023384094, 0.017383083701133728, -0.10012546926736832, -0.2629813849925995, 0.10747131705284119, -0.36062055826187134, -0.04886195808649063, -0.010726312175393105, -0.02627788484096527, 0.002778042107820511, 0.050807543098926544, 0.025512199848890305, -0.3388539254665375, 0.3512387275695801, 0.1589866280555725, 0.45080453157424927, -0.05177526921033859, -0.14865118265151978, 0.031049789860844612, 0.1334085613489151, 0.021582866087555885, 0.2393515259027481, 0.1427391767501831, -0.12680640816688538, -0.05624207854270935, -0.056566301733255386, 0.08402495086193085, 0.0934339165687561, 0.03795982897281647, -0.03429512679576874, -0.3290339708328247, 0.2934107184410095, 0.17880360782146454, 0.2626141607761383, 0.15112777054309845, 0.2471408098936081, -0.1300167292356491, 0.24944914877414703, -0.1070370003581047, -0.1776476502418518, -0.30402126908302307, 0.6727820038795471, 0.23525208234786987, 0.15446650981903076, -0.5502912998199463, 0.20586618781089783, -0.02833889238536358, 0.03625015541911125, 0.22536413371562958, 0.058235034346580505, -0.4231133460998535, -0.07465735822916031, 0.05769329518079758, 0.1219596341252327, 0.12115544825792313, 0.2718059718608856, -0.13775770366191864, 0.03206604719161987, 0.4573715925216675, -0.20754531025886536, 0.3368700444698334, -0.11743662506341934, 0.08246065676212311, 0.28950235247612, 0.06742603331804276, -0.001268880907446146, -0.12102213501930237, 0.25155189633369446, 0.14512275159358978, -0.07512509822845459, 0.005144833587110043, 0.08229031413793564, 0.17408563196659088, -0.08747352659702301, -0.021574081853032112, -0.08708344399929047, 0.2675020396709442, 0.23212631046772003, 0.2952779531478882, -0.15276652574539185, 0.23333683609962463, 0.15362322330474854, 0.26672637462615967, -0.15943551063537598, 0.2779049873352051, -0.2939867079257965, -0.13596166670322418, 0.21954648196697235, 0.12436436861753464, 0.4294971227645874, 0.08777448534965515, -0.14865918457508087, -0.1664239764213562, -0.06828078627586365, -0.11269932240247726, -0.4421096444129944, -0.05913897976279259, -0.5601224303245544, 0.1869347095489502, 0.3565736711025238, 0.06138158217072487, 0.42689305543899536, -0.043404221534729004, 0.22379949688911438, 0.060800082981586456, 0.42150065302848816, 0.037672217935323715, 0.1483525186777115, 0.27585047483444214, -0.07561063021421432, -0.028537612408399582, -0.21081885695457458, -0.08807522058486938, 0.2755972743034363, -0.08702587336301804, -0.3632763922214508, -0.13538792729377747, 0.28911420702934265, -0.008661532774567604, -0.36482012271881104, -0.12913310527801514, -0.12055107951164246, -0.06746219843626022, -0.020055964589118958, -0.01751532033085823, -0.17257675528526306, -0.2914980947971344, 0.49722734093666077, -0.35335180163383484, 0.1612423062324524, -0.2899472713470459, 0.2643206715583801, 0.13676603138446808, -0.07819627970457077, 0.15903286635875702, -0.5333462357521057, 0.38894224166870117, 0.11429927498102188, 0.1691618263721466, -0.15456177294254303, -0.26206567883491516, 0.250763863325119, 0.3253624737262726, -0.16848938167095184, -0.1296405792236328, 0.17025870084762573, -0.0771961510181427, 0.2633112072944641, 0.09266508370637894, -0.37159740924835205, 0.021994199603796005, 0.006844970863312483, 0.036781907081604004, 0.06971857696771622, -0.09672363102436066, -0.2956829071044922, -0.21375668048858643, 0.051293179392814636, -0.016246605664491653, -0.020455772057175636, -0.2347557246685028, 0.03406105935573578, -0.022569388151168823, -0.23754659295082092, -0.16447481513023376, -0.2403796911239624, -0.5172757506370544, 0.42259645462036133, -0.08402233570814133, 0.03978731110692024, 0.07170330733060837, 0.1820535659790039, -0.2639857232570648, -0.11561189591884613, -0.1422632932662964, -0.16379989683628082, 0.1053052544593811, 0.36060628294944763, -0.24977834522724152, -0.278660386800766, -0.18639959394931793, -0.21153831481933594, 0.16460084915161133, 0.054688967764377594, -0.02828475646674633, -0.29801589250564575, -0.2837265431880951, 0.1235099658370018, 0.10092411190271378, 0.03232363611459732, 0.15350890159606934, 0.37628746032714844, -0.31930625438690186, 0.05333714559674263, 0.038550492376089096, -0.15396691858768463, 0.2531341314315796, -0.19205377995967865, -0.07628881931304932, 0.1773797571659088, 0.4667702317237854, 0.014494596049189568, -0.30921924114227295, 0.044132329523563385, 0.5082802176475525, -0.1178034320473671, 0.36499854922294617, 0.14464260637760162, -0.5545607805252075, -0.22413310408592224, -0.2787381112575531, 0.32754412293434143, 0.064360611140728, -0.08395477384328842, -0.3922312557697296, -0.175090029835701, -0.2531260848045349, -0.2362765520811081, 0.030322879552841187, -0.04142110049724579, -0.310663640499115, 0.2602066695690155, 0.13739675283432007, -0.1570858657360077, -0.26110923290252686, 0.02635570429265499, 0.14043587446212769, 0.30815184116363525, 0.14810606837272644, -0.25320208072662354, 0.10766063630580902, -0.26324355602264404, -0.16679725050926208, 0.11541229486465454, 0.2832777202129364, 0.037019990384578705, 0.0572669543325901, -0.0338536761701107, -0.15611602365970612, -0.028696857392787933, 0.43979257345199585, 0.0239863358438015, -0.28690287470817566, 0.10537763684988022, -0.3927794396877289, -0.1877562254667282, 0.16242530941963196, -0.035080958157777786, -0.14572280645370483, -0.024634454399347305, -0.1796899437904358, -0.0011350071290507913, 0.11223877221345901, 0.03487104922533035, -0.34731200337409973, -0.14706094563007355, -0.19749639928340912, -0.13087181746959686, 0.014128796756267548, -0.15793165564537048, -0.06347675621509552, 0.2692020535469055, -0.023652952164411545, -0.015281081199645996, -0.2157292515039444, -0.23787425458431244, -0.3123406767845154, 0.3004651963710785, 0.08080368489027023, -0.25039321184158325, 0.1008317694067955, -0.14375396072864532, -0.34459033608436584, 0.03775222226977348, -0.15995477139949799, 0.2242119014263153, 0.03369525820016861, -0.38914766907691956, -0.1352790892124176, 0.14838746190071106, 0.3406420648097992, 0.19304712116718292, -0.1305007040500641, 0.054708339273929596, -0.4130041003227234, -0.07736100256443024, -0.09285673499107361, 0.12056676298379898, 0.2961682379245758, 0.20791161060333252, 0.22728294134140015, -0.5057309865951538, 0.17577697336673737, -0.10602539032697678, -0.05741839110851288, 0.08756730705499649, 0.33819401264190674, -0.1191568374633789, -0.018041357398033142, 0.12320946902036667, 0.6179612278938293, 0.02340843342244625, 0.14172159135341644, 0.2078123837709427, -0.09361357986927032, 0.45501649379730225, 0.008753439411520958, 0.5104578137397766, -0.17196650803089142, -0.19833162426948547, -0.09197279810905457, 0.12736289203166962, 0.3556765615940094, 0.2007538378238678, -0.24239392578601837, 0.09705827385187149, 0.09629157185554504, -0.10414697974920273, 0.08893517404794693, 0.07021210342645645, -0.31764230132102966, -0.04559200629591942, -0.5227135419845581, 0.23440565168857574, 0.31846821308135986, -0.24095098674297333, -0.1285296380519867, -0.08630935102701187, 0.009428313001990318, 0.12514160573482513, -0.14247815310955048, -0.15151837468147278, -0.11664698272943497, 0.17354542016983032, -0.11798755079507828, 0.07545600086450577, 0.12200342118740082, 0.018880851566791534, 0.3418583273887634, -0.11430633813142776, 0.06533157080411911, 0.04423629492521286, -0.0040419260039925575, -0.09932754188776016, -0.13556122779846191, 0.02173161320388317, 0.3980835974216461, -0.1442512720823288, -0.015553808771073818, -0.060677267611026764, 0.22259201109409332, -0.13162438571453094, -0.3874000310897827, 0.16565926373004913, -0.29161158204078674, -0.32639941573143005, 0.060807839035987854, -0.21531085669994354, 0.07478324323892593, -0.15999582409858704, 0.32192471623420715, 0.08994577080011368, 0.2891691029071808, 0.23958273231983185, -0.05740503594279289, 0.24151837825775146, -0.32866063714027405, 0.014465763233602047, 0.08908957242965698, 0.3243104815483093, -0.10365692526102066, -0.20433664321899414, -0.32412779331207275, -0.18747442960739136, -0.247065007686615, 0.12936265766620636, -0.17596715688705444, 0.1896388977766037, -0.16552864015102386, -0.4878578186035156, -0.11301737278699875, 0.22810672223567963, 0.11257895827293396, 0.2353850156068802, -0.21049773693084717, -0.05320949852466583, -0.08680359274148941, 0.1689044088125229, -0.17002719640731812, 0.2548166811466217, -0.06498382240533829, 0.22413212060928345, -0.0677974745631218, -0.048624541610479355, -0.4718347489833832, -0.21254928410053253, 0.09690000116825104, -0.10984474420547485, 0.10664958506822586, 0.016601720824837685, 0.0231259074062109, 0.1279691457748413, 0.31196582317352295, 0.32238733768463135, 0.05470796301960945, -0.32487568259239197, -0.07524959743022919, 0.010118772275745869, -0.009362028911709785, 0.20319724082946777, 0.15605543553829193, 0.11139581352472305, -0.4388130307197571, -0.05416199564933777, -0.16637633740901947, 0.03016376681625843, -0.20271027088165283, 0.32706087827682495, -0.07287976890802383, -0.2076597809791565, 0.28819239139556885, 0.06390716880559921, -0.0392780527472496, 0.2491462677717209, 0.2074742466211319, 0.1643150895833969, 0.03567597642540932, 0.1773206889629364, 0.23979374766349792, 0.14637751877307892, -0.05203648656606674, -0.08211573958396912, 0.3630613088607788, 0.12395644932985306, -0.25657787919044495, 0.03544017672538757, 0.24118086695671082, 0.06282906979322433, 0.16260695457458496, 0.11704494804143906, 0.16087035834789276, 0.3533456027507782, -0.5990197658538818, -0.2924710512161255, 0.06458444148302078, -0.04045596346259117, 0.38141748309135437, 0.3451530337333679, 0.4882989823818207, -0.013984385877847672, 0.2908371090888977, 0.0532718226313591, 0.08967659622430801, 0.08589228987693787, 0.10267095267772675, 0.30641892552375793, 0.10201548784971237, 0.0005058786482550204, 0.3112272322177887, 0.22460147738456726, 0.15073330700397491, 0.4241573214530945, 0.1342722624540329, -0.05959109961986542, 0.0897531658411026, -0.02804885432124138, 0.04785085469484329, 0.1549026072025299, 0.20748725533485413, 0.10883785784244537, -0.11695452034473419, 0.11714976280927658, 0.3013262450695038, 0.1490580141544342, -0.1132219135761261, 0.32425329089164734, -0.12284228950738907, 0.08891158550977707, 0.02608633041381836, -0.13858608901500702, 0.3509206473827362, -0.13620856404304504, -0.07663671672344208, -0.11681979894638062, 0.09004230797290802, 0.00791472289711237, 0.33376625180244446, -0.26411107182502747, 0.2588619887828827, -0.019655507057905197, 0.017998648807406425, 0.052488282322883606, 0.5337791442871094, -0.08321654051542282, -0.30153435468673706, 0.1714903563261032, -0.21946021914482117, -0.005213186144828796, 0.38560950756073, 0.293870747089386, 0.0658445730805397, -0.06469518691301346, -0.2995368242263794, -0.4689876437187195, -0.161418616771698, -0.0392799973487854, 0.2206251174211502, 0.20485320687294006, 0.37773630023002625, 0.029119914397597313, 0.2533600330352783, -0.2527667284011841, 0.1416492760181427, -0.03036624751985073, 0.1320856213569641, -0.44971904158592224, 0.32231128215789795, 0.11803760379552841, -0.05286495015025139, 0.13130462169647217, 0.05547112971544266, -0.10709500312805176, -0.4328880310058594, -0.001308154664002359, -0.27244019508361816, 0.023975221440196037, -0.2341153621673584, 0.19098129868507385, 0.25358060002326965, 0.03582712635397911, -0.19083456695079803, 0.21445323526859283, 0.4449036717414856, -0.06430631130933762, -0.3093113899230957, 0.022000888362526894, 0.24797125160694122, -0.01631760038435459, 0.10929474234580994, 0.07028447091579437, 0.10084535926580429, 0.26375436782836914, -0.10105108469724655, -0.28951528668403625, 0.005945868324488401, 0.011796428821980953, -0.21993353962898254, -0.03923632949590683, -0.023609479889273643, 0.19877831637859344, -0.07261137664318085, -0.02671714313328266, 0.13037395477294922, -0.23447230458259583, 0.19787445664405823, -0.05679195001721382, -0.0009473760146647692, -0.2525332570075989, 0.0627196654677391, 0.29769837856292725, 0.08947425335645676, -0.008153948001563549, -0.17574793100357056, 0.0027596247382462025, 0.0827990248799324, 0.010358092375099659, -0.12862402200698853, 0.21718701720237732, 0.2746846079826355, 0.23914775252342224, -0.20556730031967163, -0.3237541615962982, 0.1731903851032257, 0.3515598177909851, 0.23259660601615906, 0.007644821889698505, -0.024344537407159805, 0.10252934694290161, -0.030413933098316193, -0.33053067326545715, -0.13089030981063843, 0.3181471824645996, -0.1470244824886322, 0.09894374012947083, 0.1568322777748108, -0.45533448457717896, -0.005065659061074257, -0.34562069177627563, -0.4380345642566681, -0.3179231584072113, -0.15693692862987518, 0.24733172357082367, 0.04917269945144653, -0.01744544692337513, 0.003152713645249605, 0.09719832241535187, 0.3156135678291321, 0.14217916131019592, 0.1255185455083847, -0.12491004914045334, -0.16707445681095123, -0.22219175100326538, -0.1916075348854065, -0.019385889172554016, 0.23627029359340668, -0.041775912046432495, -0.17570364475250244 ]
https://github.com/huggingface/datasets/issues/1906
Feature Request: Support for Pandas `Categorical`
I think we can first keep the int64 precision but with an arrow Dictionary for ClassLabel, and focus on the connection with arrow and pandas. In this scope, I really like the idea of checking for the dictionary type: > Another idea that just occurred to me: add a branch in here to generate a ClassLabel if the dict key is int64 and the values are string: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L932 , and then don't touch anything else. This looks like a great start. Then as you said we'd have to add the conversion from classlabel to the correct arrow dictionary type. Arrow is already able to convert from arrow Dictionary to pandas Categorical so it should be enough. I can see two things that we must take case of to make this change backward compatible: - first we must still be able to load an arrow file with arrow int64 dtype and `datasets` ClassLabel type without crashing. This can be fixed by casting the arrow int64 array to an arrow Dictionary array on-the-fly when loading the table in the ArrowReader. - then we still have to return integers when accessing examples from a ClassLabel column. Currently it would return the strings values since it's based on the pandas behavior for converting from pandas to python/numpy. To do so we just have to adapt the python/numpy extractors in formatting.py (it takes care of converting an arrow table to a dictionary of python objects by doing arrow table -> pandas dataframe -> python dictionary) Any help on this matter is very much welcome :)
``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.Series(["a", "b", "c", "a"], dtype="category")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws NotImplementedError # TODO(thom) this will need access to the dictionary as well (for labels). I.e. to the py_table ``` I'm curious if https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L796 could be built out in a way similar to `Sequence`? e.g. a `Map` class (or whatever name the maintainers might prefer) that can accept: ``` index_type = generate_from_arrow_type(pa_type.index_type) value_type = generate_from_arrow_type(pa_type.value_type) ``` and then additional code points to modify: - FeatureType: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L694 - A branch to handle Map in get_nested_type: https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L719 - I don't quite understand what `encode_nested_example` does but perhaps a branch there? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L755 - Similarly, I don't quite understand why `Sequence` is used this way in `generate_from_dict`, but perhaps a branch here? https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L775 I couldn't find other usages of `Sequence` outside of defining specific datasets, so I'm not sure if that's a comprehensive set of touchpoints.
260
Feature Request: Support for Pandas `Categorical`
[ -0.32757768034935, 0.20318035781383514, -0.35378581285476685, -0.2496234029531479, 0.35286837816238403, 0.10377136617898941, 0.36551740765571594, 0.28902047872543335, 0.14740867912769318, 0.08987715095281601, -0.1414341777563095, 0.20661742985248566, -0.18350331485271454, 0.35571739077568054, -0.09975580126047134, -0.20550094544887543, 0.19685038924217224, 0.19211822748184204, 0.1305387020111084, 0.11328081041574478, -0.34998348355293274, 0.14289869368076324, -0.04701722413301468, 0.16905760765075684, -0.1908949762582779, -0.13192424178123474, -0.2142648994922638, -0.18946152925491333, -0.19452504813671112, -0.5316623449325562, 0.32346558570861816, 0.1822996884584427, -0.0013188854791224003, 0.2668364644050598, -0.00009622595825931057, -0.1385950893163681, 0.10855905711650848, 0.15837803483009338, 0.11422383040189743, -0.09750020503997803, -0.09727500379085541, -0.23653466999530792, 0.15799327194690704, -0.07900069653987885, -0.10818549990653992, -0.2104077935218811, 0.10381320863962173, -0.08776045590639114, -0.06496132910251617, -0.04306808114051819, 0.3188447952270508, -0.10385650396347046, 0.04194452241063118, -0.06083114445209503, -0.04899248480796814, 0.04741406440734863, -0.20972797274589539, 0.11463107168674469, 0.23366263508796692, -0.39842236042022705, -0.0012754341587424278, 0.2171284258365631, 0.19390298426151276, -0.1839599907398224, -0.08928675949573517, -0.13374309241771698, 0.26580920815467834, -0.27386635541915894, -0.14194168150424957, 0.19234344363212585, 0.3329928517341614, -0.2464672327041626, -0.46778106689453125, -0.09582916647195816, -0.11542031168937683, -0.1348573863506317, -0.051280297338962555, 0.20756959915161133, -0.034643251448869705, 0.17433404922485352, 0.615746259689331, 0.006134147755801678, -0.07981976121664047, 0.039649318903684616, -0.21847809851169586, 0.307029664516449, 0.07179153710603714, -0.4717484414577484, 0.2359980344772339, -0.06429415941238403, 0.026476413011550903, 0.08808063715696335, -0.01652088575065136, 0.13074298202991486, -0.41117238998413086, -0.2977924644947052, 0.0720607191324234, -0.07491349428892136, -0.10296861082315445, -0.05079922080039978, 0.22775131464004517, 0.3355737030506134, -0.34208589792251587, 0.08414429426193237, 0.29828810691833496, 0.13208112120628357, -0.07738928496837616, -0.07867623120546341, 0.18975047767162323, 0.0816691666841507, -0.008530179969966412, -0.03163671866059303, -0.12268874049186707, -0.1579935997724533, -0.20406654477119446, 0.17744068801403046, 0.05282849073410034, 0.178781658411026, -0.21320244669914246, -0.08077505975961685, 0.22160889208316803, -0.1018638163805008, -0.14333927631378174, 0.18842485547065735, -0.08469133079051971, 0.3875415623188019, -0.17274942994117737, 0.026980023831129074, 0.007018696516752243, -0.002747775986790657, -0.12245146185159683, 0.22825351357460022, 0.009216156788170338, -0.29216882586479187, 0.049819108098745346, -0.0074547091498970985, -0.10919873416423798, -0.08099483698606491, 0.1848675012588501, 0.24567192792892456, -0.2339097261428833, -0.12328943610191345, -0.12328706681728363, 0.0227446760982275, -0.3437058925628662, -0.3285006284713745, 0.05960243567824364, 0.01709870621562004, -0.1660594344139099, 0.19086042046546936, 0.33764520287513733, -0.12700490653514862, -0.504740834236145, 0.26235631108283997, 0.04195438325405121, -0.0777820274233818, 0.2021094113588333, 0.5469653606414795, -0.21420122683048248, -0.009482919238507748, 0.252524197101593, 0.13312605023384094, 0.017383083701133728, -0.10012546926736832, -0.2629813849925995, 0.10747131705284119, -0.36062055826187134, -0.04886195808649063, -0.010726312175393105, -0.02627788484096527, 0.002778042107820511, 0.050807543098926544, 0.025512199848890305, -0.3388539254665375, 0.3512387275695801, 0.1589866280555725, 0.45080453157424927, -0.05177526921033859, -0.14865118265151978, 0.031049789860844612, 0.1334085613489151, 0.021582866087555885, 0.2393515259027481, 0.1427391767501831, -0.12680640816688538, -0.05624207854270935, -0.056566301733255386, 0.08402495086193085, 0.0934339165687561, 0.03795982897281647, -0.03429512679576874, -0.3290339708328247, 0.2934107184410095, 0.17880360782146454, 0.2626141607761383, 0.15112777054309845, 0.2471408098936081, -0.1300167292356491, 0.24944914877414703, -0.1070370003581047, -0.1776476502418518, -0.30402126908302307, 0.6727820038795471, 0.23525208234786987, 0.15446650981903076, -0.5502912998199463, 0.20586618781089783, -0.02833889238536358, 0.03625015541911125, 0.22536413371562958, 0.058235034346580505, -0.4231133460998535, -0.07465735822916031, 0.05769329518079758, 0.1219596341252327, 0.12115544825792313, 0.2718059718608856, -0.13775770366191864, 0.03206604719161987, 0.4573715925216675, -0.20754531025886536, 0.3368700444698334, -0.11743662506341934, 0.08246065676212311, 0.28950235247612, 0.06742603331804276, -0.001268880907446146, -0.12102213501930237, 0.25155189633369446, 0.14512275159358978, -0.07512509822845459, 0.005144833587110043, 0.08229031413793564, 0.17408563196659088, -0.08747352659702301, -0.021574081853032112, -0.08708344399929047, 0.2675020396709442, 0.23212631046772003, 0.2952779531478882, -0.15276652574539185, 0.23333683609962463, 0.15362322330474854, 0.26672637462615967, -0.15943551063537598, 0.2779049873352051, -0.2939867079257965, -0.13596166670322418, 0.21954648196697235, 0.12436436861753464, 0.4294971227645874, 0.08777448534965515, -0.14865918457508087, -0.1664239764213562, -0.06828078627586365, -0.11269932240247726, -0.4421096444129944, -0.05913897976279259, -0.5601224303245544, 0.1869347095489502, 0.3565736711025238, 0.06138158217072487, 0.42689305543899536, -0.043404221534729004, 0.22379949688911438, 0.060800082981586456, 0.42150065302848816, 0.037672217935323715, 0.1483525186777115, 0.27585047483444214, -0.07561063021421432, -0.028537612408399582, -0.21081885695457458, -0.08807522058486938, 0.2755972743034363, -0.08702587336301804, -0.3632763922214508, -0.13538792729377747, 0.28911420702934265, -0.008661532774567604, -0.36482012271881104, -0.12913310527801514, -0.12055107951164246, -0.06746219843626022, -0.020055964589118958, -0.01751532033085823, -0.17257675528526306, -0.2914980947971344, 0.49722734093666077, -0.35335180163383484, 0.1612423062324524, -0.2899472713470459, 0.2643206715583801, 0.13676603138446808, -0.07819627970457077, 0.15903286635875702, -0.5333462357521057, 0.38894224166870117, 0.11429927498102188, 0.1691618263721466, -0.15456177294254303, -0.26206567883491516, 0.250763863325119, 0.3253624737262726, -0.16848938167095184, -0.1296405792236328, 0.17025870084762573, -0.0771961510181427, 0.2633112072944641, 0.09266508370637894, -0.37159740924835205, 0.021994199603796005, 0.006844970863312483, 0.036781907081604004, 0.06971857696771622, -0.09672363102436066, -0.2956829071044922, -0.21375668048858643, 0.051293179392814636, -0.016246605664491653, -0.020455772057175636, -0.2347557246685028, 0.03406105935573578, -0.022569388151168823, -0.23754659295082092, -0.16447481513023376, -0.2403796911239624, -0.5172757506370544, 0.42259645462036133, -0.08402233570814133, 0.03978731110692024, 0.07170330733060837, 0.1820535659790039, -0.2639857232570648, -0.11561189591884613, -0.1422632932662964, -0.16379989683628082, 0.1053052544593811, 0.36060628294944763, -0.24977834522724152, -0.278660386800766, -0.18639959394931793, -0.21153831481933594, 0.16460084915161133, 0.054688967764377594, -0.02828475646674633, -0.29801589250564575, -0.2837265431880951, 0.1235099658370018, 0.10092411190271378, 0.03232363611459732, 0.15350890159606934, 0.37628746032714844, -0.31930625438690186, 0.05333714559674263, 0.038550492376089096, -0.15396691858768463, 0.2531341314315796, -0.19205377995967865, -0.07628881931304932, 0.1773797571659088, 0.4667702317237854, 0.014494596049189568, -0.30921924114227295, 0.044132329523563385, 0.5082802176475525, -0.1178034320473671, 0.36499854922294617, 0.14464260637760162, -0.5545607805252075, -0.22413310408592224, -0.2787381112575531, 0.32754412293434143, 0.064360611140728, -0.08395477384328842, -0.3922312557697296, -0.175090029835701, -0.2531260848045349, -0.2362765520811081, 0.030322879552841187, -0.04142110049724579, -0.310663640499115, 0.2602066695690155, 0.13739675283432007, -0.1570858657360077, -0.26110923290252686, 0.02635570429265499, 0.14043587446212769, 0.30815184116363525, 0.14810606837272644, -0.25320208072662354, 0.10766063630580902, -0.26324355602264404, -0.16679725050926208, 0.11541229486465454, 0.2832777202129364, 0.037019990384578705, 0.0572669543325901, -0.0338536761701107, -0.15611602365970612, -0.028696857392787933, 0.43979257345199585, 0.0239863358438015, -0.28690287470817566, 0.10537763684988022, -0.3927794396877289, -0.1877562254667282, 0.16242530941963196, -0.035080958157777786, -0.14572280645370483, -0.024634454399347305, -0.1796899437904358, -0.0011350071290507913, 0.11223877221345901, 0.03487104922533035, -0.34731200337409973, -0.14706094563007355, -0.19749639928340912, -0.13087181746959686, 0.014128796756267548, -0.15793165564537048, -0.06347675621509552, 0.2692020535469055, -0.023652952164411545, -0.015281081199645996, -0.2157292515039444, -0.23787425458431244, -0.3123406767845154, 0.3004651963710785, 0.08080368489027023, -0.25039321184158325, 0.1008317694067955, -0.14375396072864532, -0.34459033608436584, 0.03775222226977348, -0.15995477139949799, 0.2242119014263153, 0.03369525820016861, -0.38914766907691956, -0.1352790892124176, 0.14838746190071106, 0.3406420648097992, 0.19304712116718292, -0.1305007040500641, 0.054708339273929596, -0.4130041003227234, -0.07736100256443024, -0.09285673499107361, 0.12056676298379898, 0.2961682379245758, 0.20791161060333252, 0.22728294134140015, -0.5057309865951538, 0.17577697336673737, -0.10602539032697678, -0.05741839110851288, 0.08756730705499649, 0.33819401264190674, -0.1191568374633789, -0.018041357398033142, 0.12320946902036667, 0.6179612278938293, 0.02340843342244625, 0.14172159135341644, 0.2078123837709427, -0.09361357986927032, 0.45501649379730225, 0.008753439411520958, 0.5104578137397766, -0.17196650803089142, -0.19833162426948547, -0.09197279810905457, 0.12736289203166962, 0.3556765615940094, 0.2007538378238678, -0.24239392578601837, 0.09705827385187149, 0.09629157185554504, -0.10414697974920273, 0.08893517404794693, 0.07021210342645645, -0.31764230132102966, -0.04559200629591942, -0.5227135419845581, 0.23440565168857574, 0.31846821308135986, -0.24095098674297333, -0.1285296380519867, -0.08630935102701187, 0.009428313001990318, 0.12514160573482513, -0.14247815310955048, -0.15151837468147278, -0.11664698272943497, 0.17354542016983032, -0.11798755079507828, 0.07545600086450577, 0.12200342118740082, 0.018880851566791534, 0.3418583273887634, -0.11430633813142776, 0.06533157080411911, 0.04423629492521286, -0.0040419260039925575, -0.09932754188776016, -0.13556122779846191, 0.02173161320388317, 0.3980835974216461, -0.1442512720823288, -0.015553808771073818, -0.060677267611026764, 0.22259201109409332, -0.13162438571453094, -0.3874000310897827, 0.16565926373004913, -0.29161158204078674, -0.32639941573143005, 0.060807839035987854, -0.21531085669994354, 0.07478324323892593, -0.15999582409858704, 0.32192471623420715, 0.08994577080011368, 0.2891691029071808, 0.23958273231983185, -0.05740503594279289, 0.24151837825775146, -0.32866063714027405, 0.014465763233602047, 0.08908957242965698, 0.3243104815483093, -0.10365692526102066, -0.20433664321899414, -0.32412779331207275, -0.18747442960739136, -0.247065007686615, 0.12936265766620636, -0.17596715688705444, 0.1896388977766037, -0.16552864015102386, -0.4878578186035156, -0.11301737278699875, 0.22810672223567963, 0.11257895827293396, 0.2353850156068802, -0.21049773693084717, -0.05320949852466583, -0.08680359274148941, 0.1689044088125229, -0.17002719640731812, 0.2548166811466217, -0.06498382240533829, 0.22413212060928345, -0.0677974745631218, -0.048624541610479355, -0.4718347489833832, -0.21254928410053253, 0.09690000116825104, -0.10984474420547485, 0.10664958506822586, 0.016601720824837685, 0.0231259074062109, 0.1279691457748413, 0.31196582317352295, 0.32238733768463135, 0.05470796301960945, -0.32487568259239197, -0.07524959743022919, 0.010118772275745869, -0.009362028911709785, 0.20319724082946777, 0.15605543553829193, 0.11139581352472305, -0.4388130307197571, -0.05416199564933777, -0.16637633740901947, 0.03016376681625843, -0.20271027088165283, 0.32706087827682495, -0.07287976890802383, -0.2076597809791565, 0.28819239139556885, 0.06390716880559921, -0.0392780527472496, 0.2491462677717209, 0.2074742466211319, 0.1643150895833969, 0.03567597642540932, 0.1773206889629364, 0.23979374766349792, 0.14637751877307892, -0.05203648656606674, -0.08211573958396912, 0.3630613088607788, 0.12395644932985306, -0.25657787919044495, 0.03544017672538757, 0.24118086695671082, 0.06282906979322433, 0.16260695457458496, 0.11704494804143906, 0.16087035834789276, 0.3533456027507782, -0.5990197658538818, -0.2924710512161255, 0.06458444148302078, -0.04045596346259117, 0.38141748309135437, 0.3451530337333679, 0.4882989823818207, -0.013984385877847672, 0.2908371090888977, 0.0532718226313591, 0.08967659622430801, 0.08589228987693787, 0.10267095267772675, 0.30641892552375793, 0.10201548784971237, 0.0005058786482550204, 0.3112272322177887, 0.22460147738456726, 0.15073330700397491, 0.4241573214530945, 0.1342722624540329, -0.05959109961986542, 0.0897531658411026, -0.02804885432124138, 0.04785085469484329, 0.1549026072025299, 0.20748725533485413, 0.10883785784244537, -0.11695452034473419, 0.11714976280927658, 0.3013262450695038, 0.1490580141544342, -0.1132219135761261, 0.32425329089164734, -0.12284228950738907, 0.08891158550977707, 0.02608633041381836, -0.13858608901500702, 0.3509206473827362, -0.13620856404304504, -0.07663671672344208, -0.11681979894638062, 0.09004230797290802, 0.00791472289711237, 0.33376625180244446, -0.26411107182502747, 0.2588619887828827, -0.019655507057905197, 0.017998648807406425, 0.052488282322883606, 0.5337791442871094, -0.08321654051542282, -0.30153435468673706, 0.1714903563261032, -0.21946021914482117, -0.005213186144828796, 0.38560950756073, 0.293870747089386, 0.0658445730805397, -0.06469518691301346, -0.2995368242263794, -0.4689876437187195, -0.161418616771698, -0.0392799973487854, 0.2206251174211502, 0.20485320687294006, 0.37773630023002625, 0.029119914397597313, 0.2533600330352783, -0.2527667284011841, 0.1416492760181427, -0.03036624751985073, 0.1320856213569641, -0.44971904158592224, 0.32231128215789795, 0.11803760379552841, -0.05286495015025139, 0.13130462169647217, 0.05547112971544266, -0.10709500312805176, -0.4328880310058594, -0.001308154664002359, -0.27244019508361816, 0.023975221440196037, -0.2341153621673584, 0.19098129868507385, 0.25358060002326965, 0.03582712635397911, -0.19083456695079803, 0.21445323526859283, 0.4449036717414856, -0.06430631130933762, -0.3093113899230957, 0.022000888362526894, 0.24797125160694122, -0.01631760038435459, 0.10929474234580994, 0.07028447091579437, 0.10084535926580429, 0.26375436782836914, -0.10105108469724655, -0.28951528668403625, 0.005945868324488401, 0.011796428821980953, -0.21993353962898254, -0.03923632949590683, -0.023609479889273643, 0.19877831637859344, -0.07261137664318085, -0.02671714313328266, 0.13037395477294922, -0.23447230458259583, 0.19787445664405823, -0.05679195001721382, -0.0009473760146647692, -0.2525332570075989, 0.0627196654677391, 0.29769837856292725, 0.08947425335645676, -0.008153948001563549, -0.17574793100357056, 0.0027596247382462025, 0.0827990248799324, 0.010358092375099659, -0.12862402200698853, 0.21718701720237732, 0.2746846079826355, 0.23914775252342224, -0.20556730031967163, -0.3237541615962982, 0.1731903851032257, 0.3515598177909851, 0.23259660601615906, 0.007644821889698505, -0.024344537407159805, 0.10252934694290161, -0.030413933098316193, -0.33053067326545715, -0.13089030981063843, 0.3181471824645996, -0.1470244824886322, 0.09894374012947083, 0.1568322777748108, -0.45533448457717896, -0.005065659061074257, -0.34562069177627563, -0.4380345642566681, -0.3179231584072113, -0.15693692862987518, 0.24733172357082367, 0.04917269945144653, -0.01744544692337513, 0.003152713645249605, 0.09719832241535187, 0.3156135678291321, 0.14217916131019592, 0.1255185455083847, -0.12491004914045334, -0.16707445681095123, -0.22219175100326538, -0.1916075348854065, -0.019385889172554016, 0.23627029359340668, -0.041775912046432495, -0.17570364475250244 ]
https://github.com/huggingface/datasets/issues/1898
ALT dataset has repeating instances in all splits
I just merged a fix, we'll do a patch release soon. Thanks again for reporting, and sorry for the inconvenience. In the meantime you can load `ALT` using `datasets` from the master branch
The [ALT](https://huggingface.co/datasets/alt) dataset has all the same instances within each split :/ Seemed like a great dataset for some experiments I wanted to carry out, especially since its medium-sized, and has all splits. Would be great if this could be fixed :) Added a snapshot of the contents from `explore-datset` feature, for quick reference. ![image](https://user-images.githubusercontent.com/33179372/108206321-442a2d00-714c-11eb-882f-b4b6e708ef9c.png)
33
ALT dataset has repeating instances in all splits
[ -0.17635221779346466, -0.5877702236175537, -0.06617354601621628, 0.3534974753856659, 0.22711220383644104, -0.15892042219638824, 0.4640999734401703, 0.011877105571329594, 0.09377878159284592, 0.32910361886024475, -0.11716452986001968, 0.28240078687667847, 0.037044547498226166, 0.1792033314704895, -0.13610173761844635, 0.11976049095392227, -0.09195826947689056, 0.43342673778533936, 0.04299268499016762, -0.39861541986465454, -0.07475090026855469, 0.17266210913658142, -0.12377995997667313, 0.0272077564150095, -0.3644477128982544, -0.3447153568267822, 0.1013001874089241, -0.01798318885266781, 0.19467119872570038, -0.06446567177772522, -0.159430593252182, 0.061000242829322815, -0.029919657856225967, 0.2955136001110077, -0.00011066248407587409, 0.02751927450299263, 0.14630630612373352, -0.009054599329829216, -0.31610921025276184, 0.17266397178173065, -0.4806051254272461, 0.23857682943344116, 0.22895091772079468, -0.299593448638916, -0.09781743586063385, -0.21250884234905243, -0.2543552815914154, -0.23062443733215332, 0.4868597686290741, -0.09901051223278046, 0.21646955609321594, 0.4385260343551636, -0.3619059920310974, -0.26882821321487427, 0.3250846266746521, 0.40039294958114624, -0.12299548834562302, -0.292294442653656, 0.16694791615009308, 0.30782678723335266, -0.17604711651802063, 0.5470317006111145, 0.31730374693870544, 0.345441073179245, -0.27687034010887146, 0.16959841549396515, 0.022389741614460945, 0.07977297157049179, 0.013401069678366184, 0.15454663336277008, 0.24436306953430176, -0.17316816747188568, -0.007811903487890959, -0.20123137533664703, 0.16374240815639496, 0.020992418751120567, 0.11690037697553635, 0.000042629631934687495, 0.1452791839838028, 0.13604924082756042, 0.434467077255249, 0.2501373887062073, 0.04390217736363411, -0.2024247944355011, 0.08385005593299866, -0.09869895130395889, -0.15426908433437347, 0.03857242688536644, 0.13118800520896912, -0.10653750598430634, 0.3466087281703949, -0.02496943436563015, -0.010961811058223248, -0.18324708938598633, -0.2290208488702774, -0.11275126039981842, -0.21251872181892395, -0.012314566411077976, -0.007358937989920378, 0.2488604635000229, 0.29794177412986755, 0.18802101910114288, -0.1535903364419937, -0.05475921556353569, 0.2571864128112793, -0.07880507409572601, 0.2758594751358032, 0.05012518912553787, 0.07017870247364044, 0.005358923226594925, -0.26349058747291565, 0.03703978657722473, -0.16230137646198273, 0.047290634363889694, -0.07165797799825668, -0.03367408737540245, 0.08723348379135132, 0.08705469965934753, -0.42393767833709717, -0.022806845605373383, 0.20853562653064728, -0.15747691690921783, -0.16029104590415955, 0.056032080203294754, 0.444099485874176, -0.015371941030025482, -0.1714635044336319, 0.04624706134200096, -0.08886711299419403, -0.5754177570343018, -0.31082046031951904, -0.12038207054138184, -0.33634722232818604, -0.05873977765440941, -0.05753358080983162, 0.08255618810653687, 0.13283559679985046, 0.49965953826904297, -0.09205588698387146, -0.19933363795280457, 0.12215451151132584, -0.015539629384875298, -0.008195490576326847, -0.08684887737035751, 0.14314986765384674, 0.37290921807289124, 0.13021014630794525, -0.014059065841138363, 0.06061827391386032, 0.038259100168943405, -0.1642279475927353, -0.023180898278951645, -0.030772261321544647, 0.27745506167411804, -0.07507703453302383, 0.05816729739308357, 0.07834615558385849, 0.1512187123298645, -0.035943906754255295, -0.04995228722691536, 0.026464806869626045, 0.10245277732610703, 0.24496136605739594, 0.029400022700428963, 0.009263629093766212, 0.49397215247154236, -0.12025836855173111, -0.20572586357593536, -0.5371348857879639, -0.16660508513450623, 0.4254148602485657, 0.38023239374160767, -0.002581571228802204, -0.1634494513273239, -0.30376720428466797, 0.28148236870765686, 0.22062446177005768, 0.45238909125328064, -0.2776750922203064, 0.0906282439827919, -0.15517212450504303, -0.19619113206863403, 0.2801625728607178, 0.1692640483379364, 0.5074897408485413, 0.03094582073390484, 0.05000508576631546, 0.12417633086442947, 0.13698925077915192, -0.04227619618177414, -0.2907355725765228, 0.04303322359919548, -0.20826135575771332, 0.02846948243677616, -0.22370240092277527, -0.21645021438598633, 0.18790216743946075, 0.19616787135601044, 0.10236980020999908, -0.022736340761184692, -0.05214579030871391, -0.0103940824046731, 0.1633235663175583, 0.04447375237941742, 0.2937719523906708, -0.06704454123973846, -0.2579604685306549, -0.1337796002626419, -0.17518582940101624, -0.14648717641830444, 0.32792747020721436, -0.376117080450058, -0.4186842143535614, 0.03200717270374298, -0.33023980259895325, 0.1023678258061409, 0.19187559187412262, 0.27480289340019226, -0.3351113796234131, 0.09997034817934036, 0.02770340070128441, -0.1240578144788742, -0.0308234840631485, -0.011631974019110203, -0.16737112402915955, 0.32451778650283813, -0.309651255607605, -0.1329345554113388, 0.11382357776165009, 0.35309740900993347, 0.14853957295417786, -0.17893847823143005, 0.14443770051002502, 0.19618767499923706, 0.39736616611480713, 0.30339011549949646, 0.08435278385877609, -0.6444517374038696, 0.37039709091186523, -0.1307300180196762, 0.05986699461936951, 0.14731594920158386, 0.16763851046562195, -0.10576044023036957, 0.04800964146852493, 0.22720417380332947, 0.12319114059209824, -0.02864786610007286, 0.0033862905111163855, 0.16462306678295135, 0.2759389281272888, -0.2368493527173996, 0.33363795280456543, -0.6646724343299866, 0.14409856498241425, -0.0765254870057106, -0.06075313314795494, 0.37578511238098145, -0.25770488381385803, 0.4444020688533783, 0.2308521866798401, 0.1942417025566101, 0.24971751868724823, -0.12510845065116882, -0.3519190847873688, 0.05425695329904556, 0.02291000261902809, 0.2936537563800812, -0.004926315043121576, 0.30686846375465393, 0.019971787929534912, -0.25935259461402893, 0.0742177814245224, -0.23054289817810059, 0.1979176551103592, -0.07095242291688919, -0.07789785414934158, 0.3574422001838684, 0.08741693943738937, -0.14703448116779327, -0.6397512555122375, -0.17830738425254822, 0.31929439306259155, 0.1182914674282074, -0.17448657751083374, -0.18599487841129303, -0.5273231863975525, -0.08793386816978455, -0.29418426752090454, 0.10649798065423965, 0.10909519344568253, 0.033095162361860275, 0.32613077759742737, 0.026396112516522408, -0.01219250075519085, 0.3381792902946472, 0.3794490396976471, 0.444872111082077, 0.033514395356178284, 0.5030017495155334, -0.1893729865550995, -0.20812848210334778, -0.23762349784374237, 0.1790853887796402, 0.06940056383609772, 0.21142753958702087, 0.2891627848148346, -0.09080105274915695, -0.13159821927547455, -0.1205010637640953, -0.04539906233549118, 0.09881535172462463, 0.08007151633501053, -0.12522834539413452, 0.06424269080162048, -0.12378918379545212, -0.07134979218244553, -0.3301604688167572, 0.04041440039873123, -0.26323944330215454, -0.357636034488678, 0.07381656020879745, -0.2580677270889282, -0.06114085763692856, -0.17292480170726776, -0.43838468194007874, 0.005814927630126476, -0.16406315565109253, -0.0062352800741791725, 0.04940322786569595, 0.11077869683504105, -0.04998043179512024, -0.03993306681513786, -0.08355650305747986, -0.001132322009652853, -0.36092448234558105, -0.6152054071426392, 0.3342741131782532, 0.06345775723457336, 0.013348679058253765, -0.023731200024485588, -0.0638718456029892, -0.38137897849082947, -0.09939117729663849, 0.031882770359516144, -0.3022579550743103, 0.0076760295778512955, -0.3096434772014618, -0.15237630903720856, 0.15577271580696106, 0.2128508985042572, 0.1783459484577179, 0.057926639914512634, -0.2824433147907257, -0.0949091762304306, -0.131928950548172, 0.3156333267688751, -0.19651539623737335, 0.15812721848487854, -0.2384638637304306, -0.0018922265153378248, 0.030032319948077202, 0.4438917636871338, 0.41466808319091797, -0.2888766825199127, 0.18229836225509644, -0.23499000072479248, 0.008682901039719582, -0.1429462432861328, -0.20090381801128387, 0.14433375000953674, 0.00090822420315817, -0.026987167075276375, 0.33665770292282104, -0.06374339014291763, -0.025395803153514862, 0.3272768557071686, 0.08990725129842758, -0.014677338302135468, -0.3515419065952301, -0.0942428931593895, 0.11775366216897964, 0.017591295763850212, 0.037853579968214035, -0.19300037622451782, -0.08130063116550446, 0.01622411049902439, -0.03846306353807449, 0.03896114602684975, -0.0961647480726242, -0.19388911128044128, -0.4581059515476227, 0.17293739318847656, -0.0005650932434946299, 0.2621360421180725, -0.18346700072288513, 0.14408868551254272, 0.0626116618514061, -0.13967859745025635, 0.3418687880039215, 0.2376285195350647, 0.8057969808578491, -0.2423882782459259, 0.16041967272758484, -0.14357835054397583, 0.01203550398349762, -0.3402922451496124, -0.04195529595017433, -0.2857224643230438, -0.14613546431064606, 0.1833237260580063, 0.6287117600440979, -0.11556903272867203, 0.13255921006202698, 0.40157294273376465, 0.0025089660193771124, -0.23146292567253113, -0.12274349480867386, -0.009734457358717918, -0.15504233539104462, -0.29516297578811646, 0.019302882254123688, 0.1070336177945137, -0.029524710029363632, 0.14620418846607208, -0.3015536665916443, -0.3803520202636719, -0.16642457246780396, 0.17473015189170837, 0.2812716066837311, 0.5503987669944763, 0.1344984918832779, 0.16154180467128754, 0.2401627153158188, 0.1017564907670021, 0.14627887308597565, 0.5775187015533447, -0.224856436252594, -0.01840076595544815, 0.10405629873275757, -0.5441948771476746, 0.11871539056301117, 0.28547272086143494, 0.20133888721466064, 0.1889522224664688, -0.2183767557144165, -0.08205888420343399, -0.14032579958438873, 0.06774582713842392, -0.02015160396695137, 0.041038863360881805, 0.12299983203411102, -0.1484805792570114, 0.11878649145364761, 0.040364764630794525, -0.17203225195407867, 0.34322479367256165, 0.19523084163665771, 0.12704867124557495, 0.39670002460479736, -0.10374873876571655, 0.6021281480789185, 0.18552181124687195, -0.06792572885751724, 0.1648959070444107, 0.11330020427703857, 0.11477161198854446, 0.14769387245178223, 0.03356083482503891, -0.4091709554195404, -0.5039546489715576, 0.07995952665805817, -0.09187717735767365, 0.07715434581041336, 0.12133853137493134, -0.2581261694431305, -0.22281773388385773, 0.039363469928503036, 0.33006221055984497, 0.020165160298347473, -0.004211390856653452, -0.2554449141025543, 0.013130862265825272, 0.41883817315101624, 0.1052195355296135, -0.03690206632018089, 0.12703059613704681, 0.1173180565237999, -0.08311942964792252, 0.3181118071079254, -0.23283323645591736, -0.22325436770915985, -0.000023461689124815166, -0.2948862612247467, 0.21853820979595184, 0.025372276082634926, -0.5823987126350403, 0.12582233548164368, -0.3211464583873749, 0.4702615439891815, 0.0025988805573433638, 0.236268550157547, 0.18868398666381836, 0.2629678547382355, 0.002811877289786935, -0.35419362783432007, 0.006470158696174622, 0.09604877978563309, 0.164267897605896, -0.2883220613002777, -0.24368396401405334, 0.41456058621406555, 0.16841885447502136, -0.22077636420726776, 0.14894641935825348, -0.11539091169834137, -0.23298807442188263, 0.009867015294730663, 0.19015294313430786, -0.21334482729434967, -0.3633854389190674, 0.14036013185977936, -0.45063066482543945, -0.01713864877820015, 0.16860878467559814, -0.04383077099919319, -0.0193229578435421, -0.10145013779401779, 0.10367846488952637, 0.4628695547580719, 0.25369182229042053, 0.23141972720623016, -0.049800314009189606, -0.22312626242637634, -0.5392144322395325, 0.3866606652736664, 0.3184995651245117, -0.6146292090415955, 0.3917176425457001, -0.39053118228912354, -0.3223367929458618, 0.07650409638881683, -0.047283586114645004, 0.11503399163484573, 0.35272544622421265, -0.24599947035312653, -0.20505507290363312, 0.05292899161577225, 0.05092811957001686, -0.26152852177619934, 0.2374911606311798, 0.07698008418083191, 0.2865084707736969, -0.09433536231517792, 0.28194373846054077, -0.35175564885139465, 0.2901172935962677, 0.07798168063163757, 0.32193803787231445, -0.3214187026023865, -0.4775480329990387, 0.01176003273576498, -0.08267088234424591, 0.17197281122207642, 0.11168181896209717, 0.01767059601843357, -0.2863287031650543, -0.10026467591524124, 0.07224290817975998, -0.2645835280418396, 0.09732411801815033, -0.1372738927602768, -0.0392979234457016, 0.028069699183106422, -0.04194347560405731, 0.24183426797389984, -0.007810473907738924, -0.0021920804865658283, 0.21728351712226868, 0.12828506529331207, -0.24486353993415833, -0.06475380063056946, -0.11379007250070572, -0.032137949019670486, 0.07417565584182739, 0.1273137480020523, -0.020142272114753723, -0.04871857538819313, -0.08419809490442276, -0.32640695571899414, 0.04525741562247276, -0.00519760325551033, 0.14815953373908997, -0.005902593024075031, -0.07518603652715683, -0.36817410588264465, 0.14883621037006378, 0.2772201597690582, 0.00037669975426979363, 0.009656249545514584, -0.1420505940914154, -0.07926860451698303, 0.253184050321579, -0.5323284268379211, -0.2773016393184662, 0.3406459391117096, 0.09701960533857346, 0.26139727234840393, 0.27562353014945984, 0.2722781002521515, -0.43913063406944275, -0.05676707625389099, 0.07603487372398376, 0.48793309926986694, -0.35153573751449585, 0.42120522260665894, 0.5440447926521301, 0.03521205112338066, -0.0923433005809784, 0.3451555371284485, 0.14537042379379272, 0.09857658296823502, 0.37694406509399414, -0.07342714071273804, 0.29197463393211365, 0.43558838963508606, -0.1057293564081192, 0.3266478180885315, -0.25264260172843933, 0.04670895263552666, 0.22469106316566467, -0.015658045187592506, 0.15643711388111115, 0.39279791712760925, 0.04464619606733322, -0.1973167210817337, -0.09164399653673172, -0.2348983883857727, -0.37961050868034363, -0.2500494420528412, 0.07203532755374908, -0.26552614569664, -0.057790327817201614, -0.4241364896297455, -0.15718135237693787, -0.09333190321922302, 0.23464888334274292, 0.5905911922454834, 0.019090333953499794, 0.0696008950471878, -0.4962410032749176, -0.055374450981616974, 0.1811715066432953, 0.1649564951658249, -0.38825270533561707, 0.3223704397678375, 0.2552008330821991, 0.01839778572320938, 0.16956020891666412, 0.3510777950286865, 0.12384431064128876, -0.08702453970909119, -0.021911270916461945, -0.024032969027757645, -0.04107658937573433, -0.22684676945209503, -0.1766487956047058, -0.13747021555900574, -0.0197661891579628, -0.1063557118177414, 0.21570183336734772, 0.14577358961105347, -0.1858290284872055, -0.09802934527397156, 0.4489678740501404, -0.1741698682308197, -0.12733030319213867, 0.1877957582473755, -0.14652986824512482, 0.020869165658950806, -0.018451236188411713, 0.12388063967227936, -0.35233253240585327, -0.13027814030647278, 0.33929383754730225, -0.4116850793361664, 0.06073475629091263, -0.14830489456653595, 0.10008404403924942, -0.2599753141403198, 0.12258391827344894, -0.00488277617841959, -0.46298494935035706, -0.062430787831544876, -0.22236226499080658, -0.4181930124759674, 0.3064899444580078, -0.12780767679214478, -0.24512255191802979, 0.18204878270626068, 0.24730214476585388, -0.08147864788770676, 0.05230213329195976, 0.3483404815196991, 0.21265822649002075, -0.23803681135177612, 0.1084485873579979, -0.48953112959861755, -0.013145126402378082, -0.017474938184022903, 0.027655016630887985, 0.03566952422261238, -0.1874101459980011, 0.44306012988090515, 0.12859216332435608, 0.12987758219242096, 0.1567784696817398, -0.23804926872253418, 0.0014204952167347074, -0.11972352862358093, -0.016571810469031334, 0.12800879776477814, 0.07423442602157593, -0.20302768051624298, 0.3951281011104584, -0.03288872167468071, -0.39175233244895935, -0.22203852236270905, 0.17004342377185822, 0.71275395154953, 0.05501026660203934, -0.024534855037927628, -0.2029668241739273, 0.07141396403312683, -0.05904846265912056, 0.3038971424102783, 0.5062156915664673, -0.1517277956008911, 0.36598849296569824, -0.19760173559188843, 0.06052945926785469, 0.1550215482711792, 0.32999929785728455, -0.002384823514148593, -0.14831173419952393, 0.18142788112163544, -0.7280489802360535, 0.07673057168722153, 0.08126509934663773, -0.2702392041683197, -0.3188241124153137, 0.39989981055259705, 0.1420222818851471, 0.04991144314408302, -0.10387784987688065, -0.040880996733903885, 0.36989083886146545, -0.31619206070899963, 0.004413602873682976, 0.1816255897283554, 0.19413098692893982, -0.21951274573802948, 0.023495392873883247, 0.12542973458766937, 0.5006698369979858, -0.20020657777786255, 0.3166884183883667, -0.15948842465877533 ]
https://github.com/huggingface/datasets/issues/1895
Bug Report: timestamp[ns] not recognized
Thanks for reporting ! You're right, `string_to_arrow` should be able to take `"timestamp[ns]"` as input and return the right pyarrow timestamp type. Feel free to suggest a fix for `string_to_arrow` and open a PR if you want to contribute ! This would be very appreciated :) To give you more context: As you may know we define the features types of a dataset using the `Features` object in combination with feature types like `Value`. For example ```python features = Features({ "age": Value("int32") }) ``` However under the hood we are actually using pyarrow to store the data, and so we have a mapping between the feature types of `datasets` and the types of pyarrow. For example, the `Value` feature types are created from a pyarrow type with `Value(str(pa_type))`. However it looks like the conversion back to a pyarrow type doesn't work with `"timestamp[ns]"`. This is the `string_to_arrow` function you highlighted that does this conversion, so we should fix that.
Repro: ``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type. ``` The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method. Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well! ``` $ pip list # only the relevant libraries/versions datasets 1.2.1 pandas 1.0.3 pyarrow 3.0.0 ```
159
Bug Report: timestamp[ns] not recognized
[ -0.1729884147644043, 0.05237310007214546, -0.1768631935119629, -0.1186840757727623, 0.03231486305594444, -0.11799018830060959, 0.36840546131134033, 0.1821245551109314, 0.03479084372520447, 0.11072739958763123, 0.32547298073768616, 0.15450789034366608, -0.1954139918088913, -0.23848532140254974, -0.34634044766426086, 0.2861150801181793, 0.15716122090816498, 0.17106550931930542, 0.07240913808345795, 0.19614869356155396, -0.4785693883895874, 0.36983364820480347, -0.18494556844234467, 0.22760513424873352, -0.15611939132213593, -0.12134221196174622, 0.031684525310993195, 0.26919761300086975, 0.00782814435660839, -0.4428076446056366, -0.039629362523555756, -0.24927912652492523, -0.12011630088090897, 0.5037895441055298, -0.00010251601634081453, 0.10430112481117249, 0.453686386346817, -0.10572322458028793, -0.2598954737186432, 0.6216360926628113, 0.0012054613325744867, 0.10832595825195312, -0.09561008214950562, -0.37829655408859253, -0.0912751778960228, 0.254043310880661, 0.08772297203540802, -0.40471386909484863, 0.04187263175845146, 0.5022736191749573, 0.3270038664340973, 0.11381122469902039, 0.08645520359277725, -0.024584487080574036, 0.5095005631446838, 0.07511158287525177, -0.03971805423498154, -0.0652228370308876, 0.34463635087013245, 0.15357594192028046, 0.29387763142585754, 0.18724924325942993, 0.026921847835183144, -0.245688796043396, -0.20206741988658905, -0.00026884261751547456, 0.34060630202293396, 0.07870788127183914, -0.13903750479221344, -0.2847208082675934, 0.3770325779914856, -0.018772639334201813, -0.08464740216732025, 0.06424171477556229, -0.30414438247680664, -0.1637313961982727, 0.15680958330631256, -0.15296244621276855, -0.043377093970775604, 0.1285560578107834, 0.16100917756557465, 0.1527090221643448, -0.08871135860681534, 0.23139290511608124, 0.45120736956596375, 0.22055867314338684, -0.10205990821123123, -0.015842298045754433, -0.2803778648376465, 0.01806442253291607, 0.18304291367530823, 0.22831501066684723, 0.1586509793996811, -0.11432221531867981, 0.12555307149887085, -0.043553754687309265, 0.1782364547252655, 0.05189628154039383, -0.2229047417640686, 0.05111405998468399, -0.32252994179725647, -0.004742566961795092, -0.02552148327231407, -0.08236292749643326, -0.11773812770843506, 0.2136119306087494, 0.09897404909133911, 0.37322402000427246, 0.2121306210756302, 0.1009499579668045, -0.008269676938652992, 0.008480130694806576, 0.09753608703613281, -0.17739951610565186, 0.032247066497802734, 0.3465439975261688, 0.16314585506916046, -0.16081878542900085, 0.1148519515991211, 0.05645418167114258, 0.2363065779209137, -0.00017335329903289676, 0.15568310022354126, 0.04088770970702171, -0.05519920215010643, -0.014890828169882298, 0.2594945728778839, 0.025375595316290855, -0.05392945930361748, -0.18988800048828125, -0.43726661801338196, 0.0730493888258934, -0.15386949479579926, -0.09422947466373444, -0.08464119583368301, 0.09810473024845123, -0.17891225218772888, -0.08760984241962433, -0.4429524838924408, -0.14392584562301636, -0.49921107292175293, 0.2196185290813446, -0.053542573004961014, 0.06850801408290863, -0.440003901720047, 0.10341648012399673, 0.12422041594982147, -0.1828727126121521, -0.03456299751996994, 0.13412630558013916, -0.47572362422943115, -0.31175678968429565, -0.28176936507225037, 0.2982999384403229, 0.02642967365682125, 0.059491511434316635, 0.6390056610107422, -0.05103687569499016, 0.4426962435245514, -0.3499675691127777, 0.286835640668869, 0.18408358097076416, -0.5627713799476624, -0.1324082911014557, -0.20281116664409637, 0.09001598507165909, -0.1055648997426033, -0.00843031331896782, -0.17208832502365112, -0.29544147849082947, 0.267622172832489, 0.10987351834774017, 0.229616180062294, -0.0694785788655281, -0.20655061304569244, 0.09087114781141281, -0.17783953249454498, -0.07854090631008148, -0.10508149117231369, -0.2552696168422699, -0.14656564593315125, -0.41765108704566956, -0.07344228029251099, 0.05891166254878044, -0.07105496525764465, -0.21388401091098785, 0.22660696506500244, 0.05995941907167435, 0.11171476542949677, -0.05250139534473419, -0.45772498846054077, -0.14123477041721344, -0.1412191540002823, 0.2548533082008362, 0.17628517746925354, 0.09423542767763138, 0.09958268702030182, -0.17757044732570648, 0.03431473299860954, 0.05131706967949867, 0.07897898554801941, 0.10897847265005112, 0.34446457028388977, -0.009356029331684113, 0.053964316844940186, -0.1504901796579361, -0.08440995961427689, -0.016393976286053658, 0.02605588734149933, 0.19622886180877686, -0.09914325922727585, -0.12188643962144852, -0.39818957448005676, 0.19431358575820923, 0.19812163710594177, -0.011666009202599525, 0.28971031308174133, 0.1572098433971405, 0.09836525470018387, 0.5329198241233826, 0.03361992910504341, 0.2361859530210495, -0.3542103171348572, -0.14113295078277588, -0.06905869394540787, 0.0710877999663353, -0.300467848777771, -0.2381957471370697, -0.05618895962834358, 0.25866079330444336, 0.21550865471363068, 0.14380304515361786, -0.19577153027057648, 0.12186825275421143, 0.11408815532922745, 0.010240242816507816, -0.3136123716831207, -0.02720009721815586, -0.07281694561243057, -0.07884006202220917, -0.3531387746334076, 0.4544297158718109, 0.15345308184623718, -0.03465276584029198, 0.10344812273979187, 0.0976056456565857, -0.2718334496021271, -0.2775483727455139, -0.18407656252384186, -0.07914642244577408, 0.05913757532835007, -0.11170072853565216, 0.13177941739559174, -0.21563498675823212, -0.07139848917722702, 0.06761380285024643, -0.0762958750128746, -0.18547888100147247, 0.08181499689817429, 0.1119692251086235, 0.5117852091789246, 0.1321231871843338, 0.052093084901571274, 0.18169869482517242, -0.10772214084863663, -0.13643209636211395, 0.0533626414835453, 0.031377360224723816, 0.1586035192012787, 0.11906692385673523, 0.10574769228696823, 0.11938493698835373, -0.05280277505517006, -0.11492331326007843, 0.13245491683483124, 0.004263478796929121, 0.07717081904411316, 0.09459114819765091, 0.1589033603668213, 0.02489003725349903, -0.12673015892505646, -0.19128218293190002, -0.05203427001833916, 0.2907087802886963, -0.3822777271270752, 0.220057874917984, -0.2922900915145874, -0.5710789561271667, 0.11856004595756531, 0.07388163357973099, -0.07781128585338593, -0.323319673538208, 0.4238818883895874, 0.08213743567466736, -0.20933303236961365, -0.06910129636526108, -0.248240664601326, 0.6109808683395386, 0.15945783257484436, 0.46235376596450806, -0.13326093554496765, -0.3079017996788025, -0.14729255437850952, 0.1947479099035263, 0.03682360053062439, -0.126714825630188, 0.28188154101371765, -0.25450557470321655, 0.08492565900087357, 0.35522007942199707, -0.31943556666374207, 0.14348016679286957, 0.20584964752197266, 0.07772745192050934, -0.131678968667984, -0.06735678762197495, -0.06541165709495544, -0.10856690257787704, 0.04312781244516373, -0.40526407957077026, -0.31882497668266296, -0.12548629939556122, -0.07471852749586105, 0.026397479698061943, -0.4988752007484436, -0.029302962124347687, -0.35011357069015503, -0.3086862862110138, 0.1478404700756073, -0.17066985368728638, 0.2196311205625534, 0.7900674343109131, -0.338652104139328, 0.0679212436079979, -0.21617287397384644, 0.15522551536560059, -0.3746904730796814, -0.19060440361499786, 0.058519650250673294, -0.2592916488647461, -0.20910997688770294, -0.06768069416284561, 0.10261142998933792, -0.3451694846153259, -0.26049408316612244, -0.1849633902311325, -0.32351723313331604, 0.002215051557868719, -0.2839811146259308, 0.16560199856758118, -0.1934700906276703, 0.3760395348072052, -0.19486448168754578, -0.27496907114982605, -0.28928104043006897, -0.18355803191661835, 0.28503021597862244, 0.10806938260793686, 0.05979333445429802, 0.12700378894805908, 0.12430893629789352, 0.011388599872589111, 0.42481955885887146, 0.31538575887680054, -0.2785941958427429, 0.26347050070762634, -0.25539112091064453, 0.2507806420326233, -0.16707313060760498, 0.04582150653004646, 0.02878658100962639, 0.27213984727859497, -0.36092525720596313, 0.25865602493286133, -0.018653621897101402, -0.15252932906150818, -0.026499584317207336, 0.11196529865264893, -0.46110859513282776, -0.25054076313972473, -0.2310114949941635, 0.43676409125328064, 0.13355909287929535, 0.04594288766384125, -0.012593860737979412, -0.09137647598981857, -0.41586732864379883, 0.11353560537099838, 0.24478018283843994, -0.051455818116664886, -0.08753732591867447, -0.09614713490009308, 0.06069730594754219, -0.2478480488061905, -0.0008371336734853685, 0.004902239423245192, 0.4061928987503052, -0.2813620865345001, -0.28956368565559387, 0.049668435007333755, -0.036719322204589844, 0.1400814950466156, -0.3165096044540405, 0.34774136543273926, 0.2692180275917053, 0.22779765725135803, -0.06293682008981705, -0.09031809121370316, 0.13501577079296112, -0.141898050904274, 0.15074706077575684, 0.36739301681518555, -0.03466324508190155, 0.23079265654087067, -0.2858390212059021, -0.2751093804836273, -0.06826720386743546, -0.12381023913621902, -0.00897280965000391, 0.13308167457580566, -0.17228974401950836, 0.21950870752334595, 0.09166255593299866, 0.10143759846687317, 0.19060586392879486, 0.04443486034870148, -0.036496058106422424, 0.1552567481994629, -0.19316543638706207, -0.04536807909607887, 0.24611854553222656, -0.1030941978096962, 0.15433873236179352, -0.2994968295097351, -0.03343699499964714, -0.02500709891319275, 0.603065013885498, 0.1137571707367897, 0.24574582278728485, 0.19568879902362823, -0.16756510734558105, -0.17328299582004547, 0.3327305018901825, -0.009960189461708069, -0.010001981630921364, 0.30258694291114807, 0.1962921917438507, -0.1493629515171051, -0.17192623019218445, -0.04204520583152771, -0.3492424190044403, -0.21224133670330048, 0.4184763729572296, -0.06305454671382904, 0.1994013637304306, 0.07390500605106354, 0.3502480387687683, -0.21254689991474152, 0.03962293267250061, 0.09144292771816254, -0.09766118228435516, 0.7248504757881165, 0.1010301411151886, 0.0481535978615284, 0.1928846836090088, -0.30214667320251465, 0.46698760986328125, 0.2048066258430481, 0.024233026430010796, -0.37138867378234863, -0.26905500888824463, 0.1220579519867897, 0.06272030621767044, -0.0820741206407547, 0.034475523978471756, -0.21413464844226837, -0.09794580936431885, 0.11576493829488754, 0.4438794255256653, -0.08541112393140793, -0.07829883694648743, 0.7744205594062805, 0.1221385970711708, -0.16036298871040344, 0.288463830947876, -0.134140282869339, 0.1402646005153656, -0.07649480551481247, -0.0464506521821022, -0.2066393345594406, -0.30950501561164856, -0.31730762124061584, 0.2583709955215454, 0.2594027817249298, 0.09683629125356674, 0.11287117749452591, -0.08158527314662933, -0.31412234902381897, -0.42038875818252563, 0.41673049330711365, -0.195279061794281, -0.008244206197559834, 0.11088068038225174, 0.2760445475578308, 0.0801919549703598, -0.26834848523139954, 0.10576977580785751, 0.2580953538417816, -0.4086173474788666, 0.20432712137699127, -0.09080000221729279, -0.15218450129032135, -0.6741453409194946, 0.14136812090873718, 0.12754109501838684, -0.44634801149368286, 0.10928516089916229, -0.26237952709198, 0.23845967650413513, 0.23632895946502686, -0.23069477081298828, 0.29138240218162537, -0.046355243772268295, 0.3086242377758026, 0.13789553940296173, -0.1438688039779663, -0.28384658694267273, -0.24906037747859955, 0.36800628900527954, -0.02307603694498539, -0.19018970429897308, -0.009039310738444328, 0.3806314766407013, -0.3726557493209839, -0.20132112503051758, -0.1335325539112091, -0.05990840122103691, -0.7153620719909668, 0.05760372057557106, -0.37005624175071716, 0.1323852688074112, 0.3703594505786896, 0.2230263352394104, -0.04228063300251961, 0.33374956250190735, 0.013154893182218075, -0.3505556881427765, -0.28215351700782776, 0.10775357484817505, -0.32992732524871826, 0.07171489298343658, -0.10593897104263306, -0.12681518495082855, -0.0610165111720562, -0.08705921471118927, -0.4616214334964752, -0.26695024967193604, -0.13362130522727966, 0.07211326062679291, -0.04177413135766983, -0.031529199331998825, 0.08894896507263184, -0.11759307980537415, 0.22413481771945953, 0.26661741733551025, -0.035305339843034744, -0.3392588794231415, -0.05419759452342987, 0.09461891651153564, 0.11086436361074448, -0.04746733233332634, 0.05294859781861305, 0.036992333829402924, -0.3308926224708557, 0.31365835666656494, -0.17291104793548584, 0.27504733204841614, -0.21521809697151184, 0.13518032431602478, 0.15019607543945312, 0.124240942299366, 0.24403996765613556, -0.13424436748027802, 0.003801340702921152, 0.5399133563041687, -0.009079936891794205, 0.2426481544971466, -0.11232972890138626, 0.043069008737802505, -0.28569450974464417, 0.12640975415706635, -0.14673057198524475, -0.010515461675822735, 0.07369782030582428, -0.19377444684505463, -0.16262486577033997, 0.3450757563114166, 0.026671869680285454, -0.13754218816757202, -0.3054324686527252, -0.26224854588508606, -0.018562406301498413, 0.2548485994338989, -0.133550763130188, -0.03403879329562187, 0.17239223420619965, 0.00499338423833251, -0.08539821207523346, 0.17700694501399994, 0.19047774374485016, -0.058152616024017334, 0.44179636240005493, 0.2836461663246155, -0.11120282858610153, -0.22596041858196259, 0.09556218236684799, 0.31920841336250305, -0.17183087766170502, 0.08218885958194733, 0.10595402866601944, -0.05984725058078766, 0.15596771240234375, 0.38076159358024597, 0.47792115807533264, -0.10904072970151901, 0.5409334301948547, 0.2027178704738617, -0.15503384172916412, -0.13357125222682953, 0.07962052524089813, -0.012282120063900948, 0.03137455880641937, 0.17717090249061584, 0.3845149874687195, -0.0497155599296093, -0.21060845255851746, 0.18569602072238922, -0.15691420435905457, 0.13912764191627502, -0.04203273355960846, 0.1655571013689041, 0.09480247646570206, -0.007272733375430107, -0.3324393928050995, -0.14605416357517242, -0.27622032165527344, 0.4906443655490875, 0.2338908314704895, -0.036899130791425705, -0.19813281297683716, 0.22082172334194183, -0.26484358310699463, 0.07893192768096924, 0.37738415598869324, -0.08296223729848862, 0.13344059884548187, -0.025530057027935982, -0.053846899420022964, 0.4232185482978821, 0.23035740852355957, 0.363338828086853, 0.09410668909549713, 0.0773693099617958, -0.11899739503860474, -0.05169062688946724, -0.08364123106002808, 0.16998711228370667, 0.38050955533981323, 0.5147145390510559, -0.15038548409938812, 0.24698251485824585, 0.20057496428489685, -0.2362488955259323, 0.2449304461479187, -0.15608392655849457, 0.1641569435596466, 0.29718679189682007, 0.4563417434692383, -0.09552767127752304, 0.22433234751224518, -0.052730295807123184, 0.16265659034252167, -0.012600904330611229, -0.27527445554733276, -0.06570213288068771, 0.21050062775611877, 0.22338685393333435, -0.2070232331752777, 0.14157278835773468, -0.15785841643810272, 0.1621398627758026, 0.07242462038993835, 0.21997730433940887, 0.3260866403579712, -0.41795259714126587, -0.27032580971717834, 0.22633475065231323, -0.13380007445812225, 0.14140388369560242, 0.20286431908607483, -0.23097598552703857, 0.06532377004623413, 0.02214466594159603, 0.3145380914211273, -0.17257964611053467, -0.25412896275520325, 0.06806211918592453, -0.14693832397460938, 0.27387282252311707, 0.14203034341335297, -0.32216760516166687, 0.11413344740867615, -0.2045329511165619, 0.12102111428976059, -0.2143850475549698, 0.23306478559970856, -0.05175347998738289, -0.2587120532989502, -0.2643074095249176, 0.05450494587421417, 0.5595270395278931, 0.07190109044313431, 0.23489904403686523, -0.27706602215766907, -0.21100980043411255, -0.07310189306735992, -0.2557377517223358, -0.15474817156791687, 0.24687516689300537, -0.07841595262289047, 0.27642130851745605, -0.029680976644158363, -0.24269333481788635, -0.0780673548579216, 0.12470166385173798, -0.07833748310804367, 0.10808021575212479, 0.0023289306554943323, 0.1390531212091446, -0.22024545073509216, 0.21538574993610382, 0.35329294204711914, -0.17655102908611298, 0.08409959822893143, 0.19470186531543732, -0.14181336760520935, -0.5667946338653564, 0.22321033477783203, 0.37664249539375305, -0.02331290766596794, 0.04326153174042702, 0.03748754411935806, -0.18836979568004608, 0.01252094004303217, -0.047378335148096085, -0.10314798355102539, 0.3192874789237976, -0.027453182265162468, 0.09682053327560425, 0.12277329713106155, -0.24749325215816498, -0.04911485314369202, 0.12557843327522278, 0.2523009777069092, 0.1438487321138382, 0.07743338495492935, 0.16950422525405884, -0.09921588748693466 ]
https://github.com/huggingface/datasets/issues/1895
Bug Report: timestamp[ns] not recognized
Thanks for the clarification @lhoestq ! This may be a little bit of a stupid question, but I wanted to clarify one more thing before I took a stab at this: When the features get inferred, I believe they already have a pyarrow schema (https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L234). We then convert it to a string (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) only to convert it back into the arrow type (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L143, and https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L35). Is there a reason for this round-trip? I'll open a PR later to add `timestamp` support to `string_to_arrow`, but I'd be curious to understand since it feels like there may be some opportunities to simplify!
Repro: ``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type. ``` The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method. Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well! ``` $ pip list # only the relevant libraries/versions datasets 1.2.1 pandas 1.0.3 pyarrow 3.0.0 ```
100
Bug Report: timestamp[ns] not recognized
[ -0.1729884147644043, 0.05237310007214546, -0.1768631935119629, -0.1186840757727623, 0.03231486305594444, -0.11799018830060959, 0.36840546131134033, 0.1821245551109314, 0.03479084372520447, 0.11072739958763123, 0.32547298073768616, 0.15450789034366608, -0.1954139918088913, -0.23848532140254974, -0.34634044766426086, 0.2861150801181793, 0.15716122090816498, 0.17106550931930542, 0.07240913808345795, 0.19614869356155396, -0.4785693883895874, 0.36983364820480347, -0.18494556844234467, 0.22760513424873352, -0.15611939132213593, -0.12134221196174622, 0.031684525310993195, 0.26919761300086975, 0.00782814435660839, -0.4428076446056366, -0.039629362523555756, -0.24927912652492523, -0.12011630088090897, 0.5037895441055298, -0.00010251601634081453, 0.10430112481117249, 0.453686386346817, -0.10572322458028793, -0.2598954737186432, 0.6216360926628113, 0.0012054613325744867, 0.10832595825195312, -0.09561008214950562, -0.37829655408859253, -0.0912751778960228, 0.254043310880661, 0.08772297203540802, -0.40471386909484863, 0.04187263175845146, 0.5022736191749573, 0.3270038664340973, 0.11381122469902039, 0.08645520359277725, -0.024584487080574036, 0.5095005631446838, 0.07511158287525177, -0.03971805423498154, -0.0652228370308876, 0.34463635087013245, 0.15357594192028046, 0.29387763142585754, 0.18724924325942993, 0.026921847835183144, -0.245688796043396, -0.20206741988658905, -0.00026884261751547456, 0.34060630202293396, 0.07870788127183914, -0.13903750479221344, -0.2847208082675934, 0.3770325779914856, -0.018772639334201813, -0.08464740216732025, 0.06424171477556229, -0.30414438247680664, -0.1637313961982727, 0.15680958330631256, -0.15296244621276855, -0.043377093970775604, 0.1285560578107834, 0.16100917756557465, 0.1527090221643448, -0.08871135860681534, 0.23139290511608124, 0.45120736956596375, 0.22055867314338684, -0.10205990821123123, -0.015842298045754433, -0.2803778648376465, 0.01806442253291607, 0.18304291367530823, 0.22831501066684723, 0.1586509793996811, -0.11432221531867981, 0.12555307149887085, -0.043553754687309265, 0.1782364547252655, 0.05189628154039383, -0.2229047417640686, 0.05111405998468399, -0.32252994179725647, -0.004742566961795092, -0.02552148327231407, -0.08236292749643326, -0.11773812770843506, 0.2136119306087494, 0.09897404909133911, 0.37322402000427246, 0.2121306210756302, 0.1009499579668045, -0.008269676938652992, 0.008480130694806576, 0.09753608703613281, -0.17739951610565186, 0.032247066497802734, 0.3465439975261688, 0.16314585506916046, -0.16081878542900085, 0.1148519515991211, 0.05645418167114258, 0.2363065779209137, -0.00017335329903289676, 0.15568310022354126, 0.04088770970702171, -0.05519920215010643, -0.014890828169882298, 0.2594945728778839, 0.025375595316290855, -0.05392945930361748, -0.18988800048828125, -0.43726661801338196, 0.0730493888258934, -0.15386949479579926, -0.09422947466373444, -0.08464119583368301, 0.09810473024845123, -0.17891225218772888, -0.08760984241962433, -0.4429524838924408, -0.14392584562301636, -0.49921107292175293, 0.2196185290813446, -0.053542573004961014, 0.06850801408290863, -0.440003901720047, 0.10341648012399673, 0.12422041594982147, -0.1828727126121521, -0.03456299751996994, 0.13412630558013916, -0.47572362422943115, -0.31175678968429565, -0.28176936507225037, 0.2982999384403229, 0.02642967365682125, 0.059491511434316635, 0.6390056610107422, -0.05103687569499016, 0.4426962435245514, -0.3499675691127777, 0.286835640668869, 0.18408358097076416, -0.5627713799476624, -0.1324082911014557, -0.20281116664409637, 0.09001598507165909, -0.1055648997426033, -0.00843031331896782, -0.17208832502365112, -0.29544147849082947, 0.267622172832489, 0.10987351834774017, 0.229616180062294, -0.0694785788655281, -0.20655061304569244, 0.09087114781141281, -0.17783953249454498, -0.07854090631008148, -0.10508149117231369, -0.2552696168422699, -0.14656564593315125, -0.41765108704566956, -0.07344228029251099, 0.05891166254878044, -0.07105496525764465, -0.21388401091098785, 0.22660696506500244, 0.05995941907167435, 0.11171476542949677, -0.05250139534473419, -0.45772498846054077, -0.14123477041721344, -0.1412191540002823, 0.2548533082008362, 0.17628517746925354, 0.09423542767763138, 0.09958268702030182, -0.17757044732570648, 0.03431473299860954, 0.05131706967949867, 0.07897898554801941, 0.10897847265005112, 0.34446457028388977, -0.009356029331684113, 0.053964316844940186, -0.1504901796579361, -0.08440995961427689, -0.016393976286053658, 0.02605588734149933, 0.19622886180877686, -0.09914325922727585, -0.12188643962144852, -0.39818957448005676, 0.19431358575820923, 0.19812163710594177, -0.011666009202599525, 0.28971031308174133, 0.1572098433971405, 0.09836525470018387, 0.5329198241233826, 0.03361992910504341, 0.2361859530210495, -0.3542103171348572, -0.14113295078277588, -0.06905869394540787, 0.0710877999663353, -0.300467848777771, -0.2381957471370697, -0.05618895962834358, 0.25866079330444336, 0.21550865471363068, 0.14380304515361786, -0.19577153027057648, 0.12186825275421143, 0.11408815532922745, 0.010240242816507816, -0.3136123716831207, -0.02720009721815586, -0.07281694561243057, -0.07884006202220917, -0.3531387746334076, 0.4544297158718109, 0.15345308184623718, -0.03465276584029198, 0.10344812273979187, 0.0976056456565857, -0.2718334496021271, -0.2775483727455139, -0.18407656252384186, -0.07914642244577408, 0.05913757532835007, -0.11170072853565216, 0.13177941739559174, -0.21563498675823212, -0.07139848917722702, 0.06761380285024643, -0.0762958750128746, -0.18547888100147247, 0.08181499689817429, 0.1119692251086235, 0.5117852091789246, 0.1321231871843338, 0.052093084901571274, 0.18169869482517242, -0.10772214084863663, -0.13643209636211395, 0.0533626414835453, 0.031377360224723816, 0.1586035192012787, 0.11906692385673523, 0.10574769228696823, 0.11938493698835373, -0.05280277505517006, -0.11492331326007843, 0.13245491683483124, 0.004263478796929121, 0.07717081904411316, 0.09459114819765091, 0.1589033603668213, 0.02489003725349903, -0.12673015892505646, -0.19128218293190002, -0.05203427001833916, 0.2907087802886963, -0.3822777271270752, 0.220057874917984, -0.2922900915145874, -0.5710789561271667, 0.11856004595756531, 0.07388163357973099, -0.07781128585338593, -0.323319673538208, 0.4238818883895874, 0.08213743567466736, -0.20933303236961365, -0.06910129636526108, -0.248240664601326, 0.6109808683395386, 0.15945783257484436, 0.46235376596450806, -0.13326093554496765, -0.3079017996788025, -0.14729255437850952, 0.1947479099035263, 0.03682360053062439, -0.126714825630188, 0.28188154101371765, -0.25450557470321655, 0.08492565900087357, 0.35522007942199707, -0.31943556666374207, 0.14348016679286957, 0.20584964752197266, 0.07772745192050934, -0.131678968667984, -0.06735678762197495, -0.06541165709495544, -0.10856690257787704, 0.04312781244516373, -0.40526407957077026, -0.31882497668266296, -0.12548629939556122, -0.07471852749586105, 0.026397479698061943, -0.4988752007484436, -0.029302962124347687, -0.35011357069015503, -0.3086862862110138, 0.1478404700756073, -0.17066985368728638, 0.2196311205625534, 0.7900674343109131, -0.338652104139328, 0.0679212436079979, -0.21617287397384644, 0.15522551536560059, -0.3746904730796814, -0.19060440361499786, 0.058519650250673294, -0.2592916488647461, -0.20910997688770294, -0.06768069416284561, 0.10261142998933792, -0.3451694846153259, -0.26049408316612244, -0.1849633902311325, -0.32351723313331604, 0.002215051557868719, -0.2839811146259308, 0.16560199856758118, -0.1934700906276703, 0.3760395348072052, -0.19486448168754578, -0.27496907114982605, -0.28928104043006897, -0.18355803191661835, 0.28503021597862244, 0.10806938260793686, 0.05979333445429802, 0.12700378894805908, 0.12430893629789352, 0.011388599872589111, 0.42481955885887146, 0.31538575887680054, -0.2785941958427429, 0.26347050070762634, -0.25539112091064453, 0.2507806420326233, -0.16707313060760498, 0.04582150653004646, 0.02878658100962639, 0.27213984727859497, -0.36092525720596313, 0.25865602493286133, -0.018653621897101402, -0.15252932906150818, -0.026499584317207336, 0.11196529865264893, -0.46110859513282776, -0.25054076313972473, -0.2310114949941635, 0.43676409125328064, 0.13355909287929535, 0.04594288766384125, -0.012593860737979412, -0.09137647598981857, -0.41586732864379883, 0.11353560537099838, 0.24478018283843994, -0.051455818116664886, -0.08753732591867447, -0.09614713490009308, 0.06069730594754219, -0.2478480488061905, -0.0008371336734853685, 0.004902239423245192, 0.4061928987503052, -0.2813620865345001, -0.28956368565559387, 0.049668435007333755, -0.036719322204589844, 0.1400814950466156, -0.3165096044540405, 0.34774136543273926, 0.2692180275917053, 0.22779765725135803, -0.06293682008981705, -0.09031809121370316, 0.13501577079296112, -0.141898050904274, 0.15074706077575684, 0.36739301681518555, -0.03466324508190155, 0.23079265654087067, -0.2858390212059021, -0.2751093804836273, -0.06826720386743546, -0.12381023913621902, -0.00897280965000391, 0.13308167457580566, -0.17228974401950836, 0.21950870752334595, 0.09166255593299866, 0.10143759846687317, 0.19060586392879486, 0.04443486034870148, -0.036496058106422424, 0.1552567481994629, -0.19316543638706207, -0.04536807909607887, 0.24611854553222656, -0.1030941978096962, 0.15433873236179352, -0.2994968295097351, -0.03343699499964714, -0.02500709891319275, 0.603065013885498, 0.1137571707367897, 0.24574582278728485, 0.19568879902362823, -0.16756510734558105, -0.17328299582004547, 0.3327305018901825, -0.009960189461708069, -0.010001981630921364, 0.30258694291114807, 0.1962921917438507, -0.1493629515171051, -0.17192623019218445, -0.04204520583152771, -0.3492424190044403, -0.21224133670330048, 0.4184763729572296, -0.06305454671382904, 0.1994013637304306, 0.07390500605106354, 0.3502480387687683, -0.21254689991474152, 0.03962293267250061, 0.09144292771816254, -0.09766118228435516, 0.7248504757881165, 0.1010301411151886, 0.0481535978615284, 0.1928846836090088, -0.30214667320251465, 0.46698760986328125, 0.2048066258430481, 0.024233026430010796, -0.37138867378234863, -0.26905500888824463, 0.1220579519867897, 0.06272030621767044, -0.0820741206407547, 0.034475523978471756, -0.21413464844226837, -0.09794580936431885, 0.11576493829488754, 0.4438794255256653, -0.08541112393140793, -0.07829883694648743, 0.7744205594062805, 0.1221385970711708, -0.16036298871040344, 0.288463830947876, -0.134140282869339, 0.1402646005153656, -0.07649480551481247, -0.0464506521821022, -0.2066393345594406, -0.30950501561164856, -0.31730762124061584, 0.2583709955215454, 0.2594027817249298, 0.09683629125356674, 0.11287117749452591, -0.08158527314662933, -0.31412234902381897, -0.42038875818252563, 0.41673049330711365, -0.195279061794281, -0.008244206197559834, 0.11088068038225174, 0.2760445475578308, 0.0801919549703598, -0.26834848523139954, 0.10576977580785751, 0.2580953538417816, -0.4086173474788666, 0.20432712137699127, -0.09080000221729279, -0.15218450129032135, -0.6741453409194946, 0.14136812090873718, 0.12754109501838684, -0.44634801149368286, 0.10928516089916229, -0.26237952709198, 0.23845967650413513, 0.23632895946502686, -0.23069477081298828, 0.29138240218162537, -0.046355243772268295, 0.3086242377758026, 0.13789553940296173, -0.1438688039779663, -0.28384658694267273, -0.24906037747859955, 0.36800628900527954, -0.02307603694498539, -0.19018970429897308, -0.009039310738444328, 0.3806314766407013, -0.3726557493209839, -0.20132112503051758, -0.1335325539112091, -0.05990840122103691, -0.7153620719909668, 0.05760372057557106, -0.37005624175071716, 0.1323852688074112, 0.3703594505786896, 0.2230263352394104, -0.04228063300251961, 0.33374956250190735, 0.013154893182218075, -0.3505556881427765, -0.28215351700782776, 0.10775357484817505, -0.32992732524871826, 0.07171489298343658, -0.10593897104263306, -0.12681518495082855, -0.0610165111720562, -0.08705921471118927, -0.4616214334964752, -0.26695024967193604, -0.13362130522727966, 0.07211326062679291, -0.04177413135766983, -0.031529199331998825, 0.08894896507263184, -0.11759307980537415, 0.22413481771945953, 0.26661741733551025, -0.035305339843034744, -0.3392588794231415, -0.05419759452342987, 0.09461891651153564, 0.11086436361074448, -0.04746733233332634, 0.05294859781861305, 0.036992333829402924, -0.3308926224708557, 0.31365835666656494, -0.17291104793548584, 0.27504733204841614, -0.21521809697151184, 0.13518032431602478, 0.15019607543945312, 0.124240942299366, 0.24403996765613556, -0.13424436748027802, 0.003801340702921152, 0.5399133563041687, -0.009079936891794205, 0.2426481544971466, -0.11232972890138626, 0.043069008737802505, -0.28569450974464417, 0.12640975415706635, -0.14673057198524475, -0.010515461675822735, 0.07369782030582428, -0.19377444684505463, -0.16262486577033997, 0.3450757563114166, 0.026671869680285454, -0.13754218816757202, -0.3054324686527252, -0.26224854588508606, -0.018562406301498413, 0.2548485994338989, -0.133550763130188, -0.03403879329562187, 0.17239223420619965, 0.00499338423833251, -0.08539821207523346, 0.17700694501399994, 0.19047774374485016, -0.058152616024017334, 0.44179636240005493, 0.2836461663246155, -0.11120282858610153, -0.22596041858196259, 0.09556218236684799, 0.31920841336250305, -0.17183087766170502, 0.08218885958194733, 0.10595402866601944, -0.05984725058078766, 0.15596771240234375, 0.38076159358024597, 0.47792115807533264, -0.10904072970151901, 0.5409334301948547, 0.2027178704738617, -0.15503384172916412, -0.13357125222682953, 0.07962052524089813, -0.012282120063900948, 0.03137455880641937, 0.17717090249061584, 0.3845149874687195, -0.0497155599296093, -0.21060845255851746, 0.18569602072238922, -0.15691420435905457, 0.13912764191627502, -0.04203273355960846, 0.1655571013689041, 0.09480247646570206, -0.007272733375430107, -0.3324393928050995, -0.14605416357517242, -0.27622032165527344, 0.4906443655490875, 0.2338908314704895, -0.036899130791425705, -0.19813281297683716, 0.22082172334194183, -0.26484358310699463, 0.07893192768096924, 0.37738415598869324, -0.08296223729848862, 0.13344059884548187, -0.025530057027935982, -0.053846899420022964, 0.4232185482978821, 0.23035740852355957, 0.363338828086853, 0.09410668909549713, 0.0773693099617958, -0.11899739503860474, -0.05169062688946724, -0.08364123106002808, 0.16998711228370667, 0.38050955533981323, 0.5147145390510559, -0.15038548409938812, 0.24698251485824585, 0.20057496428489685, -0.2362488955259323, 0.2449304461479187, -0.15608392655849457, 0.1641569435596466, 0.29718679189682007, 0.4563417434692383, -0.09552767127752304, 0.22433234751224518, -0.052730295807123184, 0.16265659034252167, -0.012600904330611229, -0.27527445554733276, -0.06570213288068771, 0.21050062775611877, 0.22338685393333435, -0.2070232331752777, 0.14157278835773468, -0.15785841643810272, 0.1621398627758026, 0.07242462038993835, 0.21997730433940887, 0.3260866403579712, -0.41795259714126587, -0.27032580971717834, 0.22633475065231323, -0.13380007445812225, 0.14140388369560242, 0.20286431908607483, -0.23097598552703857, 0.06532377004623413, 0.02214466594159603, 0.3145380914211273, -0.17257964611053467, -0.25412896275520325, 0.06806211918592453, -0.14693832397460938, 0.27387282252311707, 0.14203034341335297, -0.32216760516166687, 0.11413344740867615, -0.2045329511165619, 0.12102111428976059, -0.2143850475549698, 0.23306478559970856, -0.05175347998738289, -0.2587120532989502, -0.2643074095249176, 0.05450494587421417, 0.5595270395278931, 0.07190109044313431, 0.23489904403686523, -0.27706602215766907, -0.21100980043411255, -0.07310189306735992, -0.2557377517223358, -0.15474817156791687, 0.24687516689300537, -0.07841595262289047, 0.27642130851745605, -0.029680976644158363, -0.24269333481788635, -0.0780673548579216, 0.12470166385173798, -0.07833748310804367, 0.10808021575212479, 0.0023289306554943323, 0.1390531212091446, -0.22024545073509216, 0.21538574993610382, 0.35329294204711914, -0.17655102908611298, 0.08409959822893143, 0.19470186531543732, -0.14181336760520935, -0.5667946338653564, 0.22321033477783203, 0.37664249539375305, -0.02331290766596794, 0.04326153174042702, 0.03748754411935806, -0.18836979568004608, 0.01252094004303217, -0.047378335148096085, -0.10314798355102539, 0.3192874789237976, -0.027453182265162468, 0.09682053327560425, 0.12277329713106155, -0.24749325215816498, -0.04911485314369202, 0.12557843327522278, 0.2523009777069092, 0.1438487321138382, 0.07743338495492935, 0.16950422525405884, -0.09921588748693466 ]
https://github.com/huggingface/datasets/issues/1895
Bug Report: timestamp[ns] not recognized
The objective in terms of design is to make it easy to create Features in a pythonic way. So for example we use a string to define a Value type. That's why when inferring the Features from an arrow schema we have to find the right string definitions for Value types. I guess we could also have a constructor `Value.from_arrow_type` to avoid recreating the arrow type, but this could create silent errors if the pyarrow type doesn't have a valid mapping with the string definition. The "round-trip" is used to enforce that the ground truth is the string definition, not the pyarrow type, and also as a sanity check. Let me know if that makes sense
Repro: ``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type. ``` The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method. Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well! ``` $ pip list # only the relevant libraries/versions datasets 1.2.1 pandas 1.0.3 pyarrow 3.0.0 ```
116
Bug Report: timestamp[ns] not recognized
[ -0.1729884147644043, 0.05237310007214546, -0.1768631935119629, -0.1186840757727623, 0.03231486305594444, -0.11799018830060959, 0.36840546131134033, 0.1821245551109314, 0.03479084372520447, 0.11072739958763123, 0.32547298073768616, 0.15450789034366608, -0.1954139918088913, -0.23848532140254974, -0.34634044766426086, 0.2861150801181793, 0.15716122090816498, 0.17106550931930542, 0.07240913808345795, 0.19614869356155396, -0.4785693883895874, 0.36983364820480347, -0.18494556844234467, 0.22760513424873352, -0.15611939132213593, -0.12134221196174622, 0.031684525310993195, 0.26919761300086975, 0.00782814435660839, -0.4428076446056366, -0.039629362523555756, -0.24927912652492523, -0.12011630088090897, 0.5037895441055298, -0.00010251601634081453, 0.10430112481117249, 0.453686386346817, -0.10572322458028793, -0.2598954737186432, 0.6216360926628113, 0.0012054613325744867, 0.10832595825195312, -0.09561008214950562, -0.37829655408859253, -0.0912751778960228, 0.254043310880661, 0.08772297203540802, -0.40471386909484863, 0.04187263175845146, 0.5022736191749573, 0.3270038664340973, 0.11381122469902039, 0.08645520359277725, -0.024584487080574036, 0.5095005631446838, 0.07511158287525177, -0.03971805423498154, -0.0652228370308876, 0.34463635087013245, 0.15357594192028046, 0.29387763142585754, 0.18724924325942993, 0.026921847835183144, -0.245688796043396, -0.20206741988658905, -0.00026884261751547456, 0.34060630202293396, 0.07870788127183914, -0.13903750479221344, -0.2847208082675934, 0.3770325779914856, -0.018772639334201813, -0.08464740216732025, 0.06424171477556229, -0.30414438247680664, -0.1637313961982727, 0.15680958330631256, -0.15296244621276855, -0.043377093970775604, 0.1285560578107834, 0.16100917756557465, 0.1527090221643448, -0.08871135860681534, 0.23139290511608124, 0.45120736956596375, 0.22055867314338684, -0.10205990821123123, -0.015842298045754433, -0.2803778648376465, 0.01806442253291607, 0.18304291367530823, 0.22831501066684723, 0.1586509793996811, -0.11432221531867981, 0.12555307149887085, -0.043553754687309265, 0.1782364547252655, 0.05189628154039383, -0.2229047417640686, 0.05111405998468399, -0.32252994179725647, -0.004742566961795092, -0.02552148327231407, -0.08236292749643326, -0.11773812770843506, 0.2136119306087494, 0.09897404909133911, 0.37322402000427246, 0.2121306210756302, 0.1009499579668045, -0.008269676938652992, 0.008480130694806576, 0.09753608703613281, -0.17739951610565186, 0.032247066497802734, 0.3465439975261688, 0.16314585506916046, -0.16081878542900085, 0.1148519515991211, 0.05645418167114258, 0.2363065779209137, -0.00017335329903289676, 0.15568310022354126, 0.04088770970702171, -0.05519920215010643, -0.014890828169882298, 0.2594945728778839, 0.025375595316290855, -0.05392945930361748, -0.18988800048828125, -0.43726661801338196, 0.0730493888258934, -0.15386949479579926, -0.09422947466373444, -0.08464119583368301, 0.09810473024845123, -0.17891225218772888, -0.08760984241962433, -0.4429524838924408, -0.14392584562301636, -0.49921107292175293, 0.2196185290813446, -0.053542573004961014, 0.06850801408290863, -0.440003901720047, 0.10341648012399673, 0.12422041594982147, -0.1828727126121521, -0.03456299751996994, 0.13412630558013916, -0.47572362422943115, -0.31175678968429565, -0.28176936507225037, 0.2982999384403229, 0.02642967365682125, 0.059491511434316635, 0.6390056610107422, -0.05103687569499016, 0.4426962435245514, -0.3499675691127777, 0.286835640668869, 0.18408358097076416, -0.5627713799476624, -0.1324082911014557, -0.20281116664409637, 0.09001598507165909, -0.1055648997426033, -0.00843031331896782, -0.17208832502365112, -0.29544147849082947, 0.267622172832489, 0.10987351834774017, 0.229616180062294, -0.0694785788655281, -0.20655061304569244, 0.09087114781141281, -0.17783953249454498, -0.07854090631008148, -0.10508149117231369, -0.2552696168422699, -0.14656564593315125, -0.41765108704566956, -0.07344228029251099, 0.05891166254878044, -0.07105496525764465, -0.21388401091098785, 0.22660696506500244, 0.05995941907167435, 0.11171476542949677, -0.05250139534473419, -0.45772498846054077, -0.14123477041721344, -0.1412191540002823, 0.2548533082008362, 0.17628517746925354, 0.09423542767763138, 0.09958268702030182, -0.17757044732570648, 0.03431473299860954, 0.05131706967949867, 0.07897898554801941, 0.10897847265005112, 0.34446457028388977, -0.009356029331684113, 0.053964316844940186, -0.1504901796579361, -0.08440995961427689, -0.016393976286053658, 0.02605588734149933, 0.19622886180877686, -0.09914325922727585, -0.12188643962144852, -0.39818957448005676, 0.19431358575820923, 0.19812163710594177, -0.011666009202599525, 0.28971031308174133, 0.1572098433971405, 0.09836525470018387, 0.5329198241233826, 0.03361992910504341, 0.2361859530210495, -0.3542103171348572, -0.14113295078277588, -0.06905869394540787, 0.0710877999663353, -0.300467848777771, -0.2381957471370697, -0.05618895962834358, 0.25866079330444336, 0.21550865471363068, 0.14380304515361786, -0.19577153027057648, 0.12186825275421143, 0.11408815532922745, 0.010240242816507816, -0.3136123716831207, -0.02720009721815586, -0.07281694561243057, -0.07884006202220917, -0.3531387746334076, 0.4544297158718109, 0.15345308184623718, -0.03465276584029198, 0.10344812273979187, 0.0976056456565857, -0.2718334496021271, -0.2775483727455139, -0.18407656252384186, -0.07914642244577408, 0.05913757532835007, -0.11170072853565216, 0.13177941739559174, -0.21563498675823212, -0.07139848917722702, 0.06761380285024643, -0.0762958750128746, -0.18547888100147247, 0.08181499689817429, 0.1119692251086235, 0.5117852091789246, 0.1321231871843338, 0.052093084901571274, 0.18169869482517242, -0.10772214084863663, -0.13643209636211395, 0.0533626414835453, 0.031377360224723816, 0.1586035192012787, 0.11906692385673523, 0.10574769228696823, 0.11938493698835373, -0.05280277505517006, -0.11492331326007843, 0.13245491683483124, 0.004263478796929121, 0.07717081904411316, 0.09459114819765091, 0.1589033603668213, 0.02489003725349903, -0.12673015892505646, -0.19128218293190002, -0.05203427001833916, 0.2907087802886963, -0.3822777271270752, 0.220057874917984, -0.2922900915145874, -0.5710789561271667, 0.11856004595756531, 0.07388163357973099, -0.07781128585338593, -0.323319673538208, 0.4238818883895874, 0.08213743567466736, -0.20933303236961365, -0.06910129636526108, -0.248240664601326, 0.6109808683395386, 0.15945783257484436, 0.46235376596450806, -0.13326093554496765, -0.3079017996788025, -0.14729255437850952, 0.1947479099035263, 0.03682360053062439, -0.126714825630188, 0.28188154101371765, -0.25450557470321655, 0.08492565900087357, 0.35522007942199707, -0.31943556666374207, 0.14348016679286957, 0.20584964752197266, 0.07772745192050934, -0.131678968667984, -0.06735678762197495, -0.06541165709495544, -0.10856690257787704, 0.04312781244516373, -0.40526407957077026, -0.31882497668266296, -0.12548629939556122, -0.07471852749586105, 0.026397479698061943, -0.4988752007484436, -0.029302962124347687, -0.35011357069015503, -0.3086862862110138, 0.1478404700756073, -0.17066985368728638, 0.2196311205625534, 0.7900674343109131, -0.338652104139328, 0.0679212436079979, -0.21617287397384644, 0.15522551536560059, -0.3746904730796814, -0.19060440361499786, 0.058519650250673294, -0.2592916488647461, -0.20910997688770294, -0.06768069416284561, 0.10261142998933792, -0.3451694846153259, -0.26049408316612244, -0.1849633902311325, -0.32351723313331604, 0.002215051557868719, -0.2839811146259308, 0.16560199856758118, -0.1934700906276703, 0.3760395348072052, -0.19486448168754578, -0.27496907114982605, -0.28928104043006897, -0.18355803191661835, 0.28503021597862244, 0.10806938260793686, 0.05979333445429802, 0.12700378894805908, 0.12430893629789352, 0.011388599872589111, 0.42481955885887146, 0.31538575887680054, -0.2785941958427429, 0.26347050070762634, -0.25539112091064453, 0.2507806420326233, -0.16707313060760498, 0.04582150653004646, 0.02878658100962639, 0.27213984727859497, -0.36092525720596313, 0.25865602493286133, -0.018653621897101402, -0.15252932906150818, -0.026499584317207336, 0.11196529865264893, -0.46110859513282776, -0.25054076313972473, -0.2310114949941635, 0.43676409125328064, 0.13355909287929535, 0.04594288766384125, -0.012593860737979412, -0.09137647598981857, -0.41586732864379883, 0.11353560537099838, 0.24478018283843994, -0.051455818116664886, -0.08753732591867447, -0.09614713490009308, 0.06069730594754219, -0.2478480488061905, -0.0008371336734853685, 0.004902239423245192, 0.4061928987503052, -0.2813620865345001, -0.28956368565559387, 0.049668435007333755, -0.036719322204589844, 0.1400814950466156, -0.3165096044540405, 0.34774136543273926, 0.2692180275917053, 0.22779765725135803, -0.06293682008981705, -0.09031809121370316, 0.13501577079296112, -0.141898050904274, 0.15074706077575684, 0.36739301681518555, -0.03466324508190155, 0.23079265654087067, -0.2858390212059021, -0.2751093804836273, -0.06826720386743546, -0.12381023913621902, -0.00897280965000391, 0.13308167457580566, -0.17228974401950836, 0.21950870752334595, 0.09166255593299866, 0.10143759846687317, 0.19060586392879486, 0.04443486034870148, -0.036496058106422424, 0.1552567481994629, -0.19316543638706207, -0.04536807909607887, 0.24611854553222656, -0.1030941978096962, 0.15433873236179352, -0.2994968295097351, -0.03343699499964714, -0.02500709891319275, 0.603065013885498, 0.1137571707367897, 0.24574582278728485, 0.19568879902362823, -0.16756510734558105, -0.17328299582004547, 0.3327305018901825, -0.009960189461708069, -0.010001981630921364, 0.30258694291114807, 0.1962921917438507, -0.1493629515171051, -0.17192623019218445, -0.04204520583152771, -0.3492424190044403, -0.21224133670330048, 0.4184763729572296, -0.06305454671382904, 0.1994013637304306, 0.07390500605106354, 0.3502480387687683, -0.21254689991474152, 0.03962293267250061, 0.09144292771816254, -0.09766118228435516, 0.7248504757881165, 0.1010301411151886, 0.0481535978615284, 0.1928846836090088, -0.30214667320251465, 0.46698760986328125, 0.2048066258430481, 0.024233026430010796, -0.37138867378234863, -0.26905500888824463, 0.1220579519867897, 0.06272030621767044, -0.0820741206407547, 0.034475523978471756, -0.21413464844226837, -0.09794580936431885, 0.11576493829488754, 0.4438794255256653, -0.08541112393140793, -0.07829883694648743, 0.7744205594062805, 0.1221385970711708, -0.16036298871040344, 0.288463830947876, -0.134140282869339, 0.1402646005153656, -0.07649480551481247, -0.0464506521821022, -0.2066393345594406, -0.30950501561164856, -0.31730762124061584, 0.2583709955215454, 0.2594027817249298, 0.09683629125356674, 0.11287117749452591, -0.08158527314662933, -0.31412234902381897, -0.42038875818252563, 0.41673049330711365, -0.195279061794281, -0.008244206197559834, 0.11088068038225174, 0.2760445475578308, 0.0801919549703598, -0.26834848523139954, 0.10576977580785751, 0.2580953538417816, -0.4086173474788666, 0.20432712137699127, -0.09080000221729279, -0.15218450129032135, -0.6741453409194946, 0.14136812090873718, 0.12754109501838684, -0.44634801149368286, 0.10928516089916229, -0.26237952709198, 0.23845967650413513, 0.23632895946502686, -0.23069477081298828, 0.29138240218162537, -0.046355243772268295, 0.3086242377758026, 0.13789553940296173, -0.1438688039779663, -0.28384658694267273, -0.24906037747859955, 0.36800628900527954, -0.02307603694498539, -0.19018970429897308, -0.009039310738444328, 0.3806314766407013, -0.3726557493209839, -0.20132112503051758, -0.1335325539112091, -0.05990840122103691, -0.7153620719909668, 0.05760372057557106, -0.37005624175071716, 0.1323852688074112, 0.3703594505786896, 0.2230263352394104, -0.04228063300251961, 0.33374956250190735, 0.013154893182218075, -0.3505556881427765, -0.28215351700782776, 0.10775357484817505, -0.32992732524871826, 0.07171489298343658, -0.10593897104263306, -0.12681518495082855, -0.0610165111720562, -0.08705921471118927, -0.4616214334964752, -0.26695024967193604, -0.13362130522727966, 0.07211326062679291, -0.04177413135766983, -0.031529199331998825, 0.08894896507263184, -0.11759307980537415, 0.22413481771945953, 0.26661741733551025, -0.035305339843034744, -0.3392588794231415, -0.05419759452342987, 0.09461891651153564, 0.11086436361074448, -0.04746733233332634, 0.05294859781861305, 0.036992333829402924, -0.3308926224708557, 0.31365835666656494, -0.17291104793548584, 0.27504733204841614, -0.21521809697151184, 0.13518032431602478, 0.15019607543945312, 0.124240942299366, 0.24403996765613556, -0.13424436748027802, 0.003801340702921152, 0.5399133563041687, -0.009079936891794205, 0.2426481544971466, -0.11232972890138626, 0.043069008737802505, -0.28569450974464417, 0.12640975415706635, -0.14673057198524475, -0.010515461675822735, 0.07369782030582428, -0.19377444684505463, -0.16262486577033997, 0.3450757563114166, 0.026671869680285454, -0.13754218816757202, -0.3054324686527252, -0.26224854588508606, -0.018562406301498413, 0.2548485994338989, -0.133550763130188, -0.03403879329562187, 0.17239223420619965, 0.00499338423833251, -0.08539821207523346, 0.17700694501399994, 0.19047774374485016, -0.058152616024017334, 0.44179636240005493, 0.2836461663246155, -0.11120282858610153, -0.22596041858196259, 0.09556218236684799, 0.31920841336250305, -0.17183087766170502, 0.08218885958194733, 0.10595402866601944, -0.05984725058078766, 0.15596771240234375, 0.38076159358024597, 0.47792115807533264, -0.10904072970151901, 0.5409334301948547, 0.2027178704738617, -0.15503384172916412, -0.13357125222682953, 0.07962052524089813, -0.012282120063900948, 0.03137455880641937, 0.17717090249061584, 0.3845149874687195, -0.0497155599296093, -0.21060845255851746, 0.18569602072238922, -0.15691420435905457, 0.13912764191627502, -0.04203273355960846, 0.1655571013689041, 0.09480247646570206, -0.007272733375430107, -0.3324393928050995, -0.14605416357517242, -0.27622032165527344, 0.4906443655490875, 0.2338908314704895, -0.036899130791425705, -0.19813281297683716, 0.22082172334194183, -0.26484358310699463, 0.07893192768096924, 0.37738415598869324, -0.08296223729848862, 0.13344059884548187, -0.025530057027935982, -0.053846899420022964, 0.4232185482978821, 0.23035740852355957, 0.363338828086853, 0.09410668909549713, 0.0773693099617958, -0.11899739503860474, -0.05169062688946724, -0.08364123106002808, 0.16998711228370667, 0.38050955533981323, 0.5147145390510559, -0.15038548409938812, 0.24698251485824585, 0.20057496428489685, -0.2362488955259323, 0.2449304461479187, -0.15608392655849457, 0.1641569435596466, 0.29718679189682007, 0.4563417434692383, -0.09552767127752304, 0.22433234751224518, -0.052730295807123184, 0.16265659034252167, -0.012600904330611229, -0.27527445554733276, -0.06570213288068771, 0.21050062775611877, 0.22338685393333435, -0.2070232331752777, 0.14157278835773468, -0.15785841643810272, 0.1621398627758026, 0.07242462038993835, 0.21997730433940887, 0.3260866403579712, -0.41795259714126587, -0.27032580971717834, 0.22633475065231323, -0.13380007445812225, 0.14140388369560242, 0.20286431908607483, -0.23097598552703857, 0.06532377004623413, 0.02214466594159603, 0.3145380914211273, -0.17257964611053467, -0.25412896275520325, 0.06806211918592453, -0.14693832397460938, 0.27387282252311707, 0.14203034341335297, -0.32216760516166687, 0.11413344740867615, -0.2045329511165619, 0.12102111428976059, -0.2143850475549698, 0.23306478559970856, -0.05175347998738289, -0.2587120532989502, -0.2643074095249176, 0.05450494587421417, 0.5595270395278931, 0.07190109044313431, 0.23489904403686523, -0.27706602215766907, -0.21100980043411255, -0.07310189306735992, -0.2557377517223358, -0.15474817156791687, 0.24687516689300537, -0.07841595262289047, 0.27642130851745605, -0.029680976644158363, -0.24269333481788635, -0.0780673548579216, 0.12470166385173798, -0.07833748310804367, 0.10808021575212479, 0.0023289306554943323, 0.1390531212091446, -0.22024545073509216, 0.21538574993610382, 0.35329294204711914, -0.17655102908611298, 0.08409959822893143, 0.19470186531543732, -0.14181336760520935, -0.5667946338653564, 0.22321033477783203, 0.37664249539375305, -0.02331290766596794, 0.04326153174042702, 0.03748754411935806, -0.18836979568004608, 0.01252094004303217, -0.047378335148096085, -0.10314798355102539, 0.3192874789237976, -0.027453182265162468, 0.09682053327560425, 0.12277329713106155, -0.24749325215816498, -0.04911485314369202, 0.12557843327522278, 0.2523009777069092, 0.1438487321138382, 0.07743338495492935, 0.16950422525405884, -0.09921588748693466 ]
https://github.com/huggingface/datasets/issues/1895
Bug Report: timestamp[ns] not recognized
OK I think I understand now: Features are datasets' internal representation of a schema type, distinct from pyarrow's schema. Value() corresponds to pyarrow's "primitive" types (e.g. `int` or `string`, but not things like `list` or `dict`). `get_nested_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L698) and `generate_from_arrow_type()` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L778) *should* be inverses of each other, and similarly, for the primitive values, `string_to_arrow()` and `Value.__call__` (https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L146) should be inverses of each other? Thanks for taking the time to answer - I just wanted to make sure I understood before opening a PR so I'm not disrupting anything about how the codebase is expected to work!
Repro: ``` from datasets import Dataset import pandas as pd import pyarrow df = pd.DataFrame(pd.date_range("2018-01-01", periods=3, freq="H")) pyarrow.Table.from_pandas(df) Dataset.from_pandas(df) # Throws ValueError: Neither timestamp[ns] nor timestamp[ns]_ seems to be a pyarrow data type. ``` The factory function seems to be just "timestamp": https://arrow.apache.org/docs/python/generated/pyarrow.timestamp.html#pyarrow.timestamp It seems like https://github.com/huggingface/datasets/blob/master/src/datasets/features.py#L36-L43 could have a little bit of additional structure for handling these cases? I'd be happy to take a shot at opening a PR if I could receive some guidance on whether parsing something like `timestamp[ns]` and resolving it to timestamp('ns') is the goal of this method. Alternatively, if I'm using this incorrectly (e.g. is the expectation that we always provide a schema when timestamps are involved?), that would be very helpful to know as well! ``` $ pip list # only the relevant libraries/versions datasets 1.2.1 pandas 1.0.3 pyarrow 3.0.0 ```
96
Bug Report: timestamp[ns] not recognized
[ -0.1729884147644043, 0.05237310007214546, -0.1768631935119629, -0.1186840757727623, 0.03231486305594444, -0.11799018830060959, 0.36840546131134033, 0.1821245551109314, 0.03479084372520447, 0.11072739958763123, 0.32547298073768616, 0.15450789034366608, -0.1954139918088913, -0.23848532140254974, -0.34634044766426086, 0.2861150801181793, 0.15716122090816498, 0.17106550931930542, 0.07240913808345795, 0.19614869356155396, -0.4785693883895874, 0.36983364820480347, -0.18494556844234467, 0.22760513424873352, -0.15611939132213593, -0.12134221196174622, 0.031684525310993195, 0.26919761300086975, 0.00782814435660839, -0.4428076446056366, -0.039629362523555756, -0.24927912652492523, -0.12011630088090897, 0.5037895441055298, -0.00010251601634081453, 0.10430112481117249, 0.453686386346817, -0.10572322458028793, -0.2598954737186432, 0.6216360926628113, 0.0012054613325744867, 0.10832595825195312, -0.09561008214950562, -0.37829655408859253, -0.0912751778960228, 0.254043310880661, 0.08772297203540802, -0.40471386909484863, 0.04187263175845146, 0.5022736191749573, 0.3270038664340973, 0.11381122469902039, 0.08645520359277725, -0.024584487080574036, 0.5095005631446838, 0.07511158287525177, -0.03971805423498154, -0.0652228370308876, 0.34463635087013245, 0.15357594192028046, 0.29387763142585754, 0.18724924325942993, 0.026921847835183144, -0.245688796043396, -0.20206741988658905, -0.00026884261751547456, 0.34060630202293396, 0.07870788127183914, -0.13903750479221344, -0.2847208082675934, 0.3770325779914856, -0.018772639334201813, -0.08464740216732025, 0.06424171477556229, -0.30414438247680664, -0.1637313961982727, 0.15680958330631256, -0.15296244621276855, -0.043377093970775604, 0.1285560578107834, 0.16100917756557465, 0.1527090221643448, -0.08871135860681534, 0.23139290511608124, 0.45120736956596375, 0.22055867314338684, -0.10205990821123123, -0.015842298045754433, -0.2803778648376465, 0.01806442253291607, 0.18304291367530823, 0.22831501066684723, 0.1586509793996811, -0.11432221531867981, 0.12555307149887085, -0.043553754687309265, 0.1782364547252655, 0.05189628154039383, -0.2229047417640686, 0.05111405998468399, -0.32252994179725647, -0.004742566961795092, -0.02552148327231407, -0.08236292749643326, -0.11773812770843506, 0.2136119306087494, 0.09897404909133911, 0.37322402000427246, 0.2121306210756302, 0.1009499579668045, -0.008269676938652992, 0.008480130694806576, 0.09753608703613281, -0.17739951610565186, 0.032247066497802734, 0.3465439975261688, 0.16314585506916046, -0.16081878542900085, 0.1148519515991211, 0.05645418167114258, 0.2363065779209137, -0.00017335329903289676, 0.15568310022354126, 0.04088770970702171, -0.05519920215010643, -0.014890828169882298, 0.2594945728778839, 0.025375595316290855, -0.05392945930361748, -0.18988800048828125, -0.43726661801338196, 0.0730493888258934, -0.15386949479579926, -0.09422947466373444, -0.08464119583368301, 0.09810473024845123, -0.17891225218772888, -0.08760984241962433, -0.4429524838924408, -0.14392584562301636, -0.49921107292175293, 0.2196185290813446, -0.053542573004961014, 0.06850801408290863, -0.440003901720047, 0.10341648012399673, 0.12422041594982147, -0.1828727126121521, -0.03456299751996994, 0.13412630558013916, -0.47572362422943115, -0.31175678968429565, -0.28176936507225037, 0.2982999384403229, 0.02642967365682125, 0.059491511434316635, 0.6390056610107422, -0.05103687569499016, 0.4426962435245514, -0.3499675691127777, 0.286835640668869, 0.18408358097076416, -0.5627713799476624, -0.1324082911014557, -0.20281116664409637, 0.09001598507165909, -0.1055648997426033, -0.00843031331896782, -0.17208832502365112, -0.29544147849082947, 0.267622172832489, 0.10987351834774017, 0.229616180062294, -0.0694785788655281, -0.20655061304569244, 0.09087114781141281, -0.17783953249454498, -0.07854090631008148, -0.10508149117231369, -0.2552696168422699, -0.14656564593315125, -0.41765108704566956, -0.07344228029251099, 0.05891166254878044, -0.07105496525764465, -0.21388401091098785, 0.22660696506500244, 0.05995941907167435, 0.11171476542949677, -0.05250139534473419, -0.45772498846054077, -0.14123477041721344, -0.1412191540002823, 0.2548533082008362, 0.17628517746925354, 0.09423542767763138, 0.09958268702030182, -0.17757044732570648, 0.03431473299860954, 0.05131706967949867, 0.07897898554801941, 0.10897847265005112, 0.34446457028388977, -0.009356029331684113, 0.053964316844940186, -0.1504901796579361, -0.08440995961427689, -0.016393976286053658, 0.02605588734149933, 0.19622886180877686, -0.09914325922727585, -0.12188643962144852, -0.39818957448005676, 0.19431358575820923, 0.19812163710594177, -0.011666009202599525, 0.28971031308174133, 0.1572098433971405, 0.09836525470018387, 0.5329198241233826, 0.03361992910504341, 0.2361859530210495, -0.3542103171348572, -0.14113295078277588, -0.06905869394540787, 0.0710877999663353, -0.300467848777771, -0.2381957471370697, -0.05618895962834358, 0.25866079330444336, 0.21550865471363068, 0.14380304515361786, -0.19577153027057648, 0.12186825275421143, 0.11408815532922745, 0.010240242816507816, -0.3136123716831207, -0.02720009721815586, -0.07281694561243057, -0.07884006202220917, -0.3531387746334076, 0.4544297158718109, 0.15345308184623718, -0.03465276584029198, 0.10344812273979187, 0.0976056456565857, -0.2718334496021271, -0.2775483727455139, -0.18407656252384186, -0.07914642244577408, 0.05913757532835007, -0.11170072853565216, 0.13177941739559174, -0.21563498675823212, -0.07139848917722702, 0.06761380285024643, -0.0762958750128746, -0.18547888100147247, 0.08181499689817429, 0.1119692251086235, 0.5117852091789246, 0.1321231871843338, 0.052093084901571274, 0.18169869482517242, -0.10772214084863663, -0.13643209636211395, 0.0533626414835453, 0.031377360224723816, 0.1586035192012787, 0.11906692385673523, 0.10574769228696823, 0.11938493698835373, -0.05280277505517006, -0.11492331326007843, 0.13245491683483124, 0.004263478796929121, 0.07717081904411316, 0.09459114819765091, 0.1589033603668213, 0.02489003725349903, -0.12673015892505646, -0.19128218293190002, -0.05203427001833916, 0.2907087802886963, -0.3822777271270752, 0.220057874917984, -0.2922900915145874, -0.5710789561271667, 0.11856004595756531, 0.07388163357973099, -0.07781128585338593, -0.323319673538208, 0.4238818883895874, 0.08213743567466736, -0.20933303236961365, -0.06910129636526108, -0.248240664601326, 0.6109808683395386, 0.15945783257484436, 0.46235376596450806, -0.13326093554496765, -0.3079017996788025, -0.14729255437850952, 0.1947479099035263, 0.03682360053062439, -0.126714825630188, 0.28188154101371765, -0.25450557470321655, 0.08492565900087357, 0.35522007942199707, -0.31943556666374207, 0.14348016679286957, 0.20584964752197266, 0.07772745192050934, -0.131678968667984, -0.06735678762197495, -0.06541165709495544, -0.10856690257787704, 0.04312781244516373, -0.40526407957077026, -0.31882497668266296, -0.12548629939556122, -0.07471852749586105, 0.026397479698061943, -0.4988752007484436, -0.029302962124347687, -0.35011357069015503, -0.3086862862110138, 0.1478404700756073, -0.17066985368728638, 0.2196311205625534, 0.7900674343109131, -0.338652104139328, 0.0679212436079979, -0.21617287397384644, 0.15522551536560059, -0.3746904730796814, -0.19060440361499786, 0.058519650250673294, -0.2592916488647461, -0.20910997688770294, -0.06768069416284561, 0.10261142998933792, -0.3451694846153259, -0.26049408316612244, -0.1849633902311325, -0.32351723313331604, 0.002215051557868719, -0.2839811146259308, 0.16560199856758118, -0.1934700906276703, 0.3760395348072052, -0.19486448168754578, -0.27496907114982605, -0.28928104043006897, -0.18355803191661835, 0.28503021597862244, 0.10806938260793686, 0.05979333445429802, 0.12700378894805908, 0.12430893629789352, 0.011388599872589111, 0.42481955885887146, 0.31538575887680054, -0.2785941958427429, 0.26347050070762634, -0.25539112091064453, 0.2507806420326233, -0.16707313060760498, 0.04582150653004646, 0.02878658100962639, 0.27213984727859497, -0.36092525720596313, 0.25865602493286133, -0.018653621897101402, -0.15252932906150818, -0.026499584317207336, 0.11196529865264893, -0.46110859513282776, -0.25054076313972473, -0.2310114949941635, 0.43676409125328064, 0.13355909287929535, 0.04594288766384125, -0.012593860737979412, -0.09137647598981857, -0.41586732864379883, 0.11353560537099838, 0.24478018283843994, -0.051455818116664886, -0.08753732591867447, -0.09614713490009308, 0.06069730594754219, -0.2478480488061905, -0.0008371336734853685, 0.004902239423245192, 0.4061928987503052, -0.2813620865345001, -0.28956368565559387, 0.049668435007333755, -0.036719322204589844, 0.1400814950466156, -0.3165096044540405, 0.34774136543273926, 0.2692180275917053, 0.22779765725135803, -0.06293682008981705, -0.09031809121370316, 0.13501577079296112, -0.141898050904274, 0.15074706077575684, 0.36739301681518555, -0.03466324508190155, 0.23079265654087067, -0.2858390212059021, -0.2751093804836273, -0.06826720386743546, -0.12381023913621902, -0.00897280965000391, 0.13308167457580566, -0.17228974401950836, 0.21950870752334595, 0.09166255593299866, 0.10143759846687317, 0.19060586392879486, 0.04443486034870148, -0.036496058106422424, 0.1552567481994629, -0.19316543638706207, -0.04536807909607887, 0.24611854553222656, -0.1030941978096962, 0.15433873236179352, -0.2994968295097351, -0.03343699499964714, -0.02500709891319275, 0.603065013885498, 0.1137571707367897, 0.24574582278728485, 0.19568879902362823, -0.16756510734558105, -0.17328299582004547, 0.3327305018901825, -0.009960189461708069, -0.010001981630921364, 0.30258694291114807, 0.1962921917438507, -0.1493629515171051, -0.17192623019218445, -0.04204520583152771, -0.3492424190044403, -0.21224133670330048, 0.4184763729572296, -0.06305454671382904, 0.1994013637304306, 0.07390500605106354, 0.3502480387687683, -0.21254689991474152, 0.03962293267250061, 0.09144292771816254, -0.09766118228435516, 0.7248504757881165, 0.1010301411151886, 0.0481535978615284, 0.1928846836090088, -0.30214667320251465, 0.46698760986328125, 0.2048066258430481, 0.024233026430010796, -0.37138867378234863, -0.26905500888824463, 0.1220579519867897, 0.06272030621767044, -0.0820741206407547, 0.034475523978471756, -0.21413464844226837, -0.09794580936431885, 0.11576493829488754, 0.4438794255256653, -0.08541112393140793, -0.07829883694648743, 0.7744205594062805, 0.1221385970711708, -0.16036298871040344, 0.288463830947876, -0.134140282869339, 0.1402646005153656, -0.07649480551481247, -0.0464506521821022, -0.2066393345594406, -0.30950501561164856, -0.31730762124061584, 0.2583709955215454, 0.2594027817249298, 0.09683629125356674, 0.11287117749452591, -0.08158527314662933, -0.31412234902381897, -0.42038875818252563, 0.41673049330711365, -0.195279061794281, -0.008244206197559834, 0.11088068038225174, 0.2760445475578308, 0.0801919549703598, -0.26834848523139954, 0.10576977580785751, 0.2580953538417816, -0.4086173474788666, 0.20432712137699127, -0.09080000221729279, -0.15218450129032135, -0.6741453409194946, 0.14136812090873718, 0.12754109501838684, -0.44634801149368286, 0.10928516089916229, -0.26237952709198, 0.23845967650413513, 0.23632895946502686, -0.23069477081298828, 0.29138240218162537, -0.046355243772268295, 0.3086242377758026, 0.13789553940296173, -0.1438688039779663, -0.28384658694267273, -0.24906037747859955, 0.36800628900527954, -0.02307603694498539, -0.19018970429897308, -0.009039310738444328, 0.3806314766407013, -0.3726557493209839, -0.20132112503051758, -0.1335325539112091, -0.05990840122103691, -0.7153620719909668, 0.05760372057557106, -0.37005624175071716, 0.1323852688074112, 0.3703594505786896, 0.2230263352394104, -0.04228063300251961, 0.33374956250190735, 0.013154893182218075, -0.3505556881427765, -0.28215351700782776, 0.10775357484817505, -0.32992732524871826, 0.07171489298343658, -0.10593897104263306, -0.12681518495082855, -0.0610165111720562, -0.08705921471118927, -0.4616214334964752, -0.26695024967193604, -0.13362130522727966, 0.07211326062679291, -0.04177413135766983, -0.031529199331998825, 0.08894896507263184, -0.11759307980537415, 0.22413481771945953, 0.26661741733551025, -0.035305339843034744, -0.3392588794231415, -0.05419759452342987, 0.09461891651153564, 0.11086436361074448, -0.04746733233332634, 0.05294859781861305, 0.036992333829402924, -0.3308926224708557, 0.31365835666656494, -0.17291104793548584, 0.27504733204841614, -0.21521809697151184, 0.13518032431602478, 0.15019607543945312, 0.124240942299366, 0.24403996765613556, -0.13424436748027802, 0.003801340702921152, 0.5399133563041687, -0.009079936891794205, 0.2426481544971466, -0.11232972890138626, 0.043069008737802505, -0.28569450974464417, 0.12640975415706635, -0.14673057198524475, -0.010515461675822735, 0.07369782030582428, -0.19377444684505463, -0.16262486577033997, 0.3450757563114166, 0.026671869680285454, -0.13754218816757202, -0.3054324686527252, -0.26224854588508606, -0.018562406301498413, 0.2548485994338989, -0.133550763130188, -0.03403879329562187, 0.17239223420619965, 0.00499338423833251, -0.08539821207523346, 0.17700694501399994, 0.19047774374485016, -0.058152616024017334, 0.44179636240005493, 0.2836461663246155, -0.11120282858610153, -0.22596041858196259, 0.09556218236684799, 0.31920841336250305, -0.17183087766170502, 0.08218885958194733, 0.10595402866601944, -0.05984725058078766, 0.15596771240234375, 0.38076159358024597, 0.47792115807533264, -0.10904072970151901, 0.5409334301948547, 0.2027178704738617, -0.15503384172916412, -0.13357125222682953, 0.07962052524089813, -0.012282120063900948, 0.03137455880641937, 0.17717090249061584, 0.3845149874687195, -0.0497155599296093, -0.21060845255851746, 0.18569602072238922, -0.15691420435905457, 0.13912764191627502, -0.04203273355960846, 0.1655571013689041, 0.09480247646570206, -0.007272733375430107, -0.3324393928050995, -0.14605416357517242, -0.27622032165527344, 0.4906443655490875, 0.2338908314704895, -0.036899130791425705, -0.19813281297683716, 0.22082172334194183, -0.26484358310699463, 0.07893192768096924, 0.37738415598869324, -0.08296223729848862, 0.13344059884548187, -0.025530057027935982, -0.053846899420022964, 0.4232185482978821, 0.23035740852355957, 0.363338828086853, 0.09410668909549713, 0.0773693099617958, -0.11899739503860474, -0.05169062688946724, -0.08364123106002808, 0.16998711228370667, 0.38050955533981323, 0.5147145390510559, -0.15038548409938812, 0.24698251485824585, 0.20057496428489685, -0.2362488955259323, 0.2449304461479187, -0.15608392655849457, 0.1641569435596466, 0.29718679189682007, 0.4563417434692383, -0.09552767127752304, 0.22433234751224518, -0.052730295807123184, 0.16265659034252167, -0.012600904330611229, -0.27527445554733276, -0.06570213288068771, 0.21050062775611877, 0.22338685393333435, -0.2070232331752777, 0.14157278835773468, -0.15785841643810272, 0.1621398627758026, 0.07242462038993835, 0.21997730433940887, 0.3260866403579712, -0.41795259714126587, -0.27032580971717834, 0.22633475065231323, -0.13380007445812225, 0.14140388369560242, 0.20286431908607483, -0.23097598552703857, 0.06532377004623413, 0.02214466594159603, 0.3145380914211273, -0.17257964611053467, -0.25412896275520325, 0.06806211918592453, -0.14693832397460938, 0.27387282252311707, 0.14203034341335297, -0.32216760516166687, 0.11413344740867615, -0.2045329511165619, 0.12102111428976059, -0.2143850475549698, 0.23306478559970856, -0.05175347998738289, -0.2587120532989502, -0.2643074095249176, 0.05450494587421417, 0.5595270395278931, 0.07190109044313431, 0.23489904403686523, -0.27706602215766907, -0.21100980043411255, -0.07310189306735992, -0.2557377517223358, -0.15474817156791687, 0.24687516689300537, -0.07841595262289047, 0.27642130851745605, -0.029680976644158363, -0.24269333481788635, -0.0780673548579216, 0.12470166385173798, -0.07833748310804367, 0.10808021575212479, 0.0023289306554943323, 0.1390531212091446, -0.22024545073509216, 0.21538574993610382, 0.35329294204711914, -0.17655102908611298, 0.08409959822893143, 0.19470186531543732, -0.14181336760520935, -0.5667946338653564, 0.22321033477783203, 0.37664249539375305, -0.02331290766596794, 0.04326153174042702, 0.03748754411935806, -0.18836979568004608, 0.01252094004303217, -0.047378335148096085, -0.10314798355102539, 0.3192874789237976, -0.027453182265162468, 0.09682053327560425, 0.12277329713106155, -0.24749325215816498, -0.04911485314369202, 0.12557843327522278, 0.2523009777069092, 0.1438487321138382, 0.07743338495492935, 0.16950422525405884, -0.09921588748693466 ]
https://github.com/huggingface/datasets/issues/1894
benchmarking against MMapIndexedDataset
Hi sam ! Indeed we can expect the performances to be very close since both MMapIndexedDataset and the `datasets` implem use memory mapping. With memory mapping what determines the I/O performance is the speed of your hard drive/SSD. In terms of performance we're pretty close to the optimal speed for reading text, even though I found recently that we could still slightly improve speed for big datasets (see [here](https://github.com/huggingface/datasets/issues/1803)). In terms of number of examples and example sizes, the only limit is the available disk space you have. I haven't used `psrecord` yet but it seems to be a very interesting tool for benchmarking. Currently for benchmarks we only have github actions to avoid regressions in terms of speed. But it would be cool to have benchmarks with comparisons with other dataset tools ! This would be useful to many people
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens). Questions: 1) Is this (basically identical) performance expected? 2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?) 3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks? Thanks in advance! Sam
141
benchmarking against MMapIndexedDataset
[ -0.4310172200202942, -0.2351050227880478, -0.3359813392162323, 0.05581006780266762, -0.2332942932844162, -0.07316763699054718, 0.18203453719615936, 0.13546675443649292, -0.7839806079864502, 0.09618443995714188, -0.011339564807713032, 0.3490283787250519, -0.09194038808345795, -0.0752420723438263, -0.07228895276784897, 0.1164749413728714, 0.031553007662296295, 0.17144541442394257, -0.23867321014404297, -0.05272822454571724, 0.23656779527664185, 0.10266032814979553, -0.36435386538505554, -0.12016531080007553, -0.2752422094345093, 0.019873328506946564, 0.18217286467552185, 0.40143850445747375, 0.051239755004644394, -0.18222130835056305, -0.0313192643225193, 0.2854423522949219, -0.17585203051567078, 0.32840895652770996, -0.00010969420691253617, -0.23437751829624176, 0.10271492600440979, 0.07662324607372284, 0.027517229318618774, 0.7556471228599548, -0.3602839410305023, -0.1800536960363388, -0.09241864085197449, -0.24405477941036224, -0.021137339994311333, 0.11518830060958862, -0.17874053120613098, -0.38151004910469055, 0.10102828592061996, 0.054590869694948196, 0.20384980738162994, 0.24939358234405518, -0.2851249873638153, -0.08848252147436142, -0.316989928483963, 0.10758621245622635, -0.20831531286239624, 0.4075464606285095, 0.5249876379966736, 0.06542765349149704, -0.14099463820457458, 0.32609090209007263, -0.2273426055908203, 0.1653861701488495, -0.27966129779815674, -0.13603229820728302, 0.06791326403617859, 0.07932484894990921, 0.36614513397216797, 0.3561752736568451, -0.15678666532039642, -0.26785168051719666, -0.15078923106193542, -0.38226187229156494, -0.2959120571613312, -0.08376999944448471, 0.09869448840618134, -0.3893240988254547, -0.17095886170864105, 0.255108505487442, -0.053905386477708817, 0.24435868859291077, 0.10229390859603882, -0.3488660454750061, -0.12689276039600372, 0.12585929036140442, 0.07471952587366104, -0.11962702125310898, 0.5006428360939026, -0.1401195377111435, 0.26617851853370667, 0.050523851066827774, 0.16030314564704895, 0.2687491476535797, -0.0779099240899086, -0.3122258186340332, 0.048211127519607544, -0.3037641644477844, 0.2044854760169983, -0.28950580954551697, -0.1738775074481964, 0.5124588012695312, 0.32961639761924744, -0.08606740832328796, -0.022168174386024475, -0.028822539374232292, 0.16203102469444275, 0.10489781945943832, 0.08000563085079193, -0.09528744965791702, -0.3721611499786377, 0.26871612668037415, 0.39597538113594055, -0.18538647890090942, 0.05553456023335457, 0.23095279932022095, -0.5348060727119446, -0.32076552510261536, -0.17734301090240479, -0.01303811650723219, 0.1439249962568283, -0.3881814181804657, -0.12001518905162811, 0.0017908894224092364, 0.18101216852664948, -0.06604624539613724, -0.44234082102775574, -0.020624272525310516, -0.2173742800951004, -0.3312755823135376, -0.19705794751644135, -0.08662884682416916, -0.0605664998292923, 0.17356771230697632, 0.08262103796005249, -0.11265666037797928, 0.05988289788365364, -0.21503305435180664, 0.27485281229019165, 0.10461094230413437, 0.2200782597064972, 0.02145051211118698, 0.006016537547111511, 0.006883544847369194, 0.09148682653903961, -0.09224030375480652, 0.012792730703949928, 0.424712210893631, -0.10703941434621811, -0.09243129193782806, 0.1738044172525406, 0.041863687336444855, 0.4974330961704254, 0.1842198669910431, 0.05813227593898773, 0.011407644487917423, -0.22989389300346375, 0.3702566921710968, -0.13003741204738617, 0.06845346093177795, 0.033474359661340714, 0.25638431310653687, -0.06474205106496811, -0.015291247516870499, -0.07593253999948502, 0.05394488945603371, -0.007199130952358246, 0.21713833510875702, -0.06387960910797119, 0.01329042762517929, -0.07313314825296402, 0.17608650028705597, -0.26269349455833435, 0.0611763633787632, -0.046356361359357834, 0.13183057308197021, 0.4738682806491852, -0.4948353171348572, -0.4338674247264862, -0.006623134948313236, -0.1847042292356491, 0.2121163010597229, -0.010704088024795055, -0.08492319285869598, 0.22533325850963593, -0.282629132270813, 0.15024833381175995, -0.008085381239652634, 0.09593438357114792, 0.15530014038085938, -0.25380823016166687, 0.03646867722272873, 0.0710744708776474, 0.11326927691698074, -0.14044420421123505, -0.10175370424985886, 0.025541355833411217, -0.31114187836647034, 0.06160937249660492, 0.10610435158014297, -0.2970706522464752, -0.042981527745723724, -0.48171931505203247, -0.39941781759262085, 0.03826878219842911, -0.07308999449014664, -0.023134442046284676, 0.20763984322547913, -0.22725386917591095, 0.1479177623987198, 0.32721027731895447, -0.038495130836963654, -0.1066996157169342, -0.005330928601324558, 0.16194851696491241, -0.1676677167415619, 0.18326114118099213, -0.07355258613824844, 0.1787552684545517, 0.2379559874534607, -0.3014204204082489, 0.005137089639902115, -0.12050462514162064, -0.059398118406534195, 0.3475632071495056, -0.17056410014629364, 0.24864572286605835, -0.20654474198818207, 0.2642182409763336, 0.31918540596961975, 0.04191858321428299, -0.0063352263532578945, -0.124233178794384, -0.08173713833093643, 0.11045115441083908, 0.37125733494758606, 0.5176944136619568, 0.5120965242385864, -0.09081369638442993, -0.3473178446292877, -0.035694241523742676, 0.09183113276958466, -0.038685113191604614, -0.13994444906711578, -0.12464457005262375, 0.8206538558006287, 0.32559874653816223, 0.1573132574558258, 0.014782221987843513, -0.31253308057785034, 0.17413225769996643, 0.07185588032007217, 0.025051351636648178, -0.2207643985748291, 0.32399165630340576, 0.4052741527557373, 0.2094627171754837, 0.07581751048564911, 0.2076762169599533, 0.4052152633666992, 0.48356273770332336, -0.2388416826725006, 0.00006152986316010356, 0.0762065127491951, -0.08660531789064407, -0.06471951305866241, 0.04017835110425949, 0.10742728412151337, 0.13395102322101593, 0.1699940264225006, 0.4488612413406372, 0.09813056141138077, -0.2446526288986206, -0.0911884680390358, 0.24118167161941528, -0.045602429658174515, -0.2080100029706955, -0.09150951355695724, -0.020187238231301308, 0.02021651156246662, -0.22616848349571228, -0.13371692597866058, -0.21884799003601074, 0.23533812165260315, 0.12027899920940399, -0.11458683758974075, -0.2181742936372757, -0.20773904025554657, 0.4363113343715668, 0.027077538892626762, -0.055088937282562256, -0.21598286926746368, -0.04998140037059784, 0.06589698046445847, 0.088375523686409, 0.12770256400108337, 0.1184132918715477, 0.28903281688690186, -0.1440858393907547, -0.0341394804418087, 0.1172727644443512, -0.1469915211200714, -0.22976143658161163, 0.1696385145187378, 0.3654334843158722, -0.00976815726608038, 0.17248082160949707, -0.18713369965553284, 0.16568435728549957, 0.06108525022864342, -0.20683103799819946, 0.030071748420596123, 0.03433772549033165, -0.21499906480312347, -0.12299152463674545, -0.05556945130228996, 0.12139870971441269, 0.22146736085414886, -0.018827510997653008, -0.03273620456457138, -0.14472046494483948, -0.30355092883110046, 0.09513064473867416, -0.09514479339122772, 0.17865848541259766, 0.21298439800739288, -0.08582905679941177, -0.054241348057985306, 0.0271346103399992, -0.19642576575279236, 0.3211691677570343, -0.4369281828403473, -0.17689812183380127, 0.2627872824668884, -0.12713530659675598, 0.14104658365249634, -0.27246877551078796, -0.28723224997520447, -0.01635301113128662, -0.04678162559866905, -0.1350262314081192, -0.17228399217128754, -0.1218273937702179, 0.2992212474346161, -0.10889046639204025, -0.06084340810775757, -0.08095764368772507, 0.016876108944416046, 0.09019984304904938, 0.18690182268619537, -0.1446315199136734, 0.3638276755809784, 0.001568340347148478, -0.15462574362754822, -0.1071128323674202, -0.186867818236351, 0.004888689145445824, -0.1767563670873642, -0.2452203333377838, -0.11785867810249329, 0.5685065388679504, 0.09890194982290268, 0.48487362265586853, 0.027625439688563347, -0.26415014266967773, -0.05661153793334961, -0.22877340018749237, -0.15588584542274475, -0.09099364280700684, -0.19652502238750458, -0.1322976052761078, 0.38652628660202026, 0.1654023975133896, 0.4615827202796936, -0.08568212389945984, -0.5505978465080261, -0.16844888031482697, -0.046102914959192276, -0.07948777079582214, -0.15356846153736115, -0.02048765867948532, -0.23918424546718597, 0.04969098046422005, 0.23803234100341797, 0.2635398805141449, -0.26787155866622925, 0.04119940102100372, 0.18529683351516724, -0.25250115990638733, -0.07226003706455231, -0.4380895793437958, -0.27250006794929504, -0.03240488842129707, -0.4715462625026703, 0.23847097158432007, 0.3449409008026123, 0.2906881868839264, -0.23344366252422333, 0.016297562047839165, 0.15759097039699554, -0.15434661507606506, 0.16853739321231842, -0.27132129669189453, 0.16771374642848969, 0.3122788667678833, -0.3866109251976013, -0.23590593039989471, 0.04846184700727463, -0.04699989780783653, 0.42918118834495544, 0.3417845070362091, 0.3952242136001587, -0.10395387560129166, 0.025314811617136, -0.2427607923746109, -0.1999422162771225, 0.016833094879984856, -0.0954664796590805, -0.16132402420043945, 0.0919615626335144, 0.08781947195529938, 0.3069998025894165, -0.08308084309101105, 0.1604786068201065, 0.3159131407737732, -0.3018072843551636, -0.23836176097393036, -0.34464260935783386, 0.10848408192396164, 0.5783405900001526, 0.09134950488805771, -0.18037284910678864, 0.26901811361312866, 0.08085833489894867, -0.002093570539727807, -0.20261278748512268, -0.18511134386062622, 0.27499428391456604, 0.4050925076007843, 0.04224150627851486, -0.1840294450521469, 0.0629948228597641, 0.2516237199306488, 0.10462560504674911, -0.010339682921767235, -0.07010011374950409, -0.04394567012786865, -0.28979727625846863, -0.018021507188677788, 0.22083447873592377, 0.2246643453836441, -0.1605398952960968, -0.11824355274438858, 0.46452492475509644, 0.09912009537220001, 0.036006342619657516, 0.548765242099762, -0.10012328624725342, -0.09553048014640808, -0.2820042669773102, 0.36356431245803833, 0.9510235786437988, -0.007846971973776817, 0.0023493862245231867, -0.06515315175056458, -0.06480474770069122, -0.14666545391082764, 0.07739224284887314, -0.07269279658794403, -0.03074040822684765, -0.22329500317573547, 0.030479559674859047, -0.14016008377075195, 0.15220998227596283, 0.03497469052672386, 0.18327674269676208, -0.10355942696332932, -0.011277846992015839, -0.20520596206188202, 0.2206859290599823, 0.2567628026008606, 0.38130077719688416, -0.09242715686559677, -0.20888687670230865, 0.1875356286764145, 0.2866402268409729, -0.2971816956996918, -0.013243062421679497, -0.004955099895596504, -0.295622855424881, 0.1519673466682434, -0.2631193995475769, -0.2701572775840759, -0.22900693118572235, 0.09121692925691605, -0.09525738656520844, -0.08441231399774551, -0.4339064657688141, -0.32223445177078247, 0.23262374103069305, -0.2371080368757248, -0.02696271985769272, 0.11016328632831573, 0.07486645877361298, 0.3526313900947571, 0.3657062351703644, -0.1492813676595688, 0.04515816271305084, -0.3851235508918762, 0.022385038435459137, 0.22585329413414001, 0.049717653542757034, -0.7945376634597778, -0.08055189996957779, 0.08971179276704788, -0.058317989110946655, 0.13593904674053192, 0.006356240715831518, 0.2199949324131012, -0.06272385269403458, -0.10168725997209549, 0.16782081127166748, 0.29521632194519043, -0.2079009711742401, 0.7734845876693726, 0.0263558067381382, -0.31278595328330994, -0.10919129103422165, 0.6625295281410217, -0.050257302820682526, -0.27810558676719666, -0.17907141149044037, -0.2785046398639679, -0.14456024765968323, -0.21138796210289001, 0.10140995681285858, -0.1751989722251892, 0.24564701318740845, 0.1825418472290039, -0.5217612385749817, -0.5014079213142395, 0.1867147833108902, 0.17644250392913818, 0.21773388981819153, 0.14348433911800385, -0.2074202597141266, -0.029626257717609406, -0.3755900263786316, -0.03868896886706352, -0.11846964061260223, 0.1262674778699875, -0.15055449306964874, 0.17227350175380707, -0.18881577253341675, -0.08467832207679749, -0.34020841121673584, -0.07142091542482376, 0.1839849054813385, -0.07742714136838913, 0.19183792173862457, -0.16793818771839142, 0.23826906085014343, 0.21396225690841675, 0.1478888988494873, 0.45455920696258545, -0.22894734144210815, -0.30664458870887756, 0.0959460437297821, 0.07528908550739288, -0.216966912150383, -0.11981909722089767, 0.06206000596284866, 0.11096681654453278, -0.41425734758377075, -0.12703163921833038, -0.21616575121879578, -0.559165358543396, 0.07236502319574356, -0.43393659591674805, 0.39628463983535767, 0.13716702163219452, -0.1035141795873642, -0.0900847464799881, 0.028257708996534348, -0.18636870384216309, -0.04865526035428047, 0.03605378419160843, -0.13721872866153717, -0.2783534526824951, 0.3265700340270996, 0.16661135852336884, -0.03335312008857727, -0.13145959377288818, 0.12245295941829681, 0.05501798167824745, -0.07209229469299316, 0.6348401308059692, 0.3762834966182709, 0.25394579768180847, -0.07653934508562088, -0.5056165456771851, 0.13395078480243683, 0.1747022420167923, -0.08946347236633301, -0.39435291290283203, 0.41898825764656067, 0.33541199564933777, 0.22153353691101074, 0.05935700610280037, 0.22641175985336304, 0.09906839579343796, 0.3766551613807678, 0.01616569794714451, 0.17361514270305634, -0.1522565484046936, -0.02050386555492878, -0.06982605159282684, -0.0022078072652220726, 0.15020053088665009, 0.2792357802391052, 0.31620869040489197, 0.44411739706993103, 0.5312078595161438, -0.22328096628189087, 0.552946150302887, 0.13715723156929016, 0.23848417401313782, -0.1952175348997116, -0.10012727975845337, 0.10439750552177429, 0.3149440884590149, 0.1533682942390442, 0.3375653326511383, 0.12448333203792572, 0.13149620592594147, -0.1929703950881958, -0.277288019657135, -0.18069685995578766, 0.04079192876815796, -0.15996886789798737, -0.2662629783153534, 0.26805049180984497, -0.009512828662991524, 0.09943526238203049, -0.024408137425780296, 0.020921899005770683, 0.24978546798229218, 0.3331506848335266, -0.26509785652160645, 0.12603877484798431, 0.2167828381061554, -0.14562533795833588, -0.08577631413936615, 0.3635089695453644, 0.06635540723800659, 0.21991299092769623, 0.04142941161990166, 0.23982550203800201, 0.05054492875933647, 0.1655813753604889, -0.11123187094926834, -0.2086970955133438, -0.463410347700119, -0.1437360793352127, -0.26396432518959045, 0.15908867120742798, -0.18056108057498932, 0.25783899426460266, -0.2893887162208557, 0.15742769837379456, 0.18075786530971527, 0.10038524866104126, -0.20654219388961792, -0.32337915897369385, 0.17590445280075073, 0.0015719580696895719, -0.06298694759607315, -0.2514272630214691, 0.013364139012992382, 0.33253878355026245, -0.07254116237163544, 0.33729130029678345, -0.0034545997623354197, -0.45999398827552795, -0.11308880895376205, -0.3559330403804779, -0.015006259083747864, 0.17642736434936523, 0.10590837150812149, -0.07938612997531891, 0.6951966285705566, 0.05811867117881775, 0.005503279622644186, -0.003103487892076373, -0.45925599336624146, -0.5618470311164856, 0.3086833655834198, 0.05690259486436844, -0.09577856212854385, 0.06287632137537003, 0.3576832413673401, 0.18763501942157745, 0.3498755991458893, 0.7220428586006165, 0.3300875723361969, 0.07390860468149185, -0.20002520084381104, -0.3122866451740265, -0.012431996874511242, -0.18118950724601746, -0.5576508045196533, -0.12050379812717438, -0.025643229484558105, 0.2936122715473175, -0.24799008667469025, 0.23304006457328796, 0.12679271399974823, -0.35894304513931274, -0.20992499589920044, 0.3273269236087799, 0.47200921177864075, 0.07148265093564987, 0.07630182057619095, 0.026531890034675598, -0.05535530298948288, -0.01751904934644699, 0.5057966113090515, 0.17295880615711212, 0.05556483939290047, 0.1665841042995453, -0.036658454686403275, -0.1566789299249649, 0.36263418197631836, 0.15641427040100098, 0.6586357951164246, 0.394599586725235, -0.18491993844509125, -0.09605046361684799, 0.04008094221353531, 0.2813006043434143, -0.10218024253845215, -0.17148754000663757, 0.44948890805244446, 0.02187412418425083, 0.29996493458747864, -0.16375800967216492, 0.12772761285305023, 0.18188367784023285, -0.4868829548358917, -0.14757242798805237, -0.047873664647340775, 0.01858990266919136, 0.29481005668640137, 0.041842591017484665, 0.067330002784729, -0.27745068073272705, 0.19424228370189667, -0.042705897241830826, 0.05043497309088707, 0.567712128162384, -0.18709781765937805, 0.014681484550237656, -0.010825274512171745, -0.12202432751655579, -0.1646854430437088, 0.011344162747263908, -0.1309678554534912, 0.0087403804063797 ]
https://github.com/huggingface/datasets/issues/1894
benchmarking against MMapIndexedDataset
Also I would be interested to know what data types `MMapIndexedDataset` supports. Is there some documentation somewhere ?
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens). Questions: 1) Is this (basically identical) performance expected? 2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?) 3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks? Thanks in advance! Sam
18
benchmarking against MMapIndexedDataset
[ -0.4310172200202942, -0.2351050227880478, -0.3359813392162323, 0.05581006780266762, -0.2332942932844162, -0.07316763699054718, 0.18203453719615936, 0.13546675443649292, -0.7839806079864502, 0.09618443995714188, -0.011339564807713032, 0.3490283787250519, -0.09194038808345795, -0.0752420723438263, -0.07228895276784897, 0.1164749413728714, 0.031553007662296295, 0.17144541442394257, -0.23867321014404297, -0.05272822454571724, 0.23656779527664185, 0.10266032814979553, -0.36435386538505554, -0.12016531080007553, -0.2752422094345093, 0.019873328506946564, 0.18217286467552185, 0.40143850445747375, 0.051239755004644394, -0.18222130835056305, -0.0313192643225193, 0.2854423522949219, -0.17585203051567078, 0.32840895652770996, -0.00010969420691253617, -0.23437751829624176, 0.10271492600440979, 0.07662324607372284, 0.027517229318618774, 0.7556471228599548, -0.3602839410305023, -0.1800536960363388, -0.09241864085197449, -0.24405477941036224, -0.021137339994311333, 0.11518830060958862, -0.17874053120613098, -0.38151004910469055, 0.10102828592061996, 0.054590869694948196, 0.20384980738162994, 0.24939358234405518, -0.2851249873638153, -0.08848252147436142, -0.316989928483963, 0.10758621245622635, -0.20831531286239624, 0.4075464606285095, 0.5249876379966736, 0.06542765349149704, -0.14099463820457458, 0.32609090209007263, -0.2273426055908203, 0.1653861701488495, -0.27966129779815674, -0.13603229820728302, 0.06791326403617859, 0.07932484894990921, 0.36614513397216797, 0.3561752736568451, -0.15678666532039642, -0.26785168051719666, -0.15078923106193542, -0.38226187229156494, -0.2959120571613312, -0.08376999944448471, 0.09869448840618134, -0.3893240988254547, -0.17095886170864105, 0.255108505487442, -0.053905386477708817, 0.24435868859291077, 0.10229390859603882, -0.3488660454750061, -0.12689276039600372, 0.12585929036140442, 0.07471952587366104, -0.11962702125310898, 0.5006428360939026, -0.1401195377111435, 0.26617851853370667, 0.050523851066827774, 0.16030314564704895, 0.2687491476535797, -0.0779099240899086, -0.3122258186340332, 0.048211127519607544, -0.3037641644477844, 0.2044854760169983, -0.28950580954551697, -0.1738775074481964, 0.5124588012695312, 0.32961639761924744, -0.08606740832328796, -0.022168174386024475, -0.028822539374232292, 0.16203102469444275, 0.10489781945943832, 0.08000563085079193, -0.09528744965791702, -0.3721611499786377, 0.26871612668037415, 0.39597538113594055, -0.18538647890090942, 0.05553456023335457, 0.23095279932022095, -0.5348060727119446, -0.32076552510261536, -0.17734301090240479, -0.01303811650723219, 0.1439249962568283, -0.3881814181804657, -0.12001518905162811, 0.0017908894224092364, 0.18101216852664948, -0.06604624539613724, -0.44234082102775574, -0.020624272525310516, -0.2173742800951004, -0.3312755823135376, -0.19705794751644135, -0.08662884682416916, -0.0605664998292923, 0.17356771230697632, 0.08262103796005249, -0.11265666037797928, 0.05988289788365364, -0.21503305435180664, 0.27485281229019165, 0.10461094230413437, 0.2200782597064972, 0.02145051211118698, 0.006016537547111511, 0.006883544847369194, 0.09148682653903961, -0.09224030375480652, 0.012792730703949928, 0.424712210893631, -0.10703941434621811, -0.09243129193782806, 0.1738044172525406, 0.041863687336444855, 0.4974330961704254, 0.1842198669910431, 0.05813227593898773, 0.011407644487917423, -0.22989389300346375, 0.3702566921710968, -0.13003741204738617, 0.06845346093177795, 0.033474359661340714, 0.25638431310653687, -0.06474205106496811, -0.015291247516870499, -0.07593253999948502, 0.05394488945603371, -0.007199130952358246, 0.21713833510875702, -0.06387960910797119, 0.01329042762517929, -0.07313314825296402, 0.17608650028705597, -0.26269349455833435, 0.0611763633787632, -0.046356361359357834, 0.13183057308197021, 0.4738682806491852, -0.4948353171348572, -0.4338674247264862, -0.006623134948313236, -0.1847042292356491, 0.2121163010597229, -0.010704088024795055, -0.08492319285869598, 0.22533325850963593, -0.282629132270813, 0.15024833381175995, -0.008085381239652634, 0.09593438357114792, 0.15530014038085938, -0.25380823016166687, 0.03646867722272873, 0.0710744708776474, 0.11326927691698074, -0.14044420421123505, -0.10175370424985886, 0.025541355833411217, -0.31114187836647034, 0.06160937249660492, 0.10610435158014297, -0.2970706522464752, -0.042981527745723724, -0.48171931505203247, -0.39941781759262085, 0.03826878219842911, -0.07308999449014664, -0.023134442046284676, 0.20763984322547913, -0.22725386917591095, 0.1479177623987198, 0.32721027731895447, -0.038495130836963654, -0.1066996157169342, -0.005330928601324558, 0.16194851696491241, -0.1676677167415619, 0.18326114118099213, -0.07355258613824844, 0.1787552684545517, 0.2379559874534607, -0.3014204204082489, 0.005137089639902115, -0.12050462514162064, -0.059398118406534195, 0.3475632071495056, -0.17056410014629364, 0.24864572286605835, -0.20654474198818207, 0.2642182409763336, 0.31918540596961975, 0.04191858321428299, -0.0063352263532578945, -0.124233178794384, -0.08173713833093643, 0.11045115441083908, 0.37125733494758606, 0.5176944136619568, 0.5120965242385864, -0.09081369638442993, -0.3473178446292877, -0.035694241523742676, 0.09183113276958466, -0.038685113191604614, -0.13994444906711578, -0.12464457005262375, 0.8206538558006287, 0.32559874653816223, 0.1573132574558258, 0.014782221987843513, -0.31253308057785034, 0.17413225769996643, 0.07185588032007217, 0.025051351636648178, -0.2207643985748291, 0.32399165630340576, 0.4052741527557373, 0.2094627171754837, 0.07581751048564911, 0.2076762169599533, 0.4052152633666992, 0.48356273770332336, -0.2388416826725006, 0.00006152986316010356, 0.0762065127491951, -0.08660531789064407, -0.06471951305866241, 0.04017835110425949, 0.10742728412151337, 0.13395102322101593, 0.1699940264225006, 0.4488612413406372, 0.09813056141138077, -0.2446526288986206, -0.0911884680390358, 0.24118167161941528, -0.045602429658174515, -0.2080100029706955, -0.09150951355695724, -0.020187238231301308, 0.02021651156246662, -0.22616848349571228, -0.13371692597866058, -0.21884799003601074, 0.23533812165260315, 0.12027899920940399, -0.11458683758974075, -0.2181742936372757, -0.20773904025554657, 0.4363113343715668, 0.027077538892626762, -0.055088937282562256, -0.21598286926746368, -0.04998140037059784, 0.06589698046445847, 0.088375523686409, 0.12770256400108337, 0.1184132918715477, 0.28903281688690186, -0.1440858393907547, -0.0341394804418087, 0.1172727644443512, -0.1469915211200714, -0.22976143658161163, 0.1696385145187378, 0.3654334843158722, -0.00976815726608038, 0.17248082160949707, -0.18713369965553284, 0.16568435728549957, 0.06108525022864342, -0.20683103799819946, 0.030071748420596123, 0.03433772549033165, -0.21499906480312347, -0.12299152463674545, -0.05556945130228996, 0.12139870971441269, 0.22146736085414886, -0.018827510997653008, -0.03273620456457138, -0.14472046494483948, -0.30355092883110046, 0.09513064473867416, -0.09514479339122772, 0.17865848541259766, 0.21298439800739288, -0.08582905679941177, -0.054241348057985306, 0.0271346103399992, -0.19642576575279236, 0.3211691677570343, -0.4369281828403473, -0.17689812183380127, 0.2627872824668884, -0.12713530659675598, 0.14104658365249634, -0.27246877551078796, -0.28723224997520447, -0.01635301113128662, -0.04678162559866905, -0.1350262314081192, -0.17228399217128754, -0.1218273937702179, 0.2992212474346161, -0.10889046639204025, -0.06084340810775757, -0.08095764368772507, 0.016876108944416046, 0.09019984304904938, 0.18690182268619537, -0.1446315199136734, 0.3638276755809784, 0.001568340347148478, -0.15462574362754822, -0.1071128323674202, -0.186867818236351, 0.004888689145445824, -0.1767563670873642, -0.2452203333377838, -0.11785867810249329, 0.5685065388679504, 0.09890194982290268, 0.48487362265586853, 0.027625439688563347, -0.26415014266967773, -0.05661153793334961, -0.22877340018749237, -0.15588584542274475, -0.09099364280700684, -0.19652502238750458, -0.1322976052761078, 0.38652628660202026, 0.1654023975133896, 0.4615827202796936, -0.08568212389945984, -0.5505978465080261, -0.16844888031482697, -0.046102914959192276, -0.07948777079582214, -0.15356846153736115, -0.02048765867948532, -0.23918424546718597, 0.04969098046422005, 0.23803234100341797, 0.2635398805141449, -0.26787155866622925, 0.04119940102100372, 0.18529683351516724, -0.25250115990638733, -0.07226003706455231, -0.4380895793437958, -0.27250006794929504, -0.03240488842129707, -0.4715462625026703, 0.23847097158432007, 0.3449409008026123, 0.2906881868839264, -0.23344366252422333, 0.016297562047839165, 0.15759097039699554, -0.15434661507606506, 0.16853739321231842, -0.27132129669189453, 0.16771374642848969, 0.3122788667678833, -0.3866109251976013, -0.23590593039989471, 0.04846184700727463, -0.04699989780783653, 0.42918118834495544, 0.3417845070362091, 0.3952242136001587, -0.10395387560129166, 0.025314811617136, -0.2427607923746109, -0.1999422162771225, 0.016833094879984856, -0.0954664796590805, -0.16132402420043945, 0.0919615626335144, 0.08781947195529938, 0.3069998025894165, -0.08308084309101105, 0.1604786068201065, 0.3159131407737732, -0.3018072843551636, -0.23836176097393036, -0.34464260935783386, 0.10848408192396164, 0.5783405900001526, 0.09134950488805771, -0.18037284910678864, 0.26901811361312866, 0.08085833489894867, -0.002093570539727807, -0.20261278748512268, -0.18511134386062622, 0.27499428391456604, 0.4050925076007843, 0.04224150627851486, -0.1840294450521469, 0.0629948228597641, 0.2516237199306488, 0.10462560504674911, -0.010339682921767235, -0.07010011374950409, -0.04394567012786865, -0.28979727625846863, -0.018021507188677788, 0.22083447873592377, 0.2246643453836441, -0.1605398952960968, -0.11824355274438858, 0.46452492475509644, 0.09912009537220001, 0.036006342619657516, 0.548765242099762, -0.10012328624725342, -0.09553048014640808, -0.2820042669773102, 0.36356431245803833, 0.9510235786437988, -0.007846971973776817, 0.0023493862245231867, -0.06515315175056458, -0.06480474770069122, -0.14666545391082764, 0.07739224284887314, -0.07269279658794403, -0.03074040822684765, -0.22329500317573547, 0.030479559674859047, -0.14016008377075195, 0.15220998227596283, 0.03497469052672386, 0.18327674269676208, -0.10355942696332932, -0.011277846992015839, -0.20520596206188202, 0.2206859290599823, 0.2567628026008606, 0.38130077719688416, -0.09242715686559677, -0.20888687670230865, 0.1875356286764145, 0.2866402268409729, -0.2971816956996918, -0.013243062421679497, -0.004955099895596504, -0.295622855424881, 0.1519673466682434, -0.2631193995475769, -0.2701572775840759, -0.22900693118572235, 0.09121692925691605, -0.09525738656520844, -0.08441231399774551, -0.4339064657688141, -0.32223445177078247, 0.23262374103069305, -0.2371080368757248, -0.02696271985769272, 0.11016328632831573, 0.07486645877361298, 0.3526313900947571, 0.3657062351703644, -0.1492813676595688, 0.04515816271305084, -0.3851235508918762, 0.022385038435459137, 0.22585329413414001, 0.049717653542757034, -0.7945376634597778, -0.08055189996957779, 0.08971179276704788, -0.058317989110946655, 0.13593904674053192, 0.006356240715831518, 0.2199949324131012, -0.06272385269403458, -0.10168725997209549, 0.16782081127166748, 0.29521632194519043, -0.2079009711742401, 0.7734845876693726, 0.0263558067381382, -0.31278595328330994, -0.10919129103422165, 0.6625295281410217, -0.050257302820682526, -0.27810558676719666, -0.17907141149044037, -0.2785046398639679, -0.14456024765968323, -0.21138796210289001, 0.10140995681285858, -0.1751989722251892, 0.24564701318740845, 0.1825418472290039, -0.5217612385749817, -0.5014079213142395, 0.1867147833108902, 0.17644250392913818, 0.21773388981819153, 0.14348433911800385, -0.2074202597141266, -0.029626257717609406, -0.3755900263786316, -0.03868896886706352, -0.11846964061260223, 0.1262674778699875, -0.15055449306964874, 0.17227350175380707, -0.18881577253341675, -0.08467832207679749, -0.34020841121673584, -0.07142091542482376, 0.1839849054813385, -0.07742714136838913, 0.19183792173862457, -0.16793818771839142, 0.23826906085014343, 0.21396225690841675, 0.1478888988494873, 0.45455920696258545, -0.22894734144210815, -0.30664458870887756, 0.0959460437297821, 0.07528908550739288, -0.216966912150383, -0.11981909722089767, 0.06206000596284866, 0.11096681654453278, -0.41425734758377075, -0.12703163921833038, -0.21616575121879578, -0.559165358543396, 0.07236502319574356, -0.43393659591674805, 0.39628463983535767, 0.13716702163219452, -0.1035141795873642, -0.0900847464799881, 0.028257708996534348, -0.18636870384216309, -0.04865526035428047, 0.03605378419160843, -0.13721872866153717, -0.2783534526824951, 0.3265700340270996, 0.16661135852336884, -0.03335312008857727, -0.13145959377288818, 0.12245295941829681, 0.05501798167824745, -0.07209229469299316, 0.6348401308059692, 0.3762834966182709, 0.25394579768180847, -0.07653934508562088, -0.5056165456771851, 0.13395078480243683, 0.1747022420167923, -0.08946347236633301, -0.39435291290283203, 0.41898825764656067, 0.33541199564933777, 0.22153353691101074, 0.05935700610280037, 0.22641175985336304, 0.09906839579343796, 0.3766551613807678, 0.01616569794714451, 0.17361514270305634, -0.1522565484046936, -0.02050386555492878, -0.06982605159282684, -0.0022078072652220726, 0.15020053088665009, 0.2792357802391052, 0.31620869040489197, 0.44411739706993103, 0.5312078595161438, -0.22328096628189087, 0.552946150302887, 0.13715723156929016, 0.23848417401313782, -0.1952175348997116, -0.10012727975845337, 0.10439750552177429, 0.3149440884590149, 0.1533682942390442, 0.3375653326511383, 0.12448333203792572, 0.13149620592594147, -0.1929703950881958, -0.277288019657135, -0.18069685995578766, 0.04079192876815796, -0.15996886789798737, -0.2662629783153534, 0.26805049180984497, -0.009512828662991524, 0.09943526238203049, -0.024408137425780296, 0.020921899005770683, 0.24978546798229218, 0.3331506848335266, -0.26509785652160645, 0.12603877484798431, 0.2167828381061554, -0.14562533795833588, -0.08577631413936615, 0.3635089695453644, 0.06635540723800659, 0.21991299092769623, 0.04142941161990166, 0.23982550203800201, 0.05054492875933647, 0.1655813753604889, -0.11123187094926834, -0.2086970955133438, -0.463410347700119, -0.1437360793352127, -0.26396432518959045, 0.15908867120742798, -0.18056108057498932, 0.25783899426460266, -0.2893887162208557, 0.15742769837379456, 0.18075786530971527, 0.10038524866104126, -0.20654219388961792, -0.32337915897369385, 0.17590445280075073, 0.0015719580696895719, -0.06298694759607315, -0.2514272630214691, 0.013364139012992382, 0.33253878355026245, -0.07254116237163544, 0.33729130029678345, -0.0034545997623354197, -0.45999398827552795, -0.11308880895376205, -0.3559330403804779, -0.015006259083747864, 0.17642736434936523, 0.10590837150812149, -0.07938612997531891, 0.6951966285705566, 0.05811867117881775, 0.005503279622644186, -0.003103487892076373, -0.45925599336624146, -0.5618470311164856, 0.3086833655834198, 0.05690259486436844, -0.09577856212854385, 0.06287632137537003, 0.3576832413673401, 0.18763501942157745, 0.3498755991458893, 0.7220428586006165, 0.3300875723361969, 0.07390860468149185, -0.20002520084381104, -0.3122866451740265, -0.012431996874511242, -0.18118950724601746, -0.5576508045196533, -0.12050379812717438, -0.025643229484558105, 0.2936122715473175, -0.24799008667469025, 0.23304006457328796, 0.12679271399974823, -0.35894304513931274, -0.20992499589920044, 0.3273269236087799, 0.47200921177864075, 0.07148265093564987, 0.07630182057619095, 0.026531890034675598, -0.05535530298948288, -0.01751904934644699, 0.5057966113090515, 0.17295880615711212, 0.05556483939290047, 0.1665841042995453, -0.036658454686403275, -0.1566789299249649, 0.36263418197631836, 0.15641427040100098, 0.6586357951164246, 0.394599586725235, -0.18491993844509125, -0.09605046361684799, 0.04008094221353531, 0.2813006043434143, -0.10218024253845215, -0.17148754000663757, 0.44948890805244446, 0.02187412418425083, 0.29996493458747864, -0.16375800967216492, 0.12772761285305023, 0.18188367784023285, -0.4868829548358917, -0.14757242798805237, -0.047873664647340775, 0.01858990266919136, 0.29481005668640137, 0.041842591017484665, 0.067330002784729, -0.27745068073272705, 0.19424228370189667, -0.042705897241830826, 0.05043497309088707, 0.567712128162384, -0.18709781765937805, 0.014681484550237656, -0.010825274512171745, -0.12202432751655579, -0.1646854430437088, 0.011344162747263908, -0.1309678554534912, 0.0087403804063797 ]
https://github.com/huggingface/datasets/issues/1894
benchmarking against MMapIndexedDataset
no docs haha, it's written to support integer numpy arrays. You can build one in fairseq with, roughly: ```bash wget https://s3.amazonaws.com/research.metamind.io/wikitext/wikitext-103-raw-v1.zip unzip wikitext-103-raw-v1.zip export dd=$HOME/fairseq-py/wikitext-103-raw export mm_dir=$HOME/mmap_wikitext2 mkdir -p gpt2_bpe wget -O gpt2_bpe/encoder.json https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/encoder.json wget -O gpt2_bpe/vocab.bpe https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/vocab.bpe wget -O gpt2_bpe/dict.txt https://dl.fbaipublicfiles.com/fairseq/gpt2_bpe/dict.txt for SPLIT in train valid; do \ python -m examples.roberta.multiprocessing_bpe_encoder \ --encoder-json gpt2_bpe/encoder.json \ --vocab-bpe gpt2_bpe/vocab.bpe \ --inputs /scratch/stories_small/${SPLIT}.txt \ --outputs /scratch/stories_small/${SPLIT}.bpe \ --keep-empty \ --workers 60; \ done mkdir -p $mm_dir fairseq-preprocess \ --only-source \ --srcdict gpt2_bpe/dict.txt \ --trainpref $dd/wiki.train.bpe \ --validpref $dd/wiki.valid.bpe \ --destdir $mm_dir \ --workers 60 \ --dataset-impl mmap ``` I'm noticing in my benchmarking that it's much smaller on disk than arrow (200mb vs 900mb), and that both incur significant cost by increasing the number of data loader workers. This somewhat old [post](https://ray-project.github.io/2017/10/15/fast-python-serialization-with-ray-and-arrow.html) suggests there are some gains to be had from using `pyarrow.serialize(array).tobuffer()`. I haven't yet figured out how much of this stuff `pa.Table` does under the hood. The `MMapIndexedDataset` bottlenecks we are working on improving (by using arrow) are: 1) `MMapIndexedDataset`'s index, which stores offsets, basically gets read in its entirety by each dataloading process. 2) we have separate, identical, `MMapIndexedDatasets` on each dataloading worker, so there's redundancy there; we wonder if there is a way that arrow can somehow dedupe these in shared memory. It will take me a few hours to get `MMapIndexedDataset` benchmarks out of `fairseq`/onto a branch in this repo, but I'm happy to invest the time if you're interested in collaborating on some performance hacking.
I am trying to benchmark my datasets based implementation against fairseq's [`MMapIndexedDataset`](https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L365) and finding that, according to psrecord, my `datasets` implem uses about 3% more CPU memory and runs 1% slower for `wikitext103` (~1GB of tokens). Questions: 1) Is this (basically identical) performance expected? 2) Is there a scenario where this library will outperform `MMapIndexedDataset`? (maybe more examples/larger examples?) 3) Should I be using different benchmarking tools than `psrecord`/how do you guys do benchmarks? Thanks in advance! Sam
249
benchmarking against MMapIndexedDataset
[ -0.4310172200202942, -0.2351050227880478, -0.3359813392162323, 0.05581006780266762, -0.2332942932844162, -0.07316763699054718, 0.18203453719615936, 0.13546675443649292, -0.7839806079864502, 0.09618443995714188, -0.011339564807713032, 0.3490283787250519, -0.09194038808345795, -0.0752420723438263, -0.07228895276784897, 0.1164749413728714, 0.031553007662296295, 0.17144541442394257, -0.23867321014404297, -0.05272822454571724, 0.23656779527664185, 0.10266032814979553, -0.36435386538505554, -0.12016531080007553, -0.2752422094345093, 0.019873328506946564, 0.18217286467552185, 0.40143850445747375, 0.051239755004644394, -0.18222130835056305, -0.0313192643225193, 0.2854423522949219, -0.17585203051567078, 0.32840895652770996, -0.00010969420691253617, -0.23437751829624176, 0.10271492600440979, 0.07662324607372284, 0.027517229318618774, 0.7556471228599548, -0.3602839410305023, -0.1800536960363388, -0.09241864085197449, -0.24405477941036224, -0.021137339994311333, 0.11518830060958862, -0.17874053120613098, -0.38151004910469055, 0.10102828592061996, 0.054590869694948196, 0.20384980738162994, 0.24939358234405518, -0.2851249873638153, -0.08848252147436142, -0.316989928483963, 0.10758621245622635, -0.20831531286239624, 0.4075464606285095, 0.5249876379966736, 0.06542765349149704, -0.14099463820457458, 0.32609090209007263, -0.2273426055908203, 0.1653861701488495, -0.27966129779815674, -0.13603229820728302, 0.06791326403617859, 0.07932484894990921, 0.36614513397216797, 0.3561752736568451, -0.15678666532039642, -0.26785168051719666, -0.15078923106193542, -0.38226187229156494, -0.2959120571613312, -0.08376999944448471, 0.09869448840618134, -0.3893240988254547, -0.17095886170864105, 0.255108505487442, -0.053905386477708817, 0.24435868859291077, 0.10229390859603882, -0.3488660454750061, -0.12689276039600372, 0.12585929036140442, 0.07471952587366104, -0.11962702125310898, 0.5006428360939026, -0.1401195377111435, 0.26617851853370667, 0.050523851066827774, 0.16030314564704895, 0.2687491476535797, -0.0779099240899086, -0.3122258186340332, 0.048211127519607544, -0.3037641644477844, 0.2044854760169983, -0.28950580954551697, -0.1738775074481964, 0.5124588012695312, 0.32961639761924744, -0.08606740832328796, -0.022168174386024475, -0.028822539374232292, 0.16203102469444275, 0.10489781945943832, 0.08000563085079193, -0.09528744965791702, -0.3721611499786377, 0.26871612668037415, 0.39597538113594055, -0.18538647890090942, 0.05553456023335457, 0.23095279932022095, -0.5348060727119446, -0.32076552510261536, -0.17734301090240479, -0.01303811650723219, 0.1439249962568283, -0.3881814181804657, -0.12001518905162811, 0.0017908894224092364, 0.18101216852664948, -0.06604624539613724, -0.44234082102775574, -0.020624272525310516, -0.2173742800951004, -0.3312755823135376, -0.19705794751644135, -0.08662884682416916, -0.0605664998292923, 0.17356771230697632, 0.08262103796005249, -0.11265666037797928, 0.05988289788365364, -0.21503305435180664, 0.27485281229019165, 0.10461094230413437, 0.2200782597064972, 0.02145051211118698, 0.006016537547111511, 0.006883544847369194, 0.09148682653903961, -0.09224030375480652, 0.012792730703949928, 0.424712210893631, -0.10703941434621811, -0.09243129193782806, 0.1738044172525406, 0.041863687336444855, 0.4974330961704254, 0.1842198669910431, 0.05813227593898773, 0.011407644487917423, -0.22989389300346375, 0.3702566921710968, -0.13003741204738617, 0.06845346093177795, 0.033474359661340714, 0.25638431310653687, -0.06474205106496811, -0.015291247516870499, -0.07593253999948502, 0.05394488945603371, -0.007199130952358246, 0.21713833510875702, -0.06387960910797119, 0.01329042762517929, -0.07313314825296402, 0.17608650028705597, -0.26269349455833435, 0.0611763633787632, -0.046356361359357834, 0.13183057308197021, 0.4738682806491852, -0.4948353171348572, -0.4338674247264862, -0.006623134948313236, -0.1847042292356491, 0.2121163010597229, -0.010704088024795055, -0.08492319285869598, 0.22533325850963593, -0.282629132270813, 0.15024833381175995, -0.008085381239652634, 0.09593438357114792, 0.15530014038085938, -0.25380823016166687, 0.03646867722272873, 0.0710744708776474, 0.11326927691698074, -0.14044420421123505, -0.10175370424985886, 0.025541355833411217, -0.31114187836647034, 0.06160937249660492, 0.10610435158014297, -0.2970706522464752, -0.042981527745723724, -0.48171931505203247, -0.39941781759262085, 0.03826878219842911, -0.07308999449014664, -0.023134442046284676, 0.20763984322547913, -0.22725386917591095, 0.1479177623987198, 0.32721027731895447, -0.038495130836963654, -0.1066996157169342, -0.005330928601324558, 0.16194851696491241, -0.1676677167415619, 0.18326114118099213, -0.07355258613824844, 0.1787552684545517, 0.2379559874534607, -0.3014204204082489, 0.005137089639902115, -0.12050462514162064, -0.059398118406534195, 0.3475632071495056, -0.17056410014629364, 0.24864572286605835, -0.20654474198818207, 0.2642182409763336, 0.31918540596961975, 0.04191858321428299, -0.0063352263532578945, -0.124233178794384, -0.08173713833093643, 0.11045115441083908, 0.37125733494758606, 0.5176944136619568, 0.5120965242385864, -0.09081369638442993, -0.3473178446292877, -0.035694241523742676, 0.09183113276958466, -0.038685113191604614, -0.13994444906711578, -0.12464457005262375, 0.8206538558006287, 0.32559874653816223, 0.1573132574558258, 0.014782221987843513, -0.31253308057785034, 0.17413225769996643, 0.07185588032007217, 0.025051351636648178, -0.2207643985748291, 0.32399165630340576, 0.4052741527557373, 0.2094627171754837, 0.07581751048564911, 0.2076762169599533, 0.4052152633666992, 0.48356273770332336, -0.2388416826725006, 0.00006152986316010356, 0.0762065127491951, -0.08660531789064407, -0.06471951305866241, 0.04017835110425949, 0.10742728412151337, 0.13395102322101593, 0.1699940264225006, 0.4488612413406372, 0.09813056141138077, -0.2446526288986206, -0.0911884680390358, 0.24118167161941528, -0.045602429658174515, -0.2080100029706955, -0.09150951355695724, -0.020187238231301308, 0.02021651156246662, -0.22616848349571228, -0.13371692597866058, -0.21884799003601074, 0.23533812165260315, 0.12027899920940399, -0.11458683758974075, -0.2181742936372757, -0.20773904025554657, 0.4363113343715668, 0.027077538892626762, -0.055088937282562256, -0.21598286926746368, -0.04998140037059784, 0.06589698046445847, 0.088375523686409, 0.12770256400108337, 0.1184132918715477, 0.28903281688690186, -0.1440858393907547, -0.0341394804418087, 0.1172727644443512, -0.1469915211200714, -0.22976143658161163, 0.1696385145187378, 0.3654334843158722, -0.00976815726608038, 0.17248082160949707, -0.18713369965553284, 0.16568435728549957, 0.06108525022864342, -0.20683103799819946, 0.030071748420596123, 0.03433772549033165, -0.21499906480312347, -0.12299152463674545, -0.05556945130228996, 0.12139870971441269, 0.22146736085414886, -0.018827510997653008, -0.03273620456457138, -0.14472046494483948, -0.30355092883110046, 0.09513064473867416, -0.09514479339122772, 0.17865848541259766, 0.21298439800739288, -0.08582905679941177, -0.054241348057985306, 0.0271346103399992, -0.19642576575279236, 0.3211691677570343, -0.4369281828403473, -0.17689812183380127, 0.2627872824668884, -0.12713530659675598, 0.14104658365249634, -0.27246877551078796, -0.28723224997520447, -0.01635301113128662, -0.04678162559866905, -0.1350262314081192, -0.17228399217128754, -0.1218273937702179, 0.2992212474346161, -0.10889046639204025, -0.06084340810775757, -0.08095764368772507, 0.016876108944416046, 0.09019984304904938, 0.18690182268619537, -0.1446315199136734, 0.3638276755809784, 0.001568340347148478, -0.15462574362754822, -0.1071128323674202, -0.186867818236351, 0.004888689145445824, -0.1767563670873642, -0.2452203333377838, -0.11785867810249329, 0.5685065388679504, 0.09890194982290268, 0.48487362265586853, 0.027625439688563347, -0.26415014266967773, -0.05661153793334961, -0.22877340018749237, -0.15588584542274475, -0.09099364280700684, -0.19652502238750458, -0.1322976052761078, 0.38652628660202026, 0.1654023975133896, 0.4615827202796936, -0.08568212389945984, -0.5505978465080261, -0.16844888031482697, -0.046102914959192276, -0.07948777079582214, -0.15356846153736115, -0.02048765867948532, -0.23918424546718597, 0.04969098046422005, 0.23803234100341797, 0.2635398805141449, -0.26787155866622925, 0.04119940102100372, 0.18529683351516724, -0.25250115990638733, -0.07226003706455231, -0.4380895793437958, -0.27250006794929504, -0.03240488842129707, -0.4715462625026703, 0.23847097158432007, 0.3449409008026123, 0.2906881868839264, -0.23344366252422333, 0.016297562047839165, 0.15759097039699554, -0.15434661507606506, 0.16853739321231842, -0.27132129669189453, 0.16771374642848969, 0.3122788667678833, -0.3866109251976013, -0.23590593039989471, 0.04846184700727463, -0.04699989780783653, 0.42918118834495544, 0.3417845070362091, 0.3952242136001587, -0.10395387560129166, 0.025314811617136, -0.2427607923746109, -0.1999422162771225, 0.016833094879984856, -0.0954664796590805, -0.16132402420043945, 0.0919615626335144, 0.08781947195529938, 0.3069998025894165, -0.08308084309101105, 0.1604786068201065, 0.3159131407737732, -0.3018072843551636, -0.23836176097393036, -0.34464260935783386, 0.10848408192396164, 0.5783405900001526, 0.09134950488805771, -0.18037284910678864, 0.26901811361312866, 0.08085833489894867, -0.002093570539727807, -0.20261278748512268, -0.18511134386062622, 0.27499428391456604, 0.4050925076007843, 0.04224150627851486, -0.1840294450521469, 0.0629948228597641, 0.2516237199306488, 0.10462560504674911, -0.010339682921767235, -0.07010011374950409, -0.04394567012786865, -0.28979727625846863, -0.018021507188677788, 0.22083447873592377, 0.2246643453836441, -0.1605398952960968, -0.11824355274438858, 0.46452492475509644, 0.09912009537220001, 0.036006342619657516, 0.548765242099762, -0.10012328624725342, -0.09553048014640808, -0.2820042669773102, 0.36356431245803833, 0.9510235786437988, -0.007846971973776817, 0.0023493862245231867, -0.06515315175056458, -0.06480474770069122, -0.14666545391082764, 0.07739224284887314, -0.07269279658794403, -0.03074040822684765, -0.22329500317573547, 0.030479559674859047, -0.14016008377075195, 0.15220998227596283, 0.03497469052672386, 0.18327674269676208, -0.10355942696332932, -0.011277846992015839, -0.20520596206188202, 0.2206859290599823, 0.2567628026008606, 0.38130077719688416, -0.09242715686559677, -0.20888687670230865, 0.1875356286764145, 0.2866402268409729, -0.2971816956996918, -0.013243062421679497, -0.004955099895596504, -0.295622855424881, 0.1519673466682434, -0.2631193995475769, -0.2701572775840759, -0.22900693118572235, 0.09121692925691605, -0.09525738656520844, -0.08441231399774551, -0.4339064657688141, -0.32223445177078247, 0.23262374103069305, -0.2371080368757248, -0.02696271985769272, 0.11016328632831573, 0.07486645877361298, 0.3526313900947571, 0.3657062351703644, -0.1492813676595688, 0.04515816271305084, -0.3851235508918762, 0.022385038435459137, 0.22585329413414001, 0.049717653542757034, -0.7945376634597778, -0.08055189996957779, 0.08971179276704788, -0.058317989110946655, 0.13593904674053192, 0.006356240715831518, 0.2199949324131012, -0.06272385269403458, -0.10168725997209549, 0.16782081127166748, 0.29521632194519043, -0.2079009711742401, 0.7734845876693726, 0.0263558067381382, -0.31278595328330994, -0.10919129103422165, 0.6625295281410217, -0.050257302820682526, -0.27810558676719666, -0.17907141149044037, -0.2785046398639679, -0.14456024765968323, -0.21138796210289001, 0.10140995681285858, -0.1751989722251892, 0.24564701318740845, 0.1825418472290039, -0.5217612385749817, -0.5014079213142395, 0.1867147833108902, 0.17644250392913818, 0.21773388981819153, 0.14348433911800385, -0.2074202597141266, -0.029626257717609406, -0.3755900263786316, -0.03868896886706352, -0.11846964061260223, 0.1262674778699875, -0.15055449306964874, 0.17227350175380707, -0.18881577253341675, -0.08467832207679749, -0.34020841121673584, -0.07142091542482376, 0.1839849054813385, -0.07742714136838913, 0.19183792173862457, -0.16793818771839142, 0.23826906085014343, 0.21396225690841675, 0.1478888988494873, 0.45455920696258545, -0.22894734144210815, -0.30664458870887756, 0.0959460437297821, 0.07528908550739288, -0.216966912150383, -0.11981909722089767, 0.06206000596284866, 0.11096681654453278, -0.41425734758377075, -0.12703163921833038, -0.21616575121879578, -0.559165358543396, 0.07236502319574356, -0.43393659591674805, 0.39628463983535767, 0.13716702163219452, -0.1035141795873642, -0.0900847464799881, 0.028257708996534348, -0.18636870384216309, -0.04865526035428047, 0.03605378419160843, -0.13721872866153717, -0.2783534526824951, 0.3265700340270996, 0.16661135852336884, -0.03335312008857727, -0.13145959377288818, 0.12245295941829681, 0.05501798167824745, -0.07209229469299316, 0.6348401308059692, 0.3762834966182709, 0.25394579768180847, -0.07653934508562088, -0.5056165456771851, 0.13395078480243683, 0.1747022420167923, -0.08946347236633301, -0.39435291290283203, 0.41898825764656067, 0.33541199564933777, 0.22153353691101074, 0.05935700610280037, 0.22641175985336304, 0.09906839579343796, 0.3766551613807678, 0.01616569794714451, 0.17361514270305634, -0.1522565484046936, -0.02050386555492878, -0.06982605159282684, -0.0022078072652220726, 0.15020053088665009, 0.2792357802391052, 0.31620869040489197, 0.44411739706993103, 0.5312078595161438, -0.22328096628189087, 0.552946150302887, 0.13715723156929016, 0.23848417401313782, -0.1952175348997116, -0.10012727975845337, 0.10439750552177429, 0.3149440884590149, 0.1533682942390442, 0.3375653326511383, 0.12448333203792572, 0.13149620592594147, -0.1929703950881958, -0.277288019657135, -0.18069685995578766, 0.04079192876815796, -0.15996886789798737, -0.2662629783153534, 0.26805049180984497, -0.009512828662991524, 0.09943526238203049, -0.024408137425780296, 0.020921899005770683, 0.24978546798229218, 0.3331506848335266, -0.26509785652160645, 0.12603877484798431, 0.2167828381061554, -0.14562533795833588, -0.08577631413936615, 0.3635089695453644, 0.06635540723800659, 0.21991299092769623, 0.04142941161990166, 0.23982550203800201, 0.05054492875933647, 0.1655813753604889, -0.11123187094926834, -0.2086970955133438, -0.463410347700119, -0.1437360793352127, -0.26396432518959045, 0.15908867120742798, -0.18056108057498932, 0.25783899426460266, -0.2893887162208557, 0.15742769837379456, 0.18075786530971527, 0.10038524866104126, -0.20654219388961792, -0.32337915897369385, 0.17590445280075073, 0.0015719580696895719, -0.06298694759607315, -0.2514272630214691, 0.013364139012992382, 0.33253878355026245, -0.07254116237163544, 0.33729130029678345, -0.0034545997623354197, -0.45999398827552795, -0.11308880895376205, -0.3559330403804779, -0.015006259083747864, 0.17642736434936523, 0.10590837150812149, -0.07938612997531891, 0.6951966285705566, 0.05811867117881775, 0.005503279622644186, -0.003103487892076373, -0.45925599336624146, -0.5618470311164856, 0.3086833655834198, 0.05690259486436844, -0.09577856212854385, 0.06287632137537003, 0.3576832413673401, 0.18763501942157745, 0.3498755991458893, 0.7220428586006165, 0.3300875723361969, 0.07390860468149185, -0.20002520084381104, -0.3122866451740265, -0.012431996874511242, -0.18118950724601746, -0.5576508045196533, -0.12050379812717438, -0.025643229484558105, 0.2936122715473175, -0.24799008667469025, 0.23304006457328796, 0.12679271399974823, -0.35894304513931274, -0.20992499589920044, 0.3273269236087799, 0.47200921177864075, 0.07148265093564987, 0.07630182057619095, 0.026531890034675598, -0.05535530298948288, -0.01751904934644699, 0.5057966113090515, 0.17295880615711212, 0.05556483939290047, 0.1665841042995453, -0.036658454686403275, -0.1566789299249649, 0.36263418197631836, 0.15641427040100098, 0.6586357951164246, 0.394599586725235, -0.18491993844509125, -0.09605046361684799, 0.04008094221353531, 0.2813006043434143, -0.10218024253845215, -0.17148754000663757, 0.44948890805244446, 0.02187412418425083, 0.29996493458747864, -0.16375800967216492, 0.12772761285305023, 0.18188367784023285, -0.4868829548358917, -0.14757242798805237, -0.047873664647340775, 0.01858990266919136, 0.29481005668640137, 0.041842591017484665, 0.067330002784729, -0.27745068073272705, 0.19424228370189667, -0.042705897241830826, 0.05043497309088707, 0.567712128162384, -0.18709781765937805, 0.014681484550237656, -0.010825274512171745, -0.12202432751655579, -0.1646854430437088, 0.011344162747263908, -0.1309678554534912, 0.0087403804063797 ]
https://github.com/huggingface/datasets/issues/1893
wmt19 is broken
This was also mentioned in https://github.com/huggingface/datasets/issues/488 The bucket where is data was stored seems to be unavailable now. Maybe we can change the URL to the ones in https://conferences.unite.un.org/uncorpus/en/downloadoverview ?
1. Check which lang pairs we have: `--dataset_name wmt19`: Please pick one among the available configs: ['cs-en', 'de-en', 'fi-en', 'gu-en', 'kk-en', 'lt-en', 'ru-en', 'zh-en', 'fr-de'] 2. OK, let's pick `ru-en`: `--dataset_name wmt19 --dataset_config "ru-en"` no cookies: ``` Traceback (most recent call last): File "./run_seq2seq.py", line 661, in <module> main() File "./run_seq2seq.py", line 317, in main datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 740, in load_dataset builder_instance.download_and_prepare( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 572, in download_and_prepare self._download_and_prepare( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/builder.py", line 628, in _download_and_prepare split_generators = self._split_generators(dl_manager, **split_generators_kwargs) File "/home/stas/.cache/huggingface/modules/datasets_modules/datasets/wmt19/436092de5f3faaf0fc28bc84875475b384e90a5470fa6afaee11039ceddc5052/wmt_utils.py", line 755, in _split_generators downloaded_files = dl_manager.download_and_extract(urls_to_download) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 276, in download_and_extract return self.extract(self.download(url_or_urls)) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 191, in download downloaded_path_or_paths = map_nested( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 233, in map_nested mapped = [ File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 234, in <listcomp> _single_map_nested((function, obj, types, None, True)) for obj in tqdm(iterable, disable=disable_tqdm) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in _single_map_nested mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar] File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 190, in <listcomp> mapped = [_single_map_nested((function, v, types, None, True)) for v in pbar] File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/py_utils.py", line 172, in _single_map_nested return function(data_struct) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/download_manager.py", line 211, in _download return cached_path(url_or_filename, download_config=download_config) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 274, in cached_path output_path = get_from_cache( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 584, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://storage.googleapis.com/tfdataset-data/downloadataset/uncorpus/UNv1.0.en-ru.tar.gz ```
30
wmt19 is broken
[ -0.33177733421325684, -0.7421692609786987, -0.13329707086086273, 0.059302087873220444, 0.08235692977905273, -0.08354442566633224, 0.1673850566148758, 0.012144054286181927, 0.16101115942001343, 0.2391779124736786, 0.2595301568508148, 0.23057548701763153, -0.08676417917013168, 0.4454774260520935, -0.013993791304528713, 0.28296491503715515, -0.09433570504188538, 0.203125, -0.5555860996246338, 0.08697967231273651, -0.1738116443157196, 0.07815303653478622, -0.5149283409118652, -0.10189047455787659, -0.38983312249183655, 0.04544788971543312, 0.07874751091003418, 0.05923941731452942, -0.17987558245658875, 0.08074525743722916, 0.0407702773809433, 0.005324516911059618, -0.17158666253089905, 0.4891473948955536, -0.00010615675273584202, -0.0781322792172432, 0.30848878622055054, 0.07505764812231064, -0.09759177267551422, 0.12071206420660019, -0.5379720330238342, -0.16375575959682465, 0.02296414226293564, 0.112352155148983, 0.016539081931114197, -0.14029738306999207, -0.04865868762135506, 0.08829289674758911, 0.5457134246826172, -0.01600450649857521, 0.3214758336544037, 0.07832823693752289, 0.18380025029182434, -0.1616414189338684, 0.30291005969047546, 0.06476570665836334, -0.12220799922943115, -0.07106750458478928, 0.36242127418518066, -0.19294801354408264, 0.24921812117099762, 0.13968582451343536, 0.05229281261563301, 0.13721638917922974, 0.2700471878051758, -0.13394993543624878, 0.4233459234237671, 0.29397451877593994, 0.2505239248275757, 0.2702212333679199, 0.2382935732603073, 0.19430316984653473, 0.29270240664482117, 0.2926878333091736, -0.07515622675418854, -0.6416011452674866, 0.18274696171283722, -0.05615182965993881, -0.21501868963241577, 0.1569068282842636, -0.23889823257923126, -0.1079578623175621, 0.02621437795460224, 0.16303865611553192, -0.32872727513313293, 0.8493916988372803, -0.10739053040742874, 0.024992942810058594, -0.18652234971523285, 0.03494375944137573, 0.0791277214884758, 0.35636183619499207, -0.07332270592451096, -0.43935030698776245, 0.29760658740997314, 0.0338057279586792, 0.11705762147903442, 0.09780102223157883, -0.32916104793548584, -0.2715345621109009, -0.02871483378112316, 0.4812445044517517, 0.23092962801456451, -0.22210407257080078, 0.005762087181210518, 0.13566137850284576, -0.07222649455070496, -0.4247764050960541, 0.36043432354927063, 0.3257381021976471, -0.18951773643493652, -0.05214429274201393, 0.10809389501810074, -0.45937737822532654, 0.008409831672906876, -0.01632741093635559, 0.16277740895748138, 0.044875312596559525, -0.14574354887008667, -0.1214720606803894, 0.1564798802137375, -0.07826174050569534, -0.18643929064273834, 0.18694305419921875, -0.029950149357318878, 0.1162252426147461, 0.21054832637310028, -0.19452357292175293, 0.0031159266363829374, -0.28439226746559143, -0.2448355108499527, -0.25667282938957214, -0.04359323903918266, 0.15987730026245117, 0.028143392875790596, -0.0030991460662335157, 0.05176582559943199, -0.0518794022500515, -0.33197036385536194, -0.37679004669189453, -0.24451303482055664, 0.2565140128135681, 0.3178824484348297, 0.2366059571504593, -0.08626662939786911, 0.1880427747964859, 0.06733439862728119, -0.018001869320869446, 0.233958438038826, 0.13100707530975342, -0.10279010981321335, -0.21263481676578522, 0.02487475983798504, 0.3173663318157196, 0.1657344400882721, 0.03454052284359932, -0.08223002403974533, 0.02613707073032856, -0.025657696649432182, 0.15184354782104492, 0.07412009686231613, 0.010973979718983173, -0.4375918209552765, -0.029263267293572426, 0.07681714743375778, 0.23429089784622192, -0.516909658908844, -0.11729396134614944, -0.26425686478614807, 0.018163884058594704, 0.22714440524578094, -0.01940126158297062, -0.06386716663837433, 0.29518216848373413, -0.1967993676662445, -0.06729892641305923, -0.306362509727478, -0.01938382163643837, -0.15733174979686737, -0.07275088876485825, -0.13348890841007233, -0.2665785253047943, -0.14243470132350922, -0.07283530384302139, -0.2567751109600067, -0.026412704959511757, 0.16533517837524414, -0.03626634180545807, -0.004668030422180891, -0.05903021618723869, -0.24459590017795563, -0.33895260095596313, 0.5589123964309692, -0.22429180145263672, 0.37427252531051636, -0.4144439101219177, -0.0037056156434118748, -0.021979207172989845, 0.2925378680229187, 0.2561945617198944, -0.17577414214611053, -0.3173617720603943, 0.38964077830314636, -0.02210376411676407, 0.030291853472590446, -0.042326100170612335, -0.10029513388872147, -0.03754594549536705, 0.2248377501964569, 0.19375720620155334, 0.27475303411483765, 0.26936787366867065, -0.17946550250053406, 0.15245448052883148, -0.19804717600345612, -0.23597073554992676, 0.25866466760635376, 0.1318477839231491, -0.5869995951652527, -0.2595714032649994, -0.043768901377916336, -0.4527342915534973, -0.1777956485748291, 0.030037881806492805, 0.06748582422733307, 0.032914403825998306, -0.20536306500434875, -0.16756746172904968, 0.09549038112163544, 0.033915966749191284, 0.36752429604530334, -0.00651941355317831, -0.12652286887168884, 0.20873959362506866, 0.016757724806666374, 0.39304468035697937, -0.3537837862968445, -0.09478729218244553, 0.15336638689041138, -0.8393691182136536, -0.15254168212413788, 0.3000905215740204, -0.011958771385252476, -0.42843878269195557, 0.21512030065059662, -0.1598096489906311, -0.15147587656974792, 0.13709908723831177, -0.1691470593214035, 0.10052301734685898, -0.2143470048904419, -0.16485142707824707, -0.05339798331260681, -0.197254478931427, 0.003028544131666422, -0.3013651669025421, -0.5507223606109619, -0.05820911005139351, 0.3565715253353119, 0.09406056255102158, 0.16928315162658691, 0.3341491222381592, 0.39187487959861755, -0.28918907046318054, -0.3103216290473938, -0.13096870481967926, -0.04977872595191002, -0.03179912269115448, 0.2244044840335846, 0.07258779555559158, -0.11948563903570175, 0.16504892706871033, 0.13542652130126953, -0.3010089695453644, 0.35701242089271545, 0.1702653467655182, 0.1684335172176361, 0.3041076958179474, -0.15241362154483795, -0.09505534172058105, -0.09891237318515778, 0.3675321638584137, -0.059885114431381226, -0.03525964543223381, -0.20597517490386963, -0.24544773995876312, -0.5683242082595825, -0.1772584170103073, -0.289014607667923, -0.2855815291404724, 0.08896514773368835, -0.19825775921344757, 0.025772295892238617, -0.02928115800023079, -0.012459908612072468, 0.24580368399620056, 0.23681527376174927, 0.3095129430294037, -0.13212555646896362, 0.7987897992134094, -0.020629428327083588, -0.012707346118986607, -0.20505952835083008, 0.18379580974578857, 0.28255555033683777, 0.12286414951086044, 0.06760014593601227, -0.25474587082862854, -0.22474755346775055, -0.009398572146892548, -0.321513831615448, 0.114895761013031, -0.10254037380218506, 0.24847666919231415, 0.2619875371456146, 0.2528456747531891, 0.0851566269993782, -0.16352751851081848, 0.34507325291633606, -0.3982200026512146, 0.19130802154541016, -0.13590572774410248, -0.031810130923986435, -0.16404283046722412, -0.13151909410953522, -0.31251969933509827, 0.026647087186574936, -0.13308647274971008, -0.08724827319383621, 0.1489906907081604, -0.04093004763126373, 0.6152366995811462, 0.06473059207201004, 0.015451456420123577, 0.23838648200035095, 0.028841644525527954, -0.05372834578156471, 0.14851157367229462, 0.1281266212463379, 0.08293616026639938, -0.17293064296245575, 0.30013489723205566, 0.1989113986492157, 0.1234482005238533, -0.09847993403673172, -0.3043898046016693, 0.32752519845962524, 0.13711801171302795, -0.33861035108566284, 0.04187077283859253, 0.20633505284786224, 0.3187728226184845, 0.021754713729023933, -0.25966230034828186, -0.26522424817085266, -0.3417539596557617, -0.07565106451511383, -0.10851695388555527, 0.42036664485931396, -0.10694677382707596, -0.08392875641584396, -0.11854369193315506, 0.6607862710952759, -0.45374569296836853, -0.04438206925988197, 0.220875084400177, 0.08761432021856308, 0.14271937310695648, 0.17334960401058197, -0.22081272304058075, -0.049756016582250595, 0.07496507465839386, -0.02120637521147728, 0.44261661171913147, 0.0658363327383995, 0.1575239598751068, -0.2373051792383194, -0.19024758040905, -0.16847342252731323, -0.18787673115730286, -0.23262374103069305, 0.45503246784210205, -0.0463152714073658, 0.22060419619083405, 0.16566412150859833, 0.17311877012252808, -0.17386330664157867, 0.3063974678516388, 0.14433835446834564, -0.09370522201061249, -0.1932733952999115, 0.020139055326581, -0.33311566710472107, 0.24533377587795258, -0.040796224027872086, -0.21624737977981567, 0.5332460999488831, -0.13527803122997284, -0.3280191123485565, -0.049828436225652695, -0.03058416210114956, 0.28329983353614807, -0.0590403713285923, 0.38468024134635925, -0.08396504819393158, -0.025738101452589035, 0.2119145393371582, -0.22894106805324554, -0.18531087040901184, -0.16440393030643463, 0.027654847130179405, 0.4638255834579468, 0.17411023378372192, 0.30001595616340637, -0.03179021179676056, 0.03822823241353035, -0.275664359331131, -0.11157413572072983, -0.04478054866194725, -0.15869781374931335, 0.069598488509655, -0.2915235459804535, 0.004970870912075043, -0.18558013439178467, -0.07726845145225525, -0.19611509144306183, 0.005888087209314108, -0.17403362691402435, -0.09196282923221588, 0.08248044550418854, 0.027424367144703865, 0.04169369861483574, -0.03525419905781746, 0.08485792577266693, 0.4359228014945984, 0.22034816443920135, -0.04672059416770935, 0.24348926544189453, 0.430370956659317, 0.0012068093055859208, -0.16399551928043365, 0.30594402551651, 0.47407016158103943, -0.11588072031736374, 0.14447589218616486, 0.37081199884414673, 0.2510504722595215, -0.3513403832912445, -0.022711198776960373, 0.1951998919248581, 0.12898966670036316, -0.2063824087381363, 0.26825642585754395, -0.04295044019818306, -0.09769313782453537, -0.08814623951911926, 0.11556292325258255, 0.17868052423000336, -0.10392484813928604, -0.07635021954774857, 0.25200510025024414, 1.0588533878326416, 0.08126682043075562, -0.12670817971229553, -0.007929585874080658, 0.18279694020748138, 0.07208028435707092, 0.11156582832336426, 0.04797375574707985, 0.026225775480270386, -0.10529347509145737, -0.005526203196495771, -0.10775350034236908, 0.17264926433563232, -0.2837323248386383, -0.29049599170684814, 0.3194205164909363, 0.22159017622470856, 0.4697345495223999, 0.01898249238729477, -0.19673337042331696, 0.19227559864521027, 0.17389093339443207, 0.19707165658473969, 0.2189166396856308, -0.14644868671894073, 0.2601751685142517, -0.36127904057502747, 0.06046479940414429, 0.3740652799606323, -0.1365887075662613, -0.5320602059364319, -0.21172282099723816, -0.4017428755760193, -0.04010415077209473, 0.17248067259788513, 0.08935697376728058, 0.3366098403930664, -0.3259876072406769, -0.24711158871650696, 0.45480719208717346, -0.3203783333301544, 0.1759517341852188, -0.04785442724823952, -0.09907353669404984, -0.3546425700187683, 0.16066892445087433, 0.11099202185869217, -0.24597714841365814, -0.26526567339897156, -0.13570521771907806, 0.166495680809021, -0.0544683001935482, -0.01310736034065485, 0.030340872704982758, 0.5932728052139282, 0.04851638525724411, 0.09462013095617294, 0.10064557939767838, 0.17230112850666046, -0.35441306233406067, 0.2481756955385208, -0.3309241831302643, -0.1448647379875183, 0.3122280538082123, 0.37138086557388306, -0.08789552748203278, -0.15559354424476624, 0.14746014773845673, -0.048057664185762405, 0.08736896514892578, 0.3879201412200928, 0.6956162452697754, -0.1205042153596878, -0.36231154203414917, -0.015816478058695793, 0.05189748853445053, 0.020102795213460922, 0.0322132483124733, 0.10619271546602249, 0.017055923119187355, -0.01743766851723194, 0.7703627943992615, 0.28573447465896606, 0.06310214847326279, -0.2971729040145874, -0.1833033263683319, -0.09019582718610764, 0.12048208713531494, 0.1871776431798935, 0.08890650421380997, -0.25811344385147095, 0.07621487975120544, 0.10137604922056198, 0.368895560503006, -0.40179598331451416, 0.1252450942993164, 0.14467404782772064, -0.07318387180566788, -0.36722099781036377, -0.11239057779312134, -0.20900502800941467, 0.05440770462155342, 0.21261470019817352, 0.30291807651519775, -0.09201700240373611, -0.3470744788646698, -0.16376830637454987, 0.11148475110530853, 0.2456396073102951, -0.5502443909645081, -0.052940040826797485, -0.07255769520998001, 0.07741335034370422, 0.16452451050281525, -0.2584388554096222, 0.1927931010723114, 0.12169919162988663, 0.14228612184524536, 0.7932594418525696, 0.18433329463005066, -0.17851056158542633, 0.17326109111309052, 0.2885752320289612, 0.44617366790771484, -0.20923595130443573, -0.2002568244934082, 0.22266653180122375, -0.06309899687767029, -0.04868730530142784, 0.0012696055928245187, 0.16935306787490845, 0.2184746414422989, 0.23569129407405853, -0.20070192217826843, -0.24898098409175873, 0.1131931021809578, 0.16708648204803467, 0.15199390053749084, -0.06363530457019806, -0.04959674924612045, 0.18852874636650085, 0.30863720178604126, -0.3965011537075043, 0.2425353080034256, -0.07642637193202972, 0.15688791871070862, 0.031184673309326172, -0.012697149068117142, 0.010832945816218853, -0.5183754563331604, -0.2724972069263458, 0.2339501678943634, -0.1268022358417511, -0.1336626559495926, -0.1307085156440735, 0.07084471732378006, -0.1260460913181305, -0.031127434223890305, -0.0736236423254013, 0.10549338161945343, 0.054614752531051636, 0.055901166051626205, 0.1988557130098343, 0.07558716833591461, -0.040637753903865814, 0.08143509179353714, 0.14918459951877594, -0.15285563468933105, 0.16502735018730164, 0.34773287177085876, -0.1183461993932724, -0.26756802201271057, 0.18924729526042938, 0.3766871690750122, 0.08823946118354797, -0.01512832473963499, -0.030361590906977654, 0.0853768140077591, -0.18628405034542084, -0.07878949493169785, -0.24087682366371155, -0.12322132289409637, -0.2533629238605499, -0.03364691510796547, 0.12768493592739105, 0.06080104783177376, -0.1318976879119873, 0.23356913030147552, -0.22606611251831055, -0.015601715072989464, -0.17257797718048096, -0.08783990889787674, 0.18853570520877838, -0.18548405170440674, 0.008188086561858654, 0.1168857291340828, 0.2534324824810028, 0.11265858262777328, 0.3165639042854309, -0.03536641225218773, -0.019197165966033936, -0.24942980706691742, 0.1202542781829834, 0.1602572202682495, -0.18791814148426056, -0.34243789315223694, 0.2619859278202057, 0.11683988571166992, 0.06127309799194336, -0.13000617921352386, 0.2935047447681427, -0.2941342890262604, 0.03621472790837288, -0.0696825459599495, -0.05400007590651512, 0.03184572607278824, -0.16561543941497803, -0.1598677784204483, -0.063588947057724, -0.08645562827587128, 0.23017354309558868, -0.09018731862306595, 0.21749596297740936, 0.5106446146965027, -0.0038408252876251936, 0.2255408763885498, -0.16472113132476807, 0.13782808184623718, -0.15081097185611725, 0.37230053544044495, 0.2749894857406616, 0.11564631015062332, -0.19938139617443085, -0.2776741087436676, -0.5198113322257996, 0.22156961262226105, 0.17573149502277374, 0.30329379439353943, -0.13188935816287994, -0.20303961634635925, 0.31680846214294434, -0.04566911980509758, 0.24966448545455933, 0.3686050474643707, -0.030416181311011314, -0.06292051076889038, -0.19769287109375, -0.12378337234258652, 0.196357861161232, -0.0382688082754612, 0.030758799985051155, -0.0563848540186882, 0.22178146243095398, -0.12927848100662231, 0.1890123188495636, -0.29826048016548157, -0.10194126516580582, -0.21293237805366516, 0.6333492398262024, 0.023073727265000343, 0.03447532653808594, 0.014491274021565914, -0.21251347661018372, 0.06876111775636673, -0.26523178815841675, -0.021104959771037102, -0.007885261438786983, 0.18534614145755768, -0.010074210353195667, -0.0978269875049591, 0.04419718682765961, 0.19804228842258453, -0.15315571427345276, -0.13099978864192963, -0.03934529796242714, 0.07017766684293747, -0.2881084382534027, 0.0995657816529274, -0.3535429537296295, -0.2110721319913864, 0.33120766282081604, 0.0012720284285023808, -0.07934422045946121, -0.15285727381706238, -0.21651962399482727, -0.21563635766506195, 0.21955734491348267, -0.05255790427327156, -0.3095237910747528, -0.5691407918930054, 0.11562199145555496, 0.12724460661411285, 0.24066157639026642, -0.08619897067546844, -0.22877901792526245, 0.1239469051361084, -0.05382276698946953, -0.019062839448451996, 0.16327707469463348, -0.2044941633939743, 0.019658386707305908, -0.051999282091856, 0.37449729442596436, 0.26492366194725037, -0.1054733470082283, -0.30321380496025085, 0.06230014190077782 ]
https://github.com/huggingface/datasets/issues/1892
request to mirror wmt datasets, as they are really slow to download
Yes that would be awesome. Not only the download speeds are awful, but also some files are missing. We list all the URLs in the datasets/wmt19/wmt_utils.py so we can make a script to download them all and host on S3. Also I think most of the materials are under the CC BY-NC-SA 3.0 license (must double check) so it should be possible to redistribute the data with no issues. cc @patrickvonplaten who knows more about the wmt scripts
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download. Thank you!
78
request to mirror wmt datasets, as they are really slow to download
[ -0.5739348530769348, -0.01781027391552925, -0.11377673596143723, 0.03687741979956627, -0.1244661882519722, 0.13033746182918549, 0.08152318000793457, 0.4967997372150421, 0.1062234565615654, 0.08407583832740784, -0.28100863099098206, -0.09364861249923706, -0.03967222943902016, 0.10266832262277603, -0.1651192605495453, -0.05719948559999466, -0.12215590476989746, 0.22432129085063934, -0.564542829990387, -0.1650741994380951, 0.010418316349387169, -0.13402000069618225, -0.04237090423703194, -0.2431333363056183, -0.11206205189228058, -0.030702387914061546, -0.03171595558524132, 0.09714465588331223, -0.37716877460479736, 0.17483268678188324, -0.08211282640695572, 0.445298969745636, -0.18477356433868408, 0.1358296424150467, -0.00010505488171475008, -0.041345417499542236, 0.06007301062345505, 0.18173754215240479, -0.2971712052822113, 0.28904908895492554, -0.42394110560417175, -0.5052469968795776, -0.14492668211460114, -0.011234330013394356, -0.08575908839702606, -0.23594987392425537, -0.0021430724300444126, -0.10085278004407883, 0.3128150403499603, -0.13259756565093994, 0.2630347013473511, 0.3512071371078491, -0.3748447299003601, -0.24933063983917236, 0.19520170986652374, -0.055765897035598755, -0.17650675773620605, 0.2581067681312561, 0.5374764800071716, 0.15287014842033386, -0.01757873222231865, 0.4181111752986908, -0.214384987950325, 0.4096306264400482, -0.14300644397735596, -0.15752047300338745, 0.07579295337200165, 0.23108583688735962, 0.09816493093967438, 0.42663758993148804, 0.7086193561553955, 0.014624349772930145, -0.31941887736320496, -0.006643381435424089, -0.14147499203681946, 0.12142337113618851, -0.06458868831396103, 0.24725566804409027, -0.02022920735180378, 0.3262639045715332, -0.5138700008392334, -0.054518818855285645, 0.10994865745306015, -0.09208067506551743, -0.15246888995170593, 0.2585316002368927, 0.04050334915518761, -0.06532081216573715, -0.012894566170871258, -0.15766583383083344, 0.2369208186864853, -0.1134965568780899, 0.3102051019668579, -0.18725177645683289, 0.0014932778431102633, -0.3716895878314972, -0.04743766412138939, -0.24241812527179718, -0.06061212345957756, 0.44462770223617554, 0.2642418444156647, 0.14150294661521912, 0.10261404514312744, -0.08225315064191818, 0.04511898010969162, -0.0062518855556845665, -0.3473767340183258, -0.2501508593559265, 0.21786421537399292, 0.008864342235028744, 0.025196613743901253, 0.1268230825662613, 0.02456521987915039, -0.15997932851314545, -0.4309993386268616, 0.11517040431499481, 0.08500409871339798, -0.13803192973136902, -0.277190625667572, -0.006999131292104721, 0.26394587755203247, -0.09910005331039429, -0.24022947251796722, 0.09488815814256668, -0.27292054891586304, 0.12836644053459167, 0.2579495906829834, -0.13971185684204102, -0.14957842230796814, -0.20539413392543793, -0.2501855790615082, -0.17528566718101501, 0.1583745777606964, 0.17347770929336548, 0.418856680393219, 0.3360051214694977, 0.18289868533611298, -0.1895471215248108, 0.10920803248882294, 0.30710917711257935, 0.0743371993303299, 0.30436283349990845, -0.1743268519639969, 0.30507034063339233, -0.13245204091072083, 0.27669936418533325, -0.045413367450237274, 0.6089162230491638, -0.21235643327236176, -0.13187387585639954, -0.23567147552967072, -0.11611136794090271, 0.16565975546836853, 0.2921399474143982, -0.08073277026414871, -0.2324121743440628, 0.1068299412727356, -0.013018723577260971, -0.44197580218315125, 0.06900104135274887, -0.15963751077651978, 0.16803698241710663, -0.17350713908672333, -0.032799892127513885, 0.05716575309634209, 0.4950251579284668, -0.20403656363487244, -0.0003328417078591883, 0.09582403302192688, 0.14976289868354797, 0.382409930229187, 0.43432697653770447, -0.152529776096344, -0.051120657473802567, 0.0957430824637413, -0.1278485506772995, 0.1600969284772873, -0.11457251012325287, -0.23304463922977448, 0.29033973813056946, -0.5708920955657959, -0.2331407517194748, 0.3356151282787323, 0.4012613892555237, 0.22491034865379333, -0.14975140988826752, 0.15994825959205627, 0.47695812582969666, -0.1387976109981537, 0.05879092216491699, -0.21882645785808563, -0.5708184242248535, 0.09009122103452682, 0.29926797747612, 0.09545403718948364, -0.11744602024555206, -0.008408975787460804, 0.20688298344612122, 0.3065965473651886, 0.09905624389648438, -0.059198424220085144, -0.14506496489048004, -0.12479635328054428, -0.07760550826787949, -0.07778275012969971, 0.013645950704813004, 0.10370150208473206, 0.04267464205622673, 0.15008148550987244, 0.22927632927894592, 0.2289402335882187, -0.018371347337961197, -0.3348155617713928, -0.0037525647785514593, 0.034219104796648026, 0.16455890238285065, 0.2161320596933365, -0.056597139686346054, -0.05354905501008034, 0.046120062470436096, 0.20266325771808624, -0.045700930058956146, -0.24572506546974182, 0.059599511325359344, 0.167941153049469, 0.10004409402608871, -0.04972365126013756, 0.21426546573638916, 0.46291324496269226, 0.006797207519412041, 0.06973002105951309, 0.06323851644992828, 0.029075847938656807, -0.05582687631249428, -0.1664203554391861, 0.5460374355316162, 0.4285295605659485, 0.13196885585784912, 0.2299434393644333, -0.5582120418548584, 0.6453753709793091, 0.3941972851753235, 0.029308751225471497, -0.2032070755958557, -0.42529353499412537, 0.23988790810108185, 0.007378910202533007, -0.0429573617875576, 0.07295956462621689, -0.02434011548757553, 0.08975356072187424, -0.04448944330215454, -0.08109626173973083, -0.19538956880569458, 0.3213646411895752, 0.16277959942817688, -0.20513392984867096, 0.12812401354312897, 0.14561188220977783, 0.2289656698703766, 0.23825302720069885, 0.03802095353603363, 0.1765393316745758, -0.2760181128978729, -0.17031647264957428, -0.054087165743112564, 0.1941104233264923, 0.193386971950531, -0.013871025294065475, 0.4218675196170807, 0.33003169298171997, 0.053047873079776764, 0.16537700593471527, -0.33054739236831665, 0.05461500212550163, -0.11903190612792969, -0.012365863658487797, 0.13636577129364014, 0.08373647183179855, -0.11743707954883575, -0.3138446509838104, -0.03688556328415871, 0.06468113511800766, -0.06268976628780365, 0.1056760922074318, -0.4259090721607208, -0.40519383549690247, 0.09434495866298676, -0.3565099239349365, -0.03418472409248352, 0.17852896451950073, -0.3102647066116333, 0.19965223968029022, 0.1589713990688324, -0.24897482991218567, 0.1443348228931427, -0.18474552035331726, 0.10490930080413818, 0.014984802342951298, 0.14373931288719177, 0.06872078776359558, -0.12557707726955414, 0.017697962000966072, 0.22611971199512482, 0.014087392017245293, 0.04826376959681511, 0.5365287065505981, -0.319442480802536, 0.3375249207019806, -0.4544840157032013, -0.11010103672742844, -0.04988730326294899, 0.2669001817703247, -0.24932190775871277, 0.045902468264102936, 0.3540855944156647, 0.3355684280395508, -0.24647295475006104, 0.05866788700222969, -0.21462920308113098, -0.01745448261499405, -0.02536097913980484, -0.10203210264444351, -0.0871223583817482, -0.005969425663352013, -0.5345234274864197, -0.40870359539985657, -0.2761039137840271, 0.009232012555003166, -0.11105521023273468, 0.01783740520477295, 0.11660093069076538, 0.2344459593296051, -0.11129198968410492, -0.05058160051703453, 0.16422423720359802, -0.18103833496570587, -0.3200919032096863, 0.42828434705734253, -0.0071387384086847305, -0.2967442572116852, 0.021008295938372612, 0.10798698663711548, -0.12129249423742294, 0.30112120509147644, -0.2219560295343399, 0.04939984157681465, -0.08943910896778107, -0.07638037204742432, 0.47968605160713196, 0.11818131059408188, 0.20626495778560638, 0.06571095436811447, -0.27828311920166016, -0.019460104405879974, -0.09076133370399475, -0.14440904557704926, -0.008785269223153591, 0.15769250690937042, -0.06102094426751137, 0.06263961642980576, 0.01746635138988495, 0.9456709623336792, -0.01640515960752964, 0.06367134302854538, -0.017021693289279938, 0.13271556794643402, 0.05120834335684776, 0.22750650346279144, -0.28545624017715454, -0.09409991651773453, -0.037674445658922195, 0.09629538655281067, 0.4026617705821991, 0.10040774196386337, -0.33673688769340515, -0.11894699931144714, -0.0628497302532196, -0.24877099692821503, -0.2363482415676117, -0.08538777381181717, 0.1136883795261383, -0.0033929229248315096, 0.3867632746696472, 0.09745844453573227, -0.27179354429244995, -0.2393074333667755, 0.23471800982952118, -0.003293314017355442, -0.26222389936447144, -0.08874701708555222, 0.17712657153606415, 0.08312267065048218, -0.4576182961463928, 0.011565465480089188, 0.07374996691942215, 0.27466917037963867, 0.058886222541332245, -0.09964089840650558, 0.05093473196029663, -0.06864698976278305, 0.33278828859329224, -0.16135622560977936, 0.502181887626648, -0.14348448812961578, -0.2347286343574524, 0.006999561563134193, -0.019977720454335213, -0.2737739086151123, -0.4798698127269745, 0.21176691353321075, 0.12169429659843445, -0.13077716529369354, 0.052576128393411636, 0.3143938481807709, -0.04686884954571724, -0.20433273911476135, 0.07073397934436798, 0.34849122166633606, -0.20468246936798096, -0.2294829785823822, -0.2406139075756073, -0.09954944252967834, -0.03288931027054787, -0.1720031052827835, -0.0009896078845486045, -0.040809981524944305, 0.2738463878631592, 0.312191367149353, 0.04512945935130119, -0.13592228293418884, 0.2954554855823517, 0.3545088768005371, 0.10342074930667877, 0.31884709000587463, 0.16511814296245575, 0.481173038482666, 0.0774664655327797, 0.16522543132305145, -0.24438634514808655, -0.09655678272247314, -0.05234592407941818, 0.572544276714325, 0.005223679821938276, -0.13331401348114014, 0.14913377165794373, 0.21090002357959747, -0.3905559182167053, 0.15121571719646454, 0.07122530788183212, -0.09177535772323608, -0.08943665772676468, -0.23915503919124603, 0.31061190366744995, 0.21455085277557373, -0.014306027442216873, -0.013536947779357433, -0.10131774097681046, 0.25098446011543274, -0.33675849437713623, 0.18680527806282043, 0.8890678286552429, -0.18272925913333893, 0.3704475164413452, 0.0006141183548606932, -0.32622361183166504, 0.1824800819158554, -0.1562149077653885, -0.053074222058057785, -0.02906542830169201, -0.2836132049560547, -0.05050767958164215, 0.02794410102069378, -0.07604971528053284, 0.159504234790802, -0.044815123081207275, 0.04110772907733917, 0.4249742329120636, 0.14766350388526917, 0.1534109115600586, 0.3171737492084503, -0.21748724579811096, -0.1792212575674057, 0.12835200130939484, 0.2223583161830902, -0.04835238307714462, 0.01661762408912182, -0.09405305236577988, -0.2393852025270462, 0.059972718358039856, -0.09541907161474228, -0.3265596628189087, 0.04950391501188278, -0.25758951902389526, 0.183352530002594, -0.5026490688323975, -0.03793511167168617, 0.1630469560623169, -0.5768555402755737, -0.33599624037742615, 0.39197656512260437, -0.5116524696350098, 0.008297082036733627, -0.3784453272819519, -0.02687213569879532, -0.1486206352710724, 0.0793241634964943, 0.1420087069272995, -0.19609148800373077, 0.035667065531015396, -0.15899929404258728, 0.23278844356536865, -0.11648630350828171, -0.06405460089445114, -0.10711025446653366, 0.14771033823490143, 0.08544789999723434, 0.042037006467580795, 0.21873052418231964, -0.09983597695827484, -0.2142924964427948, 0.1595032960176468, 0.14203298091888428, -0.1241505891084671, 0.21546198427677155, 0.47355467081069946, -0.18522264063358307, -0.1723896861076355, 0.6984296441078186, 0.21626470983028412, -0.09508898854255676, 0.3719353973865509, 0.10602186620235443, -0.24320746958255768, -0.34292522072792053, -0.13435396552085876, -0.1369161605834961, -0.3908706307411194, 0.1510891318321228, -0.2960146367549896, -0.10967445373535156, 0.18955819308757782, 0.29363152384757996, 0.3950531482696533, -0.10009437799453735, -0.20679031312465668, -0.15644502639770508, -0.038347817957401276, 0.10398968309164047, -0.05928684398531914, 0.23745369911193848, -0.13777582347393036, 0.0810403972864151, -0.0835585817694664, 0.051701612770557404, -0.433929443359375, 0.1821938157081604, -0.015456839464604855, 0.0607965886592865, -0.011273571290075779, -0.26742374897003174, -0.0027308498974889517, 0.20638632774353027, 0.09813220053911209, -0.17168699204921722, -0.44988057017326355, -0.27408814430236816, 0.07733914256095886, 0.11360239237546921, -0.13302434980869293, -0.1261242777109146, 0.22484390437602997, -0.34937506914138794, -0.3511999845504761, 0.0787745788693428, -0.16772718727588654, 0.01885915733873844, -0.0019168808357790112, -0.1956203579902649, 0.33895155787467957, -0.034175872802734375, -0.04495881497859955, 0.3388245403766632, 0.12442062795162201, 0.2107766717672348, -0.2820475697517395, -0.14638440310955048, 0.1307286024093628, -0.11694411933422089, 0.16468483209609985, 0.03481345251202583, 0.30863702297210693, 0.039392195641994476, 0.5101942420005798, -0.010603010654449463, -0.10326185822486877, 0.40358808636665344, 0.5071609020233154, 0.031797584146261215, 0.35995325446128845, -0.303133100271225, 0.010298340581357479, 0.24914073944091797, -0.4107834994792938, -0.180132195353508, 0.3692510426044464, 0.011449037119746208, 0.1875482201576233, -0.07170375436544418, 0.28196337819099426, -0.07320429384708405, 0.00006960543396417052, -0.008089747279882431, 0.2676317095756531, 0.0033833603374660015, -0.18513339757919312, 0.3497452437877655, 0.22363363206386566, 0.026884565129876137, -0.04563489183783531, 0.2625683844089508, 0.06856205314397812, 0.017390279099345207, -0.05297035723924637, 0.5154175758361816, 0.11628766357898712, 0.054842669516801834, -0.1281445324420929, -0.13339295983314514, 0.2955549955368042, 0.1254253089427948, 0.061195116490125656, 0.27561718225479126, 0.03904665261507034, -0.14746245741844177, 0.11666429042816162, 0.05569564551115036, -0.4075244963169098, 0.44703415036201477, 0.1077798381447792, -0.05963689461350441, 0.03390946984291077, -0.2124265879392624, -0.15897496044635773, 0.03752059116959572, -0.06786675751209259, -0.07368094474077225, 0.29207539558410645, -0.1127273440361023, 0.13445256650447845, -0.29593488574028015, -0.031521059572696686, -0.22838807106018066, 0.13438422977924347, -0.3506893217563629, -0.36811065673828125, 0.06259620934724808, -0.0015182740753516555, 0.2763020992279053, 0.5052927732467651, 0.01922343112528324, 0.03249875828623772, -0.0939326286315918, -0.07354629039764404, -0.05802502855658531, -0.12296845763921738, -0.35943469405174255, 0.3017740845680237, -0.13128988444805145, -0.30244484543800354, 0.28252825140953064, 0.19050957262516022, -0.24697770178318024, -0.1401175707578659, -0.08919773995876312, -0.5299133658409119, -0.12435926496982574, -0.05231239274144173, 0.17685864865779877, -0.02659081295132637, -0.07479691505432129, 0.10344274342060089, -0.1824115812778473, -0.18971003592014313, 0.24374796450138092, -0.30536502599716187, 0.22761689126491547, -0.08318734914064407, 0.11681009829044342, -0.2755244970321655, 0.5587294101715088, 0.47229647636413574, 0.17628993093967438, -0.13781848549842834, -0.12114681303501129, -0.35920798778533936, 0.016904029995203018, -0.19323888421058655, 0.03165842592716217, -0.002590507036074996, 0.25481143593788147, 0.34612807631492615, 0.2891184985637665, -0.011116226203739643, 0.48507925868034363, -0.17446573078632355, 0.0378432422876358, -0.1210087463259697, -0.0805145874619484, 0.26562607288360596, -0.05439344048500061, 0.010406114161014557, -0.3419598340988159, 0.15122155845165253, -0.019552484154701233, 0.15078040957450867, -0.15316978096961975, 0.055567704141139984, 0.01135648787021637, 0.17708027362823486, -0.031815703958272934, -0.10778653621673584, 0.22409063577651978, -0.10652528703212738, -0.07243932783603668, -0.3249177038669586, -0.004494862165302038, -0.03655429556965828, -0.08428514748811722, 0.21869753301143646, -0.04099850356578827, 0.06079760938882828, 0.17373548448085785, 0.2140597552061081, 0.1491328477859497, 0.01721174083650112, 0.07166044414043427, -0.15990109741687775, -0.0028054104186594486, -0.31812968850135803, 0.1209532618522644, 0.03710988163948059, -0.07366456091403961, -0.09567073732614517, -0.13206151127815247, 0.03249695524573326, -0.4206818640232086, 0.3083169460296631, -0.06378315389156342, -0.23331956565380096, -0.443474143743515, 0.0753638818860054, -0.18517009913921356, 0.5143234133720398, 0.015870563685894012, 0.21664762496948242, 0.12076178938150406, -0.21781548857688904, 0.17190882563591003, 0.5578712224960327, 0.038326360285282135, -0.4278284013271332, 0.008271075785160065, 0.20779463648796082, 0.00487478356808424, -0.10436903685331345, -0.4622522294521332, -0.07646163552999496 ]
https://github.com/huggingface/datasets/issues/1892
request to mirror wmt datasets, as they are really slow to download
Yeah, the scripts are pretty ugly! A big refactor would make sense here...and I also remember that the datasets were veeery slow to download
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download. Thank you!
24
request to mirror wmt datasets, as they are really slow to download
[ -0.5739348530769348, -0.01781027391552925, -0.11377673596143723, 0.03687741979956627, -0.1244661882519722, 0.13033746182918549, 0.08152318000793457, 0.4967997372150421, 0.1062234565615654, 0.08407583832740784, -0.28100863099098206, -0.09364861249923706, -0.03967222943902016, 0.10266832262277603, -0.1651192605495453, -0.05719948559999466, -0.12215590476989746, 0.22432129085063934, -0.564542829990387, -0.1650741994380951, 0.010418316349387169, -0.13402000069618225, -0.04237090423703194, -0.2431333363056183, -0.11206205189228058, -0.030702387914061546, -0.03171595558524132, 0.09714465588331223, -0.37716877460479736, 0.17483268678188324, -0.08211282640695572, 0.445298969745636, -0.18477356433868408, 0.1358296424150467, -0.00010505488171475008, -0.041345417499542236, 0.06007301062345505, 0.18173754215240479, -0.2971712052822113, 0.28904908895492554, -0.42394110560417175, -0.5052469968795776, -0.14492668211460114, -0.011234330013394356, -0.08575908839702606, -0.23594987392425537, -0.0021430724300444126, -0.10085278004407883, 0.3128150403499603, -0.13259756565093994, 0.2630347013473511, 0.3512071371078491, -0.3748447299003601, -0.24933063983917236, 0.19520170986652374, -0.055765897035598755, -0.17650675773620605, 0.2581067681312561, 0.5374764800071716, 0.15287014842033386, -0.01757873222231865, 0.4181111752986908, -0.214384987950325, 0.4096306264400482, -0.14300644397735596, -0.15752047300338745, 0.07579295337200165, 0.23108583688735962, 0.09816493093967438, 0.42663758993148804, 0.7086193561553955, 0.014624349772930145, -0.31941887736320496, -0.006643381435424089, -0.14147499203681946, 0.12142337113618851, -0.06458868831396103, 0.24725566804409027, -0.02022920735180378, 0.3262639045715332, -0.5138700008392334, -0.054518818855285645, 0.10994865745306015, -0.09208067506551743, -0.15246888995170593, 0.2585316002368927, 0.04050334915518761, -0.06532081216573715, -0.012894566170871258, -0.15766583383083344, 0.2369208186864853, -0.1134965568780899, 0.3102051019668579, -0.18725177645683289, 0.0014932778431102633, -0.3716895878314972, -0.04743766412138939, -0.24241812527179718, -0.06061212345957756, 0.44462770223617554, 0.2642418444156647, 0.14150294661521912, 0.10261404514312744, -0.08225315064191818, 0.04511898010969162, -0.0062518855556845665, -0.3473767340183258, -0.2501508593559265, 0.21786421537399292, 0.008864342235028744, 0.025196613743901253, 0.1268230825662613, 0.02456521987915039, -0.15997932851314545, -0.4309993386268616, 0.11517040431499481, 0.08500409871339798, -0.13803192973136902, -0.277190625667572, -0.006999131292104721, 0.26394587755203247, -0.09910005331039429, -0.24022947251796722, 0.09488815814256668, -0.27292054891586304, 0.12836644053459167, 0.2579495906829834, -0.13971185684204102, -0.14957842230796814, -0.20539413392543793, -0.2501855790615082, -0.17528566718101501, 0.1583745777606964, 0.17347770929336548, 0.418856680393219, 0.3360051214694977, 0.18289868533611298, -0.1895471215248108, 0.10920803248882294, 0.30710917711257935, 0.0743371993303299, 0.30436283349990845, -0.1743268519639969, 0.30507034063339233, -0.13245204091072083, 0.27669936418533325, -0.045413367450237274, 0.6089162230491638, -0.21235643327236176, -0.13187387585639954, -0.23567147552967072, -0.11611136794090271, 0.16565975546836853, 0.2921399474143982, -0.08073277026414871, -0.2324121743440628, 0.1068299412727356, -0.013018723577260971, -0.44197580218315125, 0.06900104135274887, -0.15963751077651978, 0.16803698241710663, -0.17350713908672333, -0.032799892127513885, 0.05716575309634209, 0.4950251579284668, -0.20403656363487244, -0.0003328417078591883, 0.09582403302192688, 0.14976289868354797, 0.382409930229187, 0.43432697653770447, -0.152529776096344, -0.051120657473802567, 0.0957430824637413, -0.1278485506772995, 0.1600969284772873, -0.11457251012325287, -0.23304463922977448, 0.29033973813056946, -0.5708920955657959, -0.2331407517194748, 0.3356151282787323, 0.4012613892555237, 0.22491034865379333, -0.14975140988826752, 0.15994825959205627, 0.47695812582969666, -0.1387976109981537, 0.05879092216491699, -0.21882645785808563, -0.5708184242248535, 0.09009122103452682, 0.29926797747612, 0.09545403718948364, -0.11744602024555206, -0.008408975787460804, 0.20688298344612122, 0.3065965473651886, 0.09905624389648438, -0.059198424220085144, -0.14506496489048004, -0.12479635328054428, -0.07760550826787949, -0.07778275012969971, 0.013645950704813004, 0.10370150208473206, 0.04267464205622673, 0.15008148550987244, 0.22927632927894592, 0.2289402335882187, -0.018371347337961197, -0.3348155617713928, -0.0037525647785514593, 0.034219104796648026, 0.16455890238285065, 0.2161320596933365, -0.056597139686346054, -0.05354905501008034, 0.046120062470436096, 0.20266325771808624, -0.045700930058956146, -0.24572506546974182, 0.059599511325359344, 0.167941153049469, 0.10004409402608871, -0.04972365126013756, 0.21426546573638916, 0.46291324496269226, 0.006797207519412041, 0.06973002105951309, 0.06323851644992828, 0.029075847938656807, -0.05582687631249428, -0.1664203554391861, 0.5460374355316162, 0.4285295605659485, 0.13196885585784912, 0.2299434393644333, -0.5582120418548584, 0.6453753709793091, 0.3941972851753235, 0.029308751225471497, -0.2032070755958557, -0.42529353499412537, 0.23988790810108185, 0.007378910202533007, -0.0429573617875576, 0.07295956462621689, -0.02434011548757553, 0.08975356072187424, -0.04448944330215454, -0.08109626173973083, -0.19538956880569458, 0.3213646411895752, 0.16277959942817688, -0.20513392984867096, 0.12812401354312897, 0.14561188220977783, 0.2289656698703766, 0.23825302720069885, 0.03802095353603363, 0.1765393316745758, -0.2760181128978729, -0.17031647264957428, -0.054087165743112564, 0.1941104233264923, 0.193386971950531, -0.013871025294065475, 0.4218675196170807, 0.33003169298171997, 0.053047873079776764, 0.16537700593471527, -0.33054739236831665, 0.05461500212550163, -0.11903190612792969, -0.012365863658487797, 0.13636577129364014, 0.08373647183179855, -0.11743707954883575, -0.3138446509838104, -0.03688556328415871, 0.06468113511800766, -0.06268976628780365, 0.1056760922074318, -0.4259090721607208, -0.40519383549690247, 0.09434495866298676, -0.3565099239349365, -0.03418472409248352, 0.17852896451950073, -0.3102647066116333, 0.19965223968029022, 0.1589713990688324, -0.24897482991218567, 0.1443348228931427, -0.18474552035331726, 0.10490930080413818, 0.014984802342951298, 0.14373931288719177, 0.06872078776359558, -0.12557707726955414, 0.017697962000966072, 0.22611971199512482, 0.014087392017245293, 0.04826376959681511, 0.5365287065505981, -0.319442480802536, 0.3375249207019806, -0.4544840157032013, -0.11010103672742844, -0.04988730326294899, 0.2669001817703247, -0.24932190775871277, 0.045902468264102936, 0.3540855944156647, 0.3355684280395508, -0.24647295475006104, 0.05866788700222969, -0.21462920308113098, -0.01745448261499405, -0.02536097913980484, -0.10203210264444351, -0.0871223583817482, -0.005969425663352013, -0.5345234274864197, -0.40870359539985657, -0.2761039137840271, 0.009232012555003166, -0.11105521023273468, 0.01783740520477295, 0.11660093069076538, 0.2344459593296051, -0.11129198968410492, -0.05058160051703453, 0.16422423720359802, -0.18103833496570587, -0.3200919032096863, 0.42828434705734253, -0.0071387384086847305, -0.2967442572116852, 0.021008295938372612, 0.10798698663711548, -0.12129249423742294, 0.30112120509147644, -0.2219560295343399, 0.04939984157681465, -0.08943910896778107, -0.07638037204742432, 0.47968605160713196, 0.11818131059408188, 0.20626495778560638, 0.06571095436811447, -0.27828311920166016, -0.019460104405879974, -0.09076133370399475, -0.14440904557704926, -0.008785269223153591, 0.15769250690937042, -0.06102094426751137, 0.06263961642980576, 0.01746635138988495, 0.9456709623336792, -0.01640515960752964, 0.06367134302854538, -0.017021693289279938, 0.13271556794643402, 0.05120834335684776, 0.22750650346279144, -0.28545624017715454, -0.09409991651773453, -0.037674445658922195, 0.09629538655281067, 0.4026617705821991, 0.10040774196386337, -0.33673688769340515, -0.11894699931144714, -0.0628497302532196, -0.24877099692821503, -0.2363482415676117, -0.08538777381181717, 0.1136883795261383, -0.0033929229248315096, 0.3867632746696472, 0.09745844453573227, -0.27179354429244995, -0.2393074333667755, 0.23471800982952118, -0.003293314017355442, -0.26222389936447144, -0.08874701708555222, 0.17712657153606415, 0.08312267065048218, -0.4576182961463928, 0.011565465480089188, 0.07374996691942215, 0.27466917037963867, 0.058886222541332245, -0.09964089840650558, 0.05093473196029663, -0.06864698976278305, 0.33278828859329224, -0.16135622560977936, 0.502181887626648, -0.14348448812961578, -0.2347286343574524, 0.006999561563134193, -0.019977720454335213, -0.2737739086151123, -0.4798698127269745, 0.21176691353321075, 0.12169429659843445, -0.13077716529369354, 0.052576128393411636, 0.3143938481807709, -0.04686884954571724, -0.20433273911476135, 0.07073397934436798, 0.34849122166633606, -0.20468246936798096, -0.2294829785823822, -0.2406139075756073, -0.09954944252967834, -0.03288931027054787, -0.1720031052827835, -0.0009896078845486045, -0.040809981524944305, 0.2738463878631592, 0.312191367149353, 0.04512945935130119, -0.13592228293418884, 0.2954554855823517, 0.3545088768005371, 0.10342074930667877, 0.31884709000587463, 0.16511814296245575, 0.481173038482666, 0.0774664655327797, 0.16522543132305145, -0.24438634514808655, -0.09655678272247314, -0.05234592407941818, 0.572544276714325, 0.005223679821938276, -0.13331401348114014, 0.14913377165794373, 0.21090002357959747, -0.3905559182167053, 0.15121571719646454, 0.07122530788183212, -0.09177535772323608, -0.08943665772676468, -0.23915503919124603, 0.31061190366744995, 0.21455085277557373, -0.014306027442216873, -0.013536947779357433, -0.10131774097681046, 0.25098446011543274, -0.33675849437713623, 0.18680527806282043, 0.8890678286552429, -0.18272925913333893, 0.3704475164413452, 0.0006141183548606932, -0.32622361183166504, 0.1824800819158554, -0.1562149077653885, -0.053074222058057785, -0.02906542830169201, -0.2836132049560547, -0.05050767958164215, 0.02794410102069378, -0.07604971528053284, 0.159504234790802, -0.044815123081207275, 0.04110772907733917, 0.4249742329120636, 0.14766350388526917, 0.1534109115600586, 0.3171737492084503, -0.21748724579811096, -0.1792212575674057, 0.12835200130939484, 0.2223583161830902, -0.04835238307714462, 0.01661762408912182, -0.09405305236577988, -0.2393852025270462, 0.059972718358039856, -0.09541907161474228, -0.3265596628189087, 0.04950391501188278, -0.25758951902389526, 0.183352530002594, -0.5026490688323975, -0.03793511167168617, 0.1630469560623169, -0.5768555402755737, -0.33599624037742615, 0.39197656512260437, -0.5116524696350098, 0.008297082036733627, -0.3784453272819519, -0.02687213569879532, -0.1486206352710724, 0.0793241634964943, 0.1420087069272995, -0.19609148800373077, 0.035667065531015396, -0.15899929404258728, 0.23278844356536865, -0.11648630350828171, -0.06405460089445114, -0.10711025446653366, 0.14771033823490143, 0.08544789999723434, 0.042037006467580795, 0.21873052418231964, -0.09983597695827484, -0.2142924964427948, 0.1595032960176468, 0.14203298091888428, -0.1241505891084671, 0.21546198427677155, 0.47355467081069946, -0.18522264063358307, -0.1723896861076355, 0.6984296441078186, 0.21626470983028412, -0.09508898854255676, 0.3719353973865509, 0.10602186620235443, -0.24320746958255768, -0.34292522072792053, -0.13435396552085876, -0.1369161605834961, -0.3908706307411194, 0.1510891318321228, -0.2960146367549896, -0.10967445373535156, 0.18955819308757782, 0.29363152384757996, 0.3950531482696533, -0.10009437799453735, -0.20679031312465668, -0.15644502639770508, -0.038347817957401276, 0.10398968309164047, -0.05928684398531914, 0.23745369911193848, -0.13777582347393036, 0.0810403972864151, -0.0835585817694664, 0.051701612770557404, -0.433929443359375, 0.1821938157081604, -0.015456839464604855, 0.0607965886592865, -0.011273571290075779, -0.26742374897003174, -0.0027308498974889517, 0.20638632774353027, 0.09813220053911209, -0.17168699204921722, -0.44988057017326355, -0.27408814430236816, 0.07733914256095886, 0.11360239237546921, -0.13302434980869293, -0.1261242777109146, 0.22484390437602997, -0.34937506914138794, -0.3511999845504761, 0.0787745788693428, -0.16772718727588654, 0.01885915733873844, -0.0019168808357790112, -0.1956203579902649, 0.33895155787467957, -0.034175872802734375, -0.04495881497859955, 0.3388245403766632, 0.12442062795162201, 0.2107766717672348, -0.2820475697517395, -0.14638440310955048, 0.1307286024093628, -0.11694411933422089, 0.16468483209609985, 0.03481345251202583, 0.30863702297210693, 0.039392195641994476, 0.5101942420005798, -0.010603010654449463, -0.10326185822486877, 0.40358808636665344, 0.5071609020233154, 0.031797584146261215, 0.35995325446128845, -0.303133100271225, 0.010298340581357479, 0.24914073944091797, -0.4107834994792938, -0.180132195353508, 0.3692510426044464, 0.011449037119746208, 0.1875482201576233, -0.07170375436544418, 0.28196337819099426, -0.07320429384708405, 0.00006960543396417052, -0.008089747279882431, 0.2676317095756531, 0.0033833603374660015, -0.18513339757919312, 0.3497452437877655, 0.22363363206386566, 0.026884565129876137, -0.04563489183783531, 0.2625683844089508, 0.06856205314397812, 0.017390279099345207, -0.05297035723924637, 0.5154175758361816, 0.11628766357898712, 0.054842669516801834, -0.1281445324420929, -0.13339295983314514, 0.2955549955368042, 0.1254253089427948, 0.061195116490125656, 0.27561718225479126, 0.03904665261507034, -0.14746245741844177, 0.11666429042816162, 0.05569564551115036, -0.4075244963169098, 0.44703415036201477, 0.1077798381447792, -0.05963689461350441, 0.03390946984291077, -0.2124265879392624, -0.15897496044635773, 0.03752059116959572, -0.06786675751209259, -0.07368094474077225, 0.29207539558410645, -0.1127273440361023, 0.13445256650447845, -0.29593488574028015, -0.031521059572696686, -0.22838807106018066, 0.13438422977924347, -0.3506893217563629, -0.36811065673828125, 0.06259620934724808, -0.0015182740753516555, 0.2763020992279053, 0.5052927732467651, 0.01922343112528324, 0.03249875828623772, -0.0939326286315918, -0.07354629039764404, -0.05802502855658531, -0.12296845763921738, -0.35943469405174255, 0.3017740845680237, -0.13128988444805145, -0.30244484543800354, 0.28252825140953064, 0.19050957262516022, -0.24697770178318024, -0.1401175707578659, -0.08919773995876312, -0.5299133658409119, -0.12435926496982574, -0.05231239274144173, 0.17685864865779877, -0.02659081295132637, -0.07479691505432129, 0.10344274342060089, -0.1824115812778473, -0.18971003592014313, 0.24374796450138092, -0.30536502599716187, 0.22761689126491547, -0.08318734914064407, 0.11681009829044342, -0.2755244970321655, 0.5587294101715088, 0.47229647636413574, 0.17628993093967438, -0.13781848549842834, -0.12114681303501129, -0.35920798778533936, 0.016904029995203018, -0.19323888421058655, 0.03165842592716217, -0.002590507036074996, 0.25481143593788147, 0.34612807631492615, 0.2891184985637665, -0.011116226203739643, 0.48507925868034363, -0.17446573078632355, 0.0378432422876358, -0.1210087463259697, -0.0805145874619484, 0.26562607288360596, -0.05439344048500061, 0.010406114161014557, -0.3419598340988159, 0.15122155845165253, -0.019552484154701233, 0.15078040957450867, -0.15316978096961975, 0.055567704141139984, 0.01135648787021637, 0.17708027362823486, -0.031815703958272934, -0.10778653621673584, 0.22409063577651978, -0.10652528703212738, -0.07243932783603668, -0.3249177038669586, -0.004494862165302038, -0.03655429556965828, -0.08428514748811722, 0.21869753301143646, -0.04099850356578827, 0.06079760938882828, 0.17373548448085785, 0.2140597552061081, 0.1491328477859497, 0.01721174083650112, 0.07166044414043427, -0.15990109741687775, -0.0028054104186594486, -0.31812968850135803, 0.1209532618522644, 0.03710988163948059, -0.07366456091403961, -0.09567073732614517, -0.13206151127815247, 0.03249695524573326, -0.4206818640232086, 0.3083169460296631, -0.06378315389156342, -0.23331956565380096, -0.443474143743515, 0.0753638818860054, -0.18517009913921356, 0.5143234133720398, 0.015870563685894012, 0.21664762496948242, 0.12076178938150406, -0.21781548857688904, 0.17190882563591003, 0.5578712224960327, 0.038326360285282135, -0.4278284013271332, 0.008271075785160065, 0.20779463648796082, 0.00487478356808424, -0.10436903685331345, -0.4622522294521332, -0.07646163552999496 ]
https://github.com/huggingface/datasets/issues/1892
request to mirror wmt datasets, as they are really slow to download
I'm downloading them. I'm starting with the ones hosted on http://data.statmt.org which are the slowest ones
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download. Thank you!
16
request to mirror wmt datasets, as they are really slow to download
[ -0.5739348530769348, -0.01781027391552925, -0.11377673596143723, 0.03687741979956627, -0.1244661882519722, 0.13033746182918549, 0.08152318000793457, 0.4967997372150421, 0.1062234565615654, 0.08407583832740784, -0.28100863099098206, -0.09364861249923706, -0.03967222943902016, 0.10266832262277603, -0.1651192605495453, -0.05719948559999466, -0.12215590476989746, 0.22432129085063934, -0.564542829990387, -0.1650741994380951, 0.010418316349387169, -0.13402000069618225, -0.04237090423703194, -0.2431333363056183, -0.11206205189228058, -0.030702387914061546, -0.03171595558524132, 0.09714465588331223, -0.37716877460479736, 0.17483268678188324, -0.08211282640695572, 0.445298969745636, -0.18477356433868408, 0.1358296424150467, -0.00010505488171475008, -0.041345417499542236, 0.06007301062345505, 0.18173754215240479, -0.2971712052822113, 0.28904908895492554, -0.42394110560417175, -0.5052469968795776, -0.14492668211460114, -0.011234330013394356, -0.08575908839702606, -0.23594987392425537, -0.0021430724300444126, -0.10085278004407883, 0.3128150403499603, -0.13259756565093994, 0.2630347013473511, 0.3512071371078491, -0.3748447299003601, -0.24933063983917236, 0.19520170986652374, -0.055765897035598755, -0.17650675773620605, 0.2581067681312561, 0.5374764800071716, 0.15287014842033386, -0.01757873222231865, 0.4181111752986908, -0.214384987950325, 0.4096306264400482, -0.14300644397735596, -0.15752047300338745, 0.07579295337200165, 0.23108583688735962, 0.09816493093967438, 0.42663758993148804, 0.7086193561553955, 0.014624349772930145, -0.31941887736320496, -0.006643381435424089, -0.14147499203681946, 0.12142337113618851, -0.06458868831396103, 0.24725566804409027, -0.02022920735180378, 0.3262639045715332, -0.5138700008392334, -0.054518818855285645, 0.10994865745306015, -0.09208067506551743, -0.15246888995170593, 0.2585316002368927, 0.04050334915518761, -0.06532081216573715, -0.012894566170871258, -0.15766583383083344, 0.2369208186864853, -0.1134965568780899, 0.3102051019668579, -0.18725177645683289, 0.0014932778431102633, -0.3716895878314972, -0.04743766412138939, -0.24241812527179718, -0.06061212345957756, 0.44462770223617554, 0.2642418444156647, 0.14150294661521912, 0.10261404514312744, -0.08225315064191818, 0.04511898010969162, -0.0062518855556845665, -0.3473767340183258, -0.2501508593559265, 0.21786421537399292, 0.008864342235028744, 0.025196613743901253, 0.1268230825662613, 0.02456521987915039, -0.15997932851314545, -0.4309993386268616, 0.11517040431499481, 0.08500409871339798, -0.13803192973136902, -0.277190625667572, -0.006999131292104721, 0.26394587755203247, -0.09910005331039429, -0.24022947251796722, 0.09488815814256668, -0.27292054891586304, 0.12836644053459167, 0.2579495906829834, -0.13971185684204102, -0.14957842230796814, -0.20539413392543793, -0.2501855790615082, -0.17528566718101501, 0.1583745777606964, 0.17347770929336548, 0.418856680393219, 0.3360051214694977, 0.18289868533611298, -0.1895471215248108, 0.10920803248882294, 0.30710917711257935, 0.0743371993303299, 0.30436283349990845, -0.1743268519639969, 0.30507034063339233, -0.13245204091072083, 0.27669936418533325, -0.045413367450237274, 0.6089162230491638, -0.21235643327236176, -0.13187387585639954, -0.23567147552967072, -0.11611136794090271, 0.16565975546836853, 0.2921399474143982, -0.08073277026414871, -0.2324121743440628, 0.1068299412727356, -0.013018723577260971, -0.44197580218315125, 0.06900104135274887, -0.15963751077651978, 0.16803698241710663, -0.17350713908672333, -0.032799892127513885, 0.05716575309634209, 0.4950251579284668, -0.20403656363487244, -0.0003328417078591883, 0.09582403302192688, 0.14976289868354797, 0.382409930229187, 0.43432697653770447, -0.152529776096344, -0.051120657473802567, 0.0957430824637413, -0.1278485506772995, 0.1600969284772873, -0.11457251012325287, -0.23304463922977448, 0.29033973813056946, -0.5708920955657959, -0.2331407517194748, 0.3356151282787323, 0.4012613892555237, 0.22491034865379333, -0.14975140988826752, 0.15994825959205627, 0.47695812582969666, -0.1387976109981537, 0.05879092216491699, -0.21882645785808563, -0.5708184242248535, 0.09009122103452682, 0.29926797747612, 0.09545403718948364, -0.11744602024555206, -0.008408975787460804, 0.20688298344612122, 0.3065965473651886, 0.09905624389648438, -0.059198424220085144, -0.14506496489048004, -0.12479635328054428, -0.07760550826787949, -0.07778275012969971, 0.013645950704813004, 0.10370150208473206, 0.04267464205622673, 0.15008148550987244, 0.22927632927894592, 0.2289402335882187, -0.018371347337961197, -0.3348155617713928, -0.0037525647785514593, 0.034219104796648026, 0.16455890238285065, 0.2161320596933365, -0.056597139686346054, -0.05354905501008034, 0.046120062470436096, 0.20266325771808624, -0.045700930058956146, -0.24572506546974182, 0.059599511325359344, 0.167941153049469, 0.10004409402608871, -0.04972365126013756, 0.21426546573638916, 0.46291324496269226, 0.006797207519412041, 0.06973002105951309, 0.06323851644992828, 0.029075847938656807, -0.05582687631249428, -0.1664203554391861, 0.5460374355316162, 0.4285295605659485, 0.13196885585784912, 0.2299434393644333, -0.5582120418548584, 0.6453753709793091, 0.3941972851753235, 0.029308751225471497, -0.2032070755958557, -0.42529353499412537, 0.23988790810108185, 0.007378910202533007, -0.0429573617875576, 0.07295956462621689, -0.02434011548757553, 0.08975356072187424, -0.04448944330215454, -0.08109626173973083, -0.19538956880569458, 0.3213646411895752, 0.16277959942817688, -0.20513392984867096, 0.12812401354312897, 0.14561188220977783, 0.2289656698703766, 0.23825302720069885, 0.03802095353603363, 0.1765393316745758, -0.2760181128978729, -0.17031647264957428, -0.054087165743112564, 0.1941104233264923, 0.193386971950531, -0.013871025294065475, 0.4218675196170807, 0.33003169298171997, 0.053047873079776764, 0.16537700593471527, -0.33054739236831665, 0.05461500212550163, -0.11903190612792969, -0.012365863658487797, 0.13636577129364014, 0.08373647183179855, -0.11743707954883575, -0.3138446509838104, -0.03688556328415871, 0.06468113511800766, -0.06268976628780365, 0.1056760922074318, -0.4259090721607208, -0.40519383549690247, 0.09434495866298676, -0.3565099239349365, -0.03418472409248352, 0.17852896451950073, -0.3102647066116333, 0.19965223968029022, 0.1589713990688324, -0.24897482991218567, 0.1443348228931427, -0.18474552035331726, 0.10490930080413818, 0.014984802342951298, 0.14373931288719177, 0.06872078776359558, -0.12557707726955414, 0.017697962000966072, 0.22611971199512482, 0.014087392017245293, 0.04826376959681511, 0.5365287065505981, -0.319442480802536, 0.3375249207019806, -0.4544840157032013, -0.11010103672742844, -0.04988730326294899, 0.2669001817703247, -0.24932190775871277, 0.045902468264102936, 0.3540855944156647, 0.3355684280395508, -0.24647295475006104, 0.05866788700222969, -0.21462920308113098, -0.01745448261499405, -0.02536097913980484, -0.10203210264444351, -0.0871223583817482, -0.005969425663352013, -0.5345234274864197, -0.40870359539985657, -0.2761039137840271, 0.009232012555003166, -0.11105521023273468, 0.01783740520477295, 0.11660093069076538, 0.2344459593296051, -0.11129198968410492, -0.05058160051703453, 0.16422423720359802, -0.18103833496570587, -0.3200919032096863, 0.42828434705734253, -0.0071387384086847305, -0.2967442572116852, 0.021008295938372612, 0.10798698663711548, -0.12129249423742294, 0.30112120509147644, -0.2219560295343399, 0.04939984157681465, -0.08943910896778107, -0.07638037204742432, 0.47968605160713196, 0.11818131059408188, 0.20626495778560638, 0.06571095436811447, -0.27828311920166016, -0.019460104405879974, -0.09076133370399475, -0.14440904557704926, -0.008785269223153591, 0.15769250690937042, -0.06102094426751137, 0.06263961642980576, 0.01746635138988495, 0.9456709623336792, -0.01640515960752964, 0.06367134302854538, -0.017021693289279938, 0.13271556794643402, 0.05120834335684776, 0.22750650346279144, -0.28545624017715454, -0.09409991651773453, -0.037674445658922195, 0.09629538655281067, 0.4026617705821991, 0.10040774196386337, -0.33673688769340515, -0.11894699931144714, -0.0628497302532196, -0.24877099692821503, -0.2363482415676117, -0.08538777381181717, 0.1136883795261383, -0.0033929229248315096, 0.3867632746696472, 0.09745844453573227, -0.27179354429244995, -0.2393074333667755, 0.23471800982952118, -0.003293314017355442, -0.26222389936447144, -0.08874701708555222, 0.17712657153606415, 0.08312267065048218, -0.4576182961463928, 0.011565465480089188, 0.07374996691942215, 0.27466917037963867, 0.058886222541332245, -0.09964089840650558, 0.05093473196029663, -0.06864698976278305, 0.33278828859329224, -0.16135622560977936, 0.502181887626648, -0.14348448812961578, -0.2347286343574524, 0.006999561563134193, -0.019977720454335213, -0.2737739086151123, -0.4798698127269745, 0.21176691353321075, 0.12169429659843445, -0.13077716529369354, 0.052576128393411636, 0.3143938481807709, -0.04686884954571724, -0.20433273911476135, 0.07073397934436798, 0.34849122166633606, -0.20468246936798096, -0.2294829785823822, -0.2406139075756073, -0.09954944252967834, -0.03288931027054787, -0.1720031052827835, -0.0009896078845486045, -0.040809981524944305, 0.2738463878631592, 0.312191367149353, 0.04512945935130119, -0.13592228293418884, 0.2954554855823517, 0.3545088768005371, 0.10342074930667877, 0.31884709000587463, 0.16511814296245575, 0.481173038482666, 0.0774664655327797, 0.16522543132305145, -0.24438634514808655, -0.09655678272247314, -0.05234592407941818, 0.572544276714325, 0.005223679821938276, -0.13331401348114014, 0.14913377165794373, 0.21090002357959747, -0.3905559182167053, 0.15121571719646454, 0.07122530788183212, -0.09177535772323608, -0.08943665772676468, -0.23915503919124603, 0.31061190366744995, 0.21455085277557373, -0.014306027442216873, -0.013536947779357433, -0.10131774097681046, 0.25098446011543274, -0.33675849437713623, 0.18680527806282043, 0.8890678286552429, -0.18272925913333893, 0.3704475164413452, 0.0006141183548606932, -0.32622361183166504, 0.1824800819158554, -0.1562149077653885, -0.053074222058057785, -0.02906542830169201, -0.2836132049560547, -0.05050767958164215, 0.02794410102069378, -0.07604971528053284, 0.159504234790802, -0.044815123081207275, 0.04110772907733917, 0.4249742329120636, 0.14766350388526917, 0.1534109115600586, 0.3171737492084503, -0.21748724579811096, -0.1792212575674057, 0.12835200130939484, 0.2223583161830902, -0.04835238307714462, 0.01661762408912182, -0.09405305236577988, -0.2393852025270462, 0.059972718358039856, -0.09541907161474228, -0.3265596628189087, 0.04950391501188278, -0.25758951902389526, 0.183352530002594, -0.5026490688323975, -0.03793511167168617, 0.1630469560623169, -0.5768555402755737, -0.33599624037742615, 0.39197656512260437, -0.5116524696350098, 0.008297082036733627, -0.3784453272819519, -0.02687213569879532, -0.1486206352710724, 0.0793241634964943, 0.1420087069272995, -0.19609148800373077, 0.035667065531015396, -0.15899929404258728, 0.23278844356536865, -0.11648630350828171, -0.06405460089445114, -0.10711025446653366, 0.14771033823490143, 0.08544789999723434, 0.042037006467580795, 0.21873052418231964, -0.09983597695827484, -0.2142924964427948, 0.1595032960176468, 0.14203298091888428, -0.1241505891084671, 0.21546198427677155, 0.47355467081069946, -0.18522264063358307, -0.1723896861076355, 0.6984296441078186, 0.21626470983028412, -0.09508898854255676, 0.3719353973865509, 0.10602186620235443, -0.24320746958255768, -0.34292522072792053, -0.13435396552085876, -0.1369161605834961, -0.3908706307411194, 0.1510891318321228, -0.2960146367549896, -0.10967445373535156, 0.18955819308757782, 0.29363152384757996, 0.3950531482696533, -0.10009437799453735, -0.20679031312465668, -0.15644502639770508, -0.038347817957401276, 0.10398968309164047, -0.05928684398531914, 0.23745369911193848, -0.13777582347393036, 0.0810403972864151, -0.0835585817694664, 0.051701612770557404, -0.433929443359375, 0.1821938157081604, -0.015456839464604855, 0.0607965886592865, -0.011273571290075779, -0.26742374897003174, -0.0027308498974889517, 0.20638632774353027, 0.09813220053911209, -0.17168699204921722, -0.44988057017326355, -0.27408814430236816, 0.07733914256095886, 0.11360239237546921, -0.13302434980869293, -0.1261242777109146, 0.22484390437602997, -0.34937506914138794, -0.3511999845504761, 0.0787745788693428, -0.16772718727588654, 0.01885915733873844, -0.0019168808357790112, -0.1956203579902649, 0.33895155787467957, -0.034175872802734375, -0.04495881497859955, 0.3388245403766632, 0.12442062795162201, 0.2107766717672348, -0.2820475697517395, -0.14638440310955048, 0.1307286024093628, -0.11694411933422089, 0.16468483209609985, 0.03481345251202583, 0.30863702297210693, 0.039392195641994476, 0.5101942420005798, -0.010603010654449463, -0.10326185822486877, 0.40358808636665344, 0.5071609020233154, 0.031797584146261215, 0.35995325446128845, -0.303133100271225, 0.010298340581357479, 0.24914073944091797, -0.4107834994792938, -0.180132195353508, 0.3692510426044464, 0.011449037119746208, 0.1875482201576233, -0.07170375436544418, 0.28196337819099426, -0.07320429384708405, 0.00006960543396417052, -0.008089747279882431, 0.2676317095756531, 0.0033833603374660015, -0.18513339757919312, 0.3497452437877655, 0.22363363206386566, 0.026884565129876137, -0.04563489183783531, 0.2625683844089508, 0.06856205314397812, 0.017390279099345207, -0.05297035723924637, 0.5154175758361816, 0.11628766357898712, 0.054842669516801834, -0.1281445324420929, -0.13339295983314514, 0.2955549955368042, 0.1254253089427948, 0.061195116490125656, 0.27561718225479126, 0.03904665261507034, -0.14746245741844177, 0.11666429042816162, 0.05569564551115036, -0.4075244963169098, 0.44703415036201477, 0.1077798381447792, -0.05963689461350441, 0.03390946984291077, -0.2124265879392624, -0.15897496044635773, 0.03752059116959572, -0.06786675751209259, -0.07368094474077225, 0.29207539558410645, -0.1127273440361023, 0.13445256650447845, -0.29593488574028015, -0.031521059572696686, -0.22838807106018066, 0.13438422977924347, -0.3506893217563629, -0.36811065673828125, 0.06259620934724808, -0.0015182740753516555, 0.2763020992279053, 0.5052927732467651, 0.01922343112528324, 0.03249875828623772, -0.0939326286315918, -0.07354629039764404, -0.05802502855658531, -0.12296845763921738, -0.35943469405174255, 0.3017740845680237, -0.13128988444805145, -0.30244484543800354, 0.28252825140953064, 0.19050957262516022, -0.24697770178318024, -0.1401175707578659, -0.08919773995876312, -0.5299133658409119, -0.12435926496982574, -0.05231239274144173, 0.17685864865779877, -0.02659081295132637, -0.07479691505432129, 0.10344274342060089, -0.1824115812778473, -0.18971003592014313, 0.24374796450138092, -0.30536502599716187, 0.22761689126491547, -0.08318734914064407, 0.11681009829044342, -0.2755244970321655, 0.5587294101715088, 0.47229647636413574, 0.17628993093967438, -0.13781848549842834, -0.12114681303501129, -0.35920798778533936, 0.016904029995203018, -0.19323888421058655, 0.03165842592716217, -0.002590507036074996, 0.25481143593788147, 0.34612807631492615, 0.2891184985637665, -0.011116226203739643, 0.48507925868034363, -0.17446573078632355, 0.0378432422876358, -0.1210087463259697, -0.0805145874619484, 0.26562607288360596, -0.05439344048500061, 0.010406114161014557, -0.3419598340988159, 0.15122155845165253, -0.019552484154701233, 0.15078040957450867, -0.15316978096961975, 0.055567704141139984, 0.01135648787021637, 0.17708027362823486, -0.031815703958272934, -0.10778653621673584, 0.22409063577651978, -0.10652528703212738, -0.07243932783603668, -0.3249177038669586, -0.004494862165302038, -0.03655429556965828, -0.08428514748811722, 0.21869753301143646, -0.04099850356578827, 0.06079760938882828, 0.17373548448085785, 0.2140597552061081, 0.1491328477859497, 0.01721174083650112, 0.07166044414043427, -0.15990109741687775, -0.0028054104186594486, -0.31812968850135803, 0.1209532618522644, 0.03710988163948059, -0.07366456091403961, -0.09567073732614517, -0.13206151127815247, 0.03249695524573326, -0.4206818640232086, 0.3083169460296631, -0.06378315389156342, -0.23331956565380096, -0.443474143743515, 0.0753638818860054, -0.18517009913921356, 0.5143234133720398, 0.015870563685894012, 0.21664762496948242, 0.12076178938150406, -0.21781548857688904, 0.17190882563591003, 0.5578712224960327, 0.038326360285282135, -0.4278284013271332, 0.008271075785160065, 0.20779463648796082, 0.00487478356808424, -0.10436903685331345, -0.4622522294521332, -0.07646163552999496 ]
https://github.com/huggingface/datasets/issues/1892
request to mirror wmt datasets, as they are really slow to download
@lhoestq better to use our new git-based system than just raw S3, no? (that way we have built-in CDN etc.)
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download. Thank you!
20
request to mirror wmt datasets, as they are really slow to download
[ -0.5739348530769348, -0.01781027391552925, -0.11377673596143723, 0.03687741979956627, -0.1244661882519722, 0.13033746182918549, 0.08152318000793457, 0.4967997372150421, 0.1062234565615654, 0.08407583832740784, -0.28100863099098206, -0.09364861249923706, -0.03967222943902016, 0.10266832262277603, -0.1651192605495453, -0.05719948559999466, -0.12215590476989746, 0.22432129085063934, -0.564542829990387, -0.1650741994380951, 0.010418316349387169, -0.13402000069618225, -0.04237090423703194, -0.2431333363056183, -0.11206205189228058, -0.030702387914061546, -0.03171595558524132, 0.09714465588331223, -0.37716877460479736, 0.17483268678188324, -0.08211282640695572, 0.445298969745636, -0.18477356433868408, 0.1358296424150467, -0.00010505488171475008, -0.041345417499542236, 0.06007301062345505, 0.18173754215240479, -0.2971712052822113, 0.28904908895492554, -0.42394110560417175, -0.5052469968795776, -0.14492668211460114, -0.011234330013394356, -0.08575908839702606, -0.23594987392425537, -0.0021430724300444126, -0.10085278004407883, 0.3128150403499603, -0.13259756565093994, 0.2630347013473511, 0.3512071371078491, -0.3748447299003601, -0.24933063983917236, 0.19520170986652374, -0.055765897035598755, -0.17650675773620605, 0.2581067681312561, 0.5374764800071716, 0.15287014842033386, -0.01757873222231865, 0.4181111752986908, -0.214384987950325, 0.4096306264400482, -0.14300644397735596, -0.15752047300338745, 0.07579295337200165, 0.23108583688735962, 0.09816493093967438, 0.42663758993148804, 0.7086193561553955, 0.014624349772930145, -0.31941887736320496, -0.006643381435424089, -0.14147499203681946, 0.12142337113618851, -0.06458868831396103, 0.24725566804409027, -0.02022920735180378, 0.3262639045715332, -0.5138700008392334, -0.054518818855285645, 0.10994865745306015, -0.09208067506551743, -0.15246888995170593, 0.2585316002368927, 0.04050334915518761, -0.06532081216573715, -0.012894566170871258, -0.15766583383083344, 0.2369208186864853, -0.1134965568780899, 0.3102051019668579, -0.18725177645683289, 0.0014932778431102633, -0.3716895878314972, -0.04743766412138939, -0.24241812527179718, -0.06061212345957756, 0.44462770223617554, 0.2642418444156647, 0.14150294661521912, 0.10261404514312744, -0.08225315064191818, 0.04511898010969162, -0.0062518855556845665, -0.3473767340183258, -0.2501508593559265, 0.21786421537399292, 0.008864342235028744, 0.025196613743901253, 0.1268230825662613, 0.02456521987915039, -0.15997932851314545, -0.4309993386268616, 0.11517040431499481, 0.08500409871339798, -0.13803192973136902, -0.277190625667572, -0.006999131292104721, 0.26394587755203247, -0.09910005331039429, -0.24022947251796722, 0.09488815814256668, -0.27292054891586304, 0.12836644053459167, 0.2579495906829834, -0.13971185684204102, -0.14957842230796814, -0.20539413392543793, -0.2501855790615082, -0.17528566718101501, 0.1583745777606964, 0.17347770929336548, 0.418856680393219, 0.3360051214694977, 0.18289868533611298, -0.1895471215248108, 0.10920803248882294, 0.30710917711257935, 0.0743371993303299, 0.30436283349990845, -0.1743268519639969, 0.30507034063339233, -0.13245204091072083, 0.27669936418533325, -0.045413367450237274, 0.6089162230491638, -0.21235643327236176, -0.13187387585639954, -0.23567147552967072, -0.11611136794090271, 0.16565975546836853, 0.2921399474143982, -0.08073277026414871, -0.2324121743440628, 0.1068299412727356, -0.013018723577260971, -0.44197580218315125, 0.06900104135274887, -0.15963751077651978, 0.16803698241710663, -0.17350713908672333, -0.032799892127513885, 0.05716575309634209, 0.4950251579284668, -0.20403656363487244, -0.0003328417078591883, 0.09582403302192688, 0.14976289868354797, 0.382409930229187, 0.43432697653770447, -0.152529776096344, -0.051120657473802567, 0.0957430824637413, -0.1278485506772995, 0.1600969284772873, -0.11457251012325287, -0.23304463922977448, 0.29033973813056946, -0.5708920955657959, -0.2331407517194748, 0.3356151282787323, 0.4012613892555237, 0.22491034865379333, -0.14975140988826752, 0.15994825959205627, 0.47695812582969666, -0.1387976109981537, 0.05879092216491699, -0.21882645785808563, -0.5708184242248535, 0.09009122103452682, 0.29926797747612, 0.09545403718948364, -0.11744602024555206, -0.008408975787460804, 0.20688298344612122, 0.3065965473651886, 0.09905624389648438, -0.059198424220085144, -0.14506496489048004, -0.12479635328054428, -0.07760550826787949, -0.07778275012969971, 0.013645950704813004, 0.10370150208473206, 0.04267464205622673, 0.15008148550987244, 0.22927632927894592, 0.2289402335882187, -0.018371347337961197, -0.3348155617713928, -0.0037525647785514593, 0.034219104796648026, 0.16455890238285065, 0.2161320596933365, -0.056597139686346054, -0.05354905501008034, 0.046120062470436096, 0.20266325771808624, -0.045700930058956146, -0.24572506546974182, 0.059599511325359344, 0.167941153049469, 0.10004409402608871, -0.04972365126013756, 0.21426546573638916, 0.46291324496269226, 0.006797207519412041, 0.06973002105951309, 0.06323851644992828, 0.029075847938656807, -0.05582687631249428, -0.1664203554391861, 0.5460374355316162, 0.4285295605659485, 0.13196885585784912, 0.2299434393644333, -0.5582120418548584, 0.6453753709793091, 0.3941972851753235, 0.029308751225471497, -0.2032070755958557, -0.42529353499412537, 0.23988790810108185, 0.007378910202533007, -0.0429573617875576, 0.07295956462621689, -0.02434011548757553, 0.08975356072187424, -0.04448944330215454, -0.08109626173973083, -0.19538956880569458, 0.3213646411895752, 0.16277959942817688, -0.20513392984867096, 0.12812401354312897, 0.14561188220977783, 0.2289656698703766, 0.23825302720069885, 0.03802095353603363, 0.1765393316745758, -0.2760181128978729, -0.17031647264957428, -0.054087165743112564, 0.1941104233264923, 0.193386971950531, -0.013871025294065475, 0.4218675196170807, 0.33003169298171997, 0.053047873079776764, 0.16537700593471527, -0.33054739236831665, 0.05461500212550163, -0.11903190612792969, -0.012365863658487797, 0.13636577129364014, 0.08373647183179855, -0.11743707954883575, -0.3138446509838104, -0.03688556328415871, 0.06468113511800766, -0.06268976628780365, 0.1056760922074318, -0.4259090721607208, -0.40519383549690247, 0.09434495866298676, -0.3565099239349365, -0.03418472409248352, 0.17852896451950073, -0.3102647066116333, 0.19965223968029022, 0.1589713990688324, -0.24897482991218567, 0.1443348228931427, -0.18474552035331726, 0.10490930080413818, 0.014984802342951298, 0.14373931288719177, 0.06872078776359558, -0.12557707726955414, 0.017697962000966072, 0.22611971199512482, 0.014087392017245293, 0.04826376959681511, 0.5365287065505981, -0.319442480802536, 0.3375249207019806, -0.4544840157032013, -0.11010103672742844, -0.04988730326294899, 0.2669001817703247, -0.24932190775871277, 0.045902468264102936, 0.3540855944156647, 0.3355684280395508, -0.24647295475006104, 0.05866788700222969, -0.21462920308113098, -0.01745448261499405, -0.02536097913980484, -0.10203210264444351, -0.0871223583817482, -0.005969425663352013, -0.5345234274864197, -0.40870359539985657, -0.2761039137840271, 0.009232012555003166, -0.11105521023273468, 0.01783740520477295, 0.11660093069076538, 0.2344459593296051, -0.11129198968410492, -0.05058160051703453, 0.16422423720359802, -0.18103833496570587, -0.3200919032096863, 0.42828434705734253, -0.0071387384086847305, -0.2967442572116852, 0.021008295938372612, 0.10798698663711548, -0.12129249423742294, 0.30112120509147644, -0.2219560295343399, 0.04939984157681465, -0.08943910896778107, -0.07638037204742432, 0.47968605160713196, 0.11818131059408188, 0.20626495778560638, 0.06571095436811447, -0.27828311920166016, -0.019460104405879974, -0.09076133370399475, -0.14440904557704926, -0.008785269223153591, 0.15769250690937042, -0.06102094426751137, 0.06263961642980576, 0.01746635138988495, 0.9456709623336792, -0.01640515960752964, 0.06367134302854538, -0.017021693289279938, 0.13271556794643402, 0.05120834335684776, 0.22750650346279144, -0.28545624017715454, -0.09409991651773453, -0.037674445658922195, 0.09629538655281067, 0.4026617705821991, 0.10040774196386337, -0.33673688769340515, -0.11894699931144714, -0.0628497302532196, -0.24877099692821503, -0.2363482415676117, -0.08538777381181717, 0.1136883795261383, -0.0033929229248315096, 0.3867632746696472, 0.09745844453573227, -0.27179354429244995, -0.2393074333667755, 0.23471800982952118, -0.003293314017355442, -0.26222389936447144, -0.08874701708555222, 0.17712657153606415, 0.08312267065048218, -0.4576182961463928, 0.011565465480089188, 0.07374996691942215, 0.27466917037963867, 0.058886222541332245, -0.09964089840650558, 0.05093473196029663, -0.06864698976278305, 0.33278828859329224, -0.16135622560977936, 0.502181887626648, -0.14348448812961578, -0.2347286343574524, 0.006999561563134193, -0.019977720454335213, -0.2737739086151123, -0.4798698127269745, 0.21176691353321075, 0.12169429659843445, -0.13077716529369354, 0.052576128393411636, 0.3143938481807709, -0.04686884954571724, -0.20433273911476135, 0.07073397934436798, 0.34849122166633606, -0.20468246936798096, -0.2294829785823822, -0.2406139075756073, -0.09954944252967834, -0.03288931027054787, -0.1720031052827835, -0.0009896078845486045, -0.040809981524944305, 0.2738463878631592, 0.312191367149353, 0.04512945935130119, -0.13592228293418884, 0.2954554855823517, 0.3545088768005371, 0.10342074930667877, 0.31884709000587463, 0.16511814296245575, 0.481173038482666, 0.0774664655327797, 0.16522543132305145, -0.24438634514808655, -0.09655678272247314, -0.05234592407941818, 0.572544276714325, 0.005223679821938276, -0.13331401348114014, 0.14913377165794373, 0.21090002357959747, -0.3905559182167053, 0.15121571719646454, 0.07122530788183212, -0.09177535772323608, -0.08943665772676468, -0.23915503919124603, 0.31061190366744995, 0.21455085277557373, -0.014306027442216873, -0.013536947779357433, -0.10131774097681046, 0.25098446011543274, -0.33675849437713623, 0.18680527806282043, 0.8890678286552429, -0.18272925913333893, 0.3704475164413452, 0.0006141183548606932, -0.32622361183166504, 0.1824800819158554, -0.1562149077653885, -0.053074222058057785, -0.02906542830169201, -0.2836132049560547, -0.05050767958164215, 0.02794410102069378, -0.07604971528053284, 0.159504234790802, -0.044815123081207275, 0.04110772907733917, 0.4249742329120636, 0.14766350388526917, 0.1534109115600586, 0.3171737492084503, -0.21748724579811096, -0.1792212575674057, 0.12835200130939484, 0.2223583161830902, -0.04835238307714462, 0.01661762408912182, -0.09405305236577988, -0.2393852025270462, 0.059972718358039856, -0.09541907161474228, -0.3265596628189087, 0.04950391501188278, -0.25758951902389526, 0.183352530002594, -0.5026490688323975, -0.03793511167168617, 0.1630469560623169, -0.5768555402755737, -0.33599624037742615, 0.39197656512260437, -0.5116524696350098, 0.008297082036733627, -0.3784453272819519, -0.02687213569879532, -0.1486206352710724, 0.0793241634964943, 0.1420087069272995, -0.19609148800373077, 0.035667065531015396, -0.15899929404258728, 0.23278844356536865, -0.11648630350828171, -0.06405460089445114, -0.10711025446653366, 0.14771033823490143, 0.08544789999723434, 0.042037006467580795, 0.21873052418231964, -0.09983597695827484, -0.2142924964427948, 0.1595032960176468, 0.14203298091888428, -0.1241505891084671, 0.21546198427677155, 0.47355467081069946, -0.18522264063358307, -0.1723896861076355, 0.6984296441078186, 0.21626470983028412, -0.09508898854255676, 0.3719353973865509, 0.10602186620235443, -0.24320746958255768, -0.34292522072792053, -0.13435396552085876, -0.1369161605834961, -0.3908706307411194, 0.1510891318321228, -0.2960146367549896, -0.10967445373535156, 0.18955819308757782, 0.29363152384757996, 0.3950531482696533, -0.10009437799453735, -0.20679031312465668, -0.15644502639770508, -0.038347817957401276, 0.10398968309164047, -0.05928684398531914, 0.23745369911193848, -0.13777582347393036, 0.0810403972864151, -0.0835585817694664, 0.051701612770557404, -0.433929443359375, 0.1821938157081604, -0.015456839464604855, 0.0607965886592865, -0.011273571290075779, -0.26742374897003174, -0.0027308498974889517, 0.20638632774353027, 0.09813220053911209, -0.17168699204921722, -0.44988057017326355, -0.27408814430236816, 0.07733914256095886, 0.11360239237546921, -0.13302434980869293, -0.1261242777109146, 0.22484390437602997, -0.34937506914138794, -0.3511999845504761, 0.0787745788693428, -0.16772718727588654, 0.01885915733873844, -0.0019168808357790112, -0.1956203579902649, 0.33895155787467957, -0.034175872802734375, -0.04495881497859955, 0.3388245403766632, 0.12442062795162201, 0.2107766717672348, -0.2820475697517395, -0.14638440310955048, 0.1307286024093628, -0.11694411933422089, 0.16468483209609985, 0.03481345251202583, 0.30863702297210693, 0.039392195641994476, 0.5101942420005798, -0.010603010654449463, -0.10326185822486877, 0.40358808636665344, 0.5071609020233154, 0.031797584146261215, 0.35995325446128845, -0.303133100271225, 0.010298340581357479, 0.24914073944091797, -0.4107834994792938, -0.180132195353508, 0.3692510426044464, 0.011449037119746208, 0.1875482201576233, -0.07170375436544418, 0.28196337819099426, -0.07320429384708405, 0.00006960543396417052, -0.008089747279882431, 0.2676317095756531, 0.0033833603374660015, -0.18513339757919312, 0.3497452437877655, 0.22363363206386566, 0.026884565129876137, -0.04563489183783531, 0.2625683844089508, 0.06856205314397812, 0.017390279099345207, -0.05297035723924637, 0.5154175758361816, 0.11628766357898712, 0.054842669516801834, -0.1281445324420929, -0.13339295983314514, 0.2955549955368042, 0.1254253089427948, 0.061195116490125656, 0.27561718225479126, 0.03904665261507034, -0.14746245741844177, 0.11666429042816162, 0.05569564551115036, -0.4075244963169098, 0.44703415036201477, 0.1077798381447792, -0.05963689461350441, 0.03390946984291077, -0.2124265879392624, -0.15897496044635773, 0.03752059116959572, -0.06786675751209259, -0.07368094474077225, 0.29207539558410645, -0.1127273440361023, 0.13445256650447845, -0.29593488574028015, -0.031521059572696686, -0.22838807106018066, 0.13438422977924347, -0.3506893217563629, -0.36811065673828125, 0.06259620934724808, -0.0015182740753516555, 0.2763020992279053, 0.5052927732467651, 0.01922343112528324, 0.03249875828623772, -0.0939326286315918, -0.07354629039764404, -0.05802502855658531, -0.12296845763921738, -0.35943469405174255, 0.3017740845680237, -0.13128988444805145, -0.30244484543800354, 0.28252825140953064, 0.19050957262516022, -0.24697770178318024, -0.1401175707578659, -0.08919773995876312, -0.5299133658409119, -0.12435926496982574, -0.05231239274144173, 0.17685864865779877, -0.02659081295132637, -0.07479691505432129, 0.10344274342060089, -0.1824115812778473, -0.18971003592014313, 0.24374796450138092, -0.30536502599716187, 0.22761689126491547, -0.08318734914064407, 0.11681009829044342, -0.2755244970321655, 0.5587294101715088, 0.47229647636413574, 0.17628993093967438, -0.13781848549842834, -0.12114681303501129, -0.35920798778533936, 0.016904029995203018, -0.19323888421058655, 0.03165842592716217, -0.002590507036074996, 0.25481143593788147, 0.34612807631492615, 0.2891184985637665, -0.011116226203739643, 0.48507925868034363, -0.17446573078632355, 0.0378432422876358, -0.1210087463259697, -0.0805145874619484, 0.26562607288360596, -0.05439344048500061, 0.010406114161014557, -0.3419598340988159, 0.15122155845165253, -0.019552484154701233, 0.15078040957450867, -0.15316978096961975, 0.055567704141139984, 0.01135648787021637, 0.17708027362823486, -0.031815703958272934, -0.10778653621673584, 0.22409063577651978, -0.10652528703212738, -0.07243932783603668, -0.3249177038669586, -0.004494862165302038, -0.03655429556965828, -0.08428514748811722, 0.21869753301143646, -0.04099850356578827, 0.06079760938882828, 0.17373548448085785, 0.2140597552061081, 0.1491328477859497, 0.01721174083650112, 0.07166044414043427, -0.15990109741687775, -0.0028054104186594486, -0.31812968850135803, 0.1209532618522644, 0.03710988163948059, -0.07366456091403961, -0.09567073732614517, -0.13206151127815247, 0.03249695524573326, -0.4206818640232086, 0.3083169460296631, -0.06378315389156342, -0.23331956565380096, -0.443474143743515, 0.0753638818860054, -0.18517009913921356, 0.5143234133720398, 0.015870563685894012, 0.21664762496948242, 0.12076178938150406, -0.21781548857688904, 0.17190882563591003, 0.5578712224960327, 0.038326360285282135, -0.4278284013271332, 0.008271075785160065, 0.20779463648796082, 0.00487478356808424, -0.10436903685331345, -0.4622522294521332, -0.07646163552999496 ]
https://github.com/huggingface/datasets/issues/1892
request to mirror wmt datasets, as they are really slow to download
Hi there! What about mirroring other datasets like [CCAligned](http://www.statmt.org/cc-aligned/) as well? All of them are really slow to download...
Would it be possible to mirror the wmt data files under hf? Some of them take hours to download and not because of the local speed. They are all quite small datasets, just extremely slow to download. Thank you!
19
request to mirror wmt datasets, as they are really slow to download
[ -0.5739348530769348, -0.01781027391552925, -0.11377673596143723, 0.03687741979956627, -0.1244661882519722, 0.13033746182918549, 0.08152318000793457, 0.4967997372150421, 0.1062234565615654, 0.08407583832740784, -0.28100863099098206, -0.09364861249923706, -0.03967222943902016, 0.10266832262277603, -0.1651192605495453, -0.05719948559999466, -0.12215590476989746, 0.22432129085063934, -0.564542829990387, -0.1650741994380951, 0.010418316349387169, -0.13402000069618225, -0.04237090423703194, -0.2431333363056183, -0.11206205189228058, -0.030702387914061546, -0.03171595558524132, 0.09714465588331223, -0.37716877460479736, 0.17483268678188324, -0.08211282640695572, 0.445298969745636, -0.18477356433868408, 0.1358296424150467, -0.00010505488171475008, -0.041345417499542236, 0.06007301062345505, 0.18173754215240479, -0.2971712052822113, 0.28904908895492554, -0.42394110560417175, -0.5052469968795776, -0.14492668211460114, -0.011234330013394356, -0.08575908839702606, -0.23594987392425537, -0.0021430724300444126, -0.10085278004407883, 0.3128150403499603, -0.13259756565093994, 0.2630347013473511, 0.3512071371078491, -0.3748447299003601, -0.24933063983917236, 0.19520170986652374, -0.055765897035598755, -0.17650675773620605, 0.2581067681312561, 0.5374764800071716, 0.15287014842033386, -0.01757873222231865, 0.4181111752986908, -0.214384987950325, 0.4096306264400482, -0.14300644397735596, -0.15752047300338745, 0.07579295337200165, 0.23108583688735962, 0.09816493093967438, 0.42663758993148804, 0.7086193561553955, 0.014624349772930145, -0.31941887736320496, -0.006643381435424089, -0.14147499203681946, 0.12142337113618851, -0.06458868831396103, 0.24725566804409027, -0.02022920735180378, 0.3262639045715332, -0.5138700008392334, -0.054518818855285645, 0.10994865745306015, -0.09208067506551743, -0.15246888995170593, 0.2585316002368927, 0.04050334915518761, -0.06532081216573715, -0.012894566170871258, -0.15766583383083344, 0.2369208186864853, -0.1134965568780899, 0.3102051019668579, -0.18725177645683289, 0.0014932778431102633, -0.3716895878314972, -0.04743766412138939, -0.24241812527179718, -0.06061212345957756, 0.44462770223617554, 0.2642418444156647, 0.14150294661521912, 0.10261404514312744, -0.08225315064191818, 0.04511898010969162, -0.0062518855556845665, -0.3473767340183258, -0.2501508593559265, 0.21786421537399292, 0.008864342235028744, 0.025196613743901253, 0.1268230825662613, 0.02456521987915039, -0.15997932851314545, -0.4309993386268616, 0.11517040431499481, 0.08500409871339798, -0.13803192973136902, -0.277190625667572, -0.006999131292104721, 0.26394587755203247, -0.09910005331039429, -0.24022947251796722, 0.09488815814256668, -0.27292054891586304, 0.12836644053459167, 0.2579495906829834, -0.13971185684204102, -0.14957842230796814, -0.20539413392543793, -0.2501855790615082, -0.17528566718101501, 0.1583745777606964, 0.17347770929336548, 0.418856680393219, 0.3360051214694977, 0.18289868533611298, -0.1895471215248108, 0.10920803248882294, 0.30710917711257935, 0.0743371993303299, 0.30436283349990845, -0.1743268519639969, 0.30507034063339233, -0.13245204091072083, 0.27669936418533325, -0.045413367450237274, 0.6089162230491638, -0.21235643327236176, -0.13187387585639954, -0.23567147552967072, -0.11611136794090271, 0.16565975546836853, 0.2921399474143982, -0.08073277026414871, -0.2324121743440628, 0.1068299412727356, -0.013018723577260971, -0.44197580218315125, 0.06900104135274887, -0.15963751077651978, 0.16803698241710663, -0.17350713908672333, -0.032799892127513885, 0.05716575309634209, 0.4950251579284668, -0.20403656363487244, -0.0003328417078591883, 0.09582403302192688, 0.14976289868354797, 0.382409930229187, 0.43432697653770447, -0.152529776096344, -0.051120657473802567, 0.0957430824637413, -0.1278485506772995, 0.1600969284772873, -0.11457251012325287, -0.23304463922977448, 0.29033973813056946, -0.5708920955657959, -0.2331407517194748, 0.3356151282787323, 0.4012613892555237, 0.22491034865379333, -0.14975140988826752, 0.15994825959205627, 0.47695812582969666, -0.1387976109981537, 0.05879092216491699, -0.21882645785808563, -0.5708184242248535, 0.09009122103452682, 0.29926797747612, 0.09545403718948364, -0.11744602024555206, -0.008408975787460804, 0.20688298344612122, 0.3065965473651886, 0.09905624389648438, -0.059198424220085144, -0.14506496489048004, -0.12479635328054428, -0.07760550826787949, -0.07778275012969971, 0.013645950704813004, 0.10370150208473206, 0.04267464205622673, 0.15008148550987244, 0.22927632927894592, 0.2289402335882187, -0.018371347337961197, -0.3348155617713928, -0.0037525647785514593, 0.034219104796648026, 0.16455890238285065, 0.2161320596933365, -0.056597139686346054, -0.05354905501008034, 0.046120062470436096, 0.20266325771808624, -0.045700930058956146, -0.24572506546974182, 0.059599511325359344, 0.167941153049469, 0.10004409402608871, -0.04972365126013756, 0.21426546573638916, 0.46291324496269226, 0.006797207519412041, 0.06973002105951309, 0.06323851644992828, 0.029075847938656807, -0.05582687631249428, -0.1664203554391861, 0.5460374355316162, 0.4285295605659485, 0.13196885585784912, 0.2299434393644333, -0.5582120418548584, 0.6453753709793091, 0.3941972851753235, 0.029308751225471497, -0.2032070755958557, -0.42529353499412537, 0.23988790810108185, 0.007378910202533007, -0.0429573617875576, 0.07295956462621689, -0.02434011548757553, 0.08975356072187424, -0.04448944330215454, -0.08109626173973083, -0.19538956880569458, 0.3213646411895752, 0.16277959942817688, -0.20513392984867096, 0.12812401354312897, 0.14561188220977783, 0.2289656698703766, 0.23825302720069885, 0.03802095353603363, 0.1765393316745758, -0.2760181128978729, -0.17031647264957428, -0.054087165743112564, 0.1941104233264923, 0.193386971950531, -0.013871025294065475, 0.4218675196170807, 0.33003169298171997, 0.053047873079776764, 0.16537700593471527, -0.33054739236831665, 0.05461500212550163, -0.11903190612792969, -0.012365863658487797, 0.13636577129364014, 0.08373647183179855, -0.11743707954883575, -0.3138446509838104, -0.03688556328415871, 0.06468113511800766, -0.06268976628780365, 0.1056760922074318, -0.4259090721607208, -0.40519383549690247, 0.09434495866298676, -0.3565099239349365, -0.03418472409248352, 0.17852896451950073, -0.3102647066116333, 0.19965223968029022, 0.1589713990688324, -0.24897482991218567, 0.1443348228931427, -0.18474552035331726, 0.10490930080413818, 0.014984802342951298, 0.14373931288719177, 0.06872078776359558, -0.12557707726955414, 0.017697962000966072, 0.22611971199512482, 0.014087392017245293, 0.04826376959681511, 0.5365287065505981, -0.319442480802536, 0.3375249207019806, -0.4544840157032013, -0.11010103672742844, -0.04988730326294899, 0.2669001817703247, -0.24932190775871277, 0.045902468264102936, 0.3540855944156647, 0.3355684280395508, -0.24647295475006104, 0.05866788700222969, -0.21462920308113098, -0.01745448261499405, -0.02536097913980484, -0.10203210264444351, -0.0871223583817482, -0.005969425663352013, -0.5345234274864197, -0.40870359539985657, -0.2761039137840271, 0.009232012555003166, -0.11105521023273468, 0.01783740520477295, 0.11660093069076538, 0.2344459593296051, -0.11129198968410492, -0.05058160051703453, 0.16422423720359802, -0.18103833496570587, -0.3200919032096863, 0.42828434705734253, -0.0071387384086847305, -0.2967442572116852, 0.021008295938372612, 0.10798698663711548, -0.12129249423742294, 0.30112120509147644, -0.2219560295343399, 0.04939984157681465, -0.08943910896778107, -0.07638037204742432, 0.47968605160713196, 0.11818131059408188, 0.20626495778560638, 0.06571095436811447, -0.27828311920166016, -0.019460104405879974, -0.09076133370399475, -0.14440904557704926, -0.008785269223153591, 0.15769250690937042, -0.06102094426751137, 0.06263961642980576, 0.01746635138988495, 0.9456709623336792, -0.01640515960752964, 0.06367134302854538, -0.017021693289279938, 0.13271556794643402, 0.05120834335684776, 0.22750650346279144, -0.28545624017715454, -0.09409991651773453, -0.037674445658922195, 0.09629538655281067, 0.4026617705821991, 0.10040774196386337, -0.33673688769340515, -0.11894699931144714, -0.0628497302532196, -0.24877099692821503, -0.2363482415676117, -0.08538777381181717, 0.1136883795261383, -0.0033929229248315096, 0.3867632746696472, 0.09745844453573227, -0.27179354429244995, -0.2393074333667755, 0.23471800982952118, -0.003293314017355442, -0.26222389936447144, -0.08874701708555222, 0.17712657153606415, 0.08312267065048218, -0.4576182961463928, 0.011565465480089188, 0.07374996691942215, 0.27466917037963867, 0.058886222541332245, -0.09964089840650558, 0.05093473196029663, -0.06864698976278305, 0.33278828859329224, -0.16135622560977936, 0.502181887626648, -0.14348448812961578, -0.2347286343574524, 0.006999561563134193, -0.019977720454335213, -0.2737739086151123, -0.4798698127269745, 0.21176691353321075, 0.12169429659843445, -0.13077716529369354, 0.052576128393411636, 0.3143938481807709, -0.04686884954571724, -0.20433273911476135, 0.07073397934436798, 0.34849122166633606, -0.20468246936798096, -0.2294829785823822, -0.2406139075756073, -0.09954944252967834, -0.03288931027054787, -0.1720031052827835, -0.0009896078845486045, -0.040809981524944305, 0.2738463878631592, 0.312191367149353, 0.04512945935130119, -0.13592228293418884, 0.2954554855823517, 0.3545088768005371, 0.10342074930667877, 0.31884709000587463, 0.16511814296245575, 0.481173038482666, 0.0774664655327797, 0.16522543132305145, -0.24438634514808655, -0.09655678272247314, -0.05234592407941818, 0.572544276714325, 0.005223679821938276, -0.13331401348114014, 0.14913377165794373, 0.21090002357959747, -0.3905559182167053, 0.15121571719646454, 0.07122530788183212, -0.09177535772323608, -0.08943665772676468, -0.23915503919124603, 0.31061190366744995, 0.21455085277557373, -0.014306027442216873, -0.013536947779357433, -0.10131774097681046, 0.25098446011543274, -0.33675849437713623, 0.18680527806282043, 0.8890678286552429, -0.18272925913333893, 0.3704475164413452, 0.0006141183548606932, -0.32622361183166504, 0.1824800819158554, -0.1562149077653885, -0.053074222058057785, -0.02906542830169201, -0.2836132049560547, -0.05050767958164215, 0.02794410102069378, -0.07604971528053284, 0.159504234790802, -0.044815123081207275, 0.04110772907733917, 0.4249742329120636, 0.14766350388526917, 0.1534109115600586, 0.3171737492084503, -0.21748724579811096, -0.1792212575674057, 0.12835200130939484, 0.2223583161830902, -0.04835238307714462, 0.01661762408912182, -0.09405305236577988, -0.2393852025270462, 0.059972718358039856, -0.09541907161474228, -0.3265596628189087, 0.04950391501188278, -0.25758951902389526, 0.183352530002594, -0.5026490688323975, -0.03793511167168617, 0.1630469560623169, -0.5768555402755737, -0.33599624037742615, 0.39197656512260437, -0.5116524696350098, 0.008297082036733627, -0.3784453272819519, -0.02687213569879532, -0.1486206352710724, 0.0793241634964943, 0.1420087069272995, -0.19609148800373077, 0.035667065531015396, -0.15899929404258728, 0.23278844356536865, -0.11648630350828171, -0.06405460089445114, -0.10711025446653366, 0.14771033823490143, 0.08544789999723434, 0.042037006467580795, 0.21873052418231964, -0.09983597695827484, -0.2142924964427948, 0.1595032960176468, 0.14203298091888428, -0.1241505891084671, 0.21546198427677155, 0.47355467081069946, -0.18522264063358307, -0.1723896861076355, 0.6984296441078186, 0.21626470983028412, -0.09508898854255676, 0.3719353973865509, 0.10602186620235443, -0.24320746958255768, -0.34292522072792053, -0.13435396552085876, -0.1369161605834961, -0.3908706307411194, 0.1510891318321228, -0.2960146367549896, -0.10967445373535156, 0.18955819308757782, 0.29363152384757996, 0.3950531482696533, -0.10009437799453735, -0.20679031312465668, -0.15644502639770508, -0.038347817957401276, 0.10398968309164047, -0.05928684398531914, 0.23745369911193848, -0.13777582347393036, 0.0810403972864151, -0.0835585817694664, 0.051701612770557404, -0.433929443359375, 0.1821938157081604, -0.015456839464604855, 0.0607965886592865, -0.011273571290075779, -0.26742374897003174, -0.0027308498974889517, 0.20638632774353027, 0.09813220053911209, -0.17168699204921722, -0.44988057017326355, -0.27408814430236816, 0.07733914256095886, 0.11360239237546921, -0.13302434980869293, -0.1261242777109146, 0.22484390437602997, -0.34937506914138794, -0.3511999845504761, 0.0787745788693428, -0.16772718727588654, 0.01885915733873844, -0.0019168808357790112, -0.1956203579902649, 0.33895155787467957, -0.034175872802734375, -0.04495881497859955, 0.3388245403766632, 0.12442062795162201, 0.2107766717672348, -0.2820475697517395, -0.14638440310955048, 0.1307286024093628, -0.11694411933422089, 0.16468483209609985, 0.03481345251202583, 0.30863702297210693, 0.039392195641994476, 0.5101942420005798, -0.010603010654449463, -0.10326185822486877, 0.40358808636665344, 0.5071609020233154, 0.031797584146261215, 0.35995325446128845, -0.303133100271225, 0.010298340581357479, 0.24914073944091797, -0.4107834994792938, -0.180132195353508, 0.3692510426044464, 0.011449037119746208, 0.1875482201576233, -0.07170375436544418, 0.28196337819099426, -0.07320429384708405, 0.00006960543396417052, -0.008089747279882431, 0.2676317095756531, 0.0033833603374660015, -0.18513339757919312, 0.3497452437877655, 0.22363363206386566, 0.026884565129876137, -0.04563489183783531, 0.2625683844089508, 0.06856205314397812, 0.017390279099345207, -0.05297035723924637, 0.5154175758361816, 0.11628766357898712, 0.054842669516801834, -0.1281445324420929, -0.13339295983314514, 0.2955549955368042, 0.1254253089427948, 0.061195116490125656, 0.27561718225479126, 0.03904665261507034, -0.14746245741844177, 0.11666429042816162, 0.05569564551115036, -0.4075244963169098, 0.44703415036201477, 0.1077798381447792, -0.05963689461350441, 0.03390946984291077, -0.2124265879392624, -0.15897496044635773, 0.03752059116959572, -0.06786675751209259, -0.07368094474077225, 0.29207539558410645, -0.1127273440361023, 0.13445256650447845, -0.29593488574028015, -0.031521059572696686, -0.22838807106018066, 0.13438422977924347, -0.3506893217563629, -0.36811065673828125, 0.06259620934724808, -0.0015182740753516555, 0.2763020992279053, 0.5052927732467651, 0.01922343112528324, 0.03249875828623772, -0.0939326286315918, -0.07354629039764404, -0.05802502855658531, -0.12296845763921738, -0.35943469405174255, 0.3017740845680237, -0.13128988444805145, -0.30244484543800354, 0.28252825140953064, 0.19050957262516022, -0.24697770178318024, -0.1401175707578659, -0.08919773995876312, -0.5299133658409119, -0.12435926496982574, -0.05231239274144173, 0.17685864865779877, -0.02659081295132637, -0.07479691505432129, 0.10344274342060089, -0.1824115812778473, -0.18971003592014313, 0.24374796450138092, -0.30536502599716187, 0.22761689126491547, -0.08318734914064407, 0.11681009829044342, -0.2755244970321655, 0.5587294101715088, 0.47229647636413574, 0.17628993093967438, -0.13781848549842834, -0.12114681303501129, -0.35920798778533936, 0.016904029995203018, -0.19323888421058655, 0.03165842592716217, -0.002590507036074996, 0.25481143593788147, 0.34612807631492615, 0.2891184985637665, -0.011116226203739643, 0.48507925868034363, -0.17446573078632355, 0.0378432422876358, -0.1210087463259697, -0.0805145874619484, 0.26562607288360596, -0.05439344048500061, 0.010406114161014557, -0.3419598340988159, 0.15122155845165253, -0.019552484154701233, 0.15078040957450867, -0.15316978096961975, 0.055567704141139984, 0.01135648787021637, 0.17708027362823486, -0.031815703958272934, -0.10778653621673584, 0.22409063577651978, -0.10652528703212738, -0.07243932783603668, -0.3249177038669586, -0.004494862165302038, -0.03655429556965828, -0.08428514748811722, 0.21869753301143646, -0.04099850356578827, 0.06079760938882828, 0.17373548448085785, 0.2140597552061081, 0.1491328477859497, 0.01721174083650112, 0.07166044414043427, -0.15990109741687775, -0.0028054104186594486, -0.31812968850135803, 0.1209532618522644, 0.03710988163948059, -0.07366456091403961, -0.09567073732614517, -0.13206151127815247, 0.03249695524573326, -0.4206818640232086, 0.3083169460296631, -0.06378315389156342, -0.23331956565380096, -0.443474143743515, 0.0753638818860054, -0.18517009913921356, 0.5143234133720398, 0.015870563685894012, 0.21664762496948242, 0.12076178938150406, -0.21781548857688904, 0.17190882563591003, 0.5578712224960327, 0.038326360285282135, -0.4278284013271332, 0.008271075785160065, 0.20779463648796082, 0.00487478356808424, -0.10436903685331345, -0.4622522294521332, -0.07646163552999496 ]
https://github.com/huggingface/datasets/issues/1891
suggestion to improve a missing dataset error
This is the current error thrown for missing datasets: ``` FileNotFoundError: Couldn't find a dataset script at C:\Users\Mario\Desktop\projects\datasets\missing_dataset\missing_dataset.py or any data file in the same directory. Couldn't find 'missing_dataset' on the Hugging Face Hub either: FileNotFoundError: Dataset 'missing_dataset' doesn't exist on the Hub. If the repo is private, make sure you are authenticated with `use_auth_token=True` after logging in with `huggingface-cli login`. ``` Seems much more informative, so I think we can close this issue.
I was using `--dataset_name wmt19` all was good. Then thought perhaps wmt20 is out, so I tried to use `--dataset_name wmt20`, got 3 different errors (1 repeated twice), none telling me the real issue - that `wmt20` isn't in the `datasets`: ``` True, predict_with_generate=True) Traceback (most recent call last): File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 323, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 274, in cached_path output_path = get_from_cache( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 584, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/wmt20/wmt20.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 335, in prepare_module local_path = cached_path(file_path, download_config=download_config) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 274, in cached_path output_path = get_from_cache( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/utils/file_utils.py", line 584, in get_from_cache raise FileNotFoundError("Couldn't find file at {}".format(url)) FileNotFoundError: Couldn't find file at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/wmt20/wmt20.py During handling of the above exception, another exception occurred: Traceback (most recent call last): File "./run_seq2seq.py", line 661, in <module> main() File "./run_seq2seq.py", line 317, in main datasets = load_dataset(data_args.dataset_name, data_args.dataset_config_name) File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 706, in load_dataset module_path, hash, resolved_file_path = prepare_module( File "/mnt/nvme1/code/huggingface/datasets-master/src/datasets/load.py", line 343, in prepare_module raise FileNotFoundError( FileNotFoundError: Couldn't find file locally at wmt20/wmt20.py, or remotely at https://raw.githubusercontent.com/huggingface/datasets/master/datasets/wmt20/wmt20.py. The file is also not present on the master branch on github. ``` Suggestion: if it is not in a local path, check that there is an actual `https://github.com/huggingface/datasets/tree/master/datasets/wmt20` first and assert "dataset `wmt20` doesn't exist in datasets", rather than trying to find a load script - since the whole repo is not there. The error occured when running: ``` cd examples/seq2seq export BS=16; rm -r output_dir; PYTHONPATH=../../src USE_TF=0 CUDA_VISIBLE_DEVICES=0 python ./run_seq2seq.py --model_name_or_path t5-small --output_dir output_dir --adam_eps 1e-06 --do_eval --evaluation_strategy=steps --label_smoothing 0.1 --learning_rate 3e-5 --logging_first_step --logging_steps 1000 --max_source_length 128 --max_target_length 128 --num_train_epochs 1 --overwrite_output_dir --per_device_eval_batch_size $BS --predict_with_generate --eval_steps 25000 --sortish_sampler --task translation_en_to_ro --val_max_target_length 128 --warmup_steps 500 --max_val_samples 500 --dataset_name wmt20 --dataset_config "ro-en" --source_prefix "translate English to Romanian: " ``` Thanks.
74
suggestion to improve a missing dataset error
[ -0.2689114809036255, 0.1609048694372177, -0.20564036071300507, 0.23159430921077728, 0.18914441764354706, 0.2014089971780777, 0.09942294657230377, 0.3059292733669281, -0.11078720539808273, 0.015590102411806583, 0.24164952337741852, -0.07499603182077408, -0.16070255637168884, 0.1606815755367279, -0.1363901048898697, -0.12169233709573746, 0.0044955480843782425, 0.19530686736106873, 0.026063552126288414, -0.06326216459274292, -0.19485591351985931, -0.025877106934785843, -0.25524452328681946, -0.16235658526420593, -0.14007045328617096, -0.18631578981876373, -0.12678693234920502, 0.38490551710128784, -0.05416806414723396, -0.30609020590782166, 0.11515731364488602, 0.05518971011042595, -0.09669815748929977, 0.28420621156692505, -0.00009978408343158662, -0.23180653154850006, 0.10573399811983109, -0.07121516019105911, -0.23216108977794647, 0.1784685254096985, -0.4689493179321289, -0.40241748094558716, -0.22205336391925812, -0.16488048434257507, -0.00468964921310544, -0.05014251172542572, -0.09828749299049377, -0.30747660994529724, 0.18528035283088684, 0.20873241126537323, 0.3489859104156494, 0.08994315564632416, -0.08894858509302139, -0.21288402378559113, 0.04291924089193344, 0.3334057629108429, -0.025232629850506783, 0.15225887298583984, 0.33831140398979187, -0.11288321018218994, 0.02896922081708908, 0.4885992407798767, -0.08286857604980469, -0.14470860362052917, 0.1022033616900444, -0.06510511040687561, -0.07219567894935608, -0.02319348230957985, 0.16834191977977753, 0.26025891304016113, 0.5751256942749023, -0.04920462518930435, -0.2428511381149292, -0.2874787449836731, 0.30534297227859497, -0.1314850002527237, 0.13310596346855164, -0.06916090846061707, -0.041678812354803085, 0.07939715683460236, -0.13514213263988495, -0.3472166061401367, -0.12264937907457352, -0.026657961308956146, -0.10677364468574524, -0.0409514419734478, 0.17488671839237213, -0.07412354648113251, -0.1505325585603714, -0.04634419456124306, 0.01394357718527317, 0.19640837609767914, 0.12640617787837982, -0.06979174166917801, -0.2506959140300751, -0.19091717898845673, 0.27334776520729065, -0.13999506831169128, -0.11845041066408157, -0.01702563464641571, 0.035881783813238144, 0.045556556433439255, -0.005508659407496452, -0.21772292256355286, 0.182606503367424, -0.2071773260831833, 0.07770415395498276, 0.0348442904651165, 0.07200997322797775, 0.0374743826687336, -0.03828058019280434, 0.05015387013554573, 0.03282614052295685, -0.19702352583408356, 0.09843745082616806, 0.37695449590682983, 0.2736070156097412, -0.19793899357318878, -0.47967562079429626, 0.3241174519062042, -0.11703313887119293, -0.08676774054765701, 0.02964913286268711, 0.1596117615699768, -0.09574216604232788, 0.16749157011508942, 0.09293517470359802, 0.17197167873382568, 0.01453025359660387, -0.5952833890914917, -0.29034170508384705, 0.2284746766090393, -0.042669687420129776, -0.11152047663927078, 0.10057318955659866, 0.15592177212238312, -0.011808161623775959, -0.14961908757686615, -0.047191038727760315, 0.10824882239103317, -0.1280488818883896, -0.08741015940904617, 0.005622610915452242, 0.05051359534263611, -0.14488521218299866, 0.03424221649765968, 0.15862523019313812, 0.17448605597019196, 0.04053594917058945, 0.1433485746383667, 0.016345372423529625, -0.366001158952713, -0.3303453326225281, 0.39448702335357666, -0.1912483274936676, -0.15036937594413757, 0.0951685979962349, 0.27541664242744446, -0.1721261441707611, -0.3691119849681854, -0.08599104732275009, 0.10769034177064896, -0.07330264896154404, -0.2735790014266968, 0.21633876860141754, 0.5280638337135315, -0.43414291739463806, 0.0720130056142807, -0.39775350689888, -0.029564741998910904, 0.2149229496717453, -0.016927210614085197, -0.1440565288066864, 0.40193426609039307, -0.12733256816864014, 0.08884090185165405, 0.29186466336250305, -0.23246873915195465, -0.3577399253845215, -0.024134084582328796, -0.15501421689987183, -0.016849521547555923, 0.0687289610505104, 0.076283298432827, 0.012174486182630062, -0.28869351744651794, 0.18639665842056274, -0.006290608085691929, -0.27379459142684937, -0.019728513434529305, -0.3411477506160736, -0.17352423071861267, 0.19074082374572754, 0.3456958830356598, 0.26397600769996643, -0.021118836477398872, 0.11890842765569687, -0.09522493928670883, 0.2063172608613968, -0.04552582651376724, 0.019453927874565125, 0.30290549993515015, 0.34269022941589355, -0.1516297310590744, -0.34872812032699585, -0.2483436018228531, -0.18759240210056305, 0.11831499636173248, 0.230739563703537, 0.2160814255475998, -0.125844344496727, -0.08682746440172195, -0.2793828248977661, 0.030738312751054764, 0.11125738173723221, 0.08447110652923584, 0.3507346212863922, 0.14961259067058563, -0.35582104325294495, -0.17392098903656006, 0.01946895942091942, 0.09857077151536942, -0.3072199821472168, -0.13169452548027039, -0.11988033354282379, 0.3125532269477844, -0.03300262242555618, -0.05428590252995491, 0.3126949667930603, 0.3255910277366638, 0.12295995652675629, 0.042943403124809265, -0.025428345426917076, 0.2417910099029541, -0.30590882897377014, -0.009518194943666458, 0.2295878380537033, 0.09307921677827835, 0.14716747403144836, -0.3526013493537903, -0.03013436309993267, -0.018816746771335602, -0.021595923230051994, 0.0911901518702507, -0.24230684340000153, 0.03961120545864105, -0.11003503203392029, -0.023883160203695297, -0.16404332220554352, 0.1356993019580841, 0.12079287320375443, -0.08563025295734406, 0.18836358189582825, -0.2771646976470947, 0.151523619890213, -0.07371380180120468, 0.0939188003540039, 0.1736452579498291, -0.3302144408226013, 0.2842618525028229, 0.24503061175346375, -0.025058036670088768, 0.19514326751232147, 0.13764455914497375, 0.15786027908325195, -0.1097431555390358, 0.2537443935871124, 0.2751196026802063, 0.43266820907592773, 0.4207950532436371, -0.22429582476615906, -0.08070511370897293, 0.0234304741024971, -0.1036955714225769, 0.14710243046283722, 0.04675609618425369, 0.16073450446128845, 0.13408663868904114, 0.2054360955953598, 0.19006361067295074, -0.030688447877764702, -0.3786931335926056, 0.12271908670663834, 0.4961777329444885, -0.22662200033664703, -0.28836876153945923, -0.298246294260025, -0.20610378682613373, 0.07957139611244202, 0.16143901646137238, 0.00621931254863739, -0.4249967634677887, 0.23814396560192108, -0.15002970397472382, -0.4206814169883728, 0.15063923597335815, -0.16498401761054993, 0.16727274656295776, -0.07216379046440125, -0.0701502338051796, -0.12462978810071945, -0.19277672469615936, -0.05074514448642731, 0.2673463821411133, 0.20518919825553894, 0.2101612091064453, 0.36466479301452637, -0.28632786870002747, 0.001220227568410337, -0.3801931142807007, -0.16375522315502167, 0.06657835096120834, -0.039342544972896576, 0.2355072945356369, 0.44328761100769043, 0.33794471621513367, -0.06705041229724884, -0.340432345867157, 0.32150861620903015, -0.17647786438465118, 0.00017363544611725956, 0.13592778146266937, -0.1188727393746376, -0.1515430063009262, 0.09432745724916458, -0.3250809609889984, -0.1886327862739563, -0.37524473667144775, -0.21617871522903442, -0.26729270815849304, 0.09474440664052963, 0.07435637712478638, 0.17935723066329956, -0.09699990600347519, 0.028512101620435715, 0.06163680925965309, -0.19842097163200378, -0.22154635190963745, 0.14125539362430573, 0.08703063428401947, -0.30131542682647705, 0.029517455026507378, -0.15006773173809052, 0.19792892038822174, 0.2584167420864105, -0.4586792290210724, -0.08229762315750122, 0.06931962817907333, 0.14641229808330536, -0.2531270980834961, -0.1535939872264862, 0.375929594039917, 0.0999101847410202, -0.30063575506210327, -0.12575697898864746, -0.29380524158477783, -0.03703675419092178, 0.12081349641084671, 0.32923224568367004, -0.3049636483192444, 0.3724226653575897, -0.12677377462387085, 0.5009725689888, -0.05461762845516205, -0.04148121550679207, 0.13908937573432922, 0.03324338048696518, 0.3241758346557617, 0.1365254819393158, -0.3620763421058655, 0.16932035982608795, 0.07148337364196777, -0.027656491845846176, 0.17811883985996246, -0.05015804246068001, -0.0795217826962471, -0.09517838060855865, -0.2192225456237793, -0.5016385912895203, -0.42772674560546875, 0.1735779047012329, 0.09617896378040314, 0.3176417946815491, 0.2694142758846283, 0.041817545890808105, -0.2963111400604248, -0.015130921266973019, 0.13868409395217896, -0.04956644028425217, 0.36718815565109253, -0.1053374707698822, -0.2964624762535095, -0.08130647987127304, -0.34841546416282654, 0.23226262629032135, 0.06431207060813904, 0.3443787395954132, -0.16818109154701233, -0.024861887097358704, -0.12602117657661438, 0.26925766468048096, 0.3813755214214325, -0.5976468920707703, -0.13733792304992676, 0.09730871021747589, 0.21859519183635712, -0.12882688641548157, 0.07271361351013184, 0.03059532679617405, 0.37817585468292236, 0.15374219417572021, 0.12624643743038177, -0.2758132219314575, -0.1123964786529541, 0.4412168860435486, 0.18328498303890228, -0.0010696810204535723, -0.19623735547065735, 0.14295636117458344, -0.21017657220363617, -0.27224162220954895, 0.01234855130314827, 0.11340713500976562, 0.06907276809215546, 0.3097701668739319, 0.037478718906641006, 0.040570344775915146, 0.07296499609947205, 0.3154325783252716, 0.09865834563970566, 0.3505663573741913, 0.11324071884155273, 0.29590293765068054, -0.04457975551486015, 0.12454616278409958, 0.5182302594184875, 0.4864313304424286, -0.14400909841060638, -0.1389768123626709, 0.2902472913265228, -0.3509880006313324, 0.2623252868652344, 0.4526888430118561, 0.03152521327137947, 0.08321179449558258, 0.037385132163763046, 0.223939910531044, -0.049267448484897614, 0.044823575764894485, 0.03033955954015255, 0.013800607062876225, -0.28648167848587036, -0.07786905765533447, -0.013223951682448387, -0.10777857154607773, -0.18296003341674805, 0.2588006258010864, 0.3338613212108612, -0.22690045833587646, 0.22800923883914948, 0.17938773334026337, 0.9854983687400818, 0.17905281484127045, -0.07745987921953201, 0.21807201206684113, -0.10582315176725388, 0.39731502532958984, -0.060246795415878296, 0.12650130689144135, -0.25472864508628845, -0.43044203519821167, 0.1261846423149109, 0.12479735165834427, 0.04816840589046478, 0.18916207551956177, -0.005416448228061199, 0.25814133882522583, 0.08270517736673355, 0.1431109756231308, 0.09938525408506393, 0.10906155407428741, 0.12789492309093475, -0.14022484421730042, -0.3683932423591614, 0.2499106079339981, 0.06548536568880081, -0.13714121282100677, -0.2618025243282318, -0.2036464810371399, -0.1641986072063446, -0.11869478970766068, -0.46349048614501953, -0.21699951589107513, -0.21910524368286133, -0.08710097521543503, 0.0880483016371727, -0.2273973822593689, 0.3441278636455536, -0.03110308013856411, 0.11741449683904648, 0.1676579713821411, -0.2682742476463318, 0.12147147208452225, -0.09370613843202591, 0.09466797113418579, 0.23441307246685028, -0.2358442097902298, 0.21966290473937988, -0.1349417120218277, -0.21061523258686066, 0.13465529680252075, -0.19621217250823975, -0.25010907649993896, -0.13780653476715088, -0.004862113855779171, -0.01592899113893509, -0.3120182752609253, -0.27176129817962646, 0.031954407691955566, 0.0007044737576507032, -0.41905316710472107, 0.3083285391330719, 0.24323920905590057, 0.22637420892715454, 0.13715492188930511, 0.05763457715511322, -0.11116472631692886, -0.12989850342273712, 0.13260526955127716, 0.06734725832939148, -0.12532910704612732, 0.44460996985435486, -0.010019848123192787, -0.11661463230848312, -0.46452125906944275, 0.1400853544473648, 0.29608452320098877, -0.42721349000930786, -0.0731814056634903, -0.29201021790504456, -0.05506729334592819, 0.1173604428768158, 0.06168711557984352, 0.2699364125728607, -0.11301568895578384, 0.15662802755832672, -0.3280884027481079, -0.13049307465553284, 0.3360801041126251, 0.09329619258642197, -0.010750413872301579, -0.29201024770736694, 0.04556102678179741, -0.08594398945569992, 0.11456729471683502, -0.5172253251075745, -0.13124294579029083, -0.21754762530326843, -0.04874784126877785, 0.12150131911039352, 0.0965215340256691, 0.09403633326292038, -0.2851099669933319, 0.32537561655044556, 0.13149043917655945, 0.09728515893220901, -0.3347705900669098, 0.03748072311282158, 0.1282503604888916, -0.08290725946426392, -0.08605259656906128, 0.37083199620246887, -0.02311313897371292, -0.1734330803155899, -0.030524251982569695, -0.3174024224281311, 0.04960150271654129, 0.11667840927839279, 0.08185892552137375, 0.06831806153059006, -0.04022107645869255, -0.30985012650489807, 0.07025756686925888, 0.1521351933479309, 0.16999588906764984, 0.010136531665921211, 0.16153843700885773, 0.1986897885799408, -0.10835888981819153, 0.3430618643760681, 0.06946058571338654, -0.08241189271211624, 0.17459891736507416, 0.23619849979877472, -0.020524466410279274, -0.19145967066287994, 0.4972817897796631, 0.2903567850589752, -0.04406612366437912, -0.2327151745557785, 0.010141856037080288, 0.03830179199576378, 0.42077431082725525, -0.6517218947410583, -0.07356829941272736, 0.26513245701789856, 0.0063988701440393925, 0.14807100594043732, 0.12436740100383759, 0.1096247136592865, -0.23260991275310516, 0.19631770253181458, 0.08136673271656036, 0.23211222887039185, -0.17289204895496368, 0.0466131828725338, 0.23249435424804688, -0.11450906842947006, -0.0866018682718277, 0.005490010138601065, 0.0628858208656311, 0.11582548171281815, 0.49937111139297485, 0.10577186942100525, 0.30167677998542786, 0.0038097857031971216, 0.1353829801082611, -0.24118001759052277, -0.3406927287578583, 0.4143922030925751, 0.3304107189178467, 0.029376713559031487, -0.023593861609697342, -0.025024807080626488, 0.04960169270634651, -0.05263921990990639, -0.06670302897691727, -0.07157276570796967, 0.03536945953965187, -0.14977920055389404, 0.2834019958972931, -0.12800376117229462, -0.16927556693553925, -0.17808736860752106, -0.22967252135276794, 0.016585491597652435, -0.1993895322084427, 0.15218348801136017, -0.08328577131032944, 0.07141181081533432, -0.2319277822971344, 0.14888718724250793, 0.20162685215473175, 0.17337632179260254, -0.350970596075058, -0.003040923038497567, 0.35900869965553284, -0.250274121761322, 0.41473159193992615, 0.39450520277023315, 0.3151593804359436, -0.054147448390722275, 0.21359053254127502, -0.1413634568452835, -0.05046290159225464, -0.19428957998752594, -0.2085389941930771, 0.11084874719381332, 0.17493917047977448, 0.012034229934215546, 0.14807778596878052, 0.3385951817035675, -0.29227402806282043, 0.1968337744474411, 0.16534799337387085, -0.09293077886104584, -0.16719242930412292, 0.018186187371611595, -0.0037100245244801044, -0.33937549591064453, -0.017597047612071037, -0.13716687262058258, 0.11261359602212906, -0.2910122275352478, 0.23534876108169556, -0.02612876705825329, 0.12240710854530334, 0.07441563159227371, 0.18597003817558289, -0.14269228279590607, 0.12825040519237518, 0.2639731466770172, 0.05639483407139778, -0.3646690249443054, -0.2380194514989853, -0.7652331590652466, 0.0602089986205101, 0.07912598550319672, -0.07602592557668686, 0.18309633433818817, 0.12519073486328125, 0.30323734879493713, 0.007593602407723665, 0.397203266620636, 0.09514593333005905, 0.07853411138057709, 0.05302838981151581, -0.5223665237426758, -0.2597568929195404, 0.12660561501979828, -0.07662083208560944, 0.06782236695289612, -0.16598211228847504, 0.2599661350250244, 0.06810223311185837, 0.2690800428390503, -0.22969818115234375, -0.3141990005970001, 0.07582327723503113, 0.23783613741397858, 0.35283464193344116, 0.1583922803401947, 0.42032673954963684, -0.21312613785266876, -0.3112279772758484, -0.21134167909622192, -0.2161521464586258, -0.10767398029565811, 0.5272456407546997, 0.35823285579681396, 0.535723865032196, -0.11675213277339935, 0.10305005311965942, -0.06750332564115524, 0.011698863469064236, 0.07500198483467102, 0.25421658158302307, -0.5713481307029724, 0.40137356519699097, -0.024423494935035706, 0.15181055665016174, -0.08005178719758987, -0.10754406452178955, -0.018649684265255928, 0.10807205736637115, -0.3473450243473053, -0.17224721610546112, 0.48225557804107666, 0.09573192149400711, -0.07025869935750961, -0.4072825610637665, 0.2936367094516754, 0.034867800772190094, 0.20505709946155548, -0.5251646041870117, -0.31807854771614075, 0.3340303599834442, 0.12313423305749893, -0.04698900505900383, 0.07911387830972672, -0.1894253045320511, -0.03282618522644043, 0.24527789652347565, 0.41266387701034546, -0.1334109902381897, -0.4427577555179596, 0.07568097859621048, -0.07095615565776825 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
I started working on this. My idea is to first add the pyarrow Table wrappers InMemoryTable and MemoryMappedTable that both implement what's necessary regarding copy/pickle. Then have another wrapper that takes the concatenation of InMemoryTable/MemoryMappedTable objects. What's important here is that concatenating two tables into one doesn't double the memory used (`total_allocated_bytes()` stays the same).
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
55
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
Hi @lhoestq @albertvillanova, I checked the linked issues and PR, this seems like a great idea. Would you mind elaborating on the in-memory and memory-mapped datasets? Based on my understanding, it is something like this, please correct me if I am wrong: 1. For in-memory datasets, we don't have any dataset files so the entire dataset is pickled to the cache during loading, and then whenever required it is unpickled . 2. For on-disk/memory-mapped datasets, we have the data files provided, so they can be re-loaded from the paths, and only the file-paths are stored while pickling. If this is correct, will the feature also handle pickling/unpickling of a concatenated dataset? Will this be cached? This also leads me to ask whether datasets are chunked during pickling? Thanks, Gunjan
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
129
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
Hi ! Yes you're totally right about your two points :) And in the case of a concatenated dataset, then we should reload each sub-table depending on whether it's in-memory or memory mapped. That means the dataset will be made of several blocks in order to keep track of what's from memory and what's memory mapped. This allows to pickle/unpickle concatenated datasets
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
62
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
Hi @lhoestq Thanks, that sounds nice. Can you explain where the issue of the double memory may arise? Also, why is the existing `concatenate_datasets` not sufficient for this purpose?
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
29
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
Hi @lhoestq, Will the `add_item` feature also help with lazy writing (or no caching) during `map`/`filter`?
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
16
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1877
Allow concatenation of both in-memory and on-disk datasets
> Can you explain where the issue of the double memory may arise? We have to keep each block (in-memory vs memory mapped) separated in order to be able to reload them with pickle. On the other hand we also need to have the full table from mixed in-memory and memory mapped data in order to iterate or extract data conveniently. That means that each block is accessible twice: once in the full table, and once in the separated blocks. But since pyarrow tables concatenation doesn't double the memory, then building the full table doesn't cost memory which is what we want :) > Also, why is the existing concatenate_datasets not sufficient for this purpose? The existing `concatenate_datasets` doesn't support having both in-memory and memory mapped data together (there's no fancy block separation logic). It works for datasets fully in-memory or fully memory mapped but not a mix of the two. > Will the add_item feature also help with lazy writing (or no caching) during map/filter? It will enable the implementation of the fast, masked filter from this discussion: https://github.com/huggingface/datasets/issues/1949 However I don't think this will affect map.
This is a prerequisite for the addition of the `add_item` feature (see #1870). Currently there is one assumption that we would need to change: a dataset is either fully in memory (dataset._data_files is empty), or the dataset can be reloaded from disk (using the dataset._data_files). This assumption is used for pickling for example: - in-memory dataset can just be pickled/unpickled in-memory - on-disk dataset can be unloaded to only keep the filepaths when pickling, and then reloaded from the disk when unpickling Maybe let's have a design that allows a Dataset to have a Table that can be rebuilt from heterogenous sources like in-memory tables or on-disk tables ? This could also be further extended in the future One idea would be to define a list of sources and each source implements a way to reload its corresponding pyarrow Table. Then the dataset would be the concatenation of all these tables. Depending on the source type, the serialization using pickle would be different. In-memory data would be copied while on-disk data would simply be replaced by the path to these data. If you have some ideas you would like to share about the design/API feel free to do so :) cc @albertvillanova
188
Allow concatenation of both in-memory and on-disk datasets
[ -0.5051501393318176, -0.18780311942100525, -0.21074871718883514, 0.19875042140483856, -0.0024014217779040337, 0.19160716235637665, 0.08541586250066757, 0.12553223967552185, -0.07293795049190521, 0.34219029545783997, -0.21606236696243286, 0.1833057850599289, 0.09639392793178558, 0.06680262088775635, -0.2078365683555603, 0.26909422874450684, 0.026931606233119965, 0.08284856379032135, -0.5286293625831604, 0.06601638346910477, -0.23012252151966095, -0.003127182135358453, -0.03340654820203781, -0.31422239542007446, 0.00746189896017313, 0.061880867928266525, -0.02476644702255726, 0.25574812293052673, -0.28303641080856323, 0.10924308001995087, 0.05558564513921738, 0.3377605378627777, -0.027412258088588715, 0.23188751935958862, -0.0001059729911503382, -0.05951542779803276, -0.14766167104244232, -0.12998397648334503, -0.4768219590187073, 0.20032329857349396, -0.21615736186504364, -0.22852519154548645, -0.06188299506902695, -0.2697731554508209, 0.13387742638587952, -0.049303747713565826, 0.08025267720222473, -0.5249487161636353, 0.16582264006137848, -0.05508055537939072, 0.2189830243587494, -0.10592766106128693, -0.08072265982627869, -0.24855315685272217, -0.31165215373039246, 0.4855952858924866, 0.1741260141134262, -0.046663377434015274, 0.10667258501052856, -0.04014527425169945, 0.16843321919441223, -0.013662676326930523, 0.01861322671175003, -0.003131723962724209, 0.04319554939866066, 0.1000509262084961, 0.00172079773619771, -0.006950506009161472, 0.0589008703827858, 0.18121126294136047, 0.2342425286769867, -0.40656042098999023, -0.325815349817276, -0.203301340341568, 0.17099104821681976, -0.09793433547019958, 0.188527449965477, 0.2268514484167099, -0.153365820646286, 0.3246706426143646, -0.20410333573818207, -0.222340926527977, -0.11616826802492142, -0.0025749781634658575, -0.07533509284257889, 0.15253107249736786, 0.2694879174232483, 0.002396245487034321, -0.038073621690273285, -0.07434507459402084, 0.21495583653450012, -0.32709646224975586, -0.09858164191246033, -0.16647885739803314, -0.1326436847448349, -0.07119293510913849, -0.32510775327682495, -0.291966050863266, 0.48435744643211365, -0.0022054791916161776, 0.3147103488445282, 0.02413833700120449, -0.059946369379758835, 0.17011819779872894, 0.2812178134918213, 0.03340020403265953, -0.266643762588501, 0.18488837778568268, 0.06801305711269379, -0.18735358119010925, 0.11376794427633286, 0.0559546984732151, -0.06311757862567902, -0.08477143943309784, -0.11377593874931335, -0.1969708651304245, -0.2484123408794403, -0.0446101538836956, -0.1672396957874298, -0.1826135367155075, 0.000828962423838675, -0.1998102366924286, -0.14607039093971252, 0.007789934054017067, 0.21932321786880493, -0.11322608590126038, 0.39855578541755676, 0.3112260103225708, 0.35543590784072876, -0.09879574924707413, -0.030170738697052002, 0.023668771609663963, -0.04190199822187424, 0.18018142879009247, 0.2920912504196167, 0.12439269572496414, -0.11613620817661285, 0.15919749438762665, 0.3218977153301239, 0.12727157771587372, -0.05823015794157982, -0.22270414233207703, 0.523176372051239, -0.026731332764029503, 0.2521686255931854, -0.3190706670284271, -0.030545540153980255, 0.13966575264930725, -0.23057572543621063, 0.43733423948287964, 0.046445757150650024, -0.08229812979698181, -0.16382408142089844, 0.18318207561969757, -0.021912897005677223, -0.11519574373960495, 0.27047112584114075, 0.36734485626220703, 0.06646360456943512, -0.2681242823600769, 0.04523364454507828, 0.10258789360523224, 0.01477989461272955, -0.16173911094665527, 0.1860613226890564, -0.02663568966090679, -0.41093477606773376, -0.08803794533014297, -0.047153208404779434, 0.06781433522701263, 0.014365894719958305, 0.46269330382347107, -0.31643205881118774, -0.053489457815885544, -0.47835806012153625, 0.08796033263206482, 0.4206851124763489, -0.2943529188632965, -0.13887019455432892, 0.03647533059120178, -0.14579887688159943, -0.1364651620388031, 0.5877593159675598, 0.19686196744441986, 0.12760716676712036, 0.04233010485768318, 0.6656556129455566, 0.5002456307411194, 0.0634821206331253, -0.10202016681432724, -0.023848313838243484, -0.3508010506629944, 0.1254628598690033, 0.014239263720810413, -0.11836536973714828, 0.2830218970775604, 0.19388239085674286, -0.17803038656711578, 0.37452659010887146, -0.3043750822544098, 0.2083515077829361, -0.0026663935277611017, 0.1982625126838684, -0.0720185786485672, -0.1973794400691986, 0.02912682667374611, -0.2466580718755722, -0.12452156096696854, 0.09310149401426315, 0.12440183013677597, -0.1498429775238037, -0.1764173060655594, 0.2604210078716278, -0.1718248575925827, 0.2569531500339508, 0.15919320285320282, 0.2697972357273102, 0.4448430836200714, -0.009810658171772957, -0.2045384645462036, 0.06834276765584946, 0.21325506269931793, 0.028208870440721512, -0.22340521216392517, 0.07641585171222687, 0.27412426471710205, 0.004876584745943546, -0.07770740985870361, 0.007080381736159325, 0.16466662287712097, -0.07440213114023209, 0.25873926281929016, 0.18745553493499756, 0.32538092136383057, -0.39397087693214417, 0.15191684663295746, 0.09435179084539413, 0.06825951486825943, 0.06370262056589127, 0.12212108075618744, 0.1232990026473999, -0.3924557566642761, 0.10386426746845245, 0.03350501507520676, -0.2659553587436676, 0.3924754559993744, 0.19193947315216064, 0.06329619884490967, 0.24209678173065186, -0.25707077980041504, 0.23979082703590393, -0.007291853427886963, -0.15518587827682495, -0.3843139111995697, 0.17372338473796844, 0.23549802601337433, 0.03828488662838936, 0.22046704590320587, -0.40009358525276184, -0.06969698518514633, 0.18681353330612183, 0.1280980408191681, 0.199305459856987, -0.07929437607526779, -0.09926901012659073, 0.05465589836239815, 0.09179475158452988, 0.22224868834018707, 0.498526394367218, 0.567332923412323, 0.11546879261732101, 0.045419611036777496, -0.15249529480934143, -0.17243802547454834, 0.07943971455097198, -0.06941211223602295, 0.021208355203270912, 0.5623305439949036, 0.4756755232810974, -0.01546908263117075, -0.2154749035835266, -0.07471894472837448, 0.10941342264413834, -0.49869564175605774, -0.09761741012334824, -0.3390952944755554, -0.3074958324432373, -0.26773205399513245, -0.3637264668941498, -0.04455363377928734, -0.1917557418346405, -0.12402267754077911, 0.02562059462070465, 0.38935649394989014, -0.18840552866458893, 0.06440617889165878, 0.14886696636676788, 0.4713740646839142, -0.133672297000885, -0.3598492443561554, 0.08946626633405685, 0.06945978105068207, 0.34879937767982483, 0.16057303547859192, 0.169760599732399, -0.19412362575531006, 0.3492642641067505, 0.4115809202194214, -0.05276227369904518, -0.39861711859703064, 0.005497298669070005, 0.22875209152698517, -0.05325843021273613, -0.11814950406551361, -0.020576292648911476, -0.06188860908150673, 0.2834547460079193, -0.5657676458358765, 0.17177541553974152, 0.2988845407962799, -0.1882796436548233, -0.03382277861237526, 0.19934707880020142, -0.08834239095449448, -0.5037606954574585, -0.047341637313365936, -0.27672961354255676, -0.508195698261261, 0.28023743629455566, 0.06772925704717636, 0.0806591585278511, 0.09962928295135498, 0.061434824019670486, -0.37792471051216125, 0.12087009102106094, 0.3042456805706024, -0.37408000230789185, 0.00959085114300251, 0.34849628806114197, -0.10585915297269821, 0.02143584005534649, -0.21068334579467773, 0.019469786435365677, 0.1587696522474289, 0.5767650008201599, -0.0822674110531807, -0.041588108986616135, 0.01694282703101635, 0.15545779466629028, -0.27368348836898804, 0.07609187066555023, 0.32853224873542786, 0.21154510974884033, -0.22333914041519165, -0.07291001826524734, -0.1371639370918274, 0.2744787931442261, 0.11770543456077576, -0.03432038426399231, -0.003210407914593816, -0.04555356502532959, 0.021181683987379074, -0.12815336883068085, 0.17250549793243408, 0.08082135021686554, 0.23404641449451447, 0.11350759863853455, 0.4899753928184509, -0.12244467437267303, 0.09252505749464035, -0.1923644095659256, 0.012412776239216328, -0.25165048241615295, 0.1087893694639206, -0.21862226724624634, -0.0006327495211735368, -0.07240293174982071, 0.5272684097290039, -0.39049816131591797, -0.20235691964626312, 0.08369734138250351, -0.08350328356027603, 0.16575315594673157, 0.01441863365471363, -0.18725726008415222, -0.1344447284936905, 0.28349778056144714, -0.026051770895719528, -0.05315056070685387, 0.052104201167821884, -0.13710938394069672, -0.3931456208229065, -0.18100129067897797, -0.4546671509742737, 0.09883662313222885, 0.19751472771167755, 0.4909687042236328, -0.09051956236362457, -0.4192647635936737, -0.19615605473518372, 0.01832583174109459, 0.5042535662651062, -0.14710001647472382, -0.20204678177833557, 0.08160607516765594, -0.07373829185962677, 0.016521288082003593, 0.1280091255903244, -0.015264407731592655, -0.30411291122436523, -0.0015483697643503547, 0.3442458212375641, -0.23892231285572052, 0.1563146710395813, -0.061263639479875565, 0.10041021555662155, 0.04812443628907204, -0.30626145005226135, 0.09712301939725876, -0.061220042407512665, -0.4986330270767212, -0.5169865489006042, 0.267164021730423, 0.28490209579467773, 0.030603496357798576, 0.040008801966905594, -0.4017631411552429, -0.14279969036579132, 0.25271353125572205, -0.2134539633989334, 0.3994981050491333, 0.02521250583231449, 0.07751840353012085, -0.07100652903318405, 0.24014131724834442, 0.556012749671936, 0.2309148907661438, -0.08813949674367905, -0.00012876777327619493, 0.179740309715271, -0.19054560363292694, 0.33026009798049927, 0.2530350983142853, 0.1581956297159195, 0.14440949261188507, -0.09821771830320358, -0.23673415184020996, -0.4872451424598694, 0.016843678429722786, -0.08496330678462982, -0.11229051649570465, -0.37865304946899414, -0.1369873434305191, 0.2436680942773819, 0.3787764012813568, -0.1550263911485672, 0.35628190636634827, -0.055833619087934494, -0.6848111748695374, 0.06588996946811676, -0.014532181434333324, 0.8856245875358582, 0.10600269585847855, 0.4169078767299652, -0.16142891347408295, -0.2286381721496582, 0.1063414067029953, -0.006626058369874954, 0.27385541796684265, 0.017236609011888504, -0.12609881162643433, -0.05863103270530701, -0.19023607671260834, -0.10246506333351135, 0.00660577742382884, -0.5048741698265076, -0.2316272109746933, -0.12919776141643524, 0.056709446012973785, -0.1185227558016777, -0.006805787794291973, -0.22066117823123932, -0.21849583089351654, -0.1885756254196167, 0.15215854346752167, 0.3791099488735199, -0.3758351802825928, -0.1968037337064743, -0.09134705364704132, -0.1924179643392563, 0.11024262011051178, -0.10691674798727036, -0.012792355380952358, -0.1476130485534668, 0.3010450303554535, -0.4366733431816101, 0.012375134974718094, -0.22698241472244263, -0.016134316101670265, 0.2164403796195984, 0.22818410396575928, 0.012712416239082813, -0.11096685379743576, -0.07609906792640686, 0.0016371851088479161, -0.3153512477874756, -0.22486361861228943, 0.09518515318632126, 0.14974874258041382, 0.20302735269069672, 0.15300218760967255, 0.12343020737171173, -0.3022252023220062, -0.10302899032831192, -0.03887217491865158, -0.25802016258239746, -0.2791987955570221, -0.20653079450130463, 0.27978527545928955, 0.12910771369934082, -0.08249931037425995, 0.14448519051074982, 0.15386979281902313, -0.12365400791168213, -0.18088605999946594, -0.11522681266069412, -0.2829848527908325, -0.3134652376174927, 0.456427663564682, 0.24024920165538788, 0.037667278200387955, 0.07181388139724731, -0.27466467022895813, 0.05976790189743042, -0.15853917598724365, -0.06361083686351776, 0.08019975572824478, 0.060187678784132004, 0.1970631182193756, -0.06118624284863472, -0.3273302912712097, -0.14440736174583435, 0.33179301023483276, 0.3160848021507263, 0.3557943105697632, -0.10855429619550705, -0.09345266222953796, -0.3435894548892975, 0.34217411279678345, -0.1330603063106537, 0.4626011550426483, 0.1692882627248764, 0.18207646906375885, -0.3192102611064911, 0.08279374986886978, -0.4032820761203766, -0.30142053961753845, -0.07395736873149872, 0.015165917575359344, 0.06081852689385414, -0.006349064875394106, -0.033691488206386566, -0.012915891595184803, 0.2429860681295395, 0.2328917384147644, 0.007369690109044313, -0.27423837780952454, 0.28276327252388, 0.11086470633745193, 0.2467789202928543, 0.11879289150238037, -0.24459390342235565, -0.36600354313850403, 0.038354501128196716, -0.23935958743095398, 0.052118267863988876, 0.17583014070987701, -0.15885083377361298, 0.037436243146657944, 0.19011838734149933, 0.034526560455560684, -0.040956296026706696, 0.13413237035274506, 0.2321026772260666, -0.037760179489851, -0.139077290892601, 0.22629784047603607, -0.3991203010082245, 0.011202368885278702, -0.0859929695725441, 0.3000495135784149, 0.49120813608169556, 0.21053948998451233, -0.236502006649971, 0.2153579443693161, -0.41809961199760437, 0.10633140057325363, 0.4254325032234192, 0.2890613377094269, -0.18062976002693176, 0.004011536482721567, -0.0930340513586998, 0.28767165541648865, -0.12339305132627487, -0.22765690088272095, -0.25260502099990845, -0.3077823221683502, 0.20045308768749237, 0.23619739711284637, 0.19860129058361053, -0.036573827266693115, -0.16631706058979034, 0.04263138398528099, 0.1734631359577179, -0.24471944570541382, 0.1246672198176384, 0.3297319710254669, 0.138691246509552, 0.10823433846235275, 0.03396964818239212, 0.43431156873703003, 0.25469908118247986, 0.12634457647800446, 0.12977024912834167, 0.32465606927871704, 0.23759977519512177, -0.31473758816719055, 0.02991671673953533, 0.07111132889986038, 0.36252468824386597, 0.24477806687355042, 0.16141706705093384, 0.22064490616321564, 0.08149141073226929, 0.007166631519794464, -0.29744189977645874, -0.1777827888727188, 0.17637662589550018, -0.0882573276758194, -0.19359880685806274, -0.013261573389172554, 0.09846653044223785, -0.22379538416862488, -0.20757076144218445, -0.183442622423172, 0.1108412891626358, -0.20396527647972107, 0.3667317032814026, -0.2590356171131134, 0.2853080928325653, -0.08034378290176392, 0.35646235942840576, 0.41293495893478394, -0.1611071676015854, -0.4605727195739746, -0.1403287798166275, 0.2102489322423935, -0.1487312912940979, 0.5030929446220398, 0.2600994408130646, 0.36159756779670715, 0.059858519583940506, 0.3014710545539856, -0.17175522446632385, -0.2518197000026703, 0.029994230717420578, -0.2712489068508148, -0.1221761628985405, 0.18175069987773895, -0.157044917345047, 0.44693493843078613, 0.32382145524024963, -0.15397639572620392, 0.11897943168878555, -0.048083946108818054, -0.189056396484375, -0.4255969524383545, -0.029224464669823647, 0.17511743307113647, -0.2633104920387268, 0.4151555597782135, -0.23297913372516632, -0.14300374686717987, -0.27825045585632324, 0.15801963210105896, -0.23860275745391846, 0.19372953474521637, 0.29188647866249084, 0.1439819484949112, 0.3060140907764435, 0.18791425228118896, 0.23003585636615753, -0.03460119664669037, -0.05989234149456024, -0.3388427197933197, -0.2781308889389038, -0.10706913471221924, 0.30761927366256714, -0.2399480789899826, -0.2625993490219116, 0.33973532915115356, 0.3301584720611572, -0.06457081437110901, -0.10511375218629837, 0.08387354761362076, 0.11188563704490662, -0.01322829257696867, -0.31060704588890076, -0.022912032902240753, 0.4995976686477661, -0.2116382122039795, 0.12874732911586761, -0.1839650273323059, 0.0887366458773613, 0.1773126721382141, 0.22015978395938873, 0.07888644188642502, 0.12843790650367737, -0.1062663197517395, 0.1986190676689148, 0.43120911717414856, 0.08249497413635254, 0.44209524989128113, -0.41074857115745544, -0.03944423422217369, 0.13044477999210358, -0.10386424511671066, -0.2740384042263031, -0.044029600918293, -0.05163247510790825, 0.04959915205836296, -0.6591311097145081, 0.08942976593971252, 0.19462436437606812, 0.11495593935251236, -0.006980955600738525, -0.10774590075016022, -0.102303646504879, 0.11387446522712708, -0.009405065327882767, -0.025456296280026436, -0.03844967857003212, 0.14161184430122375, 0.2160172015428543, 0.2251182645559311, 0.11102215945720673, -0.34318435192108154, 0.12927128374576569, 0.41468867659568787, -0.19703085720539093, -0.21672466397285461, -0.12146679311990738, 0.16824214160442352, 0.38186171650886536, -0.65804523229599, -0.17705665528774261, 0.29956167936325073, -0.1538361757993698, 0.060758937150239944, 0.48091208934783936, -0.10555201023817062, -0.19770711660385132, -0.177759051322937, 0.3734271824359894, 0.15355218946933746, -0.4598149061203003, -0.27161112427711487, -0.3258934020996094 ]
https://github.com/huggingface/datasets/issues/1876
load_dataset("multi_woz_v22") NonMatchingChecksumError
Thanks for reporting ! This is due to the changes made in the data files in the multiwoz repo: https://github.com/budzianowski/multiwoz/pull/59 I'm opening a PR to update the checksums of the data files.
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError. To reproduce: `dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')` This will give the following error: ``` raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json'] ```
32
load_dataset("multi_woz_v22") NonMatchingChecksumError
[ -0.4086197018623352, 0.11240868270397186, -0.08456836640834808, 0.1535598635673523, 0.14376385509967804, 0.020990081131458282, 0.5270837545394897, 0.341623991727829, 0.6164106726646423, 0.35557225346565247, 0.024562425911426544, 0.28695550560951233, -0.046921033412218094, 0.09141074120998383, -0.1150575578212738, 0.4809187650680542, 0.11103241890668869, 0.0947749987244606, -0.16622304916381836, -0.0863053947687149, -0.21384082734584808, 0.27756568789482117, -0.1471388041973114, -0.020832963287830353, -0.4259025454521179, -0.014070440083742142, 0.21932926774024963, 0.33202987909317017, -0.037178847938776016, 0.05766048654913902, 0.28013500571250916, 0.2738776206970215, 0.20830072462558746, 0.2419140636920929, -0.00011475773499114439, 0.11254384368658066, 0.16017024219036102, -0.10939344018697739, -0.16999849677085876, 0.06591467559337616, -0.6580168008804321, -0.48663875460624695, -0.003422495676204562, -0.15052089095115662, 0.0890057161450386, 0.509695291519165, 0.02302931621670723, -0.07924310117959976, 0.1634194701910019, 0.12590838968753815, 0.21690593659877777, 0.20556685328483582, 0.2884882092475891, -0.13128112256526947, 0.17475749552249908, -0.13293157517910004, -0.10649532079696655, -0.025795308873057365, 0.37359970808029175, -0.2654487192630768, -0.4516149163246155, 0.40638110041618347, -0.07000309973955154, 0.46966099739074707, -0.28567883372306824, -0.20257453620433807, 0.32396650314331055, 0.05511684715747833, 0.4136142432689667, 0.3620533347129822, 0.26351603865623474, -0.09790380299091339, 0.04111575335264206, -0.06736584007740021, -0.17213642597198486, 0.18161799013614655, 0.2161218225955963, 0.12907911837100983, -0.2742712199687958, -0.09378381073474884, -0.2048652619123459, 0.23096197843551636, -0.06696460396051407, 0.18168850243091583, -0.09396090358495712, 0.3277827203273773, 0.02446245588362217, 0.0717725083231926, 0.15812039375305176, -0.10316145420074463, 0.46029025316238403, -0.11750559508800507, 0.033663444221019745, 0.007638681214302778, -0.5078568458557129, 0.021200405433773994, 0.13389019668102264, 0.4374833405017853, 0.4070856273174286, 0.1645401269197464, 0.45440801978111267, 0.5544408559799194, -0.17439688742160797, 0.08800791949033737, 0.44077715277671814, -0.07532167434692383, -0.0718681588768959, -0.26000311970710754, 0.1159423366189003, 0.24311013519763947, -0.22367346286773682, 0.09021876007318497, -0.06312848627567291, -0.4378140866756439, 0.5332842469215393, 0.14031265676021576, 0.2551608681678772, -0.2734590172767639, -0.18850624561309814, -0.004327032249420881, 0.1067524254322052, -0.1835447996854782, 0.1435975581407547, 0.4358450472354889, -0.07665900141000748, 0.4650896191596985, -0.24666772782802582, 0.1922347992658615, -0.17351725697517395, -0.33610817790031433, -0.3525269031524658, -0.2198064923286438, 0.09222167730331421, 0.041770145297050476, 0.35530632734298706, -0.026854606345295906, 0.21299798786640167, 0.07699616253376007, 0.3086111843585968, -0.18701094388961792, 0.2840549051761627, -0.022819265723228455, 0.02797609008848667, 0.28246626257896423, 0.1864151507616043, 0.07274840027093887, 0.32573994994163513, -0.005014580674469471, 0.06830839067697525, 0.18375802040100098, -0.3320782780647278, -0.5607353448867798, -0.003320296062156558, 0.19472575187683105, -0.05306188762187958, -0.02458322048187256, 0.2101205736398697, -0.1998833566904068, 0.3031251132488251, -0.3747502565383911, -0.10638544708490372, -0.31135764718055725, 0.08217305690050125, -0.13811565935611725, -0.09701193124055862, -0.022282583639025688, -0.06995125859975815, 0.16053688526153564, -0.04776616021990776, -0.23901130259037018, 0.28930824995040894, -0.07731494307518005, -0.194925919175148, -0.03727655112743378, -0.11631825566291809, 0.07577894628047943, 0.43741145730018616, 0.0003799154073931277, -0.22042711079120636, 0.17973235249519348, 0.07300099730491638, 0.27755874395370483, 0.18467503786087036, 0.1085495576262474, -0.40475690364837646, -0.024642838165163994, 0.26354390382766724, -0.10052341222763062, -0.07465741038322449, 0.25682568550109863, -0.019763195887207985, -0.09947049617767334, 0.22479721903800964, 0.33448585867881775, 0.1399361491203308, -0.12964466214179993, 0.20333231985569, -0.09131049364805222, 0.36534374952316284, -0.10352614521980286, -0.07165274024009705, 0.1271720975637436, -0.04245196282863617, -0.11786055564880371, 0.04612114652991295, -0.06916521489620209, -0.5834211111068726, 0.0943002849817276, 0.023857982829213142, -0.113410085439682, 0.2911984622478485, 0.05598624795675278, -0.023572901263833046, 0.04317092522978783, -0.3426651954650879, 0.14302098751068115, 0.17371892929077148, 0.33572760224342346, -0.09838341176509857, -0.3783033490180969, -0.1420946717262268, 0.2851314842700958, -0.1817280799150467, -0.1505657434463501, -0.34871944785118103, -0.08103209733963013, -0.11595728993415833, 0.04094067960977554, -0.09544393420219421, 0.13747885823249817, 0.18864257633686066, -0.05206424742937088, -0.1656460464000702, 0.24808768928050995, 0.20306377112865448, -0.08618378639221191, -0.1577427238225937, 0.2573593556880951, -0.25794005393981934, 0.2073238641023636, 0.1277281641960144, 0.34151750802993774, 0.13837498426437378, -0.28346818685531616, -0.21948784589767456, 0.2787383794784546, -0.25793710350990295, 0.23087872564792633, -0.02095991186797619, 0.038712140172719955, 0.46926045417785645, -0.05010326951742172, -0.03465591371059418, 0.030056824907660484, 0.3033481538295746, -0.4183395802974701, -0.13497088849544525, 0.10764399915933609, -0.4082769453525543, 0.15868280827999115, 0.35724490880966187, -0.012001355178654194, 0.28425437211990356, -0.020430145785212517, 0.16251783072948456, -0.2650967240333557, 0.07608160376548767, 0.513485312461853, 0.5020005702972412, 0.20129482448101044, 0.10659144073724747, -0.13323885202407837, -0.21051006019115448, -0.18151473999023438, 0.04877056926488876, -0.05184810608625412, 0.3681420087814331, 0.6248579025268555, 0.06619083881378174, -0.4153086543083191, -0.36262160539627075, 0.0888727605342865, 0.08176828175783157, 0.05820390209555626, -0.2947785556316376, -0.22934813797473907, -0.33080098032951355, 0.059674475342035294, -0.30821043252944946, -0.1601478010416031, -0.34292370080947876, -0.3594139516353607, 0.13854306936264038, 0.32625532150268555, 0.011438697576522827, 0.2593832015991211, -0.3250105679035187, 0.1519884169101715, -0.0678948312997818, 0.27860715985298157, 0.01377101894468069, -0.1499759405851364, -0.18119864165782928, 0.08716423809528351, 0.24674421548843384, -0.0007880906341597438, 0.12463806569576263, -0.1286471039056778, -0.017016692087054253, -0.37234780192375183, 0.0126146599650383, 0.03775385767221451, -0.0006427628686651587, -0.3092099726200104, 0.4834766685962677, 0.2562940716743469, 0.07206348329782486, -0.22080938518047333, 0.2490300089120865, -0.23125112056732178, -0.17671702802181244, 0.21417853236198425, -0.13327299058437347, 0.017968634143471718, 0.10151977837085724, -0.30543074011802673, -0.22448411583900452, -0.2346321940422058, -0.08765359967947006, 0.20464575290679932, 0.1645963042974472, 0.2596299350261688, 0.10275830328464508, -0.18753407895565033, 0.257752925157547, 0.20485538244247437, -0.4515435993671417, -0.5079891085624695, 0.24545928835868835, 0.0022472047712653875, -0.33262765407562256, 0.04842666536569595, -0.06923721730709076, 0.19943848252296448, 0.22041141986846924, -0.3312106132507324, -0.15629462897777557, -0.055828940123319626, -0.29472848773002625, -0.032716941088438034, 0.1308159977197647, 0.4679710268974304, 0.23747631907463074, -0.1454646736383438, -0.24151325225830078, -0.2906630337238312, 0.2950633764266968, -0.150376558303833, 0.2512265741825104, -0.21576373279094696, 0.16881577670574188, -0.14068147540092468, 0.4718443751335144, -0.10842884331941605, 0.2574775516986847, 0.209229975938797, -0.04050615802407265, 0.1893514096736908, -0.15777985751628876, -0.2680257260799408, 0.12908656895160675, -0.22318901121616364, 0.046241700649261475, 0.2651747763156891, -0.02125823125243187, -0.31658485531806946, 0.038132742047309875, 0.33154168725013733, -0.20220254361629486, -0.1452808529138565, 0.09311800450086594, 0.2588844895362854, 0.017073089256882668, 0.29672685265541077, 0.03993874043226242, -0.49428030848503113, -0.17389118671417236, -0.1186337098479271, 0.007625907193869352, -0.4136715531349182, -0.22913536429405212, -0.3678542375564575, 0.1583329737186432, -0.03313012048602104, 0.3840826749801636, 0.10661569982767105, 0.18386942148208618, -0.015506962314248085, -0.3057239055633545, -0.0017724750796332955, -0.13885995745658875, 0.5164518356323242, -0.35016536712646484, 0.2779739797115326, 0.1328616440296173, -0.24250543117523193, -0.12650680541992188, -0.25348880887031555, -0.1917506456375122, 0.244805246591568, -0.08287712931632996, 0.12866024672985077, -0.10160663723945618, -0.1659335047006607, 0.2043154388666153, 0.3141072988510132, -0.15896223485469818, -0.26715749502182007, -0.23212607204914093, -0.18741300702095032, -0.4557386636734009, -0.14582903683185577, -0.20413465797901154, 0.26299795508384705, -0.13995811343193054, -0.07397738099098206, -0.013716773129999638, -0.046409543603658676, 0.15490968525409698, 0.025929920375347137, 0.07560199499130249, 0.41909706592559814, 0.11479470133781433, -0.08326908200979233, 0.37016674876213074, 0.14512158930301666, 0.4654666781425476, -0.16683582961559296, -0.17790527641773224, 0.15710273385047913, -0.37293535470962524, 0.09287717193365097, 0.2143230438232422, 0.039949093014001846, -0.17295345664024353, 0.25507256388664246, -0.06848037242889404, -0.07043804228305817, 0.09787970781326294, 0.10387920588254929, 0.14606605470180511, -0.30321022868156433, -0.18060153722763062, -0.07606397569179535, -0.010336441919207573, -0.18892057240009308, 0.18487702310085297, -0.46902215480804443, -0.030000241473317146, -0.10670437663793564, 0.1974608302116394, 0.656968355178833, -0.14331038296222687, 0.16773191094398499, -0.028790617361664772, 0.11231204122304916, -0.12952004373073578, -0.5931202173233032, 0.04775433987379074, -0.3677019774913788, -0.3276360034942627, -0.03722069412469864, -0.10637069493532181, 0.027452224865555763, 0.42589715123176575, 0.03842081129550934, 0.30904141068458557, 0.3143288195133209, 0.1377096027135849, -0.08023364096879959, -0.000825466588139534, -0.132539302110672, -0.19407397508621216, -0.017116058617830276, 0.1777305155992508, -0.18225237727165222, 0.01713497005403042, -0.23212774097919464, 0.1258820742368698, 0.43547147512435913, -0.3267555832862854, 0.03402813896536827, 0.09315715730190277, -0.24985620379447937, 0.34661588072776794, 0.2615659236907959, -0.16764435172080994, -0.2840261459350586, 0.28323668241500854, 0.06035191938281059, -0.17224784195423126, -0.056790683418512344, 0.02631973847746849, 0.30414605140686035, 0.08248548954725266, -0.3101961612701416, 0.008665659464895725, 0.22620368003845215, -0.09452858567237854, -0.17061281204223633, -0.18744516372680664, -0.092019222676754, -0.45237648487091064, 0.09469524770975113, 0.21084827184677124, 0.22586776316165924, -0.330556184053421, -0.24310533702373505, 0.07019266486167908, 0.3336713910102844, -0.35819709300994873, 0.1552465707063675, 0.1436697095632553, -0.2553929090499878, 0.3214396834373474, 0.24376280605793, -0.1700521558523178, -0.09880878776311874, 0.45575952529907227, -0.05719417706131935, 0.0017840868094936013, 0.5275914669036865, 0.2709243893623352, -0.11053361743688583, -0.42029663920402527, 0.19357046484947205, 0.27895480394363403, -0.24680675566196442, -0.006951242219656706, 0.1864173710346222, -0.2860729992389679, 0.10246563702821732, 0.6131368279457092, 0.051989972591400146, 0.38285237550735474, -0.0203209538012743, -0.4225602149963379, -0.18522094190120697, -0.14439088106155396, 0.29895761609077454, 0.2846362292766571, -0.11590328812599182, -0.31084656715393066, -0.03444308042526245, 0.20986242592334747, -0.35568341612815857, 0.018083782866597176, -0.3071921169757843, -0.08387340605258942, -0.2783201336860657, 0.008995923213660717, -0.06529141217470169, 0.1421636939048767, 0.1928878128528595, -0.13573212921619415, -0.050337664783000946, -0.3115243911743164, -0.06412579864263535, 0.11048345267772675, -0.0367572046816349, 0.014537814073264599, 0.10178321599960327, -0.2481091022491455, -0.23375000059604645, -0.16319790482521057, -0.00779962120577693, 0.09149055182933807, -0.11367058753967285, 0.03908239305019379, 0.20072448253631592, -0.07673243433237076, -0.13067525625228882, -0.0853666216135025, -0.1363133192062378, -0.06901918351650238, -0.17262117564678192, -0.15006889402866364, 0.07640941441059113, -0.11492222547531128, 0.436166375875473, 0.1059841737151146, 0.20605896413326263, -0.03436557576060295, 0.13381971418857574, -0.358680784702301, -0.1573871225118637, 0.3464238941669464, 0.32919761538505554, 0.041846662759780884, -0.22607356309890747, 0.16267630457878113, 0.033716991543769836, 0.23982787132263184, -0.42094579339027405, -0.16003160178661346, 0.3882802128791809, -0.19918131828308105, 0.14504335820674896, 0.13450263440608978, -0.10333112627267838, -0.4062769412994385, 0.6256073713302612, 0.06228140741586685, -0.012762350030243397, -0.45153987407684326, -0.1371685117483139, 0.3199580907821655, -0.34294843673706055, 0.12145239859819412, 0.07283605635166168, 0.09348318725824356, 0.07945112138986588, 0.0766422376036644, -0.031402040272951126, 0.3031644821166992, 0.14591999351978302, 0.13062462210655212, -0.1245952844619751, -0.6858448386192322, 0.42917799949645996, 0.2896828055381775, -0.1536206603050232, -0.250291645526886, -0.019693898037075996, 0.16102968156337738, -0.2566179633140564, 0.21815599501132965, -0.6635322570800781, -0.029369773343205452, -0.0947217345237732, -0.08706063032150269, 0.007018820382654667, -0.17446553707122803, 0.035284701734781265, 0.09699281305074692, -0.09066902101039886, 0.24638697504997253, 0.3947485089302063, -0.17613768577575684, 0.1493128091096878, -0.34024572372436523, -0.10665375739336014, -0.08984867483377457, -0.22486376762390137, -0.10163939744234085, 0.27036982774734497, 0.2628423869609833, 0.010699670761823654, 0.3348047137260437, 0.2785951793193817, 0.37095147371292114, 0.28205686807632446, 0.07529576122760773, 0.12693527340888977, -0.1639353632926941, -0.029576098546385765, -0.40902280807495117, 0.4860486686229706, 0.09369684755802155, 0.10508548468351364, 0.3835364282131195, 0.11600348353385925, -0.20421914756298065, 0.0869719460606575, 0.2105407416820526, -0.28827160596847534, 0.07358846068382263, 0.28734058141708374, 0.0934622511267662, 0.0033129313960671425, -0.1036955863237381, 0.23908041417598724, -0.3471190631389618, -0.2902103662490845, 0.14226511120796204, 0.0013993215980008245, 0.30473649501800537, -0.0021009959746152163, 0.10918737947940826, -0.06398581713438034, 0.5569795966148376, -0.23721367120742798, -0.07700834423303604, -0.24856753647327423, -0.19859297573566437, -0.7248430848121643, 0.32664167881011963, -0.09045927971601486, 0.14261043071746826, 0.010575016029179096, 0.1310393363237381, 0.3815722167491913, 0.10664591938257217, 0.17407216131687164, -0.20999035239219666, 0.26152119040489197, 0.09008694440126419, -0.27234068512916565, -0.06235019862651825, 0.5338879227638245, -0.02534465864300728, 0.07991506159305573, -0.2284441888332367, 0.2919912040233612, 0.24489323794841766, 0.10456818342208862, -0.04997694864869118, 0.07243244349956512, -0.25518104434013367, 0.014302472583949566, -0.1707969456911087, 0.01836821623146534, 0.6155590415000916, -0.23503832519054413, 0.232851043343544, 0.006355292163789272, -0.10871584713459015, -0.08956509828567505, 0.21537193655967712, 0.05504423752427101, 0.17534297704696655, -0.11480383574962616, 0.06595919281244278, -0.07348223030567169, 0.008162234909832478, -0.013978160917758942, 0.1941046267747879, -0.17060433328151703, 0.24935516715049744, -0.03285817801952362, -0.011765925213694572, 0.12218116968870163, -0.1303444355726242, 0.08991100639104843, 0.11236071586608887, 0.017226627096533775, -0.16448432207107544, 0.3956601619720459, -0.12060464173555374, -0.4351117014884949, -0.573063850402832, 0.17531949281692505, -0.414081871509552, -0.15834011137485504, -0.4057178199291229, 0.18548402190208435, 0.17447605729103088, 0.06993651390075684, -0.2978672683238983, 0.20836466550827026, -0.4094451069831848, 0.011799292638897896, -0.0699138194322586, 0.018103573471307755, 0.1454305201768875, -0.19847612082958221, -0.23550106585025787, -0.1650797724723816 ]
https://github.com/huggingface/datasets/issues/1876
load_dataset("multi_woz_v22") NonMatchingChecksumError
I just merged the fix. It will be available in the new release of `datasets` later today. You'll be able to get the new version with ``` pip install --upgrade datasets ```
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError. To reproduce: `dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')` This will give the following error: ``` raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json'] ```
32
load_dataset("multi_woz_v22") NonMatchingChecksumError
[ -0.4086197018623352, 0.11240868270397186, -0.08456836640834808, 0.1535598635673523, 0.14376385509967804, 0.020990081131458282, 0.5270837545394897, 0.341623991727829, 0.6164106726646423, 0.35557225346565247, 0.024562425911426544, 0.28695550560951233, -0.046921033412218094, 0.09141074120998383, -0.1150575578212738, 0.4809187650680542, 0.11103241890668869, 0.0947749987244606, -0.16622304916381836, -0.0863053947687149, -0.21384082734584808, 0.27756568789482117, -0.1471388041973114, -0.020832963287830353, -0.4259025454521179, -0.014070440083742142, 0.21932926774024963, 0.33202987909317017, -0.037178847938776016, 0.05766048654913902, 0.28013500571250916, 0.2738776206970215, 0.20830072462558746, 0.2419140636920929, -0.00011475773499114439, 0.11254384368658066, 0.16017024219036102, -0.10939344018697739, -0.16999849677085876, 0.06591467559337616, -0.6580168008804321, -0.48663875460624695, -0.003422495676204562, -0.15052089095115662, 0.0890057161450386, 0.509695291519165, 0.02302931621670723, -0.07924310117959976, 0.1634194701910019, 0.12590838968753815, 0.21690593659877777, 0.20556685328483582, 0.2884882092475891, -0.13128112256526947, 0.17475749552249908, -0.13293157517910004, -0.10649532079696655, -0.025795308873057365, 0.37359970808029175, -0.2654487192630768, -0.4516149163246155, 0.40638110041618347, -0.07000309973955154, 0.46966099739074707, -0.28567883372306824, -0.20257453620433807, 0.32396650314331055, 0.05511684715747833, 0.4136142432689667, 0.3620533347129822, 0.26351603865623474, -0.09790380299091339, 0.04111575335264206, -0.06736584007740021, -0.17213642597198486, 0.18161799013614655, 0.2161218225955963, 0.12907911837100983, -0.2742712199687958, -0.09378381073474884, -0.2048652619123459, 0.23096197843551636, -0.06696460396051407, 0.18168850243091583, -0.09396090358495712, 0.3277827203273773, 0.02446245588362217, 0.0717725083231926, 0.15812039375305176, -0.10316145420074463, 0.46029025316238403, -0.11750559508800507, 0.033663444221019745, 0.007638681214302778, -0.5078568458557129, 0.021200405433773994, 0.13389019668102264, 0.4374833405017853, 0.4070856273174286, 0.1645401269197464, 0.45440801978111267, 0.5544408559799194, -0.17439688742160797, 0.08800791949033737, 0.44077715277671814, -0.07532167434692383, -0.0718681588768959, -0.26000311970710754, 0.1159423366189003, 0.24311013519763947, -0.22367346286773682, 0.09021876007318497, -0.06312848627567291, -0.4378140866756439, 0.5332842469215393, 0.14031265676021576, 0.2551608681678772, -0.2734590172767639, -0.18850624561309814, -0.004327032249420881, 0.1067524254322052, -0.1835447996854782, 0.1435975581407547, 0.4358450472354889, -0.07665900141000748, 0.4650896191596985, -0.24666772782802582, 0.1922347992658615, -0.17351725697517395, -0.33610817790031433, -0.3525269031524658, -0.2198064923286438, 0.09222167730331421, 0.041770145297050476, 0.35530632734298706, -0.026854606345295906, 0.21299798786640167, 0.07699616253376007, 0.3086111843585968, -0.18701094388961792, 0.2840549051761627, -0.022819265723228455, 0.02797609008848667, 0.28246626257896423, 0.1864151507616043, 0.07274840027093887, 0.32573994994163513, -0.005014580674469471, 0.06830839067697525, 0.18375802040100098, -0.3320782780647278, -0.5607353448867798, -0.003320296062156558, 0.19472575187683105, -0.05306188762187958, -0.02458322048187256, 0.2101205736398697, -0.1998833566904068, 0.3031251132488251, -0.3747502565383911, -0.10638544708490372, -0.31135764718055725, 0.08217305690050125, -0.13811565935611725, -0.09701193124055862, -0.022282583639025688, -0.06995125859975815, 0.16053688526153564, -0.04776616021990776, -0.23901130259037018, 0.28930824995040894, -0.07731494307518005, -0.194925919175148, -0.03727655112743378, -0.11631825566291809, 0.07577894628047943, 0.43741145730018616, 0.0003799154073931277, -0.22042711079120636, 0.17973235249519348, 0.07300099730491638, 0.27755874395370483, 0.18467503786087036, 0.1085495576262474, -0.40475690364837646, -0.024642838165163994, 0.26354390382766724, -0.10052341222763062, -0.07465741038322449, 0.25682568550109863, -0.019763195887207985, -0.09947049617767334, 0.22479721903800964, 0.33448585867881775, 0.1399361491203308, -0.12964466214179993, 0.20333231985569, -0.09131049364805222, 0.36534374952316284, -0.10352614521980286, -0.07165274024009705, 0.1271720975637436, -0.04245196282863617, -0.11786055564880371, 0.04612114652991295, -0.06916521489620209, -0.5834211111068726, 0.0943002849817276, 0.023857982829213142, -0.113410085439682, 0.2911984622478485, 0.05598624795675278, -0.023572901263833046, 0.04317092522978783, -0.3426651954650879, 0.14302098751068115, 0.17371892929077148, 0.33572760224342346, -0.09838341176509857, -0.3783033490180969, -0.1420946717262268, 0.2851314842700958, -0.1817280799150467, -0.1505657434463501, -0.34871944785118103, -0.08103209733963013, -0.11595728993415833, 0.04094067960977554, -0.09544393420219421, 0.13747885823249817, 0.18864257633686066, -0.05206424742937088, -0.1656460464000702, 0.24808768928050995, 0.20306377112865448, -0.08618378639221191, -0.1577427238225937, 0.2573593556880951, -0.25794005393981934, 0.2073238641023636, 0.1277281641960144, 0.34151750802993774, 0.13837498426437378, -0.28346818685531616, -0.21948784589767456, 0.2787383794784546, -0.25793710350990295, 0.23087872564792633, -0.02095991186797619, 0.038712140172719955, 0.46926045417785645, -0.05010326951742172, -0.03465591371059418, 0.030056824907660484, 0.3033481538295746, -0.4183395802974701, -0.13497088849544525, 0.10764399915933609, -0.4082769453525543, 0.15868280827999115, 0.35724490880966187, -0.012001355178654194, 0.28425437211990356, -0.020430145785212517, 0.16251783072948456, -0.2650967240333557, 0.07608160376548767, 0.513485312461853, 0.5020005702972412, 0.20129482448101044, 0.10659144073724747, -0.13323885202407837, -0.21051006019115448, -0.18151473999023438, 0.04877056926488876, -0.05184810608625412, 0.3681420087814331, 0.6248579025268555, 0.06619083881378174, -0.4153086543083191, -0.36262160539627075, 0.0888727605342865, 0.08176828175783157, 0.05820390209555626, -0.2947785556316376, -0.22934813797473907, -0.33080098032951355, 0.059674475342035294, -0.30821043252944946, -0.1601478010416031, -0.34292370080947876, -0.3594139516353607, 0.13854306936264038, 0.32625532150268555, 0.011438697576522827, 0.2593832015991211, -0.3250105679035187, 0.1519884169101715, -0.0678948312997818, 0.27860715985298157, 0.01377101894468069, -0.1499759405851364, -0.18119864165782928, 0.08716423809528351, 0.24674421548843384, -0.0007880906341597438, 0.12463806569576263, -0.1286471039056778, -0.017016692087054253, -0.37234780192375183, 0.0126146599650383, 0.03775385767221451, -0.0006427628686651587, -0.3092099726200104, 0.4834766685962677, 0.2562940716743469, 0.07206348329782486, -0.22080938518047333, 0.2490300089120865, -0.23125112056732178, -0.17671702802181244, 0.21417853236198425, -0.13327299058437347, 0.017968634143471718, 0.10151977837085724, -0.30543074011802673, -0.22448411583900452, -0.2346321940422058, -0.08765359967947006, 0.20464575290679932, 0.1645963042974472, 0.2596299350261688, 0.10275830328464508, -0.18753407895565033, 0.257752925157547, 0.20485538244247437, -0.4515435993671417, -0.5079891085624695, 0.24545928835868835, 0.0022472047712653875, -0.33262765407562256, 0.04842666536569595, -0.06923721730709076, 0.19943848252296448, 0.22041141986846924, -0.3312106132507324, -0.15629462897777557, -0.055828940123319626, -0.29472848773002625, -0.032716941088438034, 0.1308159977197647, 0.4679710268974304, 0.23747631907463074, -0.1454646736383438, -0.24151325225830078, -0.2906630337238312, 0.2950633764266968, -0.150376558303833, 0.2512265741825104, -0.21576373279094696, 0.16881577670574188, -0.14068147540092468, 0.4718443751335144, -0.10842884331941605, 0.2574775516986847, 0.209229975938797, -0.04050615802407265, 0.1893514096736908, -0.15777985751628876, -0.2680257260799408, 0.12908656895160675, -0.22318901121616364, 0.046241700649261475, 0.2651747763156891, -0.02125823125243187, -0.31658485531806946, 0.038132742047309875, 0.33154168725013733, -0.20220254361629486, -0.1452808529138565, 0.09311800450086594, 0.2588844895362854, 0.017073089256882668, 0.29672685265541077, 0.03993874043226242, -0.49428030848503113, -0.17389118671417236, -0.1186337098479271, 0.007625907193869352, -0.4136715531349182, -0.22913536429405212, -0.3678542375564575, 0.1583329737186432, -0.03313012048602104, 0.3840826749801636, 0.10661569982767105, 0.18386942148208618, -0.015506962314248085, -0.3057239055633545, -0.0017724750796332955, -0.13885995745658875, 0.5164518356323242, -0.35016536712646484, 0.2779739797115326, 0.1328616440296173, -0.24250543117523193, -0.12650680541992188, -0.25348880887031555, -0.1917506456375122, 0.244805246591568, -0.08287712931632996, 0.12866024672985077, -0.10160663723945618, -0.1659335047006607, 0.2043154388666153, 0.3141072988510132, -0.15896223485469818, -0.26715749502182007, -0.23212607204914093, -0.18741300702095032, -0.4557386636734009, -0.14582903683185577, -0.20413465797901154, 0.26299795508384705, -0.13995811343193054, -0.07397738099098206, -0.013716773129999638, -0.046409543603658676, 0.15490968525409698, 0.025929920375347137, 0.07560199499130249, 0.41909706592559814, 0.11479470133781433, -0.08326908200979233, 0.37016674876213074, 0.14512158930301666, 0.4654666781425476, -0.16683582961559296, -0.17790527641773224, 0.15710273385047913, -0.37293535470962524, 0.09287717193365097, 0.2143230438232422, 0.039949093014001846, -0.17295345664024353, 0.25507256388664246, -0.06848037242889404, -0.07043804228305817, 0.09787970781326294, 0.10387920588254929, 0.14606605470180511, -0.30321022868156433, -0.18060153722763062, -0.07606397569179535, -0.010336441919207573, -0.18892057240009308, 0.18487702310085297, -0.46902215480804443, -0.030000241473317146, -0.10670437663793564, 0.1974608302116394, 0.656968355178833, -0.14331038296222687, 0.16773191094398499, -0.028790617361664772, 0.11231204122304916, -0.12952004373073578, -0.5931202173233032, 0.04775433987379074, -0.3677019774913788, -0.3276360034942627, -0.03722069412469864, -0.10637069493532181, 0.027452224865555763, 0.42589715123176575, 0.03842081129550934, 0.30904141068458557, 0.3143288195133209, 0.1377096027135849, -0.08023364096879959, -0.000825466588139534, -0.132539302110672, -0.19407397508621216, -0.017116058617830276, 0.1777305155992508, -0.18225237727165222, 0.01713497005403042, -0.23212774097919464, 0.1258820742368698, 0.43547147512435913, -0.3267555832862854, 0.03402813896536827, 0.09315715730190277, -0.24985620379447937, 0.34661588072776794, 0.2615659236907959, -0.16764435172080994, -0.2840261459350586, 0.28323668241500854, 0.06035191938281059, -0.17224784195423126, -0.056790683418512344, 0.02631973847746849, 0.30414605140686035, 0.08248548954725266, -0.3101961612701416, 0.008665659464895725, 0.22620368003845215, -0.09452858567237854, -0.17061281204223633, -0.18744516372680664, -0.092019222676754, -0.45237648487091064, 0.09469524770975113, 0.21084827184677124, 0.22586776316165924, -0.330556184053421, -0.24310533702373505, 0.07019266486167908, 0.3336713910102844, -0.35819709300994873, 0.1552465707063675, 0.1436697095632553, -0.2553929090499878, 0.3214396834373474, 0.24376280605793, -0.1700521558523178, -0.09880878776311874, 0.45575952529907227, -0.05719417706131935, 0.0017840868094936013, 0.5275914669036865, 0.2709243893623352, -0.11053361743688583, -0.42029663920402527, 0.19357046484947205, 0.27895480394363403, -0.24680675566196442, -0.006951242219656706, 0.1864173710346222, -0.2860729992389679, 0.10246563702821732, 0.6131368279457092, 0.051989972591400146, 0.38285237550735474, -0.0203209538012743, -0.4225602149963379, -0.18522094190120697, -0.14439088106155396, 0.29895761609077454, 0.2846362292766571, -0.11590328812599182, -0.31084656715393066, -0.03444308042526245, 0.20986242592334747, -0.35568341612815857, 0.018083782866597176, -0.3071921169757843, -0.08387340605258942, -0.2783201336860657, 0.008995923213660717, -0.06529141217470169, 0.1421636939048767, 0.1928878128528595, -0.13573212921619415, -0.050337664783000946, -0.3115243911743164, -0.06412579864263535, 0.11048345267772675, -0.0367572046816349, 0.014537814073264599, 0.10178321599960327, -0.2481091022491455, -0.23375000059604645, -0.16319790482521057, -0.00779962120577693, 0.09149055182933807, -0.11367058753967285, 0.03908239305019379, 0.20072448253631592, -0.07673243433237076, -0.13067525625228882, -0.0853666216135025, -0.1363133192062378, -0.06901918351650238, -0.17262117564678192, -0.15006889402866364, 0.07640941441059113, -0.11492222547531128, 0.436166375875473, 0.1059841737151146, 0.20605896413326263, -0.03436557576060295, 0.13381971418857574, -0.358680784702301, -0.1573871225118637, 0.3464238941669464, 0.32919761538505554, 0.041846662759780884, -0.22607356309890747, 0.16267630457878113, 0.033716991543769836, 0.23982787132263184, -0.42094579339027405, -0.16003160178661346, 0.3882802128791809, -0.19918131828308105, 0.14504335820674896, 0.13450263440608978, -0.10333112627267838, -0.4062769412994385, 0.6256073713302612, 0.06228140741586685, -0.012762350030243397, -0.45153987407684326, -0.1371685117483139, 0.3199580907821655, -0.34294843673706055, 0.12145239859819412, 0.07283605635166168, 0.09348318725824356, 0.07945112138986588, 0.0766422376036644, -0.031402040272951126, 0.3031644821166992, 0.14591999351978302, 0.13062462210655212, -0.1245952844619751, -0.6858448386192322, 0.42917799949645996, 0.2896828055381775, -0.1536206603050232, -0.250291645526886, -0.019693898037075996, 0.16102968156337738, -0.2566179633140564, 0.21815599501132965, -0.6635322570800781, -0.029369773343205452, -0.0947217345237732, -0.08706063032150269, 0.007018820382654667, -0.17446553707122803, 0.035284701734781265, 0.09699281305074692, -0.09066902101039886, 0.24638697504997253, 0.3947485089302063, -0.17613768577575684, 0.1493128091096878, -0.34024572372436523, -0.10665375739336014, -0.08984867483377457, -0.22486376762390137, -0.10163939744234085, 0.27036982774734497, 0.2628423869609833, 0.010699670761823654, 0.3348047137260437, 0.2785951793193817, 0.37095147371292114, 0.28205686807632446, 0.07529576122760773, 0.12693527340888977, -0.1639353632926941, -0.029576098546385765, -0.40902280807495117, 0.4860486686229706, 0.09369684755802155, 0.10508548468351364, 0.3835364282131195, 0.11600348353385925, -0.20421914756298065, 0.0869719460606575, 0.2105407416820526, -0.28827160596847534, 0.07358846068382263, 0.28734058141708374, 0.0934622511267662, 0.0033129313960671425, -0.1036955863237381, 0.23908041417598724, -0.3471190631389618, -0.2902103662490845, 0.14226511120796204, 0.0013993215980008245, 0.30473649501800537, -0.0021009959746152163, 0.10918737947940826, -0.06398581713438034, 0.5569795966148376, -0.23721367120742798, -0.07700834423303604, -0.24856753647327423, -0.19859297573566437, -0.7248430848121643, 0.32664167881011963, -0.09045927971601486, 0.14261043071746826, 0.010575016029179096, 0.1310393363237381, 0.3815722167491913, 0.10664591938257217, 0.17407216131687164, -0.20999035239219666, 0.26152119040489197, 0.09008694440126419, -0.27234068512916565, -0.06235019862651825, 0.5338879227638245, -0.02534465864300728, 0.07991506159305573, -0.2284441888332367, 0.2919912040233612, 0.24489323794841766, 0.10456818342208862, -0.04997694864869118, 0.07243244349956512, -0.25518104434013367, 0.014302472583949566, -0.1707969456911087, 0.01836821623146534, 0.6155590415000916, -0.23503832519054413, 0.232851043343544, 0.006355292163789272, -0.10871584713459015, -0.08956509828567505, 0.21537193655967712, 0.05504423752427101, 0.17534297704696655, -0.11480383574962616, 0.06595919281244278, -0.07348223030567169, 0.008162234909832478, -0.013978160917758942, 0.1941046267747879, -0.17060433328151703, 0.24935516715049744, -0.03285817801952362, -0.011765925213694572, 0.12218116968870163, -0.1303444355726242, 0.08991100639104843, 0.11236071586608887, 0.017226627096533775, -0.16448432207107544, 0.3956601619720459, -0.12060464173555374, -0.4351117014884949, -0.573063850402832, 0.17531949281692505, -0.414081871509552, -0.15834011137485504, -0.4057178199291229, 0.18548402190208435, 0.17447605729103088, 0.06993651390075684, -0.2978672683238983, 0.20836466550827026, -0.4094451069831848, 0.011799292638897896, -0.0699138194322586, 0.018103573471307755, 0.1454305201768875, -0.19847612082958221, -0.23550106585025787, -0.1650797724723816 ]
https://github.com/huggingface/datasets/issues/1876
load_dataset("multi_woz_v22") NonMatchingChecksumError
Hi, I still meet the error when loading the datasets after upgradeing datasets. raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json']
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError. To reproduce: `dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')` This will give the following error: ``` raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json'] ```
27
load_dataset("multi_woz_v22") NonMatchingChecksumError
[ -0.4086197018623352, 0.11240868270397186, -0.08456836640834808, 0.1535598635673523, 0.14376385509967804, 0.020990081131458282, 0.5270837545394897, 0.341623991727829, 0.6164106726646423, 0.35557225346565247, 0.024562425911426544, 0.28695550560951233, -0.046921033412218094, 0.09141074120998383, -0.1150575578212738, 0.4809187650680542, 0.11103241890668869, 0.0947749987244606, -0.16622304916381836, -0.0863053947687149, -0.21384082734584808, 0.27756568789482117, -0.1471388041973114, -0.020832963287830353, -0.4259025454521179, -0.014070440083742142, 0.21932926774024963, 0.33202987909317017, -0.037178847938776016, 0.05766048654913902, 0.28013500571250916, 0.2738776206970215, 0.20830072462558746, 0.2419140636920929, -0.00011475773499114439, 0.11254384368658066, 0.16017024219036102, -0.10939344018697739, -0.16999849677085876, 0.06591467559337616, -0.6580168008804321, -0.48663875460624695, -0.003422495676204562, -0.15052089095115662, 0.0890057161450386, 0.509695291519165, 0.02302931621670723, -0.07924310117959976, 0.1634194701910019, 0.12590838968753815, 0.21690593659877777, 0.20556685328483582, 0.2884882092475891, -0.13128112256526947, 0.17475749552249908, -0.13293157517910004, -0.10649532079696655, -0.025795308873057365, 0.37359970808029175, -0.2654487192630768, -0.4516149163246155, 0.40638110041618347, -0.07000309973955154, 0.46966099739074707, -0.28567883372306824, -0.20257453620433807, 0.32396650314331055, 0.05511684715747833, 0.4136142432689667, 0.3620533347129822, 0.26351603865623474, -0.09790380299091339, 0.04111575335264206, -0.06736584007740021, -0.17213642597198486, 0.18161799013614655, 0.2161218225955963, 0.12907911837100983, -0.2742712199687958, -0.09378381073474884, -0.2048652619123459, 0.23096197843551636, -0.06696460396051407, 0.18168850243091583, -0.09396090358495712, 0.3277827203273773, 0.02446245588362217, 0.0717725083231926, 0.15812039375305176, -0.10316145420074463, 0.46029025316238403, -0.11750559508800507, 0.033663444221019745, 0.007638681214302778, -0.5078568458557129, 0.021200405433773994, 0.13389019668102264, 0.4374833405017853, 0.4070856273174286, 0.1645401269197464, 0.45440801978111267, 0.5544408559799194, -0.17439688742160797, 0.08800791949033737, 0.44077715277671814, -0.07532167434692383, -0.0718681588768959, -0.26000311970710754, 0.1159423366189003, 0.24311013519763947, -0.22367346286773682, 0.09021876007318497, -0.06312848627567291, -0.4378140866756439, 0.5332842469215393, 0.14031265676021576, 0.2551608681678772, -0.2734590172767639, -0.18850624561309814, -0.004327032249420881, 0.1067524254322052, -0.1835447996854782, 0.1435975581407547, 0.4358450472354889, -0.07665900141000748, 0.4650896191596985, -0.24666772782802582, 0.1922347992658615, -0.17351725697517395, -0.33610817790031433, -0.3525269031524658, -0.2198064923286438, 0.09222167730331421, 0.041770145297050476, 0.35530632734298706, -0.026854606345295906, 0.21299798786640167, 0.07699616253376007, 0.3086111843585968, -0.18701094388961792, 0.2840549051761627, -0.022819265723228455, 0.02797609008848667, 0.28246626257896423, 0.1864151507616043, 0.07274840027093887, 0.32573994994163513, -0.005014580674469471, 0.06830839067697525, 0.18375802040100098, -0.3320782780647278, -0.5607353448867798, -0.003320296062156558, 0.19472575187683105, -0.05306188762187958, -0.02458322048187256, 0.2101205736398697, -0.1998833566904068, 0.3031251132488251, -0.3747502565383911, -0.10638544708490372, -0.31135764718055725, 0.08217305690050125, -0.13811565935611725, -0.09701193124055862, -0.022282583639025688, -0.06995125859975815, 0.16053688526153564, -0.04776616021990776, -0.23901130259037018, 0.28930824995040894, -0.07731494307518005, -0.194925919175148, -0.03727655112743378, -0.11631825566291809, 0.07577894628047943, 0.43741145730018616, 0.0003799154073931277, -0.22042711079120636, 0.17973235249519348, 0.07300099730491638, 0.27755874395370483, 0.18467503786087036, 0.1085495576262474, -0.40475690364837646, -0.024642838165163994, 0.26354390382766724, -0.10052341222763062, -0.07465741038322449, 0.25682568550109863, -0.019763195887207985, -0.09947049617767334, 0.22479721903800964, 0.33448585867881775, 0.1399361491203308, -0.12964466214179993, 0.20333231985569, -0.09131049364805222, 0.36534374952316284, -0.10352614521980286, -0.07165274024009705, 0.1271720975637436, -0.04245196282863617, -0.11786055564880371, 0.04612114652991295, -0.06916521489620209, -0.5834211111068726, 0.0943002849817276, 0.023857982829213142, -0.113410085439682, 0.2911984622478485, 0.05598624795675278, -0.023572901263833046, 0.04317092522978783, -0.3426651954650879, 0.14302098751068115, 0.17371892929077148, 0.33572760224342346, -0.09838341176509857, -0.3783033490180969, -0.1420946717262268, 0.2851314842700958, -0.1817280799150467, -0.1505657434463501, -0.34871944785118103, -0.08103209733963013, -0.11595728993415833, 0.04094067960977554, -0.09544393420219421, 0.13747885823249817, 0.18864257633686066, -0.05206424742937088, -0.1656460464000702, 0.24808768928050995, 0.20306377112865448, -0.08618378639221191, -0.1577427238225937, 0.2573593556880951, -0.25794005393981934, 0.2073238641023636, 0.1277281641960144, 0.34151750802993774, 0.13837498426437378, -0.28346818685531616, -0.21948784589767456, 0.2787383794784546, -0.25793710350990295, 0.23087872564792633, -0.02095991186797619, 0.038712140172719955, 0.46926045417785645, -0.05010326951742172, -0.03465591371059418, 0.030056824907660484, 0.3033481538295746, -0.4183395802974701, -0.13497088849544525, 0.10764399915933609, -0.4082769453525543, 0.15868280827999115, 0.35724490880966187, -0.012001355178654194, 0.28425437211990356, -0.020430145785212517, 0.16251783072948456, -0.2650967240333557, 0.07608160376548767, 0.513485312461853, 0.5020005702972412, 0.20129482448101044, 0.10659144073724747, -0.13323885202407837, -0.21051006019115448, -0.18151473999023438, 0.04877056926488876, -0.05184810608625412, 0.3681420087814331, 0.6248579025268555, 0.06619083881378174, -0.4153086543083191, -0.36262160539627075, 0.0888727605342865, 0.08176828175783157, 0.05820390209555626, -0.2947785556316376, -0.22934813797473907, -0.33080098032951355, 0.059674475342035294, -0.30821043252944946, -0.1601478010416031, -0.34292370080947876, -0.3594139516353607, 0.13854306936264038, 0.32625532150268555, 0.011438697576522827, 0.2593832015991211, -0.3250105679035187, 0.1519884169101715, -0.0678948312997818, 0.27860715985298157, 0.01377101894468069, -0.1499759405851364, -0.18119864165782928, 0.08716423809528351, 0.24674421548843384, -0.0007880906341597438, 0.12463806569576263, -0.1286471039056778, -0.017016692087054253, -0.37234780192375183, 0.0126146599650383, 0.03775385767221451, -0.0006427628686651587, -0.3092099726200104, 0.4834766685962677, 0.2562940716743469, 0.07206348329782486, -0.22080938518047333, 0.2490300089120865, -0.23125112056732178, -0.17671702802181244, 0.21417853236198425, -0.13327299058437347, 0.017968634143471718, 0.10151977837085724, -0.30543074011802673, -0.22448411583900452, -0.2346321940422058, -0.08765359967947006, 0.20464575290679932, 0.1645963042974472, 0.2596299350261688, 0.10275830328464508, -0.18753407895565033, 0.257752925157547, 0.20485538244247437, -0.4515435993671417, -0.5079891085624695, 0.24545928835868835, 0.0022472047712653875, -0.33262765407562256, 0.04842666536569595, -0.06923721730709076, 0.19943848252296448, 0.22041141986846924, -0.3312106132507324, -0.15629462897777557, -0.055828940123319626, -0.29472848773002625, -0.032716941088438034, 0.1308159977197647, 0.4679710268974304, 0.23747631907463074, -0.1454646736383438, -0.24151325225830078, -0.2906630337238312, 0.2950633764266968, -0.150376558303833, 0.2512265741825104, -0.21576373279094696, 0.16881577670574188, -0.14068147540092468, 0.4718443751335144, -0.10842884331941605, 0.2574775516986847, 0.209229975938797, -0.04050615802407265, 0.1893514096736908, -0.15777985751628876, -0.2680257260799408, 0.12908656895160675, -0.22318901121616364, 0.046241700649261475, 0.2651747763156891, -0.02125823125243187, -0.31658485531806946, 0.038132742047309875, 0.33154168725013733, -0.20220254361629486, -0.1452808529138565, 0.09311800450086594, 0.2588844895362854, 0.017073089256882668, 0.29672685265541077, 0.03993874043226242, -0.49428030848503113, -0.17389118671417236, -0.1186337098479271, 0.007625907193869352, -0.4136715531349182, -0.22913536429405212, -0.3678542375564575, 0.1583329737186432, -0.03313012048602104, 0.3840826749801636, 0.10661569982767105, 0.18386942148208618, -0.015506962314248085, -0.3057239055633545, -0.0017724750796332955, -0.13885995745658875, 0.5164518356323242, -0.35016536712646484, 0.2779739797115326, 0.1328616440296173, -0.24250543117523193, -0.12650680541992188, -0.25348880887031555, -0.1917506456375122, 0.244805246591568, -0.08287712931632996, 0.12866024672985077, -0.10160663723945618, -0.1659335047006607, 0.2043154388666153, 0.3141072988510132, -0.15896223485469818, -0.26715749502182007, -0.23212607204914093, -0.18741300702095032, -0.4557386636734009, -0.14582903683185577, -0.20413465797901154, 0.26299795508384705, -0.13995811343193054, -0.07397738099098206, -0.013716773129999638, -0.046409543603658676, 0.15490968525409698, 0.025929920375347137, 0.07560199499130249, 0.41909706592559814, 0.11479470133781433, -0.08326908200979233, 0.37016674876213074, 0.14512158930301666, 0.4654666781425476, -0.16683582961559296, -0.17790527641773224, 0.15710273385047913, -0.37293535470962524, 0.09287717193365097, 0.2143230438232422, 0.039949093014001846, -0.17295345664024353, 0.25507256388664246, -0.06848037242889404, -0.07043804228305817, 0.09787970781326294, 0.10387920588254929, 0.14606605470180511, -0.30321022868156433, -0.18060153722763062, -0.07606397569179535, -0.010336441919207573, -0.18892057240009308, 0.18487702310085297, -0.46902215480804443, -0.030000241473317146, -0.10670437663793564, 0.1974608302116394, 0.656968355178833, -0.14331038296222687, 0.16773191094398499, -0.028790617361664772, 0.11231204122304916, -0.12952004373073578, -0.5931202173233032, 0.04775433987379074, -0.3677019774913788, -0.3276360034942627, -0.03722069412469864, -0.10637069493532181, 0.027452224865555763, 0.42589715123176575, 0.03842081129550934, 0.30904141068458557, 0.3143288195133209, 0.1377096027135849, -0.08023364096879959, -0.000825466588139534, -0.132539302110672, -0.19407397508621216, -0.017116058617830276, 0.1777305155992508, -0.18225237727165222, 0.01713497005403042, -0.23212774097919464, 0.1258820742368698, 0.43547147512435913, -0.3267555832862854, 0.03402813896536827, 0.09315715730190277, -0.24985620379447937, 0.34661588072776794, 0.2615659236907959, -0.16764435172080994, -0.2840261459350586, 0.28323668241500854, 0.06035191938281059, -0.17224784195423126, -0.056790683418512344, 0.02631973847746849, 0.30414605140686035, 0.08248548954725266, -0.3101961612701416, 0.008665659464895725, 0.22620368003845215, -0.09452858567237854, -0.17061281204223633, -0.18744516372680664, -0.092019222676754, -0.45237648487091064, 0.09469524770975113, 0.21084827184677124, 0.22586776316165924, -0.330556184053421, -0.24310533702373505, 0.07019266486167908, 0.3336713910102844, -0.35819709300994873, 0.1552465707063675, 0.1436697095632553, -0.2553929090499878, 0.3214396834373474, 0.24376280605793, -0.1700521558523178, -0.09880878776311874, 0.45575952529907227, -0.05719417706131935, 0.0017840868094936013, 0.5275914669036865, 0.2709243893623352, -0.11053361743688583, -0.42029663920402527, 0.19357046484947205, 0.27895480394363403, -0.24680675566196442, -0.006951242219656706, 0.1864173710346222, -0.2860729992389679, 0.10246563702821732, 0.6131368279457092, 0.051989972591400146, 0.38285237550735474, -0.0203209538012743, -0.4225602149963379, -0.18522094190120697, -0.14439088106155396, 0.29895761609077454, 0.2846362292766571, -0.11590328812599182, -0.31084656715393066, -0.03444308042526245, 0.20986242592334747, -0.35568341612815857, 0.018083782866597176, -0.3071921169757843, -0.08387340605258942, -0.2783201336860657, 0.008995923213660717, -0.06529141217470169, 0.1421636939048767, 0.1928878128528595, -0.13573212921619415, -0.050337664783000946, -0.3115243911743164, -0.06412579864263535, 0.11048345267772675, -0.0367572046816349, 0.014537814073264599, 0.10178321599960327, -0.2481091022491455, -0.23375000059604645, -0.16319790482521057, -0.00779962120577693, 0.09149055182933807, -0.11367058753967285, 0.03908239305019379, 0.20072448253631592, -0.07673243433237076, -0.13067525625228882, -0.0853666216135025, -0.1363133192062378, -0.06901918351650238, -0.17262117564678192, -0.15006889402866364, 0.07640941441059113, -0.11492222547531128, 0.436166375875473, 0.1059841737151146, 0.20605896413326263, -0.03436557576060295, 0.13381971418857574, -0.358680784702301, -0.1573871225118637, 0.3464238941669464, 0.32919761538505554, 0.041846662759780884, -0.22607356309890747, 0.16267630457878113, 0.033716991543769836, 0.23982787132263184, -0.42094579339027405, -0.16003160178661346, 0.3882802128791809, -0.19918131828308105, 0.14504335820674896, 0.13450263440608978, -0.10333112627267838, -0.4062769412994385, 0.6256073713302612, 0.06228140741586685, -0.012762350030243397, -0.45153987407684326, -0.1371685117483139, 0.3199580907821655, -0.34294843673706055, 0.12145239859819412, 0.07283605635166168, 0.09348318725824356, 0.07945112138986588, 0.0766422376036644, -0.031402040272951126, 0.3031644821166992, 0.14591999351978302, 0.13062462210655212, -0.1245952844619751, -0.6858448386192322, 0.42917799949645996, 0.2896828055381775, -0.1536206603050232, -0.250291645526886, -0.019693898037075996, 0.16102968156337738, -0.2566179633140564, 0.21815599501132965, -0.6635322570800781, -0.029369773343205452, -0.0947217345237732, -0.08706063032150269, 0.007018820382654667, -0.17446553707122803, 0.035284701734781265, 0.09699281305074692, -0.09066902101039886, 0.24638697504997253, 0.3947485089302063, -0.17613768577575684, 0.1493128091096878, -0.34024572372436523, -0.10665375739336014, -0.08984867483377457, -0.22486376762390137, -0.10163939744234085, 0.27036982774734497, 0.2628423869609833, 0.010699670761823654, 0.3348047137260437, 0.2785951793193817, 0.37095147371292114, 0.28205686807632446, 0.07529576122760773, 0.12693527340888977, -0.1639353632926941, -0.029576098546385765, -0.40902280807495117, 0.4860486686229706, 0.09369684755802155, 0.10508548468351364, 0.3835364282131195, 0.11600348353385925, -0.20421914756298065, 0.0869719460606575, 0.2105407416820526, -0.28827160596847534, 0.07358846068382263, 0.28734058141708374, 0.0934622511267662, 0.0033129313960671425, -0.1036955863237381, 0.23908041417598724, -0.3471190631389618, -0.2902103662490845, 0.14226511120796204, 0.0013993215980008245, 0.30473649501800537, -0.0021009959746152163, 0.10918737947940826, -0.06398581713438034, 0.5569795966148376, -0.23721367120742798, -0.07700834423303604, -0.24856753647327423, -0.19859297573566437, -0.7248430848121643, 0.32664167881011963, -0.09045927971601486, 0.14261043071746826, 0.010575016029179096, 0.1310393363237381, 0.3815722167491913, 0.10664591938257217, 0.17407216131687164, -0.20999035239219666, 0.26152119040489197, 0.09008694440126419, -0.27234068512916565, -0.06235019862651825, 0.5338879227638245, -0.02534465864300728, 0.07991506159305573, -0.2284441888332367, 0.2919912040233612, 0.24489323794841766, 0.10456818342208862, -0.04997694864869118, 0.07243244349956512, -0.25518104434013367, 0.014302472583949566, -0.1707969456911087, 0.01836821623146534, 0.6155590415000916, -0.23503832519054413, 0.232851043343544, 0.006355292163789272, -0.10871584713459015, -0.08956509828567505, 0.21537193655967712, 0.05504423752427101, 0.17534297704696655, -0.11480383574962616, 0.06595919281244278, -0.07348223030567169, 0.008162234909832478, -0.013978160917758942, 0.1941046267747879, -0.17060433328151703, 0.24935516715049744, -0.03285817801952362, -0.011765925213694572, 0.12218116968870163, -0.1303444355726242, 0.08991100639104843, 0.11236071586608887, 0.017226627096533775, -0.16448432207107544, 0.3956601619720459, -0.12060464173555374, -0.4351117014884949, -0.573063850402832, 0.17531949281692505, -0.414081871509552, -0.15834011137485504, -0.4057178199291229, 0.18548402190208435, 0.17447605729103088, 0.06993651390075684, -0.2978672683238983, 0.20836466550827026, -0.4094451069831848, 0.011799292638897896, -0.0699138194322586, 0.018103573471307755, 0.1454305201768875, -0.19847612082958221, -0.23550106585025787, -0.1650797724723816 ]
https://github.com/huggingface/datasets/issues/1876
load_dataset("multi_woz_v22") NonMatchingChecksumError
This must be related to https://github.com/budzianowski/multiwoz/pull/72 Those files have changed, let me update the checksums for this dataset. For now you can use `ignore_verifications=True` in `load_dataset` to skip the checksum verification.
Hi, it seems that loading the multi_woz_v22 dataset gives a NonMatchingChecksumError. To reproduce: `dataset = load_dataset('multi_woz_v22','v2.2_active_only',split='train')` This will give the following error: ``` raise NonMatchingChecksumError(error_msg + str(bad_urls)) datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dialog_acts.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_003.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_004.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_005.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_006.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_007.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_008.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_009.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_010.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_012.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_013.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_014.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_015.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_016.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/train/dialogues_017.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/dev/dialogues_002.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_001.json', 'https://github.com/budzianowski/multiwoz/raw/master/data/MultiWOZ_2.2/test/dialogues_002.json'] ```
31
load_dataset("multi_woz_v22") NonMatchingChecksumError
[ -0.4086197018623352, 0.11240868270397186, -0.08456836640834808, 0.1535598635673523, 0.14376385509967804, 0.020990081131458282, 0.5270837545394897, 0.341623991727829, 0.6164106726646423, 0.35557225346565247, 0.024562425911426544, 0.28695550560951233, -0.046921033412218094, 0.09141074120998383, -0.1150575578212738, 0.4809187650680542, 0.11103241890668869, 0.0947749987244606, -0.16622304916381836, -0.0863053947687149, -0.21384082734584808, 0.27756568789482117, -0.1471388041973114, -0.020832963287830353, -0.4259025454521179, -0.014070440083742142, 0.21932926774024963, 0.33202987909317017, -0.037178847938776016, 0.05766048654913902, 0.28013500571250916, 0.2738776206970215, 0.20830072462558746, 0.2419140636920929, -0.00011475773499114439, 0.11254384368658066, 0.16017024219036102, -0.10939344018697739, -0.16999849677085876, 0.06591467559337616, -0.6580168008804321, -0.48663875460624695, -0.003422495676204562, -0.15052089095115662, 0.0890057161450386, 0.509695291519165, 0.02302931621670723, -0.07924310117959976, 0.1634194701910019, 0.12590838968753815, 0.21690593659877777, 0.20556685328483582, 0.2884882092475891, -0.13128112256526947, 0.17475749552249908, -0.13293157517910004, -0.10649532079696655, -0.025795308873057365, 0.37359970808029175, -0.2654487192630768, -0.4516149163246155, 0.40638110041618347, -0.07000309973955154, 0.46966099739074707, -0.28567883372306824, -0.20257453620433807, 0.32396650314331055, 0.05511684715747833, 0.4136142432689667, 0.3620533347129822, 0.26351603865623474, -0.09790380299091339, 0.04111575335264206, -0.06736584007740021, -0.17213642597198486, 0.18161799013614655, 0.2161218225955963, 0.12907911837100983, -0.2742712199687958, -0.09378381073474884, -0.2048652619123459, 0.23096197843551636, -0.06696460396051407, 0.18168850243091583, -0.09396090358495712, 0.3277827203273773, 0.02446245588362217, 0.0717725083231926, 0.15812039375305176, -0.10316145420074463, 0.46029025316238403, -0.11750559508800507, 0.033663444221019745, 0.007638681214302778, -0.5078568458557129, 0.021200405433773994, 0.13389019668102264, 0.4374833405017853, 0.4070856273174286, 0.1645401269197464, 0.45440801978111267, 0.5544408559799194, -0.17439688742160797, 0.08800791949033737, 0.44077715277671814, -0.07532167434692383, -0.0718681588768959, -0.26000311970710754, 0.1159423366189003, 0.24311013519763947, -0.22367346286773682, 0.09021876007318497, -0.06312848627567291, -0.4378140866756439, 0.5332842469215393, 0.14031265676021576, 0.2551608681678772, -0.2734590172767639, -0.18850624561309814, -0.004327032249420881, 0.1067524254322052, -0.1835447996854782, 0.1435975581407547, 0.4358450472354889, -0.07665900141000748, 0.4650896191596985, -0.24666772782802582, 0.1922347992658615, -0.17351725697517395, -0.33610817790031433, -0.3525269031524658, -0.2198064923286438, 0.09222167730331421, 0.041770145297050476, 0.35530632734298706, -0.026854606345295906, 0.21299798786640167, 0.07699616253376007, 0.3086111843585968, -0.18701094388961792, 0.2840549051761627, -0.022819265723228455, 0.02797609008848667, 0.28246626257896423, 0.1864151507616043, 0.07274840027093887, 0.32573994994163513, -0.005014580674469471, 0.06830839067697525, 0.18375802040100098, -0.3320782780647278, -0.5607353448867798, -0.003320296062156558, 0.19472575187683105, -0.05306188762187958, -0.02458322048187256, 0.2101205736398697, -0.1998833566904068, 0.3031251132488251, -0.3747502565383911, -0.10638544708490372, -0.31135764718055725, 0.08217305690050125, -0.13811565935611725, -0.09701193124055862, -0.022282583639025688, -0.06995125859975815, 0.16053688526153564, -0.04776616021990776, -0.23901130259037018, 0.28930824995040894, -0.07731494307518005, -0.194925919175148, -0.03727655112743378, -0.11631825566291809, 0.07577894628047943, 0.43741145730018616, 0.0003799154073931277, -0.22042711079120636, 0.17973235249519348, 0.07300099730491638, 0.27755874395370483, 0.18467503786087036, 0.1085495576262474, -0.40475690364837646, -0.024642838165163994, 0.26354390382766724, -0.10052341222763062, -0.07465741038322449, 0.25682568550109863, -0.019763195887207985, -0.09947049617767334, 0.22479721903800964, 0.33448585867881775, 0.1399361491203308, -0.12964466214179993, 0.20333231985569, -0.09131049364805222, 0.36534374952316284, -0.10352614521980286, -0.07165274024009705, 0.1271720975637436, -0.04245196282863617, -0.11786055564880371, 0.04612114652991295, -0.06916521489620209, -0.5834211111068726, 0.0943002849817276, 0.023857982829213142, -0.113410085439682, 0.2911984622478485, 0.05598624795675278, -0.023572901263833046, 0.04317092522978783, -0.3426651954650879, 0.14302098751068115, 0.17371892929077148, 0.33572760224342346, -0.09838341176509857, -0.3783033490180969, -0.1420946717262268, 0.2851314842700958, -0.1817280799150467, -0.1505657434463501, -0.34871944785118103, -0.08103209733963013, -0.11595728993415833, 0.04094067960977554, -0.09544393420219421, 0.13747885823249817, 0.18864257633686066, -0.05206424742937088, -0.1656460464000702, 0.24808768928050995, 0.20306377112865448, -0.08618378639221191, -0.1577427238225937, 0.2573593556880951, -0.25794005393981934, 0.2073238641023636, 0.1277281641960144, 0.34151750802993774, 0.13837498426437378, -0.28346818685531616, -0.21948784589767456, 0.2787383794784546, -0.25793710350990295, 0.23087872564792633, -0.02095991186797619, 0.038712140172719955, 0.46926045417785645, -0.05010326951742172, -0.03465591371059418, 0.030056824907660484, 0.3033481538295746, -0.4183395802974701, -0.13497088849544525, 0.10764399915933609, -0.4082769453525543, 0.15868280827999115, 0.35724490880966187, -0.012001355178654194, 0.28425437211990356, -0.020430145785212517, 0.16251783072948456, -0.2650967240333557, 0.07608160376548767, 0.513485312461853, 0.5020005702972412, 0.20129482448101044, 0.10659144073724747, -0.13323885202407837, -0.21051006019115448, -0.18151473999023438, 0.04877056926488876, -0.05184810608625412, 0.3681420087814331, 0.6248579025268555, 0.06619083881378174, -0.4153086543083191, -0.36262160539627075, 0.0888727605342865, 0.08176828175783157, 0.05820390209555626, -0.2947785556316376, -0.22934813797473907, -0.33080098032951355, 0.059674475342035294, -0.30821043252944946, -0.1601478010416031, -0.34292370080947876, -0.3594139516353607, 0.13854306936264038, 0.32625532150268555, 0.011438697576522827, 0.2593832015991211, -0.3250105679035187, 0.1519884169101715, -0.0678948312997818, 0.27860715985298157, 0.01377101894468069, -0.1499759405851364, -0.18119864165782928, 0.08716423809528351, 0.24674421548843384, -0.0007880906341597438, 0.12463806569576263, -0.1286471039056778, -0.017016692087054253, -0.37234780192375183, 0.0126146599650383, 0.03775385767221451, -0.0006427628686651587, -0.3092099726200104, 0.4834766685962677, 0.2562940716743469, 0.07206348329782486, -0.22080938518047333, 0.2490300089120865, -0.23125112056732178, -0.17671702802181244, 0.21417853236198425, -0.13327299058437347, 0.017968634143471718, 0.10151977837085724, -0.30543074011802673, -0.22448411583900452, -0.2346321940422058, -0.08765359967947006, 0.20464575290679932, 0.1645963042974472, 0.2596299350261688, 0.10275830328464508, -0.18753407895565033, 0.257752925157547, 0.20485538244247437, -0.4515435993671417, -0.5079891085624695, 0.24545928835868835, 0.0022472047712653875, -0.33262765407562256, 0.04842666536569595, -0.06923721730709076, 0.19943848252296448, 0.22041141986846924, -0.3312106132507324, -0.15629462897777557, -0.055828940123319626, -0.29472848773002625, -0.032716941088438034, 0.1308159977197647, 0.4679710268974304, 0.23747631907463074, -0.1454646736383438, -0.24151325225830078, -0.2906630337238312, 0.2950633764266968, -0.150376558303833, 0.2512265741825104, -0.21576373279094696, 0.16881577670574188, -0.14068147540092468, 0.4718443751335144, -0.10842884331941605, 0.2574775516986847, 0.209229975938797, -0.04050615802407265, 0.1893514096736908, -0.15777985751628876, -0.2680257260799408, 0.12908656895160675, -0.22318901121616364, 0.046241700649261475, 0.2651747763156891, -0.02125823125243187, -0.31658485531806946, 0.038132742047309875, 0.33154168725013733, -0.20220254361629486, -0.1452808529138565, 0.09311800450086594, 0.2588844895362854, 0.017073089256882668, 0.29672685265541077, 0.03993874043226242, -0.49428030848503113, -0.17389118671417236, -0.1186337098479271, 0.007625907193869352, -0.4136715531349182, -0.22913536429405212, -0.3678542375564575, 0.1583329737186432, -0.03313012048602104, 0.3840826749801636, 0.10661569982767105, 0.18386942148208618, -0.015506962314248085, -0.3057239055633545, -0.0017724750796332955, -0.13885995745658875, 0.5164518356323242, -0.35016536712646484, 0.2779739797115326, 0.1328616440296173, -0.24250543117523193, -0.12650680541992188, -0.25348880887031555, -0.1917506456375122, 0.244805246591568, -0.08287712931632996, 0.12866024672985077, -0.10160663723945618, -0.1659335047006607, 0.2043154388666153, 0.3141072988510132, -0.15896223485469818, -0.26715749502182007, -0.23212607204914093, -0.18741300702095032, -0.4557386636734009, -0.14582903683185577, -0.20413465797901154, 0.26299795508384705, -0.13995811343193054, -0.07397738099098206, -0.013716773129999638, -0.046409543603658676, 0.15490968525409698, 0.025929920375347137, 0.07560199499130249, 0.41909706592559814, 0.11479470133781433, -0.08326908200979233, 0.37016674876213074, 0.14512158930301666, 0.4654666781425476, -0.16683582961559296, -0.17790527641773224, 0.15710273385047913, -0.37293535470962524, 0.09287717193365097, 0.2143230438232422, 0.039949093014001846, -0.17295345664024353, 0.25507256388664246, -0.06848037242889404, -0.07043804228305817, 0.09787970781326294, 0.10387920588254929, 0.14606605470180511, -0.30321022868156433, -0.18060153722763062, -0.07606397569179535, -0.010336441919207573, -0.18892057240009308, 0.18487702310085297, -0.46902215480804443, -0.030000241473317146, -0.10670437663793564, 0.1974608302116394, 0.656968355178833, -0.14331038296222687, 0.16773191094398499, -0.028790617361664772, 0.11231204122304916, -0.12952004373073578, -0.5931202173233032, 0.04775433987379074, -0.3677019774913788, -0.3276360034942627, -0.03722069412469864, -0.10637069493532181, 0.027452224865555763, 0.42589715123176575, 0.03842081129550934, 0.30904141068458557, 0.3143288195133209, 0.1377096027135849, -0.08023364096879959, -0.000825466588139534, -0.132539302110672, -0.19407397508621216, -0.017116058617830276, 0.1777305155992508, -0.18225237727165222, 0.01713497005403042, -0.23212774097919464, 0.1258820742368698, 0.43547147512435913, -0.3267555832862854, 0.03402813896536827, 0.09315715730190277, -0.24985620379447937, 0.34661588072776794, 0.2615659236907959, -0.16764435172080994, -0.2840261459350586, 0.28323668241500854, 0.06035191938281059, -0.17224784195423126, -0.056790683418512344, 0.02631973847746849, 0.30414605140686035, 0.08248548954725266, -0.3101961612701416, 0.008665659464895725, 0.22620368003845215, -0.09452858567237854, -0.17061281204223633, -0.18744516372680664, -0.092019222676754, -0.45237648487091064, 0.09469524770975113, 0.21084827184677124, 0.22586776316165924, -0.330556184053421, -0.24310533702373505, 0.07019266486167908, 0.3336713910102844, -0.35819709300994873, 0.1552465707063675, 0.1436697095632553, -0.2553929090499878, 0.3214396834373474, 0.24376280605793, -0.1700521558523178, -0.09880878776311874, 0.45575952529907227, -0.05719417706131935, 0.0017840868094936013, 0.5275914669036865, 0.2709243893623352, -0.11053361743688583, -0.42029663920402527, 0.19357046484947205, 0.27895480394363403, -0.24680675566196442, -0.006951242219656706, 0.1864173710346222, -0.2860729992389679, 0.10246563702821732, 0.6131368279457092, 0.051989972591400146, 0.38285237550735474, -0.0203209538012743, -0.4225602149963379, -0.18522094190120697, -0.14439088106155396, 0.29895761609077454, 0.2846362292766571, -0.11590328812599182, -0.31084656715393066, -0.03444308042526245, 0.20986242592334747, -0.35568341612815857, 0.018083782866597176, -0.3071921169757843, -0.08387340605258942, -0.2783201336860657, 0.008995923213660717, -0.06529141217470169, 0.1421636939048767, 0.1928878128528595, -0.13573212921619415, -0.050337664783000946, -0.3115243911743164, -0.06412579864263535, 0.11048345267772675, -0.0367572046816349, 0.014537814073264599, 0.10178321599960327, -0.2481091022491455, -0.23375000059604645, -0.16319790482521057, -0.00779962120577693, 0.09149055182933807, -0.11367058753967285, 0.03908239305019379, 0.20072448253631592, -0.07673243433237076, -0.13067525625228882, -0.0853666216135025, -0.1363133192062378, -0.06901918351650238, -0.17262117564678192, -0.15006889402866364, 0.07640941441059113, -0.11492222547531128, 0.436166375875473, 0.1059841737151146, 0.20605896413326263, -0.03436557576060295, 0.13381971418857574, -0.358680784702301, -0.1573871225118637, 0.3464238941669464, 0.32919761538505554, 0.041846662759780884, -0.22607356309890747, 0.16267630457878113, 0.033716991543769836, 0.23982787132263184, -0.42094579339027405, -0.16003160178661346, 0.3882802128791809, -0.19918131828308105, 0.14504335820674896, 0.13450263440608978, -0.10333112627267838, -0.4062769412994385, 0.6256073713302612, 0.06228140741586685, -0.012762350030243397, -0.45153987407684326, -0.1371685117483139, 0.3199580907821655, -0.34294843673706055, 0.12145239859819412, 0.07283605635166168, 0.09348318725824356, 0.07945112138986588, 0.0766422376036644, -0.031402040272951126, 0.3031644821166992, 0.14591999351978302, 0.13062462210655212, -0.1245952844619751, -0.6858448386192322, 0.42917799949645996, 0.2896828055381775, -0.1536206603050232, -0.250291645526886, -0.019693898037075996, 0.16102968156337738, -0.2566179633140564, 0.21815599501132965, -0.6635322570800781, -0.029369773343205452, -0.0947217345237732, -0.08706063032150269, 0.007018820382654667, -0.17446553707122803, 0.035284701734781265, 0.09699281305074692, -0.09066902101039886, 0.24638697504997253, 0.3947485089302063, -0.17613768577575684, 0.1493128091096878, -0.34024572372436523, -0.10665375739336014, -0.08984867483377457, -0.22486376762390137, -0.10163939744234085, 0.27036982774734497, 0.2628423869609833, 0.010699670761823654, 0.3348047137260437, 0.2785951793193817, 0.37095147371292114, 0.28205686807632446, 0.07529576122760773, 0.12693527340888977, -0.1639353632926941, -0.029576098546385765, -0.40902280807495117, 0.4860486686229706, 0.09369684755802155, 0.10508548468351364, 0.3835364282131195, 0.11600348353385925, -0.20421914756298065, 0.0869719460606575, 0.2105407416820526, -0.28827160596847534, 0.07358846068382263, 0.28734058141708374, 0.0934622511267662, 0.0033129313960671425, -0.1036955863237381, 0.23908041417598724, -0.3471190631389618, -0.2902103662490845, 0.14226511120796204, 0.0013993215980008245, 0.30473649501800537, -0.0021009959746152163, 0.10918737947940826, -0.06398581713438034, 0.5569795966148376, -0.23721367120742798, -0.07700834423303604, -0.24856753647327423, -0.19859297573566437, -0.7248430848121643, 0.32664167881011963, -0.09045927971601486, 0.14261043071746826, 0.010575016029179096, 0.1310393363237381, 0.3815722167491913, 0.10664591938257217, 0.17407216131687164, -0.20999035239219666, 0.26152119040489197, 0.09008694440126419, -0.27234068512916565, -0.06235019862651825, 0.5338879227638245, -0.02534465864300728, 0.07991506159305573, -0.2284441888332367, 0.2919912040233612, 0.24489323794841766, 0.10456818342208862, -0.04997694864869118, 0.07243244349956512, -0.25518104434013367, 0.014302472583949566, -0.1707969456911087, 0.01836821623146534, 0.6155590415000916, -0.23503832519054413, 0.232851043343544, 0.006355292163789272, -0.10871584713459015, -0.08956509828567505, 0.21537193655967712, 0.05504423752427101, 0.17534297704696655, -0.11480383574962616, 0.06595919281244278, -0.07348223030567169, 0.008162234909832478, -0.013978160917758942, 0.1941046267747879, -0.17060433328151703, 0.24935516715049744, -0.03285817801952362, -0.011765925213694572, 0.12218116968870163, -0.1303444355726242, 0.08991100639104843, 0.11236071586608887, 0.017226627096533775, -0.16448432207107544, 0.3956601619720459, -0.12060464173555374, -0.4351117014884949, -0.573063850402832, 0.17531949281692505, -0.414081871509552, -0.15834011137485504, -0.4057178199291229, 0.18548402190208435, 0.17447605729103088, 0.06993651390075684, -0.2978672683238983, 0.20836466550827026, -0.4094451069831848, 0.011799292638897896, -0.0699138194322586, 0.018103573471307755, 0.1454305201768875, -0.19847612082958221, -0.23550106585025787, -0.1650797724723816 ]
https://github.com/huggingface/datasets/issues/1872
Adding a new column to the dataset after set_format was called
Hi ! Indeed if you add a column to a formatted dataset, then the new dataset gets a new formatting in which: ``` new formatted columns = (all columns - previously unformatted columns) ``` Therefore the new column is going to be formatted using the `torch` formatting. If you want your new column to be unformatted you can re-run this line: ```python data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True) ```
Hi, thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side. I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`). Below some pseudo code: ```python def augment_func(sample: Dict) -> Dict: # do something return { "some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor "some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor "NEW_COLUMN": targets, # <-- list of strings } data = datasets.load_dataset(__file__, data_dir="...", split="train") data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True) augmented_dataset = data.map(augment_func, batched=False) for sample in augmented_dataset: print(sample) # fails ``` and the exception: ```python Traceback (most recent call last): File "dataset.py", line 487, in <module> main() File "dataset.py", line 471, in main for sample in augmented_dataset: File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__ yield self._getitem( File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem outputs = self._convert_outputs( File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs v = map_nested(command, v, **map_nested_kwargs) File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp> return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp> return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command return torch.tensor(x, **format_kwargs) TypeError: new(): invalid data type 'str' ``` Thanks!
67
Adding a new column to the dataset after set_format was called
[ -0.3981453478336334, -0.13026736676692963, -0.2107314020395279, -0.2590256631374359, 0.17409177124500275, 0.11002424359321594, 0.3806048631668091, 0.047135673463344574, -0.2612556517124176, -0.11590121686458588, 0.19601979851722717, 0.22211261093616486, -0.11236000061035156, 0.5653725862503052, 0.3487471044063568, 0.05457146465778351, -0.005828638095408678, 0.2721085548400879, 0.05124426633119583, 0.0681401714682579, -0.35830211639404297, -0.08883128315210342, -0.03931647166609764, -0.3105469048023224, -0.3017647862434387, -0.29808130860328674, -0.03214869648218155, 0.05262147635221481, -0.17097912728786469, -0.43417951464653015, -0.027744902297854424, 0.0737241581082344, -0.09058438986539841, 0.3102306127548218, -0.00010242357529932633, -0.08360636234283447, -0.14460726082324982, -0.09262403100728989, -0.323890745639801, 0.16402652859687805, -0.4873841106891632, -0.30353444814682007, -0.19108600914478302, -0.19393925368785858, -0.1549435555934906, -0.4330644905567169, -0.23367606103420258, -0.3656940758228302, -0.11915247142314911, 0.21133238077163696, 0.3038351237773895, -0.02013031765818596, -0.04320501536130905, -0.2783055901527405, 0.08770886808633804, 0.3921421766281128, 0.016911711543798447, 0.021179085597395897, -0.08934377878904343, 0.23115333914756775, 0.28470712900161743, 0.17443250119686127, 0.001564989797770977, -0.008053303696215153, -0.030601583421230316, 0.11290518939495087, -0.2149081975221634, 0.47161930799484253, 0.19149570167064667, 0.00897284597158432, 0.7048318386077881, -0.2679714560508728, -0.22971320152282715, -0.21760116517543793, 0.2704566717147827, -0.4766750633716583, -0.30619022250175476, -0.0002415193448541686, 0.19470266997814178, -0.009862747974693775, 0.07322718948125839, -0.3169459104537964, -0.11010635644197464, 0.16367579996585846, -0.10460253804922104, 0.2506827414035797, -0.1001385897397995, 0.019029591232538223, -0.34423547983169556, 0.07538922131061554, -0.11812859028577805, 0.08883868902921677, -0.20592008531093597, 0.062465984374284744, -0.11040452867746353, -0.11492602527141571, 0.12232702970504761, -0.02218124270439148, -0.06076381728053093, 0.2814464867115021, -0.04224160313606262, 0.05005813017487526, -0.05934913456439972, -0.16907967627048492, 0.14432872831821442, -0.12567336857318878, -0.02291281335055828, 0.04042083024978638, -0.1147984191775322, -0.14850473403930664, 0.11582508683204651, -0.18176107108592987, 0.2028738260269165, 0.0037470220122486353, 0.27975672483444214, 0.09608785063028336, 0.245478093624115, 0.038882169872522354, 0.03948034346103668, 0.12127525359392166, 0.22528715431690216, -0.3644073009490967, -0.25873711705207825, 0.37147030234336853, 0.03670795261859894, 0.012413481250405312, -0.09133757650852203, 0.11496321856975555, -0.03417050093412399, 0.041698865592479706, -0.2504695951938629, 0.0134230712428689, 0.024186868220567703, -0.004341358318924904, -0.07164936512708664, -0.05571090430021286, 0.21217818558216095, 0.1752287894487381, -0.2680485248565674, -0.18858802318572998, 0.14723093807697296, -0.0674595832824707, 0.45161011815071106, 0.04134645313024521, -0.07464326918125153, 0.1542534977197647, 0.09174232184886932, 0.05234047397971153, -0.10149960964918137, 0.11995082348585129, 0.04666838049888611, -0.304721862077713, -0.42507606744766235, 0.2761773467063904, 0.08920561522245407, -0.17942440509796143, 0.31377893686294556, 0.1297377198934555, 0.25041311979293823, -0.23044262826442719, 0.010276023298501968, -0.05210002884268761, -0.3035365045070648, -0.15940642356872559, 0.013348719105124474, 0.27989909052848816, -0.5816351771354675, 0.03707771748304367, 0.33322596549987793, 0.023441806435585022, -0.07879558950662613, -0.37321972846984863, 0.0016753674717620015, 0.41327425837516785, -0.1581508070230484, -0.012937464751303196, 0.46459949016571045, 0.11474795639514923, -0.13256239891052246, -0.24562138319015503, -0.37036433815956116, -0.023687198758125305, 0.28086715936660767, 0.202196404337883, 0.02839188277721405, 0.04574059695005417, -0.032770898193120956, -0.03627641499042511, -0.07954609394073486, -0.08142092823982239, 0.12863577902317047, 0.22293740510940552, 0.05480225756764412, 0.03307335823774338, -0.0527568981051445, 0.1902250200510025, 0.22522883117198944, 0.20599566400051117, 0.17667296528816223, -0.013583391904830933, -0.13272413611412048, -0.04648721590638161, 0.3508174419403076, -0.04395969584584236, 0.00343281589448452, -0.24703769385814667, -0.39373549818992615, -0.23027345538139343, 0.520697295665741, -0.17024806141853333, -0.07104305177927017, -0.21180354058742523, -0.5302380919456482, 0.08462417870759964, -0.08897719532251358, 0.16719694435596466, 0.19387012720108032, 0.5264651775360107, -0.060228344053030014, -0.03778789937496185, -0.29699140787124634, 0.26009470224380493, -0.10646411031484604, -0.053772568702697754, 0.007737362757325172, -0.15628652274608612, 0.10577243566513062, -0.24869585037231445, -0.020004261285066605, 0.3178369104862213, 0.14191976189613342, -0.04426153749227524, 0.022439956665039062, 0.31711724400520325, 0.03931428864598274, -0.02328011952340603, -0.19135041534900665, -0.11076744645833969, -0.02216343767940998, 0.430777907371521, -0.11516005545854568, -0.4631030261516571, 0.01567757874727249, 0.08663477003574371, -0.3956502377986908, 0.10881710052490234, 0.12398108839988708, 0.01545220147818327, -0.017157288268208504, -0.11334769427776337, 0.14544446766376495, 0.04199686273932457, 0.1271285116672516, -0.5433186292648315, -0.1357715129852295, 0.13609036803245544, -0.0053177704103291035, -0.1132962629199028, -0.1966872662305832, 0.4105285406112671, 0.5974743366241455, -0.12240061908960342, 0.08527515083551407, -0.1415255218744278, 0.04489275440573692, 0.07870199531316757, 0.2621173858642578, 0.29975417256355286, 0.41208335757255554, 0.2811194360256195, -0.009381038136780262, -0.04513958841562271, -0.225541353225708, -0.25514331459999084, -0.006049714982509613, -0.06219996139407158, -0.048613809049129486, 0.3827759921550751, 0.3348335325717926, -0.34956005215644836, -0.1552736610174179, 0.004039843566715717, 0.2001112550497055, 0.0136471688747406, -0.21135328710079193, -0.14046451449394226, -0.14025132358074188, 0.21496616303920746, -0.2789576053619385, -0.13788537681102753, 0.2975543141365051, -0.21788202226161957, -0.07036206126213074, -0.06067216023802757, -0.1442147046327591, 0.06964027881622314, -0.1176517978310585, 0.20724457502365112, 0.1669924408197403, -0.09225323051214218, 0.10203109681606293, -0.12471302598714828, 0.18064464628696442, 0.1479409635066986, 0.013518737629055977, -0.16179808974266052, 0.6177797317504883, 0.05185702443122864, 0.11656501144170761, -0.1324862390756607, -0.21580547094345093, 0.14184501767158508, -0.024236243218183517, -0.12657831609249115, 0.2927878797054291, 0.18712449073791504, -0.05694717541337013, -0.1863524615764618, 0.11395563930273056, 0.25497597455978394, 0.033991411328315735, -0.14875832200050354, 0.014266387559473515, 0.08611670881509781, -0.08830586075782776, -0.5838541984558105, -0.002331731142476201, 0.03660282865166664, 0.07663119584321976, 0.10023847967386246, 0.06736787408590317, -0.07230518013238907, 0.002985831582918763, -0.10258825123310089, -0.2879411280155182, 0.039173223078250885, -0.48368439078330994, -0.08366549760103226, 0.2424100935459137, -0.3626088500022888, 0.06666819751262665, 0.020464913919568062, -0.109080009162426, 0.006326098460704088, 0.19477029144763947, -0.13226155936717987, -0.32080966234207153, 0.006476207636296749, -0.008116546086966991, -0.3697523772716522, 0.17658789455890656, 0.48728108406066895, 0.16980920732021332, -0.2361382395029068, -0.09746002405881882, -0.05133712291717529, 0.30310559272766113, 0.0795951709151268, -0.2223212867975235, -0.21380670368671417, 0.35425329208374023, -0.027369342744350433, -0.04977365583181381, -0.19494140148162842, -0.19589447975158691, 0.19516056776046753, -0.31081339716911316, 0.40749815106391907, -0.22515009343624115, -0.06519168615341187, -0.018080640584230423, 0.1493506133556366, 0.16963942348957062, 0.0705629214644432, -0.005094476044178009, 0.20224358141422272, 0.14110903441905975, 0.14564698934555054, -0.26192978024482727, 0.03077041357755661, 0.12966884672641754, 0.07767770439386368, 0.42783018946647644, 0.11039867252111435, 0.16391462087631226, -0.5547165870666504, 0.040846068412065506, -0.047540001571178436, -0.14880014955997467, 0.16130892932415009, -0.30087271332740784, -0.4266956150531769, -0.13987833261489868, -0.32768407464027405, 0.20172929763793945, 0.29963502287864685, 0.183721125125885, -0.12646932899951935, -0.19040659070014954, -0.08208389580249786, 0.10867292433977127, 0.5572471022605896, -0.34779271483421326, -0.11327061057090759, 0.23280194401741028, 0.10486968606710434, -0.16386321187019348, 0.14741414785385132, -0.06798350811004639, 0.11941607296466827, -0.08160771429538727, 0.44989287853240967, -0.11798706650733948, 0.24888743460178375, 0.7004193067550659, 0.3048609793186188, -0.1757717728614807, -0.21270853281021118, -0.08377422392368317, -0.3145958185195923, -0.0990631952881813, 0.3749861419200897, -0.17843285202980042, 0.2558443248271942, 0.38173559308052063, -0.16796502470970154, -0.2264256328344345, -0.1719542145729065, -0.08235939592123032, 0.04776987060904503, 0.2897244989871979, 0.5741181969642639, 0.005924168508499861, 0.15576007962226868, 0.13337500393390656, 0.09265078604221344, 0.019321870058774948, -0.17146669328212738, 0.20467689633369446, 0.2948441505432129, -0.5020251870155334, 0.5390411615371704, 0.28503549098968506, 0.026184817776083946, 0.35101208090782166, -0.20546120405197144, 0.030558304861187935, -0.2971985936164856, 0.1409640610218048, 0.2136932760477066, 0.023701980710029602, -0.28061574697494507, -0.6090084910392761, 0.1866055279970169, -0.15198048949241638, 0.050460685044527054, 0.11109769344329834, 0.22187982499599457, -0.14272314310073853, 0.39524370431900024, -0.11445233225822449, 0.5964815020561218, -0.1362358182668686, 0.05541577190160751, 0.2238747924566269, -0.36121267080307007, 0.4325822591781616, -0.3588102459907532, 0.07901746779680252, -0.2203018069267273, -0.2069227397441864, 0.006291168741881847, -0.09081567078828812, 0.14725792407989502, 0.1147923544049263, -0.07900825142860413, -0.1308055967092514, -0.21803827583789825, 0.5411065220832825, 0.037057604640722275, 0.3164888024330139, 0.020806195214390755, -0.1788160502910614, -0.2962699234485626, 0.1951245814561844, -0.07971224188804626, -0.4212527573108673, -0.1733778566122055, 0.3094157576560974, 0.19134314358234406, -0.17148178815841675, 0.043088193982839584, -0.20543955266475677, 0.1352999359369278, -0.09613648056983948, -0.24306105077266693, -0.7531499862670898, -0.16793756186962128, -0.019978728145360947, 0.38617756962776184, 0.2630516290664673, 0.16018272936344147, 0.1866115927696228, 0.05189484357833862, 0.3939978778362274, -0.01412187609821558, -0.1667320877313614, 0.26270028948783875, 0.1893126517534256, -0.1259836107492447, 0.2712116539478302, 0.0341477170586586, -0.32081979513168335, -0.09836989641189575, 0.09505289047956467, 0.19706906378269196, -0.6616725921630859, -0.39192143082618713, 0.04188508540391922, 0.3958589434623718, -0.38221949338912964, 0.20954300463199615, 0.032431453466415405, -0.006162630394101143, 0.30347150564193726, -0.09106215089559555, -0.06177118420600891, -0.15708738565444946, 0.26889246702194214, 0.09777499735355377, 0.1229855939745903, 0.62971031665802, 0.053521785885095596, -0.2084084302186966, -0.18210002779960632, 0.05443890020251274, 0.28875264525413513, -0.3717826306819916, 0.04142291471362114, 0.3032809793949127, 0.09254433214664459, -0.046912822872400284, 0.12264170497655869, -0.34551408886909485, 0.2709743082523346, -0.13042013347148895, -0.09415878355503082, 0.031162714585661888, -0.07005693018436432, 0.268369197845459, 0.31750553846359253, 0.525094747543335, 0.3442286252975464, -0.20078544318675995, 0.18052977323532104, -0.3911076486110687, -0.33882591128349304, 0.05411781370639801, 0.23073391616344452, 0.15594711899757385, 0.19917406141757965, 0.08601822704076767, -0.24354887008666992, 0.3575741648674011, 0.3517472445964813, 0.28100863099098206, -0.3960983455181122, -0.10636767745018005, 0.027939338237047195, -0.06739702075719833, -0.01902240887284279, -0.06794942915439606, -0.06147303059697151, -0.061187732964754105, -0.1673680692911148, 0.15161727368831635, 0.061568643897771835, -0.17133602499961853, -0.19565927982330322, 0.0017337803728878498, -0.05212486907839775, 0.06699592620134354, -0.03960394859313965, -0.04067499563097954, -0.15679921209812164, 0.08660239726305008, 0.10702496767044067, -0.18910770118236542, 0.1762092113494873, 0.28456252813339233, 0.1447085291147232, 0.3323231637477875, 0.06084134802222252, -0.0024563618935644627, -0.18216976523399353, -0.1956547498703003, 0.15997835993766785, 0.5119264125823975, -0.12518461048603058, 0.08014705777168274, -0.021337132900953293, 0.1505286544561386, 0.2609797716140747, -0.2669992744922638, -0.035923294723033905, 0.36765411496162415, -0.047568198293447495, 0.33373159170150757, 0.13797439634799957, 0.15774381160736084, 0.0582757443189621, 0.05809810757637024, 0.07930130511522293, -0.1547147035598755, -0.22096672654151917, 0.1700732707977295, 0.4377709627151489, 0.1490587741136551, -0.05617978051304817, 0.38485461473464966, 0.21809053421020508, -0.03240775689482689, 0.14823392033576965, 0.32188838720321655, 0.12037011981010437, 0.16910593211650848, -0.05451928451657295, -0.2894447147846222, -0.6431333422660828, 0.35497450828552246, -0.04468834400177002, 0.09227413684129715, 0.18775850534439087, 0.2773638665676117, 0.1976022869348526, 0.02915194444358349, -0.1166868656873703, -0.11986774206161499, 0.13662651181221008, -0.14951585233211517, -0.0814632773399353, -0.03672102838754654, -0.10702912509441376, 0.11215831339359283, 0.0941450446844101, -0.13619498908519745, -0.05528603494167328, 0.08407516777515411, -0.28794097900390625, 0.24233494699001312, -0.03956598788499832, 0.1810181885957718, -0.2841931879520416, -0.1430586725473404, -0.31981369853019714, 0.11739040166139603, 0.08870873600244522, 0.1094910129904747, 0.2847249507904053, 0.13787251710891724, -0.005726882256567478, -0.13693614304065704, 0.3096001446247101, 0.19709034264087677, -0.19230782985687256, -0.09037579596042633, -0.10564935207366943, -0.05877884104847908, -0.0280117429792881, -0.028835132718086243, 0.15391503274440765, 0.3349882662296295, -0.24428416788578033, 0.1676325649023056, 0.35090774297714233, -0.008885540999472141, -0.25505775213241577, -0.17019866406917572, 0.20633620023727417, -0.388092041015625, -0.1404898762702942, -0.015370776876807213, -0.0341060496866703, -0.1608249843120575, 0.22790609300136566, 0.11183459311723709, 0.09451739490032196, 0.033301059156656265, 0.1691206842660904, 0.17744387686252594, 0.11270168423652649, -0.19276274740695953, -0.2261335849761963, -0.059303782880306244, -0.385187029838562, -0.4166996479034424, -0.04438548535108566, 0.10041320323944092, -0.322260320186615, -0.016554448753595352, -0.03221586346626282, 0.3100084662437439, -0.18101036548614502, 0.32562071084976196, -0.03335611894726753, 0.00519468542188406, 0.06338787823915482, -0.10679716616868973, -0.37050122022628784, -0.12621454894542694, -0.12727601826190948, -0.2049701064825058, 0.010995212942361832, 0.0038373477291315794, 0.19888341426849365, 0.22013290226459503, -0.20348824560642242, -0.20448236167430878, -0.18397684395313263, -0.19741882383823395, 0.3496311604976654, -0.1456459015607834, 0.2501693367958069, -0.29019108414649963, 0.25234541296958923, -0.004866614937782288, 0.019348738715052605, -0.18606963753700256, 0.3935917615890503, -0.01634719967842102, 0.5151869654655457, -0.02906583994626999, 0.0999903455376625, -0.10339726507663727, 0.27276611328125, -0.10179344564676285, 0.19306161999702454, -0.015145786106586456, 0.4241635501384735, -0.10090792179107666, -0.21958762407302856, 0.16547998785972595, 0.09559999406337738, 0.056480299681425095, 0.4475882053375244, 0.15844517946243286, -0.24985551834106445, 0.1587609052658081, -0.00801366288214922, -0.38694411516189575, -0.011745610274374485, 0.07305493205785751, 0.07852260023355484, -0.0499873161315918, -0.2200925350189209, 0.1069430559873581, 0.3494723439216614, 0.0011063282145187259, 0.1273917853832245, 0.26853927969932556, -0.13981759548187256, 0.07524019479751587, -0.08552058786153793, 0.5827921628952026, 0.0004007816023658961, -0.14882400631904602, -0.34297141432762146, -0.1665889173746109 ]
https://github.com/huggingface/datasets/issues/1872
Adding a new column to the dataset after set_format was called
Ok cool :) Also I just did a PR to mention this behavior in the documentation
Hi, thanks for the nice library. I'm in the process of creating a custom dataset, which has a mix of tensors and lists of strings. I stumbled upon an error and want to know if its a problem on my side. I load some lists of strings and integers, then call `data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True)`. This converts the integer columns into tensors, but keeps the lists of strings as they are. I then call `map` to add a new column to my dataset, which is a **list of strings**. Once I iterate through my dataset, I get an error that the new column can't be converted into a tensor (which is probably caused by `set_format`). Below some pseudo code: ```python def augment_func(sample: Dict) -> Dict: # do something return { "some_integer_column1" : augmented_data["some_integer_column1"], # <-- tensor "some_integer_column2" : augmented_data["some_integer_column2"], # <-- tensor "NEW_COLUMN": targets, # <-- list of strings } data = datasets.load_dataset(__file__, data_dir="...", split="train") data.set_format("torch", columns=["some_integer_column1", "some_integer_column2"], output_all_columns=True) augmented_dataset = data.map(augment_func, batched=False) for sample in augmented_dataset: print(sample) # fails ``` and the exception: ```python Traceback (most recent call last): File "dataset.py", line 487, in <module> main() File "dataset.py", line 471, in main for sample in augmented_dataset: File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 697, in __iter__ yield self._getitem( File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 1069, in _getitem outputs = self._convert_outputs( File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 890, in _convert_outputs v = map_nested(command, v, **map_nested_kwargs) File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp> return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in command return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 850, in <listcomp> return [map_nested(command, i, **map_nested_kwargs) for i in x] File "lib/python3.8/site-packages/datasets/utils/py_utils.py", line 225, in map_nested return function(data_struct) File "lib/python3.8/site-packages/datasets/arrow_dataset.py", line 851, in command return torch.tensor(x, **format_kwargs) TypeError: new(): invalid data type 'str' ``` Thanks!
16
Adding a new column to the dataset after set_format was called
[ -0.3981453478336334, -0.13026736676692963, -0.2107314020395279, -0.2590256631374359, 0.17409177124500275, 0.11002424359321594, 0.3806048631668091, 0.047135673463344574, -0.2612556517124176, -0.11590121686458588, 0.19601979851722717, 0.22211261093616486, -0.11236000061035156, 0.5653725862503052, 0.3487471044063568, 0.05457146465778351, -0.005828638095408678, 0.2721085548400879, 0.05124426633119583, 0.0681401714682579, -0.35830211639404297, -0.08883128315210342, -0.03931647166609764, -0.3105469048023224, -0.3017647862434387, -0.29808130860328674, -0.03214869648218155, 0.05262147635221481, -0.17097912728786469, -0.43417951464653015, -0.027744902297854424, 0.0737241581082344, -0.09058438986539841, 0.3102306127548218, -0.00010242357529932633, -0.08360636234283447, -0.14460726082324982, -0.09262403100728989, -0.323890745639801, 0.16402652859687805, -0.4873841106891632, -0.30353444814682007, -0.19108600914478302, -0.19393925368785858, -0.1549435555934906, -0.4330644905567169, -0.23367606103420258, -0.3656940758228302, -0.11915247142314911, 0.21133238077163696, 0.3038351237773895, -0.02013031765818596, -0.04320501536130905, -0.2783055901527405, 0.08770886808633804, 0.3921421766281128, 0.016911711543798447, 0.021179085597395897, -0.08934377878904343, 0.23115333914756775, 0.28470712900161743, 0.17443250119686127, 0.001564989797770977, -0.008053303696215153, -0.030601583421230316, 0.11290518939495087, -0.2149081975221634, 0.47161930799484253, 0.19149570167064667, 0.00897284597158432, 0.7048318386077881, -0.2679714560508728, -0.22971320152282715, -0.21760116517543793, 0.2704566717147827, -0.4766750633716583, -0.30619022250175476, -0.0002415193448541686, 0.19470266997814178, -0.009862747974693775, 0.07322718948125839, -0.3169459104537964, -0.11010635644197464, 0.16367579996585846, -0.10460253804922104, 0.2506827414035797, -0.1001385897397995, 0.019029591232538223, -0.34423547983169556, 0.07538922131061554, -0.11812859028577805, 0.08883868902921677, -0.20592008531093597, 0.062465984374284744, -0.11040452867746353, -0.11492602527141571, 0.12232702970504761, -0.02218124270439148, -0.06076381728053093, 0.2814464867115021, -0.04224160313606262, 0.05005813017487526, -0.05934913456439972, -0.16907967627048492, 0.14432872831821442, -0.12567336857318878, -0.02291281335055828, 0.04042083024978638, -0.1147984191775322, -0.14850473403930664, 0.11582508683204651, -0.18176107108592987, 0.2028738260269165, 0.0037470220122486353, 0.27975672483444214, 0.09608785063028336, 0.245478093624115, 0.038882169872522354, 0.03948034346103668, 0.12127525359392166, 0.22528715431690216, -0.3644073009490967, -0.25873711705207825, 0.37147030234336853, 0.03670795261859894, 0.012413481250405312, -0.09133757650852203, 0.11496321856975555, -0.03417050093412399, 0.041698865592479706, -0.2504695951938629, 0.0134230712428689, 0.024186868220567703, -0.004341358318924904, -0.07164936512708664, -0.05571090430021286, 0.21217818558216095, 0.1752287894487381, -0.2680485248565674, -0.18858802318572998, 0.14723093807697296, -0.0674595832824707, 0.45161011815071106, 0.04134645313024521, -0.07464326918125153, 0.1542534977197647, 0.09174232184886932, 0.05234047397971153, -0.10149960964918137, 0.11995082348585129, 0.04666838049888611, -0.304721862077713, -0.42507606744766235, 0.2761773467063904, 0.08920561522245407, -0.17942440509796143, 0.31377893686294556, 0.1297377198934555, 0.25041311979293823, -0.23044262826442719, 0.010276023298501968, -0.05210002884268761, -0.3035365045070648, -0.15940642356872559, 0.013348719105124474, 0.27989909052848816, -0.5816351771354675, 0.03707771748304367, 0.33322596549987793, 0.023441806435585022, -0.07879558950662613, -0.37321972846984863, 0.0016753674717620015, 0.41327425837516785, -0.1581508070230484, -0.012937464751303196, 0.46459949016571045, 0.11474795639514923, -0.13256239891052246, -0.24562138319015503, -0.37036433815956116, -0.023687198758125305, 0.28086715936660767, 0.202196404337883, 0.02839188277721405, 0.04574059695005417, -0.032770898193120956, -0.03627641499042511, -0.07954609394073486, -0.08142092823982239, 0.12863577902317047, 0.22293740510940552, 0.05480225756764412, 0.03307335823774338, -0.0527568981051445, 0.1902250200510025, 0.22522883117198944, 0.20599566400051117, 0.17667296528816223, -0.013583391904830933, -0.13272413611412048, -0.04648721590638161, 0.3508174419403076, -0.04395969584584236, 0.00343281589448452, -0.24703769385814667, -0.39373549818992615, -0.23027345538139343, 0.520697295665741, -0.17024806141853333, -0.07104305177927017, -0.21180354058742523, -0.5302380919456482, 0.08462417870759964, -0.08897719532251358, 0.16719694435596466, 0.19387012720108032, 0.5264651775360107, -0.060228344053030014, -0.03778789937496185, -0.29699140787124634, 0.26009470224380493, -0.10646411031484604, -0.053772568702697754, 0.007737362757325172, -0.15628652274608612, 0.10577243566513062, -0.24869585037231445, -0.020004261285066605, 0.3178369104862213, 0.14191976189613342, -0.04426153749227524, 0.022439956665039062, 0.31711724400520325, 0.03931428864598274, -0.02328011952340603, -0.19135041534900665, -0.11076744645833969, -0.02216343767940998, 0.430777907371521, -0.11516005545854568, -0.4631030261516571, 0.01567757874727249, 0.08663477003574371, -0.3956502377986908, 0.10881710052490234, 0.12398108839988708, 0.01545220147818327, -0.017157288268208504, -0.11334769427776337, 0.14544446766376495, 0.04199686273932457, 0.1271285116672516, -0.5433186292648315, -0.1357715129852295, 0.13609036803245544, -0.0053177704103291035, -0.1132962629199028, -0.1966872662305832, 0.4105285406112671, 0.5974743366241455, -0.12240061908960342, 0.08527515083551407, -0.1415255218744278, 0.04489275440573692, 0.07870199531316757, 0.2621173858642578, 0.29975417256355286, 0.41208335757255554, 0.2811194360256195, -0.009381038136780262, -0.04513958841562271, -0.225541353225708, -0.25514331459999084, -0.006049714982509613, -0.06219996139407158, -0.048613809049129486, 0.3827759921550751, 0.3348335325717926, -0.34956005215644836, -0.1552736610174179, 0.004039843566715717, 0.2001112550497055, 0.0136471688747406, -0.21135328710079193, -0.14046451449394226, -0.14025132358074188, 0.21496616303920746, -0.2789576053619385, -0.13788537681102753, 0.2975543141365051, -0.21788202226161957, -0.07036206126213074, -0.06067216023802757, -0.1442147046327591, 0.06964027881622314, -0.1176517978310585, 0.20724457502365112, 0.1669924408197403, -0.09225323051214218, 0.10203109681606293, -0.12471302598714828, 0.18064464628696442, 0.1479409635066986, 0.013518737629055977, -0.16179808974266052, 0.6177797317504883, 0.05185702443122864, 0.11656501144170761, -0.1324862390756607, -0.21580547094345093, 0.14184501767158508, -0.024236243218183517, -0.12657831609249115, 0.2927878797054291, 0.18712449073791504, -0.05694717541337013, -0.1863524615764618, 0.11395563930273056, 0.25497597455978394, 0.033991411328315735, -0.14875832200050354, 0.014266387559473515, 0.08611670881509781, -0.08830586075782776, -0.5838541984558105, -0.002331731142476201, 0.03660282865166664, 0.07663119584321976, 0.10023847967386246, 0.06736787408590317, -0.07230518013238907, 0.002985831582918763, -0.10258825123310089, -0.2879411280155182, 0.039173223078250885, -0.48368439078330994, -0.08366549760103226, 0.2424100935459137, -0.3626088500022888, 0.06666819751262665, 0.020464913919568062, -0.109080009162426, 0.006326098460704088, 0.19477029144763947, -0.13226155936717987, -0.32080966234207153, 0.006476207636296749, -0.008116546086966991, -0.3697523772716522, 0.17658789455890656, 0.48728108406066895, 0.16980920732021332, -0.2361382395029068, -0.09746002405881882, -0.05133712291717529, 0.30310559272766113, 0.0795951709151268, -0.2223212867975235, -0.21380670368671417, 0.35425329208374023, -0.027369342744350433, -0.04977365583181381, -0.19494140148162842, -0.19589447975158691, 0.19516056776046753, -0.31081339716911316, 0.40749815106391907, -0.22515009343624115, -0.06519168615341187, -0.018080640584230423, 0.1493506133556366, 0.16963942348957062, 0.0705629214644432, -0.005094476044178009, 0.20224358141422272, 0.14110903441905975, 0.14564698934555054, -0.26192978024482727, 0.03077041357755661, 0.12966884672641754, 0.07767770439386368, 0.42783018946647644, 0.11039867252111435, 0.16391462087631226, -0.5547165870666504, 0.040846068412065506, -0.047540001571178436, -0.14880014955997467, 0.16130892932415009, -0.30087271332740784, -0.4266956150531769, -0.13987833261489868, -0.32768407464027405, 0.20172929763793945, 0.29963502287864685, 0.183721125125885, -0.12646932899951935, -0.19040659070014954, -0.08208389580249786, 0.10867292433977127, 0.5572471022605896, -0.34779271483421326, -0.11327061057090759, 0.23280194401741028, 0.10486968606710434, -0.16386321187019348, 0.14741414785385132, -0.06798350811004639, 0.11941607296466827, -0.08160771429538727, 0.44989287853240967, -0.11798706650733948, 0.24888743460178375, 0.7004193067550659, 0.3048609793186188, -0.1757717728614807, -0.21270853281021118, -0.08377422392368317, -0.3145958185195923, -0.0990631952881813, 0.3749861419200897, -0.17843285202980042, 0.2558443248271942, 0.38173559308052063, -0.16796502470970154, -0.2264256328344345, -0.1719542145729065, -0.08235939592123032, 0.04776987060904503, 0.2897244989871979, 0.5741181969642639, 0.005924168508499861, 0.15576007962226868, 0.13337500393390656, 0.09265078604221344, 0.019321870058774948, -0.17146669328212738, 0.20467689633369446, 0.2948441505432129, -0.5020251870155334, 0.5390411615371704, 0.28503549098968506, 0.026184817776083946, 0.35101208090782166, -0.20546120405197144, 0.030558304861187935, -0.2971985936164856, 0.1409640610218048, 0.2136932760477066, 0.023701980710029602, -0.28061574697494507, -0.6090084910392761, 0.1866055279970169, -0.15198048949241638, 0.050460685044527054, 0.11109769344329834, 0.22187982499599457, -0.14272314310073853, 0.39524370431900024, -0.11445233225822449, 0.5964815020561218, -0.1362358182668686, 0.05541577190160751, 0.2238747924566269, -0.36121267080307007, 0.4325822591781616, -0.3588102459907532, 0.07901746779680252, -0.2203018069267273, -0.2069227397441864, 0.006291168741881847, -0.09081567078828812, 0.14725792407989502, 0.1147923544049263, -0.07900825142860413, -0.1308055967092514, -0.21803827583789825, 0.5411065220832825, 0.037057604640722275, 0.3164888024330139, 0.020806195214390755, -0.1788160502910614, -0.2962699234485626, 0.1951245814561844, -0.07971224188804626, -0.4212527573108673, -0.1733778566122055, 0.3094157576560974, 0.19134314358234406, -0.17148178815841675, 0.043088193982839584, -0.20543955266475677, 0.1352999359369278, -0.09613648056983948, -0.24306105077266693, -0.7531499862670898, -0.16793756186962128, -0.019978728145360947, 0.38617756962776184, 0.2630516290664673, 0.16018272936344147, 0.1866115927696228, 0.05189484357833862, 0.3939978778362274, -0.01412187609821558, -0.1667320877313614, 0.26270028948783875, 0.1893126517534256, -0.1259836107492447, 0.2712116539478302, 0.0341477170586586, -0.32081979513168335, -0.09836989641189575, 0.09505289047956467, 0.19706906378269196, -0.6616725921630859, -0.39192143082618713, 0.04188508540391922, 0.3958589434623718, -0.38221949338912964, 0.20954300463199615, 0.032431453466415405, -0.006162630394101143, 0.30347150564193726, -0.09106215089559555, -0.06177118420600891, -0.15708738565444946, 0.26889246702194214, 0.09777499735355377, 0.1229855939745903, 0.62971031665802, 0.053521785885095596, -0.2084084302186966, -0.18210002779960632, 0.05443890020251274, 0.28875264525413513, -0.3717826306819916, 0.04142291471362114, 0.3032809793949127, 0.09254433214664459, -0.046912822872400284, 0.12264170497655869, -0.34551408886909485, 0.2709743082523346, -0.13042013347148895, -0.09415878355503082, 0.031162714585661888, -0.07005693018436432, 0.268369197845459, 0.31750553846359253, 0.525094747543335, 0.3442286252975464, -0.20078544318675995, 0.18052977323532104, -0.3911076486110687, -0.33882591128349304, 0.05411781370639801, 0.23073391616344452, 0.15594711899757385, 0.19917406141757965, 0.08601822704076767, -0.24354887008666992, 0.3575741648674011, 0.3517472445964813, 0.28100863099098206, -0.3960983455181122, -0.10636767745018005, 0.027939338237047195, -0.06739702075719833, -0.01902240887284279, -0.06794942915439606, -0.06147303059697151, -0.061187732964754105, -0.1673680692911148, 0.15161727368831635, 0.061568643897771835, -0.17133602499961853, -0.19565927982330322, 0.0017337803728878498, -0.05212486907839775, 0.06699592620134354, -0.03960394859313965, -0.04067499563097954, -0.15679921209812164, 0.08660239726305008, 0.10702496767044067, -0.18910770118236542, 0.1762092113494873, 0.28456252813339233, 0.1447085291147232, 0.3323231637477875, 0.06084134802222252, -0.0024563618935644627, -0.18216976523399353, -0.1956547498703003, 0.15997835993766785, 0.5119264125823975, -0.12518461048603058, 0.08014705777168274, -0.021337132900953293, 0.1505286544561386, 0.2609797716140747, -0.2669992744922638, -0.035923294723033905, 0.36765411496162415, -0.047568198293447495, 0.33373159170150757, 0.13797439634799957, 0.15774381160736084, 0.0582757443189621, 0.05809810757637024, 0.07930130511522293, -0.1547147035598755, -0.22096672654151917, 0.1700732707977295, 0.4377709627151489, 0.1490587741136551, -0.05617978051304817, 0.38485461473464966, 0.21809053421020508, -0.03240775689482689, 0.14823392033576965, 0.32188838720321655, 0.12037011981010437, 0.16910593211650848, -0.05451928451657295, -0.2894447147846222, -0.6431333422660828, 0.35497450828552246, -0.04468834400177002, 0.09227413684129715, 0.18775850534439087, 0.2773638665676117, 0.1976022869348526, 0.02915194444358349, -0.1166868656873703, -0.11986774206161499, 0.13662651181221008, -0.14951585233211517, -0.0814632773399353, -0.03672102838754654, -0.10702912509441376, 0.11215831339359283, 0.0941450446844101, -0.13619498908519745, -0.05528603494167328, 0.08407516777515411, -0.28794097900390625, 0.24233494699001312, -0.03956598788499832, 0.1810181885957718, -0.2841931879520416, -0.1430586725473404, -0.31981369853019714, 0.11739040166139603, 0.08870873600244522, 0.1094910129904747, 0.2847249507904053, 0.13787251710891724, -0.005726882256567478, -0.13693614304065704, 0.3096001446247101, 0.19709034264087677, -0.19230782985687256, -0.09037579596042633, -0.10564935207366943, -0.05877884104847908, -0.0280117429792881, -0.028835132718086243, 0.15391503274440765, 0.3349882662296295, -0.24428416788578033, 0.1676325649023056, 0.35090774297714233, -0.008885540999472141, -0.25505775213241577, -0.17019866406917572, 0.20633620023727417, -0.388092041015625, -0.1404898762702942, -0.015370776876807213, -0.0341060496866703, -0.1608249843120575, 0.22790609300136566, 0.11183459311723709, 0.09451739490032196, 0.033301059156656265, 0.1691206842660904, 0.17744387686252594, 0.11270168423652649, -0.19276274740695953, -0.2261335849761963, -0.059303782880306244, -0.385187029838562, -0.4166996479034424, -0.04438548535108566, 0.10041320323944092, -0.322260320186615, -0.016554448753595352, -0.03221586346626282, 0.3100084662437439, -0.18101036548614502, 0.32562071084976196, -0.03335611894726753, 0.00519468542188406, 0.06338787823915482, -0.10679716616868973, -0.37050122022628784, -0.12621454894542694, -0.12727601826190948, -0.2049701064825058, 0.010995212942361832, 0.0038373477291315794, 0.19888341426849365, 0.22013290226459503, -0.20348824560642242, -0.20448236167430878, -0.18397684395313263, -0.19741882383823395, 0.3496311604976654, -0.1456459015607834, 0.2501693367958069, -0.29019108414649963, 0.25234541296958923, -0.004866614937782288, 0.019348738715052605, -0.18606963753700256, 0.3935917615890503, -0.01634719967842102, 0.5151869654655457, -0.02906583994626999, 0.0999903455376625, -0.10339726507663727, 0.27276611328125, -0.10179344564676285, 0.19306161999702454, -0.015145786106586456, 0.4241635501384735, -0.10090792179107666, -0.21958762407302856, 0.16547998785972595, 0.09559999406337738, 0.056480299681425095, 0.4475882053375244, 0.15844517946243286, -0.24985551834106445, 0.1587609052658081, -0.00801366288214922, -0.38694411516189575, -0.011745610274374485, 0.07305493205785751, 0.07852260023355484, -0.0499873161315918, -0.2200925350189209, 0.1069430559873581, 0.3494723439216614, 0.0011063282145187259, 0.1273917853832245, 0.26853927969932556, -0.13981759548187256, 0.07524019479751587, -0.08552058786153793, 0.5827921628952026, 0.0004007816023658961, -0.14882400631904602, -0.34297141432762146, -0.1665889173746109 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
Hi @alejandrocros it looks like an incompatibility with the current Trainer @sgugger Indeed currently the Trainer of `transformers` doesn't support a dataset with a transform It looks like it comes from this line: https://github.com/huggingface/transformers/blob/f51188cbe74195c14c5b3e2e8f10c2f435f9751a/src/transformers/trainer.py#L442 This line sets the format to not return certain unused columns. But this has two issues: 1. it forgets to also set the format_kwargs (this causes the error you got): ```python dataset.set_format(type=dataset.format["type"], columns=columns, format_kwargs=dataset.format["format_kwargs"]) ``` 2. the Trainer wants to keep only the fields that are used as input for a model. However for a dataset with a transform, the output fields are often different from the columns fields. For example from a column "text" in the dataset, the strings can be transformed on-the-fly into "input_ids". If you want your dataset to only output certain fields and not other you must change your transform function.
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
139
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
FYI that option can be removed with `remove_unused_columns = False` in your `TrainingArguments`, so there is a workaround @alexvaca0 while the fix in `Trainer` is underway. @lhoestq I think I will just use the line you suggested and if someone is using the columns that are removed in their transform they will need to change `remove_unused_columns` to `False`. We might switch the default of that argument in the next version if that proves too bug-proof.
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
75
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
I've tried your solutions @sgugger @lhoestq and the good news is that it throws no error. However, TPU training is taking forever, in 1 hour it has only trained 1 batch of 8192 elements, which doesn't make much sense... Is it possible that "on the fly" tokenization of batches is slowing down TPU training to that extent?
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
57
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
I don't know what the value of `padding` is in your lines of code pasted above so I can't say for sure. The first batch will be very slow on TPU since it compiles everything, so that's normal (1 hour is long but 8192 elements is also large). Then if your batches are not of the same lengths, it will recompile everything at each step instead of using the same graph, which will be very slow, so you should double check you are using padding to make everything the exact same shape.
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
92
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
I have tried now on a GPU and it goes smooth! Amazing feature .set_transform() instead of .map()! Now I can pre-train my model without the hard disk limitation. Thanks for your work all HuggingFace team!! :clap:
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
36
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
In the end, to make it work I turned to A-100 gpus instead of TPUS, among other changes. Set_transform doesn't work as expected and slows down training very much even in GPUs, and applying map destroys the disk, as it multiplies by 100 the size of the data passed to it (due to inefficient implementation converting strings to int64 floats I guess). For that reason, I chose to use datasets to load the data as text, and then edit the Collator from Transformers to tokenize every batch it receives before processing it. That way, I'm being able to train fast, without memory breaks, without the disk being unnecessarily filled, while making use of GPUs almost all the time I'm paying for them (the map function over the whole dataset took ~15hrs, in which you're not training at all). I hope this info helps others that are looking for training a language model from scratch cheaply, I'm going to close the issue as the optimal solution I found after many experiments to the problem posted in it is explained above.
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
179
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1867
ERROR WHEN USING SET_TRANSFORM()
Great comment @alexvaca0 . I think that we could re-open the issue as a reformulation of why it takes so much space to save the arrow. Saving a 1% of oscar corpus takes more thank 600 GB (it breaks when it pass 600GB because it is the free memory that I have at this moment) when the full dataset is 1,3 TB. I have a 1TB M.2 NVMe disk that I can not train on because the saved .arrow files goes crazily big. If you can share your Collator I will be grateful.
Hi, I'm trying to use dataset.set_transform(encode) as @lhoestq told me in this issue: https://github.com/huggingface/datasets/issues/1825#issuecomment-774202797 However, when I try to use Trainer from transformers with such dataset, it throws an error: ``` TypeError: __init__() missing 1 required positional argument: 'transform' [INFO|trainer.py:357] 2021-02-12 10:18:09,893 >> The following columns in the training set don't have a corresponding argument in `AlbertForMaskedLM.forward` and have been ignored: text. Exception in device=TPU:0: __init__() missing 1 required positional argument: 'transform' Traceback (most recent call last): File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 330, in _mp_start_fn _start_fn(index, pf_cfg, fn, args) File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/torch_xla/distributed/xla_multiprocessing.py", line 324, in _start_fn fn(gindex, *args) File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 368, in _mp_fn main() File "/home/alejandro_vaca/transformers/examples/language-modeling/run_mlm_wwm.py", line 332, in main data_collator=data_collator, File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 286, in __init__ self._remove_unused_columns(self.train_dataset, description="training") File "/anaconda3/envs/torch-xla-1.7/lib/python3.6/site-packages/transformers/trainer.py", line 359, in _remove_unused_columns dataset.set_format(type=dataset.format["type"], columns=columns) File "/home/alejandro_vaca/datasets/src/datasets/fingerprint.py", line 312, in wrapper out = func(self, *args, **kwargs) File "/home/alejandro_vaca/datasets/src/datasets/arrow_dataset.py", line 818, in set_format _ = get_formatter(type, **format_kwargs) File "/home/alejandro_vaca/datasets/src/datasets/formatting/__init__.py", line 112, in get_formatter return _FORMAT_TYPES[format_type](**format_kwargs) TypeError: __init__() missing 1 required positional argument: 'transform' ``` The code I'm using: ```{python} def tokenize_function(examples): # Remove empty lines examples["text"] = [line for line in examples["text"] if len(line) > 0 and not line.isspace()] return tokenizer(examples["text"], padding=padding, truncation=True, max_length=data_args.max_seq_length) datasets.set_transform(tokenize_function) data_collator = DataCollatorForWholeWordMask(tokenizer=tokenizer, mlm_probability=data_args.mlm_probability) # Initialize our Trainer trainer = Trainer( model=model, args=training_args, train_dataset=datasets["train"] if training_args.do_train else None, eval_dataset=datasets["val"] if training_args.do_eval else None, tokenizer=tokenizer, data_collator=data_collator, ) ``` I've installed from source, master branch.
93
ERROR WHEN USING SET_TRANSFORM()
[ -0.30515041947364807, -0.2836998701095581, -0.12452930212020874, -0.00924040749669075, 0.48999547958374023, -0.30016958713531494, 0.4255421757698059, 0.3468284606933594, -0.22952353954315186, 0.04005948454141617, 0.1660163402557373, 0.13618800044059753, -0.03423581272363663, 0.06958828866481781, -0.13695786893367767, -0.16634151339530945, 0.021303433924913406, 0.41452866792678833, -0.6455920338630676, -0.24591250717639923, -0.4034314751625061, 0.2300594449043274, -0.4799019992351532, 0.24835310876369476, -0.23443615436553955, -0.1753443479537964, 0.26511430740356445, 0.13827307522296906, -0.15218646824359894, 0.2407144457101822, -0.29022932052612305, -0.15833254158496857, -0.2490333765745163, 0.3731088936328888, -0.00009865005267784, 0.013747734017670155, 0.04096043482422829, -0.22627928853034973, 0.05770229175686836, -0.0990927666425705, -0.38516324758529663, 0.03605062887072563, -0.3874129056930542, -0.3074665069580078, -0.040100399404764175, -0.09256049245595932, -0.011410522274672985, -0.3403501808643341, 0.22722189128398895, 0.5662251710891724, 0.37865033745765686, -0.09674444794654846, -0.019220924004912376, -0.23233212530612946, 0.029599804431200027, 0.04488913342356682, 0.04375091940164566, -0.22608940303325653, -0.23682095110416412, 0.16165944933891296, 0.17885258793830872, 0.1512748897075653, -0.2607473134994507, -0.3108521103858948, 0.3774784207344055, -0.10998167097568512, -0.02791338413953781, -0.08294788748025894, 0.11293517053127289, -0.1647951751947403, 0.04868657886981964, -0.26713889837265015, -0.15252122282981873, 0.004050137009471655, -0.0389939621090889, 0.11039962619543076, 0.15160487592220306, 0.057398002594709396, 0.05988786369562149, 0.2601287364959717, -0.37448248267173767, -0.17489326000213623, -0.023223236203193665, 0.20584271848201752, -0.16742892563343048, 0.15017284452915192, 0.006779067683964968, 0.1396833211183548, -0.045501649379730225, 0.09803871065378189, 0.18105801939964294, 0.125417098402977, -0.09281600266695023, -0.028956420719623566, 0.0957300215959549, 0.012663216330111027, 0.009485073387622833, -0.09595052897930145, -0.25518083572387695, 0.14631469547748566, -0.07754021137952805, 0.13099715113639832, 0.15318138897418976, 0.20468661189079285, -0.14314717054367065, 0.641584575176239, -0.023893026635050774, 0.3755456209182739, 0.12062132358551025, -0.12496018409729004, 0.1352284997701645, -0.05458706617355347, 0.22083020210266113, -0.5167106986045837, 0.04397568479180336, 0.32979196310043335, 0.2542438805103302, 0.12973716855049133, -0.11194554716348648, -0.04357515275478363, 0.0734962746500969, -0.10633295029401779, 0.14321453869342804, 0.24099931120872498, 0.22836050391197205, 0.2500048279762268, 0.3748648464679718, 0.36569252610206604, -0.1759985387325287, -0.06555581837892532, -0.29121655225753784, 0.24375508725643158, -0.2165345996618271, -0.07777712494134903, -0.08081644773483276, 0.150632843375206, 0.19332997500896454, -0.031071756035089493, 0.13462969660758972, 0.14191800355911255, -0.11354261636734009, -0.055272430181503296, 0.38830873370170593, 0.15323957800865173, -0.1409136950969696, 0.0580718107521534, 0.408451110124588, -0.20099952816963196, -0.08741508424282074, 0.250076562166214, -0.07001538574695587, -0.29133784770965576, 0.29791131615638733, 0.34438371658325195, 0.07352618873119354, 0.12206141650676727, -0.00580137874931097, 0.0734909251332283, 0.5032409429550171, -0.13503623008728027, 0.24739664793014526, -0.3165664076805115, -0.04281620308756828, -0.059539880603551865, -0.04725964367389679, 0.008969814516603947, -0.1410716027021408, -0.14470091462135315, 0.16543880105018616, 0.09985135495662689, 0.1652975082397461, 0.06087672337889671, 0.03182618319988251, 0.10218950361013412, -0.10743145644664764, 0.1952713131904602, 0.3068253695964813, -0.006172346882522106, -0.12470702081918716, -0.19576704502105713, -0.29682260751724243, -0.538923442363739, 0.03574126586318016, -0.15099136531352997, -0.09474701434373856, -0.08782436698675156, -0.4242023825645447, 0.1736174076795578, 0.13796555995941162, 0.18317802250385284, -0.11977694928646088, 0.17795373499393463, 0.16738338768482208, -0.3385419249534607, 0.1141287088394165, 0.32933056354522705, -0.00427806843072176, 0.4845712184906006, -0.03070611134171486, -0.23377476632595062, 0.32275497913360596, -0.09591223299503326, 0.051071103662252426, -0.2678275406360626, 0.07536546140909195, 0.17083469033241272, 0.2542725205421448, -0.2401440292596817, -0.006953329313546419, 0.21967634558677673, -0.06756585836410522, 0.25248417258262634, -0.5432248115539551, 0.04051217436790466, 0.12816809117794037, 0.18827106058597565, 0.27830755710601807, 0.14654134213924408, 0.041546810418367386, -0.11292839050292969, -0.1254468709230423, 0.08588507026433945, 0.17808778584003448, -0.13976557552814484, -0.3670506179332733, 0.07225068658590317, -0.27203378081321716, -0.1442306488752365, -0.1329559087753296, -0.008984984830021858, 0.41442230343818665, -0.11710895597934723, -0.2624897062778473, 0.3831900358200073, -0.14968785643577576, 0.024275919422507286, -0.3658369183540344, 0.14794707298278809, -0.09283383935689926, -0.593094527721405, 0.10605496913194656, 0.05904437229037285, 0.23665931820869446, 0.03908562287688255, -0.12552662193775177, 0.22017809748649597, -0.17595034837722778, -0.019571872428059578, -0.09208721667528152, 0.3219101130962372, 0.0502895712852478, -0.07325535267591476, -0.009750724770128727, -0.4293205142021179, -0.12524527311325073, 0.04937160387635231, -0.061288658529520035, -0.07775337994098663, 0.16269631683826447, 0.05488380417227745, 0.4081452786922455, 0.02311423048377037, 0.3202982246875763, 0.01149878092110157, 0.19799132645130157, -0.026646820828318596, -0.144491508603096, 0.20476186275482178, 0.41553887724876404, 0.11905572563409805, -0.1811096966266632, 0.08740253746509552, 0.03938824683427811, -0.22493340075016022, 0.3765963613986969, -0.10314758121967316, 0.3201373517513275, -0.07213446497917175, -0.04559401795268059, -0.29476240277290344, 0.03140951693058014, -0.06548482179641724, 0.07556638866662979, 0.16565245389938354, -0.3296929597854614, 0.1451680213212967, -0.10269427299499512, 0.25655367970466614, -0.19531701505184174, 0.05226661637425423, 0.1176285594701767, -0.2018987089395523, -0.0859597846865654, -0.19859197735786438, -0.06754988431930542, 0.21148110926151276, 0.11469761282205582, 0.12467822432518005, 0.38996800780296326, -0.06946762651205063, -0.20977123081684113, 0.06746040284633636, -0.1596265435218811, 0.1712731122970581, -0.10718251764774323, -0.3346264064311981, -0.06937133520841599, -0.24452626705169678, -0.052294857800006866, 0.16367827355861664, -0.10059171915054321, 0.15588723123073578, -0.2711288332939148, -0.2786347568035126, 0.2215280383825302, 0.16533216834068298, 0.03199852257966995, -0.09663466364145279, 0.3161289691925049, -0.4277395009994507, -0.04056593403220177, 0.4084274172782898, 0.009234379045665264, -0.24178645014762878, -0.10218803584575653, -0.23902545869350433, 0.2087816745042801, -0.23469655215740204, 0.007584705948829651, -0.13381776213645935, -0.031638845801353455, 0.5180318355560303, 0.25460103154182434, -0.12419518828392029, 0.18341650068759918, 0.2443745732307434, -0.08599794656038284, 0.2545544505119324, 0.33651575446128845, -0.14325788617134094, -0.2502015233039856, -0.041184201836586, -0.01763581670820713, -0.11606716364622116, 0.22147509455680847, -0.05372455343604088, -0.0817120373249054, -0.25120532512664795, -0.12155628204345703, -0.14399150013923645, 0.07109293341636658, 0.24048911035060883, 0.3085813522338867, -0.29185035824775696, -0.33141812682151794, -0.3338477909564972, 0.12976370751857758, 0.1694781631231308, -0.0838884562253952, -0.07108588516712189, 0.23091702163219452, -0.0015474428655579686, 0.12805135548114777, -0.07740391790866852, -0.07434403896331787, 0.17276181280612946, -0.21300730109214783, 0.10176902264356613, -0.06583204865455627, -0.3989272713661194, 0.21321798861026764, 0.3132927417755127, -0.07494992762804031, -0.11938484758138657, -0.28705069422721863, -0.25022974610328674, -0.18896842002868652, 0.16707192361354828, -0.25704842805862427, -0.019509749487042427, -0.05052555352449417, 0.29649507999420166, 0.2271559238433838, 0.1882532387971878, 0.13637937605381012, 0.0424349419772625, -0.03479636460542679, 0.16876758635044098, -0.11271162331104279, -0.24311402440071106, 0.004403259139508009, -0.14505413174629211, -0.21172575652599335, 0.06354813277721405, 0.4256090521812439, 0.018917597830295563, 0.31789451837539673, -0.32651010155677795, -0.3588898181915283, -0.09911735355854034, -0.08176994323730469, 0.6449646353721619, 0.037769488990306854, -0.07680834829807281, 0.12249710410833359, -0.2591351270675659, -0.48582035303115845, 0.06326989084482193, -0.114072285592556, 0.05169261246919632, -0.12906309962272644, 0.0007387598743662238, 0.04815257713198662, 0.13329380750656128, 0.13870370388031006, -0.0927271619439125, -0.17251554131507874, 0.016924459487199783, -0.1568373143672943, -0.3777822256088257, -0.3293280303478241, -0.17295120656490326, -0.084674172103405, 0.41315922141075134, 0.14947256445884705, 0.21005307137966156, 0.010388958267867565, -0.32085561752319336, 0.013247687369585037, -0.12634071707725525, 0.26373571157455444, 0.20429368317127228, -0.29616788029670715, 0.03332066535949707, 0.1053510457277298, -0.07185051590204239, 0.18098928034305573, 0.3414464592933655, 0.22894030809402466, 0.17375841736793518, 0.09334419667720795, 0.1034318059682846, 0.06754891574382782, -0.17227379977703094, -0.2716313600540161, 0.1798963099718094, 0.3663906157016754, -0.13670974969863892, 0.1840527504682541, 0.18854303658008575, -0.014430628158152103, -0.002889813855290413, -0.33620375394821167, 0.09471814334392548, -0.282654732465744, 0.14053386449813843, -0.06336688250303268, 0.010226831771433353, -0.2689412236213684, 0.26537224650382996, 0.26577842235565186, 0.9576994180679321, 0.03750583529472351, 0.007333133835345507, 0.33657410740852356, -0.1245739534497261, 0.1314706951379776, -0.2990953028202057, 0.10523035377264023, -0.3434135317802429, -0.3061754107475281, -0.09256569296121597, -0.23602360486984253, -0.017653485760092735, 0.11933436989784241, -0.6878086924552917, 0.002704460872337222, -0.10116057842969894, -0.24584783613681793, -0.11157006770372391, -0.060550592839717865, -0.08129328489303589, -0.26147523522377014, -0.06457167863845825, 0.23178376257419586, -0.000352665112586692, 0.20027382671833038, 0.038485683500766754, 0.1406823843717575, -0.3755439817905426, -0.12023237347602844, -0.2138851284980774, 0.12354978173971176, 0.01989184133708477, 0.19680757820606232, -0.2859499156475067, -0.1665690541267395, 0.018890686333179474, -0.01923760399222374, 0.2769692540168762, 0.06579387187957764, 0.04703085124492645, 0.10937031358480453, -0.00975567102432251, 0.16395407915115356, -0.026375750079751015, 0.07279787957668304, 0.29202213883399963, -0.038533177226781845, -0.053021736443042755, 0.09098031371831894, 0.17169174551963806, 0.14971323311328888, -0.25793999433517456, -0.08393259346485138, -0.10762771219015121, -0.3140069842338562, -0.1714014708995819, 0.11906448006629944, 0.12512733042240143, -0.19153150916099548, 0.2930493950843811, -0.07720091938972473, -0.04350602626800537, 0.2986471354961395, -0.08237358927726746, -0.5758967995643616, -0.07173856347799301, 0.37810054421424866, -0.025426184758543968, -0.03148028627038002, 0.4726734757423401, -0.010355906561017036, -0.13159820437431335, -0.340575248003006, 0.09479469805955887, 0.06910784542560577, -0.6405227184295654, 0.4009646773338318, -0.3214915692806244, -0.32341086864471436, -0.10611951351165771, 0.22691428661346436, -0.01329423300921917, 0.23940521478652954, -0.037231702357530594, -0.023899132385849953, -0.23139385879039764, -0.04833213984966278, 0.2599183917045593, 0.10735075175762177, 0.08345820754766464, 0.12091086804866791, 0.4135139286518097, 0.13277898728847504, -0.4634156823158264, -0.4434487819671631, -0.01518970262259245, 0.08384343236684799, 0.13264764845371246, -0.10297351330518723, -0.14572249352931976, -0.04659339040517807, 0.2651456892490387, 0.03203662112355232, -0.06269378960132599, -0.3952094614505768, -0.22420552372932434, 0.03438487648963928, 0.0964609682559967, -0.11349046230316162, -0.13624408841133118, -0.12403619289398193, -0.15954063832759857, -0.37699323892593384, -0.11192694306373596, 0.3386577367782593, -0.024219414219260216, 0.4201146960258484, 0.19355306029319763, -0.5026940703392029, 0.021927259862422943, -0.36043456196784973, -0.012898576445877552, -0.10654034465551376, 0.08121073991060257, 0.18655423820018768, 0.14294515550136566, -0.26863953471183777, -0.32126691937446594, 0.12248878926038742, 0.1746736317873001, 0.149713397026062, 0.027254018932580948, -0.1469360589981079, 0.1780933141708374, 0.12553457915782928, 0.4129607081413269, 0.004796219523996115, -0.2793658971786499, -0.14667019248008728, 0.1136491447687149, 0.30928513407707214, -0.17275623977184296, 0.07331603765487671, 0.07655148953199387, 0.10386690497398376, 0.046859197318553925, 0.1879156231880188, -0.28900060057640076, -0.14487048983573914, -0.05467335134744644, 0.14225931465625763, 0.09539125114679337, -0.17334458231925964, 0.1746189445257187, 0.3108150362968445, -0.32074201107025146, 0.16497473418712616, 0.31508105993270874, 0.1667148619890213, 0.38276785612106323, 0.4172084331512451, 0.15880122780799866, 0.3016064465045929, -0.03520743548870087, 0.14763659238815308, -0.19349342584609985, -0.10856541246175766, 0.1127023845911026, -0.048026904463768005, -0.04841265827417374, 0.18622104823589325, 0.3596360385417938, 0.06766319274902344, 0.01684524677693844, -0.05263374745845795, -0.15065377950668335, 0.36946815252304077, -0.12513764202594757, 0.06934767216444016, -0.038783930242061615, -0.013675651513040066, -0.28834637999534607, -0.16929060220718384, 0.04504713788628578, 0.3399170935153961, 0.4759063422679901, 0.1080206036567688, 0.06720135360956192, 0.1625913828611374, 0.1277286857366562, -0.04303498938679695, -0.0484529510140419, -0.17162874341011047, -0.03085682913661003, 0.26910555362701416, 0.07539273798465729, 0.19957570731639862, 0.5161964297294617, 0.3721596896648407, 0.41091227531433105, 0.00794804934412241, 0.04706507921218872, 0.006253107450902462, -0.23643791675567627, -0.0642637312412262, 0.14347314834594727, -0.05523266643285751, 0.25396788120269775, 0.06022274121642113, 0.3102772831916809, -0.2614348232746124, -0.15556292235851288, 0.11525192111730576, 0.3060569167137146, 0.20646686851978302, 0.25062352418899536, 0.20065946877002716, -0.015022128820419312, -0.13728339970111847, -0.07091900706291199, -0.1692829579114914, 0.15247297286987305, 0.2530409097671509, -0.25238698720932007, 0.24088901281356812, 0.005469551309943199, 0.1772804856300354, 0.43782585859298706, 0.31276068091392517, -0.11455011367797852, 0.02199643850326538, -0.10924166440963745, -0.14480029046535492, -0.03641366958618164, 0.3396470248699188, 0.31686511635780334, 0.01513068750500679, -0.08273160457611084, -0.03856435418128967, 0.18435344099998474, -0.15871252119541168, 0.23995733261108398, -0.09119900315999985, -0.0683286190032959, 0.29682376980781555, 0.13274690508842468, -0.24620679020881653, 0.08546829968690872, -0.054674409329891205, 0.059986066073179245, -0.14343780279159546, 0.0654921680688858, 0.0751972645521164, 0.36631259322166443, -0.27988824248313904, -0.11520110815763474, -0.09428892284631729, 0.07572043687105179, 0.3830592930316925, 0.12773631513118744, 0.15217243134975433, -0.4416971206665039, 0.4720380902290344, 0.05117330700159073, -0.2988552451133728, -0.20861878991127014, 0.17332835495471954, -0.20749814808368683, 0.06591576337814331, -0.2022881656885147, -0.19838005304336548, -0.28232911229133606, 0.179574117064476, 0.1326296627521515, 0.10921254754066467, -0.32152289152145386, 0.2366202026605606, -0.19991913437843323, -0.114627905189991, -0.03329252079129219, 0.06746351718902588, 0.11121491342782974, 0.2961375415325165, -0.2094673365354538, -0.5726512670516968, 0.5247295498847961, 0.022914454340934753, -0.6996884942054749, 0.26929038763046265, 0.0026446247939020395, -0.32180798053741455, -0.11388421803712845, -0.1565512716770172, 0.0311439149081707, 0.1436406672000885, -0.13149063289165497, -0.283918559551239, 0.06116548553109169, -0.15451020002365112, -0.07804805040359497, 0.07525021582841873, 0.43818891048431396, 0.185745969414711, -0.309295117855072, -0.10797389596700668, 0.19897568225860596 ]
https://github.com/huggingface/datasets/issues/1859
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
Hi @corticalstack ! Thanks for reporting. Indeed in the recent versions of Faiss we must use `getDevice` to check if the index in on GPU. I'm opening a PR
Error serializing faiss index. Error as follows: `Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index` Note: `torch.cuda.is_available()` reports: ``` Cuda is available cuda:0 ``` Adding index, device=0 for GPU. `dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)` However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK. ``` def save(self, file: str): """Serialize the FaissIndex on disk""" import faiss # noqa: F811 if ( hasattr(self.faiss_index, "device") and self.faiss_index.device is not None and self.faiss_index.device > -1 ): index = faiss.index_gpu_to_cpu(self.faiss_index) else: index = self.faiss_index faiss.write_index(index, file) ```
29
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
[ -0.24086031317710876, -0.16075658798217773, -0.13162249326705933, 0.130418062210083, 0.3303169906139374, 0.14161206781864166, 0.2461169809103012, 0.5154961943626404, 0.28803789615631104, 0.37957391142845154, 0.06381835788488388, 0.15221531689167023, -0.11253330111503601, 0.2208957076072693, -0.2881785035133362, 0.006077625323086977, 0.11991103738546371, 0.29384157061576843, 0.2665799856185913, -0.08415663242340088, -0.22505103051662445, 0.17389048635959625, -0.10574331879615784, 0.07799738645553589, -0.014168529771268368, -0.3035430312156677, 0.057754773646593094, 0.029763026162981987, -0.10118135809898376, -0.2857862710952759, -0.14215590059757233, -0.31234315037727356, 0.24369877576828003, 0.27451732754707336, -0.00009993182175094262, 0.03343920782208443, 0.2423105388879776, -0.19741427898406982, -0.06060980632901192, -0.014700659550726414, 0.08114838600158691, 0.07824797183275223, -0.08230520784854889, -0.3659728765487671, -0.18181607127189636, -0.33831551671028137, 0.1479179859161377, -0.024929963052272797, -0.2793457508087158, 0.03362399712204933, 0.33585742115974426, -0.026065528392791748, 0.27675411105155945, -0.21996954083442688, 0.07817547768354416, 0.21004624664783478, -0.11551044881343842, 0.05572919175028801, -0.04963967576622963, 0.2091401368379593, 0.11137663573026657, 0.2862592935562134, -0.11676319688558578, -0.2055266946554184, -0.01495618186891079, -0.03547869250178337, 0.31082573533058167, -0.15897470712661743, 0.2305649071931839, -0.13565905392169952, 0.11180751770734787, -0.22706636786460876, -0.011767135933041573, 0.2643364369869232, 0.028806405141949654, -0.49920615553855896, -0.0754188522696495, 0.07828852534294128, -0.03839500993490219, 0.13666941225528717, 0.3694077730178833, 0.03185993805527687, -0.06475143134593964, -0.14180034399032593, 0.05960453674197197, 0.23119740188121796, -0.10436204075813293, 0.17753839492797852, -0.015814779326319695, -0.09405198693275452, -0.1480747014284134, 0.13971465826034546, 0.15018825232982635, -0.08896365016698837, -0.14870259165763855, -0.06522887200117111, 0.08657495677471161, -0.5811258554458618, -0.059369806200265884, 0.2165856957435608, -0.12436135113239288, 0.16008096933364868, 0.47289079427719116, 0.002482696669176221, -0.21184661984443665, 0.24826475977897644, -0.05443745106458664, -0.06931857764720917, 0.10425908118486404, 0.02464406192302704, -0.026533981785178185, -0.21773430705070496, -0.1246122196316719, 0.22292521595954895, -0.07821576297283173, 0.15787965059280396, 0.09367199242115021, -0.17670343816280365, -0.43070363998413086, 0.1932823359966278, -0.1269514411687851, 0.3201330304145813, 0.0982976108789444, 0.2572714686393738, 0.26790979504585266, -0.17746470868587494, 0.1946922242641449, 0.20820584893226624, -0.2967025637626648, 0.12562891840934753, -0.22821669280529022, -0.004324422217905521, 0.10240018367767334, -0.108564592897892, 0.060354623943567276, -0.2201802283525467, 0.010907602496445179, -0.03815165534615517, -0.21105706691741943, 0.23181119561195374, 0.32669708132743835, -0.37481650710105896, 0.1630258858203888, 0.2605004906654358, 0.20902180671691895, 0.01890883594751358, 0.41701552271842957, -0.01707100309431553, -0.00021140008175279945, 0.24785441160202026, 0.19442470371723175, -0.01749689318239689, -0.2404339462518692, 0.30044427514076233, 0.3886880874633789, -0.0062779709696769714, 0.2664223909378052, 0.1450549066066742, 0.014244012534618378, -0.19122907519340515, -0.0920463427901268, 0.09428756684064865, 0.06444431841373444, -0.24602225422859192, 0.2848415970802307, 0.03517318516969681, -0.09654045104980469, -0.003904354525730014, 0.09172508865594864, -0.1761723905801773, 0.22411561012268066, 0.37171050906181335, 0.12593917548656464, 0.2609977424144745, -0.1816127896308899, 0.5785080194473267, -0.05882753059267998, -0.14892955124378204, -0.16019847989082336, 0.15159392356872559, -0.3652104437351227, -0.4543531537055969, 0.24422889947891235, 0.1313229352235794, 0.28176984190940857, 0.002768221776932478, 0.20684386789798737, -0.12332401424646378, -0.03303695097565651, -0.06263530999422073, -0.29757755994796753, -0.21665368974208832, 0.28269392251968384, 0.0484752394258976, 0.12815962731838226, 0.1046544685959816, -0.051159586757421494, -0.12432462722063065, 0.10485538840293884, -0.2431410700082779, 0.04839503765106201, 0.052619818598032, 0.577946662902832, -0.16115425527095795, -0.1064365953207016, 0.03786478936672211, -0.017664240673184395, -0.03175831958651543, -0.055622514337301254, -0.14295953512191772, -0.20298932492733002, 0.018765795975923538, -0.124589703977108, -0.16255010664463043, 0.2114851027727127, 0.21956585347652435, 0.2811243236064911, 0.08757229149341583, -0.17304998636245728, 0.2386191189289093, -0.19748567044734955, -0.2792397439479828, -0.1722540557384491, -0.09177035093307495, 0.13901358842849731, 0.11563686281442642, -0.2906435430049896, -0.5609858632087708, 0.07833272963762283, 0.01976550929248333, 0.36615362763404846, -0.23123951256275177, 0.06507217139005661, 0.2643871307373047, -0.028981255367398262, -0.10519539564847946, 0.2575136423110962, 0.2419733852148056, -0.032483138144016266, -0.038299717009067535, 0.09774172306060791, 0.5205902457237244, 0.3163374364376068, -0.08742192387580872, -0.03425369784235954, 0.35087263584136963, -0.04070647060871124, -0.1645674854516983, -0.14715203642845154, -0.09415075927972794, 0.3134818375110626, 0.001836061361245811, 0.10997693985700607, -0.18880683183670044, -0.015881787985563278, 0.24954037368297577, -0.0013476903550326824, -0.3052830398082733, -0.6551851034164429, -0.07204118371009827, 0.035001788288354874, -0.023321043699979782, 0.4185633361339569, -0.09658762067556381, 0.11768152564764023, 0.01825058087706566, 0.1168544813990593, -0.6016156673431396, 0.09182020276784897, 0.20990675687789917, -0.027425887063145638, -0.08478366583585739, -0.2372989058494568, -0.19469621777534485, 0.2506301701068878, -0.11828475445508957, -0.29289326071739197, 0.4276241958141327, -0.12309892475605011, -0.12802323698997498, -0.15250925719738007, 0.07899829000234604, 0.14575712382793427, 0.16025632619857788, -0.10312946885824203, -0.009317063726484776, -0.06591178476810455, -0.20942488312721252, 0.10293785482645035, 0.04640623554587364, 0.026822686195373535, -0.033154621720314026, 0.010110834613442421, 0.3430495858192444, -0.1329573690891266, 0.2847157418727875, -0.11675787717103958, 0.23583948612213135, 0.3476875424385071, 0.1862630546092987, -0.07407179474830627, 0.10306725651025772, -0.08174685388803482, 0.11049822717905045, 0.0967252179980278, 0.10516757518053055, 0.24195732176303864, 0.04361250624060631, 0.2928394079208374, -0.14799851179122925, -0.060915540903806686, -0.03674330934882164, -0.26156559586524963, -0.1543474644422531, -0.01013813354074955, 0.19842897355556488, -0.21110136806964874, -0.20504291355609894, 0.18282118439674377, -0.21907280385494232, -0.18909721076488495, 0.01912626251578331, -0.14809827506542206, 0.011459843255579472, -0.36680468916893005, -0.022395528852939606, 0.022695476189255714, -0.28697583079338074, 0.1582876294851303, 0.0029001799412071705, 0.10962089896202087, 0.07939723134040833, 0.12206238508224487, 0.3155459761619568, 0.38085976243019104, -0.21263913810253143, -0.24418652057647705, -0.05243746191263199, 0.1952909380197525, -0.04058485105633736, -0.44245782494544983, 0.1920504868030548, 0.11484096199274063, -0.13032421469688416, -0.06744290143251419, -0.05828746780753136, 0.08787782490253448, 0.28478801250457764, 0.0009139262256212533, -0.3598780333995819, 0.02005242556333542, 0.19800619781017303, -0.07416633516550064, -0.2293696105480194, -0.05895617604255676, -0.2646659314632416, 0.2462049275636673, 0.013325600884854794, 0.10201329737901688, -0.13708412647247314, 0.4359913766384125, 0.1350192278623581, 0.22737641632556915, -0.1717417985200882, -0.13431309163570404, 0.29938822984695435, 0.08410084247589111, 0.2163778841495514, -0.15484365820884705, -0.02620793506503105, 0.21688230335712433, 0.2948748767375946, -0.18394558131694794, 0.008037691004574299, -0.44886505603790283, -0.18703316152095795, 0.10909511893987656, 0.24417942762374878, 0.027381151914596558, 0.016304122284054756, 0.028251882642507553, 0.16832931339740753, 0.10829516500234604, -0.3287316858768463, 0.32383787631988525, -0.20826944708824158, 0.18853884935379028, 0.1541808545589447, 0.12398232519626617, 0.06925346702337265, -0.12565186619758606, -0.14672935009002686, -0.12917007505893707, -0.37574973702430725, 0.28997668623924255, 0.037724487483501434, 0.2020590603351593, -0.25806427001953125, -0.2221921980381012, 0.13802951574325562, -0.03659335896372795, 0.5203840732574463, 0.2954970896244049, -0.033095743507146835, 0.38967251777648926, -0.050300922244787216, -0.2299577295780182, -0.00998151395469904, -0.25661030411720276, 0.3148185908794403, -0.07332411408424377, 0.568587064743042, -0.2061733603477478, -0.068893663585186, -0.25297340750694275, -0.16487114131450653, -0.11493807286024094, -0.03773846477270126, -0.24376638233661652, -0.3473914563655853, -0.16390173137187958, 0.2400970607995987, -0.0012280016671866179, 0.3904978036880493, 0.030202195048332214, 0.14854085445404053, -0.5252600312232971, -0.1452684849500656, -0.18584179878234863, -0.24532102048397064, 0.4467746913433075, 0.0016540026990696788, -0.12623797357082367, 0.06771876662969589, 0.15802103281021118, 0.291695773601532, -0.2291792929172516, 0.3886920213699341, 0.44135817885398865, 0.41775673627853394, -0.13782139122486115, -0.14865024387836456, 0.16122309863567352, 0.17898675799369812, 0.11310102790594101, -0.11060836911201477, 0.1475476175546646, -0.5183354616165161, 0.11889109015464783, -0.09409578144550323, -0.17327921092510223, -0.2013092190027237, 0.3149932324886322, 0.14353987574577332, -0.2905431389808655, 0.14252914488315582, 0.11751789599657059, -0.023944204673171043, -0.32371842861175537, 0.26707735657691956, 0.47050371766090393, 0.67937171459198, 0.01818178966641426, 0.050568293780088425, 0.10675657540559769, -0.361448734998703, -0.07982372492551804, 0.03800851106643677, 0.34131157398223877, -0.5490125417709351, -0.36207646131515503, -0.04054569825530052, 0.08242948353290558, 0.0339641310274601, -0.130930095911026, -0.474752813577652, -0.07251620292663574, -0.3395053446292877, 0.05025734379887581, -0.22966629266738892, 0.14591412246227264, 0.08497768640518188, -0.2645920217037201, -0.13126835227012634, 0.22668437659740448, 0.036535851657390594, 0.016651738435029984, -0.05934381112456322, -0.16576670110225677, -0.02479517087340355, 0.15175889432430267, 0.10791261494159698, -0.1146429181098938, -0.11508411169052124, 0.4971969723701477, -0.3443608582019806, -0.20798088610172272, -0.608352541923523, -0.29498291015625, 0.18196287751197815, -0.0023025742266327143, -0.07617326825857162, -0.26538509130477905, 0.08071456104516983, -0.07907919585704803, -0.21325241029262543, -0.0297775249928236, 0.2373981475830078, 0.030283013358712196, 0.0006516604917123914, 0.011705870740115643, 0.08265366405248642, -0.25257253646850586, -0.03599609062075615, -0.13573546707630157, -0.4655900001525879, -0.01773947663605213, -0.25803565979003906, -0.04824802652001381, 0.07950378954410553, -0.025053970515727997, 0.2516156733036041, 0.24512144923210144, -0.26203617453575134, 0.014395938254892826, 0.008586379699409008, -0.12492500245571136, -0.10551582276821136, 0.5634852051734924, -0.017748428508639336, 0.12754209339618683, 0.3605479598045349, -0.05808117985725403, -0.13998591899871826, -0.2749178111553192, 0.14500345289707184, 0.19092245399951935, 0.11614905297756195, 0.1874624639749527, -0.41095876693725586, -0.2829782962799072, 0.10456391423940659, 0.33352792263031006, 0.11430754512548447, 0.15710215270519257, -0.458717405796051, 0.1530776023864746, -0.5469461679458618, 0.17426583170890808, 0.06643001735210419, 0.21812929213047028, -0.08576877415180206, 0.08048668503761292, 0.11885671317577362, -0.43039005994796753, -0.4379444718360901, 0.11492029577493668, -0.6983251571655273, 0.25529876351356506, -0.1778707057237625, -0.26373380422592163, 0.04695853963494301, 0.1214219257235527, 0.2904481589794159, 0.09325747936964035, -0.10977588593959808, -0.3449237644672394, -0.1117091178894043, 0.018813706934452057, 0.1200127974152565, 0.051935408264398575, -0.1237572580575943, -0.22513897716999054, -0.2439541220664978, 0.08790995925664902, -0.0016650003381073475, 0.28312382102012634, -0.0067964536137878895, -0.11721134930849075, 0.19108982384204865, 0.20794135332107544, 0.0664755254983902, -0.16683125495910645, 0.21174098551273346, -0.0012483871541917324, 0.017457373440265656, -0.15263710916042328, -0.16429895162582397, 0.12849748134613037, -0.040204282850027084, 0.1090875118970871, 0.2571360468864441, -0.10255782306194305, 0.1276342123746872, -0.09449821710586548, -0.1341477781534195, 0.3660929501056671, 0.14899863302707672, -0.12049055099487305, -0.09988252073526382, -0.2170596420764923, 0.13193054497241974, 0.36388376355171204, 0.13858246803283691, -0.07749158889055252, -0.2944873571395874, -0.252098023891449, -0.036755677312612534, 0.1546049416065216, 0.20274701714515686, 0.12850546836853027, -0.2918015718460083, 0.12346810847520828, 0.15634335577487946, -0.055871497839689255, -0.059790994971990585, -0.033961109817028046, -0.05063202977180481, 0.06752454489469528, 0.19079186022281647, 0.21529142558574677, 0.2574279308319092, 0.3776797652244568, 0.19588039815425873, 0.21557627618312836, 0.43421468138694763, 0.051508884876966476, -0.18979543447494507, -0.05882090702652931, -0.17088326811790466, 0.11216656863689423, -0.0774516612291336, 0.14817573130130768, -0.05750756338238716, -0.2153751403093338, -0.5431801080703735, -0.3353297710418701, -0.03516837954521179, 0.09261491894721985, -0.5146284699440002, -0.07385285943746567, -0.20731855928897858, 0.036446720361709595, 0.12249340862035751, -0.1998848021030426, 0.1547563523054123, 0.2753390967845917, -0.16368567943572998, -0.02232549898326397, -0.172479048371315, 0.4100354015827179, -0.3450622260570526, 0.3995321989059448, 0.17272353172302246, -0.13392533361911774, -0.06807143986225128, 0.11228090524673462, 0.010339660570025444, 0.010852625593543053, 0.2323538064956665, 0.32646116614341736, 0.18917033076286316, -0.4305044412612915, 0.10857722163200378, 0.22342121601104736, -0.08109362423419952, 0.08765565603971481, -0.0832781046628952, 0.2545301616191864, 0.41752204298973083, 0.20929832756519318, 0.22423772513866425, -0.18938054144382477, 0.049186281859874725, 0.20956633985042572, 0.10034921765327454, 0.10768624395132065, -0.02737394906580448, -0.26415860652923584, -0.1451871544122696, -0.030396252870559692, -0.04069489613175392, -0.343557745218277, 0.07644365727901459, 0.014134092256426811, -0.2900950014591217, 0.19570228457450867, 0.3086068332195282, 0.1495206505060196, -0.35068991780281067, 0.23688730597496033, -0.14528729021549225, -0.49096381664276123, -0.44884029030799866, -0.0861339345574379, 0.08590911328792572, 0.3113583028316498, 0.28695112466812134, 0.01449592411518097, 0.036615919321775436, 0.46894505620002747, 0.012735649943351746, -0.28079721331596375, -0.14645162224769592, -0.20020543038845062, 0.29108497500419617, 0.16342958807945251, -0.11527234315872192, 0.25516822934150696, -0.26041245460510254, -0.36587825417518616, -0.03961942717432976, -0.0693308562040329, 0.30304190516471863, 0.04073479399085045, 0.4286019504070282, 0.03458163142204285, -0.01929447613656521, -0.2590990364551544, 0.24488286674022675, 0.3979736864566803, -0.2764691710472107, -0.004510071128606796, -0.09166160970926285, -0.21076615154743195, 0.28039538860321045, 0.053422268480062485, -0.24422785639762878, 0.152858704328537, 0.06724834442138672, 0.3277190923690796, -0.058531612157821655, 0.06947790831327438, -0.18213631212711334, 0.5108931064605713, 0.09247317165136337, 0.02514348365366459, -0.039752133190631866, 0.47312018275260925, -0.235215425491333, -0.36691126227378845, 0.3565039038658142, 0.11436651647090912, 0.2725687325000763, 0.34904229640960693, -0.24771317839622498, -0.29002729058265686, 0.1906149685382843, 0.010729331523180008, -0.22333049774169922, 0.02431591972708702, 0.23426224291324615, 0.13705213367938995, 0.25433045625686646, -0.47440189123153687, -0.06082783639431, 0.03665667772293091, -0.11981618404388428, -0.22481130063533783, -0.0473845973610878, -0.092056505382061, -0.16449274122714996, 0.01715666800737381, -0.05465106666088104, 0.20938615500926971, 0.06090708449482918, -0.14412511885166168, -0.010376758873462677 ]
https://github.com/huggingface/datasets/issues/1859
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
I fixed this issue. It should work fine now. Feel free to try it out by installing `datasets` from source. Otherwise you can wait for the next release of `datasets` (in a few days)
Error serializing faiss index. Error as follows: `Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index` Note: `torch.cuda.is_available()` reports: ``` Cuda is available cuda:0 ``` Adding index, device=0 for GPU. `dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)` However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK. ``` def save(self, file: str): """Serialize the FaissIndex on disk""" import faiss # noqa: F811 if ( hasattr(self.faiss_index, "device") and self.faiss_index.device is not None and self.faiss_index.device > -1 ): index = faiss.index_gpu_to_cpu(self.faiss_index) else: index = self.faiss_index faiss.write_index(index, file) ```
34
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
[ -0.24086031317710876, -0.16075658798217773, -0.13162249326705933, 0.130418062210083, 0.3303169906139374, 0.14161206781864166, 0.2461169809103012, 0.5154961943626404, 0.28803789615631104, 0.37957391142845154, 0.06381835788488388, 0.15221531689167023, -0.11253330111503601, 0.2208957076072693, -0.2881785035133362, 0.006077625323086977, 0.11991103738546371, 0.29384157061576843, 0.2665799856185913, -0.08415663242340088, -0.22505103051662445, 0.17389048635959625, -0.10574331879615784, 0.07799738645553589, -0.014168529771268368, -0.3035430312156677, 0.057754773646593094, 0.029763026162981987, -0.10118135809898376, -0.2857862710952759, -0.14215590059757233, -0.31234315037727356, 0.24369877576828003, 0.27451732754707336, -0.00009993182175094262, 0.03343920782208443, 0.2423105388879776, -0.19741427898406982, -0.06060980632901192, -0.014700659550726414, 0.08114838600158691, 0.07824797183275223, -0.08230520784854889, -0.3659728765487671, -0.18181607127189636, -0.33831551671028137, 0.1479179859161377, -0.024929963052272797, -0.2793457508087158, 0.03362399712204933, 0.33585742115974426, -0.026065528392791748, 0.27675411105155945, -0.21996954083442688, 0.07817547768354416, 0.21004624664783478, -0.11551044881343842, 0.05572919175028801, -0.04963967576622963, 0.2091401368379593, 0.11137663573026657, 0.2862592935562134, -0.11676319688558578, -0.2055266946554184, -0.01495618186891079, -0.03547869250178337, 0.31082573533058167, -0.15897470712661743, 0.2305649071931839, -0.13565905392169952, 0.11180751770734787, -0.22706636786460876, -0.011767135933041573, 0.2643364369869232, 0.028806405141949654, -0.49920615553855896, -0.0754188522696495, 0.07828852534294128, -0.03839500993490219, 0.13666941225528717, 0.3694077730178833, 0.03185993805527687, -0.06475143134593964, -0.14180034399032593, 0.05960453674197197, 0.23119740188121796, -0.10436204075813293, 0.17753839492797852, -0.015814779326319695, -0.09405198693275452, -0.1480747014284134, 0.13971465826034546, 0.15018825232982635, -0.08896365016698837, -0.14870259165763855, -0.06522887200117111, 0.08657495677471161, -0.5811258554458618, -0.059369806200265884, 0.2165856957435608, -0.12436135113239288, 0.16008096933364868, 0.47289079427719116, 0.002482696669176221, -0.21184661984443665, 0.24826475977897644, -0.05443745106458664, -0.06931857764720917, 0.10425908118486404, 0.02464406192302704, -0.026533981785178185, -0.21773430705070496, -0.1246122196316719, 0.22292521595954895, -0.07821576297283173, 0.15787965059280396, 0.09367199242115021, -0.17670343816280365, -0.43070363998413086, 0.1932823359966278, -0.1269514411687851, 0.3201330304145813, 0.0982976108789444, 0.2572714686393738, 0.26790979504585266, -0.17746470868587494, 0.1946922242641449, 0.20820584893226624, -0.2967025637626648, 0.12562891840934753, -0.22821669280529022, -0.004324422217905521, 0.10240018367767334, -0.108564592897892, 0.060354623943567276, -0.2201802283525467, 0.010907602496445179, -0.03815165534615517, -0.21105706691741943, 0.23181119561195374, 0.32669708132743835, -0.37481650710105896, 0.1630258858203888, 0.2605004906654358, 0.20902180671691895, 0.01890883594751358, 0.41701552271842957, -0.01707100309431553, -0.00021140008175279945, 0.24785441160202026, 0.19442470371723175, -0.01749689318239689, -0.2404339462518692, 0.30044427514076233, 0.3886880874633789, -0.0062779709696769714, 0.2664223909378052, 0.1450549066066742, 0.014244012534618378, -0.19122907519340515, -0.0920463427901268, 0.09428756684064865, 0.06444431841373444, -0.24602225422859192, 0.2848415970802307, 0.03517318516969681, -0.09654045104980469, -0.003904354525730014, 0.09172508865594864, -0.1761723905801773, 0.22411561012268066, 0.37171050906181335, 0.12593917548656464, 0.2609977424144745, -0.1816127896308899, 0.5785080194473267, -0.05882753059267998, -0.14892955124378204, -0.16019847989082336, 0.15159392356872559, -0.3652104437351227, -0.4543531537055969, 0.24422889947891235, 0.1313229352235794, 0.28176984190940857, 0.002768221776932478, 0.20684386789798737, -0.12332401424646378, -0.03303695097565651, -0.06263530999422073, -0.29757755994796753, -0.21665368974208832, 0.28269392251968384, 0.0484752394258976, 0.12815962731838226, 0.1046544685959816, -0.051159586757421494, -0.12432462722063065, 0.10485538840293884, -0.2431410700082779, 0.04839503765106201, 0.052619818598032, 0.577946662902832, -0.16115425527095795, -0.1064365953207016, 0.03786478936672211, -0.017664240673184395, -0.03175831958651543, -0.055622514337301254, -0.14295953512191772, -0.20298932492733002, 0.018765795975923538, -0.124589703977108, -0.16255010664463043, 0.2114851027727127, 0.21956585347652435, 0.2811243236064911, 0.08757229149341583, -0.17304998636245728, 0.2386191189289093, -0.19748567044734955, -0.2792397439479828, -0.1722540557384491, -0.09177035093307495, 0.13901358842849731, 0.11563686281442642, -0.2906435430049896, -0.5609858632087708, 0.07833272963762283, 0.01976550929248333, 0.36615362763404846, -0.23123951256275177, 0.06507217139005661, 0.2643871307373047, -0.028981255367398262, -0.10519539564847946, 0.2575136423110962, 0.2419733852148056, -0.032483138144016266, -0.038299717009067535, 0.09774172306060791, 0.5205902457237244, 0.3163374364376068, -0.08742192387580872, -0.03425369784235954, 0.35087263584136963, -0.04070647060871124, -0.1645674854516983, -0.14715203642845154, -0.09415075927972794, 0.3134818375110626, 0.001836061361245811, 0.10997693985700607, -0.18880683183670044, -0.015881787985563278, 0.24954037368297577, -0.0013476903550326824, -0.3052830398082733, -0.6551851034164429, -0.07204118371009827, 0.035001788288354874, -0.023321043699979782, 0.4185633361339569, -0.09658762067556381, 0.11768152564764023, 0.01825058087706566, 0.1168544813990593, -0.6016156673431396, 0.09182020276784897, 0.20990675687789917, -0.027425887063145638, -0.08478366583585739, -0.2372989058494568, -0.19469621777534485, 0.2506301701068878, -0.11828475445508957, -0.29289326071739197, 0.4276241958141327, -0.12309892475605011, -0.12802323698997498, -0.15250925719738007, 0.07899829000234604, 0.14575712382793427, 0.16025632619857788, -0.10312946885824203, -0.009317063726484776, -0.06591178476810455, -0.20942488312721252, 0.10293785482645035, 0.04640623554587364, 0.026822686195373535, -0.033154621720314026, 0.010110834613442421, 0.3430495858192444, -0.1329573690891266, 0.2847157418727875, -0.11675787717103958, 0.23583948612213135, 0.3476875424385071, 0.1862630546092987, -0.07407179474830627, 0.10306725651025772, -0.08174685388803482, 0.11049822717905045, 0.0967252179980278, 0.10516757518053055, 0.24195732176303864, 0.04361250624060631, 0.2928394079208374, -0.14799851179122925, -0.060915540903806686, -0.03674330934882164, -0.26156559586524963, -0.1543474644422531, -0.01013813354074955, 0.19842897355556488, -0.21110136806964874, -0.20504291355609894, 0.18282118439674377, -0.21907280385494232, -0.18909721076488495, 0.01912626251578331, -0.14809827506542206, 0.011459843255579472, -0.36680468916893005, -0.022395528852939606, 0.022695476189255714, -0.28697583079338074, 0.1582876294851303, 0.0029001799412071705, 0.10962089896202087, 0.07939723134040833, 0.12206238508224487, 0.3155459761619568, 0.38085976243019104, -0.21263913810253143, -0.24418652057647705, -0.05243746191263199, 0.1952909380197525, -0.04058485105633736, -0.44245782494544983, 0.1920504868030548, 0.11484096199274063, -0.13032421469688416, -0.06744290143251419, -0.05828746780753136, 0.08787782490253448, 0.28478801250457764, 0.0009139262256212533, -0.3598780333995819, 0.02005242556333542, 0.19800619781017303, -0.07416633516550064, -0.2293696105480194, -0.05895617604255676, -0.2646659314632416, 0.2462049275636673, 0.013325600884854794, 0.10201329737901688, -0.13708412647247314, 0.4359913766384125, 0.1350192278623581, 0.22737641632556915, -0.1717417985200882, -0.13431309163570404, 0.29938822984695435, 0.08410084247589111, 0.2163778841495514, -0.15484365820884705, -0.02620793506503105, 0.21688230335712433, 0.2948748767375946, -0.18394558131694794, 0.008037691004574299, -0.44886505603790283, -0.18703316152095795, 0.10909511893987656, 0.24417942762374878, 0.027381151914596558, 0.016304122284054756, 0.028251882642507553, 0.16832931339740753, 0.10829516500234604, -0.3287316858768463, 0.32383787631988525, -0.20826944708824158, 0.18853884935379028, 0.1541808545589447, 0.12398232519626617, 0.06925346702337265, -0.12565186619758606, -0.14672935009002686, -0.12917007505893707, -0.37574973702430725, 0.28997668623924255, 0.037724487483501434, 0.2020590603351593, -0.25806427001953125, -0.2221921980381012, 0.13802951574325562, -0.03659335896372795, 0.5203840732574463, 0.2954970896244049, -0.033095743507146835, 0.38967251777648926, -0.050300922244787216, -0.2299577295780182, -0.00998151395469904, -0.25661030411720276, 0.3148185908794403, -0.07332411408424377, 0.568587064743042, -0.2061733603477478, -0.068893663585186, -0.25297340750694275, -0.16487114131450653, -0.11493807286024094, -0.03773846477270126, -0.24376638233661652, -0.3473914563655853, -0.16390173137187958, 0.2400970607995987, -0.0012280016671866179, 0.3904978036880493, 0.030202195048332214, 0.14854085445404053, -0.5252600312232971, -0.1452684849500656, -0.18584179878234863, -0.24532102048397064, 0.4467746913433075, 0.0016540026990696788, -0.12623797357082367, 0.06771876662969589, 0.15802103281021118, 0.291695773601532, -0.2291792929172516, 0.3886920213699341, 0.44135817885398865, 0.41775673627853394, -0.13782139122486115, -0.14865024387836456, 0.16122309863567352, 0.17898675799369812, 0.11310102790594101, -0.11060836911201477, 0.1475476175546646, -0.5183354616165161, 0.11889109015464783, -0.09409578144550323, -0.17327921092510223, -0.2013092190027237, 0.3149932324886322, 0.14353987574577332, -0.2905431389808655, 0.14252914488315582, 0.11751789599657059, -0.023944204673171043, -0.32371842861175537, 0.26707735657691956, 0.47050371766090393, 0.67937171459198, 0.01818178966641426, 0.050568293780088425, 0.10675657540559769, -0.361448734998703, -0.07982372492551804, 0.03800851106643677, 0.34131157398223877, -0.5490125417709351, -0.36207646131515503, -0.04054569825530052, 0.08242948353290558, 0.0339641310274601, -0.130930095911026, -0.474752813577652, -0.07251620292663574, -0.3395053446292877, 0.05025734379887581, -0.22966629266738892, 0.14591412246227264, 0.08497768640518188, -0.2645920217037201, -0.13126835227012634, 0.22668437659740448, 0.036535851657390594, 0.016651738435029984, -0.05934381112456322, -0.16576670110225677, -0.02479517087340355, 0.15175889432430267, 0.10791261494159698, -0.1146429181098938, -0.11508411169052124, 0.4971969723701477, -0.3443608582019806, -0.20798088610172272, -0.608352541923523, -0.29498291015625, 0.18196287751197815, -0.0023025742266327143, -0.07617326825857162, -0.26538509130477905, 0.08071456104516983, -0.07907919585704803, -0.21325241029262543, -0.0297775249928236, 0.2373981475830078, 0.030283013358712196, 0.0006516604917123914, 0.011705870740115643, 0.08265366405248642, -0.25257253646850586, -0.03599609062075615, -0.13573546707630157, -0.4655900001525879, -0.01773947663605213, -0.25803565979003906, -0.04824802652001381, 0.07950378954410553, -0.025053970515727997, 0.2516156733036041, 0.24512144923210144, -0.26203617453575134, 0.014395938254892826, 0.008586379699409008, -0.12492500245571136, -0.10551582276821136, 0.5634852051734924, -0.017748428508639336, 0.12754209339618683, 0.3605479598045349, -0.05808117985725403, -0.13998591899871826, -0.2749178111553192, 0.14500345289707184, 0.19092245399951935, 0.11614905297756195, 0.1874624639749527, -0.41095876693725586, -0.2829782962799072, 0.10456391423940659, 0.33352792263031006, 0.11430754512548447, 0.15710215270519257, -0.458717405796051, 0.1530776023864746, -0.5469461679458618, 0.17426583170890808, 0.06643001735210419, 0.21812929213047028, -0.08576877415180206, 0.08048668503761292, 0.11885671317577362, -0.43039005994796753, -0.4379444718360901, 0.11492029577493668, -0.6983251571655273, 0.25529876351356506, -0.1778707057237625, -0.26373380422592163, 0.04695853963494301, 0.1214219257235527, 0.2904481589794159, 0.09325747936964035, -0.10977588593959808, -0.3449237644672394, -0.1117091178894043, 0.018813706934452057, 0.1200127974152565, 0.051935408264398575, -0.1237572580575943, -0.22513897716999054, -0.2439541220664978, 0.08790995925664902, -0.0016650003381073475, 0.28312382102012634, -0.0067964536137878895, -0.11721134930849075, 0.19108982384204865, 0.20794135332107544, 0.0664755254983902, -0.16683125495910645, 0.21174098551273346, -0.0012483871541917324, 0.017457373440265656, -0.15263710916042328, -0.16429895162582397, 0.12849748134613037, -0.040204282850027084, 0.1090875118970871, 0.2571360468864441, -0.10255782306194305, 0.1276342123746872, -0.09449821710586548, -0.1341477781534195, 0.3660929501056671, 0.14899863302707672, -0.12049055099487305, -0.09988252073526382, -0.2170596420764923, 0.13193054497241974, 0.36388376355171204, 0.13858246803283691, -0.07749158889055252, -0.2944873571395874, -0.252098023891449, -0.036755677312612534, 0.1546049416065216, 0.20274701714515686, 0.12850546836853027, -0.2918015718460083, 0.12346810847520828, 0.15634335577487946, -0.055871497839689255, -0.059790994971990585, -0.033961109817028046, -0.05063202977180481, 0.06752454489469528, 0.19079186022281647, 0.21529142558574677, 0.2574279308319092, 0.3776797652244568, 0.19588039815425873, 0.21557627618312836, 0.43421468138694763, 0.051508884876966476, -0.18979543447494507, -0.05882090702652931, -0.17088326811790466, 0.11216656863689423, -0.0774516612291336, 0.14817573130130768, -0.05750756338238716, -0.2153751403093338, -0.5431801080703735, -0.3353297710418701, -0.03516837954521179, 0.09261491894721985, -0.5146284699440002, -0.07385285943746567, -0.20731855928897858, 0.036446720361709595, 0.12249340862035751, -0.1998848021030426, 0.1547563523054123, 0.2753390967845917, -0.16368567943572998, -0.02232549898326397, -0.172479048371315, 0.4100354015827179, -0.3450622260570526, 0.3995321989059448, 0.17272353172302246, -0.13392533361911774, -0.06807143986225128, 0.11228090524673462, 0.010339660570025444, 0.010852625593543053, 0.2323538064956665, 0.32646116614341736, 0.18917033076286316, -0.4305044412612915, 0.10857722163200378, 0.22342121601104736, -0.08109362423419952, 0.08765565603971481, -0.0832781046628952, 0.2545301616191864, 0.41752204298973083, 0.20929832756519318, 0.22423772513866425, -0.18938054144382477, 0.049186281859874725, 0.20956633985042572, 0.10034921765327454, 0.10768624395132065, -0.02737394906580448, -0.26415860652923584, -0.1451871544122696, -0.030396252870559692, -0.04069489613175392, -0.343557745218277, 0.07644365727901459, 0.014134092256426811, -0.2900950014591217, 0.19570228457450867, 0.3086068332195282, 0.1495206505060196, -0.35068991780281067, 0.23688730597496033, -0.14528729021549225, -0.49096381664276123, -0.44884029030799866, -0.0861339345574379, 0.08590911328792572, 0.3113583028316498, 0.28695112466812134, 0.01449592411518097, 0.036615919321775436, 0.46894505620002747, 0.012735649943351746, -0.28079721331596375, -0.14645162224769592, -0.20020543038845062, 0.29108497500419617, 0.16342958807945251, -0.11527234315872192, 0.25516822934150696, -0.26041245460510254, -0.36587825417518616, -0.03961942717432976, -0.0693308562040329, 0.30304190516471863, 0.04073479399085045, 0.4286019504070282, 0.03458163142204285, -0.01929447613656521, -0.2590990364551544, 0.24488286674022675, 0.3979736864566803, -0.2764691710472107, -0.004510071128606796, -0.09166160970926285, -0.21076615154743195, 0.28039538860321045, 0.053422268480062485, -0.24422785639762878, 0.152858704328537, 0.06724834442138672, 0.3277190923690796, -0.058531612157821655, 0.06947790831327438, -0.18213631212711334, 0.5108931064605713, 0.09247317165136337, 0.02514348365366459, -0.039752133190631866, 0.47312018275260925, -0.235215425491333, -0.36691126227378845, 0.3565039038658142, 0.11436651647090912, 0.2725687325000763, 0.34904229640960693, -0.24771317839622498, -0.29002729058265686, 0.1906149685382843, 0.010729331523180008, -0.22333049774169922, 0.02431591972708702, 0.23426224291324615, 0.13705213367938995, 0.25433045625686646, -0.47440189123153687, -0.06082783639431, 0.03665667772293091, -0.11981618404388428, -0.22481130063533783, -0.0473845973610878, -0.092056505382061, -0.16449274122714996, 0.01715666800737381, -0.05465106666088104, 0.20938615500926971, 0.06090708449482918, -0.14412511885166168, -0.010376758873462677 ]
https://github.com/huggingface/datasets/issues/1859
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
Thanks for such a quick fix and merge to master, pip installed git master, tested all OK
Error serializing faiss index. Error as follows: `Error in void faiss::write_index(const faiss::Index*, faiss::IOWriter*) at /home/conda/feedstock_root/build_artifacts/faiss-split_1612472484670/work/faiss/impl/index_write.cpp:453: don't know how to serialize this type of index` Note: `torch.cuda.is_available()` reports: ``` Cuda is available cuda:0 ``` Adding index, device=0 for GPU. `dataset.add_faiss_index(column='embeddings', index_name='idx_embeddings', device=0)` However, during a quick debug, self.faiss_index has no attr "device" when checked in` search.py, method save`, so fails to transform gpu index to cpu index. If I add index without device, index is saved OK. ``` def save(self, file: str): """Serialize the FaissIndex on disk""" import faiss # noqa: F811 if ( hasattr(self.faiss_index, "device") and self.faiss_index.device is not None and self.faiss_index.device > -1 ): index = faiss.index_gpu_to_cpu(self.faiss_index) else: index = self.faiss_index faiss.write_index(index, file) ```
17
Error "in void don't know how to serialize this type of index" when saving index to disk when device=0 (GPU)
[ -0.24086031317710876, -0.16075658798217773, -0.13162249326705933, 0.130418062210083, 0.3303169906139374, 0.14161206781864166, 0.2461169809103012, 0.5154961943626404, 0.28803789615631104, 0.37957391142845154, 0.06381835788488388, 0.15221531689167023, -0.11253330111503601, 0.2208957076072693, -0.2881785035133362, 0.006077625323086977, 0.11991103738546371, 0.29384157061576843, 0.2665799856185913, -0.08415663242340088, -0.22505103051662445, 0.17389048635959625, -0.10574331879615784, 0.07799738645553589, -0.014168529771268368, -0.3035430312156677, 0.057754773646593094, 0.029763026162981987, -0.10118135809898376, -0.2857862710952759, -0.14215590059757233, -0.31234315037727356, 0.24369877576828003, 0.27451732754707336, -0.00009993182175094262, 0.03343920782208443, 0.2423105388879776, -0.19741427898406982, -0.06060980632901192, -0.014700659550726414, 0.08114838600158691, 0.07824797183275223, -0.08230520784854889, -0.3659728765487671, -0.18181607127189636, -0.33831551671028137, 0.1479179859161377, -0.024929963052272797, -0.2793457508087158, 0.03362399712204933, 0.33585742115974426, -0.026065528392791748, 0.27675411105155945, -0.21996954083442688, 0.07817547768354416, 0.21004624664783478, -0.11551044881343842, 0.05572919175028801, -0.04963967576622963, 0.2091401368379593, 0.11137663573026657, 0.2862592935562134, -0.11676319688558578, -0.2055266946554184, -0.01495618186891079, -0.03547869250178337, 0.31082573533058167, -0.15897470712661743, 0.2305649071931839, -0.13565905392169952, 0.11180751770734787, -0.22706636786460876, -0.011767135933041573, 0.2643364369869232, 0.028806405141949654, -0.49920615553855896, -0.0754188522696495, 0.07828852534294128, -0.03839500993490219, 0.13666941225528717, 0.3694077730178833, 0.03185993805527687, -0.06475143134593964, -0.14180034399032593, 0.05960453674197197, 0.23119740188121796, -0.10436204075813293, 0.17753839492797852, -0.015814779326319695, -0.09405198693275452, -0.1480747014284134, 0.13971465826034546, 0.15018825232982635, -0.08896365016698837, -0.14870259165763855, -0.06522887200117111, 0.08657495677471161, -0.5811258554458618, -0.059369806200265884, 0.2165856957435608, -0.12436135113239288, 0.16008096933364868, 0.47289079427719116, 0.002482696669176221, -0.21184661984443665, 0.24826475977897644, -0.05443745106458664, -0.06931857764720917, 0.10425908118486404, 0.02464406192302704, -0.026533981785178185, -0.21773430705070496, -0.1246122196316719, 0.22292521595954895, -0.07821576297283173, 0.15787965059280396, 0.09367199242115021, -0.17670343816280365, -0.43070363998413086, 0.1932823359966278, -0.1269514411687851, 0.3201330304145813, 0.0982976108789444, 0.2572714686393738, 0.26790979504585266, -0.17746470868587494, 0.1946922242641449, 0.20820584893226624, -0.2967025637626648, 0.12562891840934753, -0.22821669280529022, -0.004324422217905521, 0.10240018367767334, -0.108564592897892, 0.060354623943567276, -0.2201802283525467, 0.010907602496445179, -0.03815165534615517, -0.21105706691741943, 0.23181119561195374, 0.32669708132743835, -0.37481650710105896, 0.1630258858203888, 0.2605004906654358, 0.20902180671691895, 0.01890883594751358, 0.41701552271842957, -0.01707100309431553, -0.00021140008175279945, 0.24785441160202026, 0.19442470371723175, -0.01749689318239689, -0.2404339462518692, 0.30044427514076233, 0.3886880874633789, -0.0062779709696769714, 0.2664223909378052, 0.1450549066066742, 0.014244012534618378, -0.19122907519340515, -0.0920463427901268, 0.09428756684064865, 0.06444431841373444, -0.24602225422859192, 0.2848415970802307, 0.03517318516969681, -0.09654045104980469, -0.003904354525730014, 0.09172508865594864, -0.1761723905801773, 0.22411561012268066, 0.37171050906181335, 0.12593917548656464, 0.2609977424144745, -0.1816127896308899, 0.5785080194473267, -0.05882753059267998, -0.14892955124378204, -0.16019847989082336, 0.15159392356872559, -0.3652104437351227, -0.4543531537055969, 0.24422889947891235, 0.1313229352235794, 0.28176984190940857, 0.002768221776932478, 0.20684386789798737, -0.12332401424646378, -0.03303695097565651, -0.06263530999422073, -0.29757755994796753, -0.21665368974208832, 0.28269392251968384, 0.0484752394258976, 0.12815962731838226, 0.1046544685959816, -0.051159586757421494, -0.12432462722063065, 0.10485538840293884, -0.2431410700082779, 0.04839503765106201, 0.052619818598032, 0.577946662902832, -0.16115425527095795, -0.1064365953207016, 0.03786478936672211, -0.017664240673184395, -0.03175831958651543, -0.055622514337301254, -0.14295953512191772, -0.20298932492733002, 0.018765795975923538, -0.124589703977108, -0.16255010664463043, 0.2114851027727127, 0.21956585347652435, 0.2811243236064911, 0.08757229149341583, -0.17304998636245728, 0.2386191189289093, -0.19748567044734955, -0.2792397439479828, -0.1722540557384491, -0.09177035093307495, 0.13901358842849731, 0.11563686281442642, -0.2906435430049896, -0.5609858632087708, 0.07833272963762283, 0.01976550929248333, 0.36615362763404846, -0.23123951256275177, 0.06507217139005661, 0.2643871307373047, -0.028981255367398262, -0.10519539564847946, 0.2575136423110962, 0.2419733852148056, -0.032483138144016266, -0.038299717009067535, 0.09774172306060791, 0.5205902457237244, 0.3163374364376068, -0.08742192387580872, -0.03425369784235954, 0.35087263584136963, -0.04070647060871124, -0.1645674854516983, -0.14715203642845154, -0.09415075927972794, 0.3134818375110626, 0.001836061361245811, 0.10997693985700607, -0.18880683183670044, -0.015881787985563278, 0.24954037368297577, -0.0013476903550326824, -0.3052830398082733, -0.6551851034164429, -0.07204118371009827, 0.035001788288354874, -0.023321043699979782, 0.4185633361339569, -0.09658762067556381, 0.11768152564764023, 0.01825058087706566, 0.1168544813990593, -0.6016156673431396, 0.09182020276784897, 0.20990675687789917, -0.027425887063145638, -0.08478366583585739, -0.2372989058494568, -0.19469621777534485, 0.2506301701068878, -0.11828475445508957, -0.29289326071739197, 0.4276241958141327, -0.12309892475605011, -0.12802323698997498, -0.15250925719738007, 0.07899829000234604, 0.14575712382793427, 0.16025632619857788, -0.10312946885824203, -0.009317063726484776, -0.06591178476810455, -0.20942488312721252, 0.10293785482645035, 0.04640623554587364, 0.026822686195373535, -0.033154621720314026, 0.010110834613442421, 0.3430495858192444, -0.1329573690891266, 0.2847157418727875, -0.11675787717103958, 0.23583948612213135, 0.3476875424385071, 0.1862630546092987, -0.07407179474830627, 0.10306725651025772, -0.08174685388803482, 0.11049822717905045, 0.0967252179980278, 0.10516757518053055, 0.24195732176303864, 0.04361250624060631, 0.2928394079208374, -0.14799851179122925, -0.060915540903806686, -0.03674330934882164, -0.26156559586524963, -0.1543474644422531, -0.01013813354074955, 0.19842897355556488, -0.21110136806964874, -0.20504291355609894, 0.18282118439674377, -0.21907280385494232, -0.18909721076488495, 0.01912626251578331, -0.14809827506542206, 0.011459843255579472, -0.36680468916893005, -0.022395528852939606, 0.022695476189255714, -0.28697583079338074, 0.1582876294851303, 0.0029001799412071705, 0.10962089896202087, 0.07939723134040833, 0.12206238508224487, 0.3155459761619568, 0.38085976243019104, -0.21263913810253143, -0.24418652057647705, -0.05243746191263199, 0.1952909380197525, -0.04058485105633736, -0.44245782494544983, 0.1920504868030548, 0.11484096199274063, -0.13032421469688416, -0.06744290143251419, -0.05828746780753136, 0.08787782490253448, 0.28478801250457764, 0.0009139262256212533, -0.3598780333995819, 0.02005242556333542, 0.19800619781017303, -0.07416633516550064, -0.2293696105480194, -0.05895617604255676, -0.2646659314632416, 0.2462049275636673, 0.013325600884854794, 0.10201329737901688, -0.13708412647247314, 0.4359913766384125, 0.1350192278623581, 0.22737641632556915, -0.1717417985200882, -0.13431309163570404, 0.29938822984695435, 0.08410084247589111, 0.2163778841495514, -0.15484365820884705, -0.02620793506503105, 0.21688230335712433, 0.2948748767375946, -0.18394558131694794, 0.008037691004574299, -0.44886505603790283, -0.18703316152095795, 0.10909511893987656, 0.24417942762374878, 0.027381151914596558, 0.016304122284054756, 0.028251882642507553, 0.16832931339740753, 0.10829516500234604, -0.3287316858768463, 0.32383787631988525, -0.20826944708824158, 0.18853884935379028, 0.1541808545589447, 0.12398232519626617, 0.06925346702337265, -0.12565186619758606, -0.14672935009002686, -0.12917007505893707, -0.37574973702430725, 0.28997668623924255, 0.037724487483501434, 0.2020590603351593, -0.25806427001953125, -0.2221921980381012, 0.13802951574325562, -0.03659335896372795, 0.5203840732574463, 0.2954970896244049, -0.033095743507146835, 0.38967251777648926, -0.050300922244787216, -0.2299577295780182, -0.00998151395469904, -0.25661030411720276, 0.3148185908794403, -0.07332411408424377, 0.568587064743042, -0.2061733603477478, -0.068893663585186, -0.25297340750694275, -0.16487114131450653, -0.11493807286024094, -0.03773846477270126, -0.24376638233661652, -0.3473914563655853, -0.16390173137187958, 0.2400970607995987, -0.0012280016671866179, 0.3904978036880493, 0.030202195048332214, 0.14854085445404053, -0.5252600312232971, -0.1452684849500656, -0.18584179878234863, -0.24532102048397064, 0.4467746913433075, 0.0016540026990696788, -0.12623797357082367, 0.06771876662969589, 0.15802103281021118, 0.291695773601532, -0.2291792929172516, 0.3886920213699341, 0.44135817885398865, 0.41775673627853394, -0.13782139122486115, -0.14865024387836456, 0.16122309863567352, 0.17898675799369812, 0.11310102790594101, -0.11060836911201477, 0.1475476175546646, -0.5183354616165161, 0.11889109015464783, -0.09409578144550323, -0.17327921092510223, -0.2013092190027237, 0.3149932324886322, 0.14353987574577332, -0.2905431389808655, 0.14252914488315582, 0.11751789599657059, -0.023944204673171043, -0.32371842861175537, 0.26707735657691956, 0.47050371766090393, 0.67937171459198, 0.01818178966641426, 0.050568293780088425, 0.10675657540559769, -0.361448734998703, -0.07982372492551804, 0.03800851106643677, 0.34131157398223877, -0.5490125417709351, -0.36207646131515503, -0.04054569825530052, 0.08242948353290558, 0.0339641310274601, -0.130930095911026, -0.474752813577652, -0.07251620292663574, -0.3395053446292877, 0.05025734379887581, -0.22966629266738892, 0.14591412246227264, 0.08497768640518188, -0.2645920217037201, -0.13126835227012634, 0.22668437659740448, 0.036535851657390594, 0.016651738435029984, -0.05934381112456322, -0.16576670110225677, -0.02479517087340355, 0.15175889432430267, 0.10791261494159698, -0.1146429181098938, -0.11508411169052124, 0.4971969723701477, -0.3443608582019806, -0.20798088610172272, -0.608352541923523, -0.29498291015625, 0.18196287751197815, -0.0023025742266327143, -0.07617326825857162, -0.26538509130477905, 0.08071456104516983, -0.07907919585704803, -0.21325241029262543, -0.0297775249928236, 0.2373981475830078, 0.030283013358712196, 0.0006516604917123914, 0.011705870740115643, 0.08265366405248642, -0.25257253646850586, -0.03599609062075615, -0.13573546707630157, -0.4655900001525879, -0.01773947663605213, -0.25803565979003906, -0.04824802652001381, 0.07950378954410553, -0.025053970515727997, 0.2516156733036041, 0.24512144923210144, -0.26203617453575134, 0.014395938254892826, 0.008586379699409008, -0.12492500245571136, -0.10551582276821136, 0.5634852051734924, -0.017748428508639336, 0.12754209339618683, 0.3605479598045349, -0.05808117985725403, -0.13998591899871826, -0.2749178111553192, 0.14500345289707184, 0.19092245399951935, 0.11614905297756195, 0.1874624639749527, -0.41095876693725586, -0.2829782962799072, 0.10456391423940659, 0.33352792263031006, 0.11430754512548447, 0.15710215270519257, -0.458717405796051, 0.1530776023864746, -0.5469461679458618, 0.17426583170890808, 0.06643001735210419, 0.21812929213047028, -0.08576877415180206, 0.08048668503761292, 0.11885671317577362, -0.43039005994796753, -0.4379444718360901, 0.11492029577493668, -0.6983251571655273, 0.25529876351356506, -0.1778707057237625, -0.26373380422592163, 0.04695853963494301, 0.1214219257235527, 0.2904481589794159, 0.09325747936964035, -0.10977588593959808, -0.3449237644672394, -0.1117091178894043, 0.018813706934452057, 0.1200127974152565, 0.051935408264398575, -0.1237572580575943, -0.22513897716999054, -0.2439541220664978, 0.08790995925664902, -0.0016650003381073475, 0.28312382102012634, -0.0067964536137878895, -0.11721134930849075, 0.19108982384204865, 0.20794135332107544, 0.0664755254983902, -0.16683125495910645, 0.21174098551273346, -0.0012483871541917324, 0.017457373440265656, -0.15263710916042328, -0.16429895162582397, 0.12849748134613037, -0.040204282850027084, 0.1090875118970871, 0.2571360468864441, -0.10255782306194305, 0.1276342123746872, -0.09449821710586548, -0.1341477781534195, 0.3660929501056671, 0.14899863302707672, -0.12049055099487305, -0.09988252073526382, -0.2170596420764923, 0.13193054497241974, 0.36388376355171204, 0.13858246803283691, -0.07749158889055252, -0.2944873571395874, -0.252098023891449, -0.036755677312612534, 0.1546049416065216, 0.20274701714515686, 0.12850546836853027, -0.2918015718460083, 0.12346810847520828, 0.15634335577487946, -0.055871497839689255, -0.059790994971990585, -0.033961109817028046, -0.05063202977180481, 0.06752454489469528, 0.19079186022281647, 0.21529142558574677, 0.2574279308319092, 0.3776797652244568, 0.19588039815425873, 0.21557627618312836, 0.43421468138694763, 0.051508884876966476, -0.18979543447494507, -0.05882090702652931, -0.17088326811790466, 0.11216656863689423, -0.0774516612291336, 0.14817573130130768, -0.05750756338238716, -0.2153751403093338, -0.5431801080703735, -0.3353297710418701, -0.03516837954521179, 0.09261491894721985, -0.5146284699440002, -0.07385285943746567, -0.20731855928897858, 0.036446720361709595, 0.12249340862035751, -0.1998848021030426, 0.1547563523054123, 0.2753390967845917, -0.16368567943572998, -0.02232549898326397, -0.172479048371315, 0.4100354015827179, -0.3450622260570526, 0.3995321989059448, 0.17272353172302246, -0.13392533361911774, -0.06807143986225128, 0.11228090524673462, 0.010339660570025444, 0.010852625593543053, 0.2323538064956665, 0.32646116614341736, 0.18917033076286316, -0.4305044412612915, 0.10857722163200378, 0.22342121601104736, -0.08109362423419952, 0.08765565603971481, -0.0832781046628952, 0.2545301616191864, 0.41752204298973083, 0.20929832756519318, 0.22423772513866425, -0.18938054144382477, 0.049186281859874725, 0.20956633985042572, 0.10034921765327454, 0.10768624395132065, -0.02737394906580448, -0.26415860652923584, -0.1451871544122696, -0.030396252870559692, -0.04069489613175392, -0.343557745218277, 0.07644365727901459, 0.014134092256426811, -0.2900950014591217, 0.19570228457450867, 0.3086068332195282, 0.1495206505060196, -0.35068991780281067, 0.23688730597496033, -0.14528729021549225, -0.49096381664276123, -0.44884029030799866, -0.0861339345574379, 0.08590911328792572, 0.3113583028316498, 0.28695112466812134, 0.01449592411518097, 0.036615919321775436, 0.46894505620002747, 0.012735649943351746, -0.28079721331596375, -0.14645162224769592, -0.20020543038845062, 0.29108497500419617, 0.16342958807945251, -0.11527234315872192, 0.25516822934150696, -0.26041245460510254, -0.36587825417518616, -0.03961942717432976, -0.0693308562040329, 0.30304190516471863, 0.04073479399085045, 0.4286019504070282, 0.03458163142204285, -0.01929447613656521, -0.2590990364551544, 0.24488286674022675, 0.3979736864566803, -0.2764691710472107, -0.004510071128606796, -0.09166160970926285, -0.21076615154743195, 0.28039538860321045, 0.053422268480062485, -0.24422785639762878, 0.152858704328537, 0.06724834442138672, 0.3277190923690796, -0.058531612157821655, 0.06947790831327438, -0.18213631212711334, 0.5108931064605713, 0.09247317165136337, 0.02514348365366459, -0.039752133190631866, 0.47312018275260925, -0.235215425491333, -0.36691126227378845, 0.3565039038658142, 0.11436651647090912, 0.2725687325000763, 0.34904229640960693, -0.24771317839622498, -0.29002729058265686, 0.1906149685382843, 0.010729331523180008, -0.22333049774169922, 0.02431591972708702, 0.23426224291324615, 0.13705213367938995, 0.25433045625686646, -0.47440189123153687, -0.06082783639431, 0.03665667772293091, -0.11981618404388428, -0.22481130063533783, -0.0473845973610878, -0.092056505382061, -0.16449274122714996, 0.01715666800737381, -0.05465106666088104, 0.20938615500926971, 0.06090708449482918, -0.14412511885166168, -0.010376758873462677 ]
https://github.com/huggingface/datasets/issues/1857
Unable to upload "community provided" dataset - 400 Client Error
Hi ! We're in the process of switching the community datasets to git repos, exactly like what we're doing for models. You can find an example here: https://huggingface.co/datasets/lhoestq/custom_squad/tree/main We'll update the CLI in the coming days and do a new release :) Also cc @julien-c maybe we can make improve the error message ?
Hi, i'm trying to a upload a dataset as described [here](https://huggingface.co/docs/datasets/v1.2.0/share_dataset.html#sharing-a-community-provided-dataset). This is what happens: ``` $ datasets-cli login $ datasets-cli upload_dataset my_dataset About to upload file /path/to/my_dataset/dataset_infos.json to S3 under filename my_dataset/dataset_infos.json and namespace username About to upload file /path/to/my_dataset/my_dataset.py to S3 under filename my_dataset/my_dataset.py and namespace username Proceed? [Y/n] Y Uploading... This might take a while if files are large 400 Client Error: Bad Request for url: https://huggingface.co/api/datasets/presign huggingface.co migrated to a new model hosting system. You need to upgrade to transformers v3.5+ to upload new models. More info at https://discuss.hugginface.co or https://twitter.com/julien_c. Thank you! ``` I'm using the latest releases of datasets and transformers.
54
Unable to upload "community provided" dataset - 400 Client Error
[ -0.35794928669929504, 0.418204665184021, -0.177690327167511, -0.0069296169094741344, 0.2018522322177887, -0.018336104229092598, 0.06216973438858986, 0.19037985801696777, -0.12176971137523651, -0.04579582065343857, 0.1094445139169693, 0.21882760524749756, 0.17435042560100555, 0.33453890681266785, -0.12814974784851074, 0.14769437909126282, -0.13210482895374298, 0.18727660179138184, -0.5863372087478638, 0.02398974820971489, -0.04521280527114868, 0.04347708821296692, 0.2173633575439453, -0.02518589049577713, -0.3478936553001404, -0.10758773237466812, 0.1318165808916092, 0.22078652679920197, -0.35965919494628906, -0.09547404199838638, 0.21621668338775635, 0.14369569718837738, -0.051928598433732986, 0.431464821100235, -0.00010009421384893358, 0.12844732403755188, 0.19553907215595245, 0.08025563508272171, -0.5508528351783752, 0.05808781832456589, -0.08858966827392578, -0.048339881002902985, -0.14198657870292664, -0.0027237969916313887, -0.004079642239958048, -0.0958511233329773, 0.18769223988056183, -0.21613574028015137, 0.3771437108516693, 0.17198385298252106, 0.3100104033946991, -0.06687229871749878, -0.0064838663674890995, -0.34448304772377014, -0.20739316940307617, 0.12071743607521057, -0.04695756733417511, 0.0377732552587986, 0.358280211687088, 0.010856075212359428, 0.02458733506500721, -0.05926704779267311, 0.13318029046058655, 0.04639638960361481, 0.02244826778769493, -0.2939845621585846, -0.4836052656173706, -0.14203697443008423, 0.37507522106170654, 0.15810135006904602, 0.8261236548423767, 0.40038323402404785, -0.07767488062381744, 0.22859905660152435, 0.013411293737590313, -0.08635663241147995, 0.28007450699806213, 0.11347569525241852, -0.07218415290117264, 0.025364939123392105, -0.18798698484897614, -0.05520102381706238, -0.2928065359592438, -0.32044509053230286, -0.07231950759887695, 0.168119415640831, -0.061463553458452225, 0.13464975357055664, -0.43225592374801636, -0.3677430748939514, 0.21880991756916046, 0.1216757670044899, 0.12600363790988922, 0.03738623112440109, 0.045459628105163574, -0.015165647491812706, 0.2319910228252411, 0.17008769512176514, 0.2672434151172638, 0.3582775294780731, 0.32340332865715027, -0.1501307636499405, -0.17172160744667053, -0.05664423853158951, 0.19168195128440857, -0.17859770357608795, 0.007438092492520809, -0.21230340003967285, 0.1939140409231186, 0.25229552388191223, 0.054658886045217514, 0.27115872502326965, -0.1724017709493637, -0.02509213238954544, -0.03893211856484413, 0.0566367506980896, 0.36350178718566895, -0.04652349650859833, -0.034123003482818604, 0.2356264442205429, 0.4404590129852295, 0.1864948272705078, -0.14607159793376923, 0.14909861981868744, 0.0691063329577446, -0.04435572400689125, -0.07451704144477844, 0.05345723405480385, 0.029552796855568886, -0.46910297870635986, -0.13506831228733063, -0.02785230614244938, 0.0792250782251358, -0.2002016007900238, 0.3946674168109894, -0.00826872419565916, 0.033199407160282135, -0.10816331952810287, 0.22245658934116364, 0.13384918868541718, 0.04025474563241005, 0.0687260702252388, -0.024576811119914055, 0.4612886607646942, 0.2748588025569916, 0.16762962937355042, 0.10762398689985275, -0.1484270542860031, 0.09461670368909836, 0.006930166855454445, -0.15820084512233734, -0.24158889055252075, -0.4284211993217468, 0.26516520977020264, 0.5138278007507324, -0.1744060218334198, 0.0964285358786583, -0.16197602450847626, 0.18246445059776306, -0.052072491496801376, -0.07185080647468567, 0.012523138895630836, -0.026032324880361557, -0.10038332641124725, -0.01707528904080391, 0.5534262657165527, -0.5433264374732971, 0.27852392196655273, -0.07399142533540726, 0.12903237342834473, -0.022083893418312073, 0.22627167403697968, -0.07238160073757172, -0.07165423035621643, -0.03485380485653877, 0.1705576628446579, 0.29821527004241943, -0.33469370007514954, -0.509444534778595, 0.054965656250715256, -0.2082713097333908, -0.4825657904148102, 0.0910378247499466, 0.12926287949085236, 0.1351398527622223, 0.05598253756761551, 0.20628395676612854, 0.38153964281082153, 0.044875163584947586, 0.12876124680042267, -0.19755178689956665, -0.23290134966373444, 0.05419410765171051, 0.1334419548511505, -0.019455743953585625, -0.1181735098361969, 0.27071648836135864, -0.26789799332618713, -0.13805869221687317, -0.10468276590108871, 0.23904404044151306, 0.1851203739643097, 0.14723078906536102, -0.1632438600063324, 0.06165335327386856, 0.21955506503582, -0.1784033477306366, -0.038858432322740555, -0.016528312116861343, 0.19416190683841705, -0.15214084088802338, 0.067193403840065, -0.6270705461502075, 0.09099573642015457, -0.2307373583316803, 0.31298330426216125, 0.30334338545799255, 0.09814752638339996, -0.14930713176727295, -0.11883179843425751, 0.058629877865314484, 0.3501327633857727, -0.297372967004776, 0.11140407621860504, -0.02973090298473835, 0.07243704795837402, -0.43341654539108276, -0.22668024897575378, 0.4420774281024933, -0.3391924202442169, 0.41440412402153015, 0.14991497993469238, -0.16802555322647095, 0.1703621745109558, -0.3666797876358032, 0.0029011813458055258, 0.27974244952201843, 0.17744037508964539, 0.1159331426024437, -0.16412246227264404, -0.17504383623600006, -0.06335882097482681, 0.09661352634429932, 0.2416195124387741, -0.20062007009983063, -0.08215264976024628, -0.2779735028743744, -0.10037121921777725, -0.04787415266036987, 0.33580446243286133, 0.39636802673339844, 0.04852213338017464, 0.10667724162340164, 0.05301680415868759, 0.05163375288248062, 0.04642277956008911, 0.38795796036720276, -0.29186612367630005, 0.06448550522327423, 0.22288288176059723, -0.012726775370538235, 0.1337800920009613, 0.13634395599365234, -0.15325602889060974, 0.14087584614753723, -0.11878379434347153, 0.3972030282020569, 0.16318614780902863, 0.2765882909297943, -0.003848860040307045, -0.038634561002254486, -0.22148525714874268, -0.10929970443248749, -0.10845132172107697, -0.09125770628452301, -0.314750075340271, -0.020063182339072227, 0.05204462632536888, 0.4405618906021118, 0.13600289821624756, -0.42791178822517395, 0.07682986557483673, 0.09812232106924057, 0.08004544675350189, -0.1547297090291977, 0.005634068511426449, -0.16866435110569, -0.19619609415531158, 0.49415281414985657, 0.1653970628976822, -0.1342259794473648, -0.18489369750022888, 0.19436384737491608, 0.014432119205594063, -0.1905575543642044, 0.16107551753520966, 0.053204286843538284, 0.4503979980945587, 0.25864076614379883, 0.24294042587280273, -0.22960050404071808, 0.21353664994239807, 0.055957406759262085, 0.23143164813518524, 0.0542294979095459, -0.24033895134925842, 0.3373814821243286, -0.018102992326021194, 0.29194918274879456, -0.3822025954723358, -0.09886091202497482, 0.14780817925930023, 0.044306349009275436, 0.25552085041999817, 0.02839680388569832, 0.4047071039676666, -0.12272108346223831, -0.21951836347579956, 0.0839615985751152, -0.13558408617973328, -0.12499291449785233, -0.05919002369046211, -0.03756819665431976, -0.20836393535137177, -0.10687126219272614, -0.1415446251630783, -0.03652605041861534, -0.28947964310646057, -0.003531246678903699, 0.4024431109428406, 0.15425245463848114, -0.05908137559890747, 0.161604106426239, -0.06027296930551529, 0.07768122851848602, 0.23006193339824677, -0.27354317903518677, -0.4337594211101532, 0.3360588252544403, -0.45280078053474426, -0.5488007664680481, 0.1295197457075119, 0.10685676336288452, 0.36948737502098083, 0.06552048772573471, 0.021391212940216064, -0.21852566301822662, 0.06000171974301338, 0.3445645272731781, -0.01903555542230606, -0.04996606707572937, 0.4194859564304352, 0.06694643199443817, -0.21811872720718384, -0.047546859830617905, -0.36460936069488525, 0.08129826933145523, 0.5010437965393066, -0.006696706637740135, -0.28678151965141296, -0.158292755484581, -0.046334318816661835, 0.6890797019004822, 0.12304618209600449, -0.12872330844402313, 0.5935155749320984, 0.030331898480653763, 0.3434944152832031, -0.2296084761619568, 0.0299341082572937, 0.07021282613277435, 0.17311283946037292, 0.1250951886177063, 0.039312005043029785, 0.1109098270535469, -0.16525696218013763, -0.09236828982830048, -0.1529446542263031, -0.45896539092063904, 0.07471342384815216, -0.24479439854621887, 0.05476716533303261, 0.18917708098888397, 0.21097244322299957, -0.12591056525707245, -0.27683207392692566, -0.23568986356258392, -0.023070836439728737, 0.17213839292526245, 0.299093097448349, 0.0026339776813983917, -0.20944839715957642, 0.2185163050889969, -0.3426872193813324, 0.24111820757389069, -0.08896001428365707, 0.0644996389746666, -0.5137090682983398, 0.04731030762195587, 0.1439485102891922, -0.20078736543655396, 0.04902775213122368, -0.6854066252708435, -0.0442054308950901, -0.07187638431787491, 0.44133830070495605, 0.17406895756721497, 0.05011319741606712, 0.15336452424526215, 0.19152528047561646, 0.03317728266119957, -0.04427377134561539, -0.12057028710842133, 0.2146134078502655, -0.0037145798560231924, -0.38320496678352356, -0.09548375010490417, 0.09019596874713898, 0.0394296869635582, -0.5837286710739136, -0.39993855357170105, -0.015988565981388092, 0.09535758197307587, 0.07366148382425308, 0.1723192036151886, -0.060608770698308945, 0.05148708447813988, 0.28420281410217285, 0.04372890666127205, -0.020023442804813385, 0.11804207414388657, 0.27784955501556396, 0.016302453354001045, -0.3241119980812073, 0.33124545216560364, 0.3863595426082611, 0.5987345576286316, -0.024563556537032127, -0.09217126667499542, 0.31937336921691895, -0.3013210594654083, 0.05517522990703583, 0.2885609269142151, 0.12506626546382904, -0.15986281633377075, 0.18374760448932648, 0.05610622093081474, -0.07028782367706299, 0.3009285628795624, 0.13627347350120544, -0.3594725728034973, -0.21252113580703735, 0.12390818446874619, 0.19993744790554047, -0.13632258772850037, 0.026202980428934097, 0.23546676337718964, 0.11018887907266617, 0.08149014413356781, 0.13533493876457214, 0.20614057779312134, 0.8223960995674133, -0.25526660680770874, 0.18759137392044067, -0.15884114801883698, -0.49520954489707947, 0.366239994764328, -0.18954230844974518, -0.13236017525196075, -0.27941441535949707, -0.21871350705623627, -0.10458596050739288, 0.01463040616363287, 0.012076110579073429, 0.19425077736377716, -0.1556166559457779, -0.05419449880719185, -0.366094172000885, 0.0056572239845991135, -0.03522403910756111, 0.3161221444606781, -0.2691778242588043, -0.22065065801143646, 0.04054931923747063, 0.2857780456542969, -0.17287525534629822, 0.012436242774128914, -0.10104245692491531, -0.18662823736667633, -0.021330438554286957, -0.2712854743003845, -0.21635618805885315, -0.0716865286231041, 0.11129342764616013, -0.019708141684532166, 0.19496357440948486, -0.1616927683353424, 0.13402067124843597, 0.10222779214382172, 0.11660129576921463, 0.09238263219594955, -0.2232406586408615, 0.19134868681430817, -0.03376493602991104, -0.19482198357582092, -0.1453140825033188, 0.037418827414512634, 0.21161139011383057, -0.2903989553451538, 0.07357539981603622, -0.05369394272565842, 0.010065857321023941, -0.18789049983024597, -0.05454780533909798, 0.12413348257541656, 0.13467949628829956, -0.4670414626598358, 0.25239014625549316, -0.22959429025650024, -0.04820822924375534, 0.007532988674938679, 0.20687855780124664, -0.12404569238424301, 0.2534128725528717, -0.2775651216506958, 0.47070664167404175, 0.004475954454392195, -0.12974762916564941, 0.28643089532852173, 0.057765740901231766, -0.13927246630191803, 0.429483026266098, -0.19247397780418396, -0.1678684800863266, -0.2417740672826767, -0.19051674008369446, 0.007590251974761486, -0.3444238305091858, -0.07869210839271545, 0.03818940743803978, -0.22055232524871826, -0.1756809949874878, 0.246530681848526, 0.09275712072849274, 0.08999581634998322, 0.06861744076013565, 0.01132134348154068, -0.367172509431839, -0.15465721487998962, -0.2213497906923294, -0.1732347160577774, 0.11599651724100113, -0.257914662361145, 0.43828290700912476, 0.1350506991147995, -0.4318893253803253, -0.06370656937360764, -0.34104764461517334, -0.017435459420084953, 0.17473256587982178, -0.21923081576824188, -0.22205494344234467, 0.04746933653950691, 0.20351259410381317, 0.07227931171655655, -0.3904094994068146, -0.2959015965461731, 0.02997175231575966, 0.09752581268548965, 0.16744978725910187, -0.3374089002609253, -0.11141791194677353, -0.28893959522247314, -0.2751122713088989, 0.08996300399303436, -0.20437712967395782, -0.20057712495326996, -0.07977326214313507, -0.41060903668403625, 0.14370758831501007, 0.19972597062587738, -0.17024728655815125, 0.23609112203121185, 0.1677086502313614, 0.19318197667598724, -0.14816562831401825, 0.11438135802745819, 0.09328267723321915, -0.1455554962158203, 0.04175543412566185, 0.21312588453292847, 0.1512763351202011, -0.02840200439095497, 0.19735388457775116, -0.39035022258758545, -0.13206790387630463, -0.06099070608615875, 0.12360884994268417, -0.09390690922737122, -0.32238906621932983, -0.013114153407514095, -0.051423147320747375, 0.2998410165309906, -0.21423698961734772, -0.2910769581794739, 0.07758178561925888, 0.033004652708768845, 0.02265855297446251, -0.124038927257061, 0.4738849103450775, -0.4039057791233063, 0.08949784189462662, 0.2345295250415802, 0.22594259679317474, -0.270580530166626, -0.08295462280511856, -0.010314957238733768, -0.2927716076374054, 0.005717596039175987, 0.259135901927948, 0.025533629581332207, -0.28158071637153625, 0.04249392822384834, 0.020777443423867226, 0.08181079477071762, -0.047108374536037445, -0.11258464306592941, -0.016164887696504593, -0.34214839339256287, 0.6693179607391357, -0.11716495454311371, 0.1649305522441864, 0.178768590092659, 0.3423246443271637, 0.25934165716171265, -0.1748969405889511, 0.0684484988451004, -0.6058714985847473, 0.03262915089726448, -0.24697871506214142, 0.10190217941999435, -0.4017236530780792, -0.16729305684566498, -0.11009074747562408, 0.13477973639965057, -0.0825551226735115, 0.05478549376130104, 0.07020175457000732, -0.00966615416109562, -0.13665664196014404, -0.04340633004903793, 0.03218977898359299, 0.17122571170330048, -0.07627776265144348, -0.019704362377524376, 0.46947941184043884, 0.19832876324653625, 0.10762077569961548, 0.29485565423965454, 0.20362719893455505, 0.5324512720108032, -0.039083536714315414, 0.0317000150680542, 0.20893065631389618, 0.22376860678195953, -0.10798438638448715, -0.06242743134498596, 0.13402970135211945, 0.15781311690807343, 0.46609529852867126, 0.26111099123954773, 0.23272165656089783, -0.21819935739040375, -0.03637630492448807, -0.25758156180381775, 0.07232238352298737, 0.008251349441707134, -0.3247565031051636, -0.1931854784488678, -0.16715197265148163, -0.10376551002264023, -0.04501982405781746, 0.0002604737237561494, 0.21521569788455963, 0.30803990364074707, -0.019088314846158028, 0.23800911009311676, -0.5050979256629944, 0.12180711328983307, -0.14460568130016327, 0.5316493511199951, 0.3241482079029083, -0.13094893097877502, 0.1556704342365265, -0.3724968433380127, -0.294275164604187, 0.32301709055900574, -0.030459797009825706, 0.1943259984254837, -0.14282530546188354, 0.12765435874462128, 0.2654900848865509, -0.012909895740449429, 0.3040880262851715, -0.2923860251903534, -0.148008793592453, 0.11095678061246872, -0.23274476826190948, -0.041924815624952316, 0.3512319028377533, 0.03696998208761215, -0.12460362166166306, -0.15388260781764984, 0.22439025342464447, 0.26751425862312317, 0.2624226212501526, 0.026858611032366753, -0.41228634119033813, -0.12195366621017456, -0.08067015558481216, 0.24735647439956665, 0.16998247802257538, 0.4005429148674011, -0.2094087153673172, -0.19306083023548126, -0.17968955636024475, 0.10039666295051575, -0.1078493595123291, 0.08584988862276077, 0.29584112763404846, 0.2536613345146179, 0.18369273841381073, 0.12068668007850647, -0.05432552844285965, 0.026427162811160088, -0.19182410836219788, 0.327989786863327, -0.07862313836812973, -0.21573062241077423, -0.05563408508896828, 0.016693115234375, 0.03368781879544258, -0.3446371257305145, 0.14500319957733154, -0.08252259343862534, -0.21707235276699066, -0.3531385660171509, 0.2845930755138397, -0.09400945901870728, -0.33989790081977844, -0.17162926495075226, 0.2097598761320114, -0.14556407928466797, 0.05085187032818794, -0.02045966498553753, 0.09413517266511917, 0.2113238275051117, -0.41204050183296204, -0.03206227347254753, 0.24478423595428467, -0.28037792444229126, -0.00817351695150137, -0.03207262605428696, 0.27321332693099976, 0.05377645418047905, -0.1261334866285324, -0.13113638758659363, -0.08279696106910706 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
Hi ! This issue may be related to #996 This comes probably from the Quota Exceeded error from Google Drive. Can you try again tomorrow and see if you still have the error ? On my side I didn't get any error today with `load_dataset("amazon_polarity")`
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
45
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
@lhoestq Hi! I encounter the same error when loading `yelp_review_full`. ``` from datasets import load_dataset dataset_yp = load_dataset("yelp_review_full") ``` When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive?
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
45
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
> When you say the "Quota Exceeded from Google drive". Is this a quota from the dataset owner? or the quota from our (the runner) Google Drive? Each file on Google Drive can be downloaded only a certain amount of times per day because of a quota. The quota is reset every day. So if too many people download the dataset the same day, then the quota is likely to exceed. That's a really bad limitations of Google Drive and we should definitely find another host for these dataset than Google Drive. For now I would suggest to wait and try again later.. So far the issue happened with CNN DailyMail, Amazon Polarity and Yelp Reviews. Are you experiencing the issue with other datasets ? @calebchiam @dtch1997
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
127
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
@lhoestq Gotcha, that is quite problematic...for what it's worth, I've had no issues with the other datasets I tried, such as `yelp_reviews_full` and `amazon_reviews_multi`.
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
24
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
Same issue today with "big_patent", though the symptoms are slightly different. When running ```py from datasets import load_dataset load_dataset("big_patent", split="validation") ``` I get the following `FileNotFoundError: Local file \huggingface\datasets\downloads\6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5\bigPatentData\train.tar.gz doesn't exist` I had to look into `6159313604f4f2c01e7d1cac52139343b6c07f73f6de348d09be6213478455c5` (which is a file instead of a folder) and got the following: `<!DOCTYPE html><html><head><title>Google Drive - Quota exceeded</title><meta http-equiv="content-type" content="text/html; charset=utf-8"/><link href=&#47;static&#47;doclist&#47;client&#47;css&#47;4033072956&#45;untrustedcontent.css rel="stylesheet" nonce="JV0t61Smks2TEKdFCGAUFA"><link rel="icon" href="//ssl.gstatic.com/images/branding/product/1x/drive_2020q4_32dp.png"/><style nonce="JV0t61Smks2TEKdFCGAUFA">#gbar,#guser{font-size:13px;padding-top:0px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important} </style><script nonce="iNUHigT+ENVQ3UZrLkFtRw"></script></head><body><div id=gbar><nobr><a target=_blank class=gb1 href="https://www.google.fr/webhp?tab=ow">Search</a> <a target=_blank class=gb1 href="http://www.google.fr/imghp?hl=en&tab=oi">Images</a> <a target=_blank class=gb1 href="https://maps.google.fr/maps?hl=en&tab=ol">Maps</a> <a target=_blank class=gb1 href="https://play.google.com/?hl=en&tab=o8">Play</a> <a target=_blank class=gb1 href="https://www.youtube.com/?gl=FR&tab=o1">YouTube</a> <a target=_blank class=gb1 href="https://news.google.com/?tab=on">News</a> <a target=_blank class=gb1 href="https://mail.google.com/mail/?tab=om">Gmail</a> <b class=gb1>Drive</b> <a target=_blank class=gb1 style="text-decoration:none" href="https://www.google.fr/intl/en/about/products?tab=oh"><u>More</u> &raquo;</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a target="_self" href="/settings?hl=en_US" class=gb4>Settings</a> | <a target=_blank href="//support.google.com/drive/?p=web_home&hl=en_US" class=gb4>Help</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&passive=true&continue=https://drive.google.com/uc%3Fexport%3Ddownload%26id%3D1J3mucMFTWrgAYa3LuBZoLRR3CzzYD3fa&service=writely&ec=GAZAMQ" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div><div class="uc-main"><div id="uc-text"><p class="uc-error-caption">Sorry, you can&#39;t view or download this file at this time.</p><p class="uc-error-subcaption">Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator.</p></div></div><div class="uc-footer"><hr class="uc-footer-divider">&copy; 2021 Google - <a class="goog-link" href="//support.google.com/drive/?p=web_home">Help</a> - <a class="goog-link" href="//support.google.com/drive/bin/answer.py?hl=en_US&amp;answer=2450387">Privacy & Terms</a></div></body></html>`
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
230
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
A similar issue arises when trying to stream the dataset ```python >>> from datasets import load_dataset >>> iter_dset = load_dataset("amazon_polarity", split="test", streaming=True) >>> iter(iter_dset).__next__() --------------------------------------------------------------------------- ValueError Traceback (most recent call last) ~\lib\tarfile.py in nti(s) 186 s = nts(s, "ascii", "strict") --> 187 n = int(s.strip() or "0", 8) 188 except ValueError: ValueError: invalid literal for int() with base 8: 'e nonce=' During handling of the above exception, another exception occurred: InvalidHeaderError Traceback (most recent call last) ~\lib\tarfile.py in next(self) 2288 try: -> 2289 tarinfo = self.tarinfo.fromtarfile(self) 2290 except EOFHeaderError as e: ~\lib\tarfile.py in fromtarfile(cls, tarfile) 1094 buf = tarfile.fileobj.read(BLOCKSIZE) -> 1095 obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors) 1096 obj.offset = tarfile.fileobj.tell() - BLOCKSIZE ~\lib\tarfile.py in frombuf(cls, buf, encoding, errors) 1036 -> 1037 chksum = nti(buf[148:156]) 1038 if chksum not in calc_chksums(buf): ~\lib\tarfile.py in nti(s) 188 except ValueError: --> 189 raise InvalidHeaderError("invalid header") 190 return n InvalidHeaderError: invalid header During handling of the above exception, another exception occurred: ReadError Traceback (most recent call last) <ipython-input-5-6b9058341b2b> in <module> ----> 1 iter(iter_dset).__next__() ~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self) 363 364 def __iter__(self): --> 365 for key, example in self._iter(): 366 if self.features: 367 # we encode the example for ClassLabel feature types for example ~\lib\site-packages\datasets\iterable_dataset.py in _iter(self) 360 else: 361 ex_iterable = self._ex_iterable --> 362 yield from ex_iterable 363 364 def __iter__(self): ~\lib\site-packages\datasets\iterable_dataset.py in __iter__(self) 77 78 def __iter__(self): ---> 79 yield from self.generate_examples_fn(**self.kwargs) 80 81 def shuffle_data_sources(self, seed: Optional[int]) -> "ExamplesIterable": ~\.cache\huggingface\modules\datasets_modules\datasets\amazon_polarity\56923eeb72030cb6c4ea30c8a4e1162c26b25973475ac1f44340f0ec0f2936f4\amazon_polarity.py in _generate_examples(self, filepath, files) 114 def _generate_examples(self, filepath, files): 115 """Yields examples.""" --> 116 for path, f in files: 117 if path == filepath: 118 lines = (line.decode("utf-8") for line in f) ~\lib\site-packages\datasets\utils\streaming_download_manager.py in __iter__(self) 616 617 def __iter__(self): --> 618 yield from self.generator(*self.args, **self.kwargs) 619 620 ~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_urlpath(cls, urlpath, use_auth_token) 644 ) -> Generator[Tuple, None, None]: 645 with xopen(urlpath, "rb", use_auth_token=use_auth_token) as f: --> 646 yield from cls._iter_from_fileobj(f) 647 648 @classmethod ~\lib\site-packages\datasets\utils\streaming_download_manager.py in _iter_from_fileobj(cls, f) 624 @classmethod 625 def _iter_from_fileobj(cls, f) -> Generator[Tuple, None, None]: --> 626 stream = tarfile.open(fileobj=f, mode="r|*") 627 for tarinfo in stream: 628 file_path = tarinfo.name ~\lib\tarfile.py in open(cls, name, mode, fileobj, bufsize, **kwargs) 1603 stream = _Stream(name, filemode, comptype, fileobj, bufsize) 1604 try: -> 1605 t = cls(name, filemode, stream, **kwargs) 1606 except: 1607 stream.close() ~\lib\tarfile.py in __init__(self, name, mode, fileobj, format, tarinfo, dereference, ignore_zeros, encoding, errors, pax_headers, debug, errorlevel, copybufsize) 1484 if self.mode == "r": 1485 self.firstmember = None -> 1486 self.firstmember = self.next() 1487 1488 if self.mode == "a": ~\lib\tarfile.py in next(self) 2299 continue 2300 elif self.offset == 0: -> 2301 raise ReadError(str(e)) 2302 except EmptyHeaderError: 2303 if self.offset == 0: ReadError: invalid header ```
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
430
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
This error still happens, but for a different reason now: Google Drive returns a warning instead of the dataset.
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
19
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1856
load_dataset("amazon_polarity") NonMatchingChecksumError
Hi ! Thanks for reporting. Google Drive changed the way to bypass the warning message recently. The latest release `1.18.4` fixes this for datasets loaded in a regular way. We opened a PR to fix this recently for streaming mode at #3843 - we'll do a new release once the fix is merged :)
Hi, it seems that loading the amazon_polarity dataset gives a NonMatchingChecksumError. To reproduce: ``` load_dataset("amazon_polarity") ``` This will give the following error: ``` --------------------------------------------------------------------------- NonMatchingChecksumError Traceback (most recent call last) <ipython-input-3-8559a03fe0f8> in <module>() ----> 1 dataset = load_dataset("amazon_polarity") 3 frames /usr/local/lib/python3.6/dist-packages/datasets/utils/info_utils.py in verify_checksums(expected_checksums, recorded_checksums, verification_name) 37 if len(bad_urls) > 0: 38 error_msg = "Checksums didn't match" + for_verification_name + ":\n" ---> 39 raise NonMatchingChecksumError(error_msg + str(bad_urls)) 40 logger.info("All the checksums matched successfully" + for_verification_name) 41 NonMatchingChecksumError: Checksums didn't match for dataset source files: ['https://drive.google.com/u/0/uc?id=0Bz8a_Dbh9QhbaW12WVVZS2drcnM&export=download'] ```
54
load_dataset("amazon_polarity") NonMatchingChecksumError
[ -0.3597176671028137, -0.05221860110759735, -0.1851363331079483, 0.10207318514585495, 0.18873633444309235, -0.018771043047308922, 0.2903469204902649, 0.1788053959608078, 0.32378503680229187, 0.13630449771881104, 0.07631849497556686, 0.19657443463802338, 0.042594797909259796, 0.1309254914522171, -0.35086962580680847, 0.22018472850322723, 0.03238074854016304, 0.17448055744171143, -0.18470105528831482, -0.10429539531469345, -0.3248731195926666, 0.39004290103912354, -0.03213860094547272, -0.27828484773635864, -0.07541853189468384, 0.03626466542482376, 0.3316684067249298, 0.214642733335495, -0.20962266623973846, -0.11698956042528152, 0.5131712555885315, 0.08428004384040833, 0.2126764953136444, 0.09742969274520874, -0.00011662218457786366, 0.04688771441578865, 0.286570280790329, 0.03690706938505173, -0.2333667278289795, -0.3818669021129608, -0.3269600570201874, -0.18098929524421692, 0.22891201078891754, -0.05279245600104332, -0.10190730541944504, 0.17156186699867249, 0.0853707492351532, 0.017349019646644592, 0.12007945030927658, 0.050885479897260666, 0.24202239513397217, 0.33403801918029785, 0.30820661783218384, 0.024306435137987137, 0.554827094078064, 0.30649393796920776, -0.06551454961299896, -0.0972900539636612, 0.12368030846118927, -0.05163748562335968, -0.38862863183021545, 0.23885715007781982, 0.10911460965871811, 0.31266552209854126, -0.10226505994796753, -0.17690883576869965, 0.3981945514678955, 0.031933825463056564, 0.361079603433609, 0.23264215886592865, 0.32452520728111267, -0.06517020612955093, -0.017080791294574738, 0.1578834056854248, -0.301466166973114, -0.13783344626426697, 0.21033227443695068, 0.3230765163898468, -0.09996022284030914, -0.265078067779541, -0.0817946270108223, 0.15784679353237152, -0.23271693289279938, 0.21960364282131195, -0.16353601217269897, 0.6143267750740051, -0.05200400575995445, 0.17031808197498322, 0.10099475085735321, -0.2686937153339386, 0.5990574359893799, 0.009763331152498722, -0.0017926286673173308, 0.08943261206150055, -0.5881648659706116, 0.02136676385998726, -0.031194310635328293, 0.32645270228385925, 0.11183883994817734, 0.7503036260604858, 0.2680341303348541, 0.4600216746330261, -0.0545320026576519, 0.14403115212917328, 0.38998880982398987, 0.05955459922552109, 0.08230002969503403, 0.3448273241519928, 0.08531712740659714, 0.23536981642246246, 0.07399957627058029, 0.09830483049154282, -0.000014680805179523304, -0.49285030364990234, 0.5105903744697571, -0.007233127485960722, 0.14267678558826447, -0.37753742933273315, -0.3120713531970978, 0.055218860507011414, 0.15067249536514282, -0.0973668023943901, 0.02280031144618988, 0.30326998233795166, 0.024312851950526237, 0.259357750415802, 0.08752508461475372, 0.03835959732532501, -0.24256068468093872, 0.13389362394809723, -0.30242013931274414, 0.0763360857963562, 0.009344251826405525, -0.15467043220996857, 0.2457651048898697, 0.14750583469867706, 0.4048348665237427, -0.11087480932474136, 0.10937128961086273, 0.0249943844974041, 0.4451800584793091, -0.07608389109373093, 0.03706340864300728, 0.5124593377113342, 0.012181304395198822, 0.018547719344496727, 0.10339745879173279, 0.19112762808799744, -0.012129251845180988, 0.10391408205032349, -0.14565248787403107, -0.06042371690273285, 0.008739151991903782, 0.19810891151428223, -0.23291578888893127, -0.11283012479543686, 0.15096496045589447, -0.24303971230983734, 0.18847087025642395, -0.4387224614620209, 0.05975460261106491, -0.392243891954422, 0.12680669128894806, -0.10713586211204529, -0.04286493360996246, 0.09670822322368622, -0.11461105942726135, -0.07549800723791122, -0.1684831827878952, -0.2346106469631195, 0.5382590293884277, 0.16153131425380707, -0.1520851105451584, -0.15565209090709686, -0.07503891736268997, -0.12562035024166107, 0.16817696392536163, -0.06103505566716194, -0.03116423450410366, 0.10430581867694855, -0.2279137521982193, -0.00201337318867445, 0.12451011687517166, 0.30559462308883667, -0.39950159192085266, 0.03839334473013878, 0.36798611283302307, 0.02902597188949585, 0.07671914249658585, 0.2307506948709488, -0.10154257714748383, -0.2781660556793213, 0.39459028840065, 0.40179693698883057, 0.07589507102966309, -0.02719312347471714, 0.3090437352657318, -0.14686478674411774, 0.08101792633533478, 0.02501940354704857, -0.02170923538506031, 0.35139647126197815, 0.09107029438018799, -0.21717077493667603, 0.08266572654247284, -0.08393463492393494, -0.6125841736793518, -0.06125129759311676, -0.30023258924484253, 0.18183481693267822, -0.1016676127910614, 0.23608626425266266, -0.25310277938842773, -0.15168163180351257, -0.16177238523960114, 0.17580875754356384, 0.08863794803619385, 0.3497583568096161, 0.1030045747756958, -0.1501559317111969, -0.08032137900590897, -0.0717485174536705, -0.34664779901504517, 0.0806126669049263, -0.6319859027862549, 0.060923751443624496, 0.05340126156806946, 0.11489122360944748, 0.16082607209682465, -0.06250711530447006, 0.23389683663845062, -0.08320978283882141, -0.0851140171289444, 0.15247958898544312, -0.08295148611068726, 0.22818893194198608, -0.005553774069994688, 0.414619117975235, -0.08717861771583557, 0.013810563832521439, -0.2513259947299957, 0.2986548840999603, 0.11236928403377533, -0.17640919983386993, -0.2925095856189728, 0.40351396799087524, -0.32425200939178467, 0.3379381597042084, 0.055478788912296295, -0.023403534665703773, 0.5048498511314392, 0.060387302190065384, -0.24105234444141388, -0.07349742203950882, 0.40100404620170593, -0.06267985701560974, -0.18980488181114197, 0.06405828893184662, -0.1570177972316742, 0.010189049877226353, 0.2692820727825165, 0.0013420111499726772, 0.15168683230876923, 0.02762623503804207, 0.020414751023054123, -0.09367901086807251, 0.32931119203567505, 0.7480943202972412, 0.4322647750377655, 0.23573097586631775, 0.008458046242594719, -0.17983928322792053, -0.2550777494907379, -0.19924494624137878, 0.2029058337211609, 0.20243212580680847, 0.07762477546930313, 0.4261179566383362, 0.24798594415187836, -0.35435834527015686, -0.5853055715560913, -0.15238024294376373, -0.03086112067103386, 0.2187972068786621, -0.2533659338951111, -0.0009762404952198267, -0.24278241395950317, 0.23951409757137299, -0.14467452466487885, 0.11769196391105652, -0.09447810053825378, -0.3420819044113159, -0.03710988536477089, 0.33484748005867004, -0.18102900683879852, 0.16049981117248535, -0.25462862849235535, 0.17001791298389435, 0.212510883808136, -0.382239431142807, -0.16469179093837738, -0.1975494772195816, -0.03555946797132492, 0.10878611356019974, 0.0736078992486, 0.027222629636526108, 0.32133930921554565, -0.27521607279777527, 0.1469990611076355, -0.4587652385234833, -0.23507215082645416, 0.022836392745375633, 0.09532026201486588, -0.2610117197036743, 0.43489697575569153, 0.21068823337554932, -0.09377984702587128, -0.19623354077339172, 0.09643939882516861, -0.16514109075069427, -0.2156429886817932, 0.19090668857097626, -0.12022373080253601, -0.06852932274341583, 0.04326849430799484, -0.4312136769294739, 0.004773518070578575, -0.2728632986545563, 0.22098210453987122, 0.5716862678527832, -0.004063029773533344, -0.1662158966064453, 0.0375586599111557, -0.21571308374404907, 0.004085808526724577, 0.1861487627029419, -0.32921910285949707, -0.43051332235336304, 0.48752960562705994, -0.10694108158349991, -0.1901622712612152, 0.11134739965200424, -0.016034934669733047, 0.30945101380348206, 0.43958964943885803, -0.31328073143959045, 0.20658458769321442, -0.3258889317512512, -0.24356453120708466, -0.010940012522041798, 0.34693339467048645, 0.45932137966156006, 0.2315133959054947, -0.09158626943826675, 0.06613006442785263, -0.3063388466835022, 0.17994646728038788, -0.11754515022039413, 0.38389649987220764, -0.2736583352088928, -0.007122877519577742, -0.3896949887275696, 0.4220535457134247, -0.3357696831226349, -0.11483895778656006, 0.0373910591006279, -0.03586970642209053, 0.2591724991798401, -0.09006357938051224, -0.04359429329633713, -0.15429235994815826, 0.0161326564848423, 0.13643401861190796, 0.17236587405204773, 0.07235990464687347, -0.43631571531295776, -0.08703698217868805, 0.07856803387403488, -0.20100511610507965, -0.13555985689163208, -0.030342279002070427, 0.3505702018737793, 0.29504862427711487, 0.27660346031188965, 0.11609554290771484, -0.24656705558300018, -0.3440743684768677, -0.2572672963142395, -0.05555141344666481, -0.42746272683143616, -0.1050712838768959, -0.33753281831741333, -0.11815956979990005, 0.05481727048754692, 0.3399929404258728, -0.06421485543251038, 0.3079777657985687, -0.03690987452864647, -0.2699359655380249, 0.055338017642498016, -0.22509543597698212, 0.1681024730205536, -0.18042556941509247, -0.002454532543197274, 0.0486338809132576, -0.20447532832622528, -0.27713096141815186, -0.07912299036979675, -0.2913980782032013, 0.47907450795173645, -0.4087691605091095, 0.24498675763607025, -0.3370300233364105, 0.05652429908514023, 0.10213998705148697, 0.21260054409503937, -0.11510329693555832, -0.21421948075294495, -0.3525041341781616, -0.1671755313873291, -0.31140968203544617, -0.04133809730410576, 0.05293397977948189, 0.12723438441753387, -0.19736053049564362, 0.03413643315434456, -0.04024490341544151, 0.06587815284729004, 0.10482367128133774, -0.010521654039621353, 0.27097246050834656, -0.11545887589454651, -0.023915931582450867, 0.07579515874385834, -0.20865055918693542, 0.036473214626312256, 0.6910555362701416, 0.20436811447143555, -0.19310037791728973, 0.47145700454711914, -0.1689859926700592, -0.2429107427597046, 0.23065416514873505, 0.03866547346115112, -0.01920606754720211, 0.3359391689300537, 0.03209830820560455, 0.03771562874317169, -0.09784408658742905, 0.1049957349896431, 0.1417122334241867, -0.042688943445682526, -0.1650647670030594, -0.03841041773557663, -0.1559510976076126, -0.021581722423434258, 0.19757480919361115, 0.04188525304198265, -0.10479232668876648, 0.23333358764648438, 0.31591302156448364, 0.8525752425193787, 0.0022410668898373842, 0.34950777888298035, -0.06209461763501167, -0.1524883210659027, 0.5108827948570251, -0.48229318857192993, 0.07292728126049042, -0.5511157512664795, 0.2867935597896576, -0.040322814136743546, -0.18575121462345123, 0.09397927671670914, 0.027328066527843475, 0.208650141954422, 0.30431848764419556, 0.15423816442489624, -0.017553724348545074, -0.06583206355571747, -0.004605150781571865, -0.23933091759681702, -0.14270798861980438, 0.08555605262517929, 0.09924319386482239, -0.22623489797115326, 0.08546287566423416, -0.23460616171360016, 0.26261454820632935, 0.24828839302062988, -0.35647958517074585, -0.06739772111177444, -0.026701202616095543, -0.02349795401096344, 0.4551963806152344, 0.25786092877388, -0.0012439338024705648, -0.15454261004924774, 0.13055840134620667, 0.18852753937244415, 0.03753732517361641, -0.17874890565872192, 0.26603466272354126, 0.3992563486099243, 0.06196743994951248, -0.2034267634153366, 0.07684534043073654, 0.1369706094264984, -0.06607519835233688, -0.03721807524561882, -0.19728577136993408, -0.032197095453739166, -0.2893368601799011, -0.31163492798805237, 0.2842419445514679, -0.14097698032855988, -0.35482290387153625, -0.1793469339609146, -0.1295088678598404, -0.08853068947792053, -0.3580126464366913, 0.16183999180793762, 0.2348235845565796, -0.16860203444957733, 0.17578871548175812, 0.5360687375068665, -0.25821152329444885, -0.13972455263137817, 0.5066179633140564, -0.03939387574791908, -0.10912507772445679, 0.3717624545097351, 0.1571732610464096, -0.2227046638727188, -0.37457215785980225, 0.149350106716156, 0.3345010578632355, -0.6312472820281982, 0.12359033524990082, 0.05517752841114998, -0.1792229413986206, -0.04926987364888191, 0.5624999403953552, 0.09007544815540314, 0.21533247828483582, 0.08136770874261856, -0.3722786605358124, -0.12170509994029999, 0.06589829921722412, 0.17327910661697388, 0.31272464990615845, 0.12028660625219345, -0.5857301354408264, -0.17169694602489471, -0.23167100548744202, -0.3263797163963318, -0.030221274122595787, -0.39997565746307373, 0.007100935094058514, -0.3102806508541107, -0.1602381020784378, 0.19104774296283722, 0.0785321518778801, 0.2343234419822693, 0.032381657510995865, -0.1421695053577423, -0.26305150985717773, -0.12032508105039597, 0.12656964361667633, -0.015576442703604698, -0.008207418024539948, -0.011797956191003323, -0.2653129994869232, -0.11612795293331146, 0.07017721980810165, -0.05608983710408211, 0.13137507438659668, -0.10772442072629929, 0.06438858807086945, -0.2141943722963333, -0.2230329066514969, -0.2113570272922516, -0.017002558335661888, -0.21587151288986206, -0.26367607712745667, -0.0035989400930702686, -0.08939746022224426, -0.034068915992975235, -0.12068957835435867, 0.31730374693870544, 0.007914607413113117, 0.1866995394229889, 0.08117008209228516, 0.1550535410642624, -0.31850990653038025, -0.24583430588245392, -0.18895117938518524, 0.36989089846611023, 0.2146262228488922, -0.26081448793411255, -0.04378219693899155, 0.178486630320549, 0.20834468305110931, -0.3458655774593353, -0.10259656608104706, 0.11890850216150284, 0.054085105657577515, 0.2666519284248352, 0.15430183708667755, -0.21379153430461884, -0.4491313695907593, 0.5206582546234131, 0.19390857219696045, 0.1821516901254654, -0.8480388522148132, -0.07572337985038757, 0.1090102344751358, -0.29942360520362854, 0.11435400694608688, 0.25343257188796997, 0.08497226238250732, -0.07567120343446732, 0.12683826684951782, 0.08225402981042862, 0.2460373342037201, -0.07533252984285355, 0.06502259522676468, -0.31906160712242126, -0.40541988611221313, 0.49602726101875305, 0.11993139237165451, 0.0073750014416873455, 0.12105298042297363, 0.26896247267723083, 0.46706637740135193, -0.03462820500135422, 0.397817999124527, -0.45186448097229004, -0.1785418540239334, -0.18745699524879456, -0.18699076771736145, -0.3909508287906647, -0.22659634053707123, -0.014930181205272675, 0.053084030747413635, -0.033804215490818024, 0.1320667266845703, 0.09231182187795639, -0.037606947124004364, 0.05991604924201965, -0.37595847249031067, 0.20802052319049835, -0.13941915333271027, -0.0790390744805336, -0.07695339620113373, 0.0952196940779686, 0.4360540807247162, -0.051817603409290314, 0.19780570268630981, -0.10836213827133179, 0.22713465988636017, 0.11427964270114899, 0.07385556399822235, 0.03987125679850578, -0.17366273701190948, -0.21463900804519653, -0.13665413856506348, 0.5572704076766968, 0.19434252381324768, 0.18202650547027588, 0.32998329401016235, 0.1955069601535797, -0.2707221806049347, 0.5274401307106018, 0.16233766078948975, 0.002476814901456237, 0.10908758640289307, 0.2524566948413849, -0.05394446849822998, -0.02129111811518669, -0.230337455868721, 0.03851499781012535, -0.5015988945960999, -0.39185163378715515, -0.227280393242836, 0.008993000723421574, 0.14250396192073822, -0.07150169461965561, 0.07484889030456543, 0.011557579040527344, 0.5372281670570374, 0.037913791835308075, -0.09780300408601761, -0.179526686668396, 0.0002973568916786462, -0.47814130783081055, 0.1893182247877121, -0.05800888314843178, 0.09530074894428253, 0.03663487732410431, 0.32020866870880127, 0.28867074847221375, 0.13285085558891296, 0.09846488386392593, -0.22435316443443298, 0.0463595874607563, -0.1120242029428482, -0.16370831429958344, 0.01777428761124611, 0.3844216763973236, -0.09510960429906845, -0.006414890289306641, -0.2593151032924652, 0.14691190421581268, 0.26983842253685, 0.092885322868824, -0.15590836107730865, -0.10910142958164215, -0.24654188752174377, 0.01741284877061844, -0.1632920801639557, 0.05969037860631943, 0.5351551175117493, -0.18284912407398224, 0.18426547944545746, -0.19664959609508514, -0.3512594401836395, -0.047122206538915634, 0.15663403272628784, 0.05887952819466591, 0.6408162713050842, 0.02329874224960804, -0.28768712282180786, -0.15290139615535736, -0.0032843986991792917, -0.2268744558095932, -0.17851676046848297, -0.17980295419692993, 0.3257487416267395, 0.0007635807851329446, 0.09697211533784866, -0.28849998116493225, -0.01854027807712555, 0.2504182457923889, -0.11480880528688431, -0.09478281438350677, -0.41131168603897095, 0.46503835916519165, -0.15044941008090973, -0.43313318490982056, 0.06080130115151405, 0.06335192173719406, 0.3106664717197418, -0.10581723600625992, -0.2623734176158905, 0.3890332877635956, 0.012079504318535328, 0.10217733681201935, -0.06458426266908646, 0.1971210092306137, -0.5467397570610046, 0.16527538001537323, -0.0539984330534935, 0.14860272407531738, 0.16616056859493256, -0.08678831160068512, -0.3385339677333832, -0.2538708448410034 ]
https://github.com/huggingface/datasets/issues/1854
Feature Request: Dataset.add_item
Hi @sshleifer. I am not sure of understanding the need of the `add_item` approach... By just reading your "Desired API" section, I would say you could (nearly) get it with a 1-column Dataset: ```python data = {"input_ids": [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5])]} ds = Dataset.from_dict(data) assert (ds["input_ids"][0] == np.array([4,4,2])).all() ```
I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`. Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries. ### Desired API ```python import numpy as np tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5]) def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset: """FIXME""" dataset = EmptyDataset() for t in tokenized: dataset.append(t) return dataset ds = build_dataset_from_tokenized(tokenized) assert (ds[0] == np.array([4,4,2])).all() ``` ### What I tried grep, google for "add one entry at a time", "datasets.append" ### Current Code This code achieves the same result but doesn't fit into the `add_item` abstraction. ```python dataset = load_dataset('text', data_files={'train': 'train.txt'}) tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096) def tokenize_function(examples): ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids'] return {'input_ids': [x[1:] for x in ids]} ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache) print(ds['train'][0]) => np array ``` Thanks in advance!
48
Feature Request: Dataset.add_item
[ -0.4577665627002716, 0.133737251162529, -0.27294614911079407, -0.05135037377476692, 0.06519658118486404, 0.11925769597291946, 0.37071192264556885, 0.15703825652599335, -0.10113545507192612, 0.08651168644428253, 0.27198314666748047, 0.510592520236969, -0.34078657627105713, 0.4750880300998688, 0.3879202902317047, 0.10836000740528107, 0.22060412168502808, 0.26095741987228394, -0.15296737849712372, -0.09573991596698761, -0.4425465762615204, -0.1522940695285797, -0.06584163010120392, -0.1305467039346695, 0.007733683567494154, -0.09120246022939682, -0.1396426558494568, -0.11468705534934998, -0.3058777451515198, -0.6463562250137329, -0.03514065593481064, 0.05652248486876488, -0.0993417426943779, 0.08172941952943802, -0.00010129228758160025, 0.07229998707771301, 0.11003116518259048, 0.2751040756702423, -0.6227245330810547, 0.1516437828540802, -0.6999815702438354, -0.36644285917282104, 0.2284725159406662, -0.11704717576503754, 0.23608218133449554, -0.42998504638671875, 0.10756563395261765, -0.13101826608181, -0.30240684747695923, 0.16792841255664825, 0.27382200956344604, 0.296363890171051, 0.143796905875206, -0.2921849191188812, 0.5577949285507202, 0.38024550676345825, -0.21334899961948395, -0.11664911359548569, 0.5013812184333801, 0.00969609897583723, -0.0054464638233184814, 0.10102461278438568, 0.1431427001953125, -0.10333669185638428, 0.26485830545425415, -0.07346279919147491, -0.3294571340084076, 0.016785968095064163, -0.016770139336586, 0.11428489536046982, 0.6803260445594788, -0.3229649066925049, -0.3137015104293823, -0.033744923770427704, 0.08362510055303574, -0.2044760137796402, -0.23044894635677338, -0.05274082347750664, -0.021366553381085396, 0.04513610526919365, 0.16604891419410706, -0.6381126046180725, -0.15358112752437592, 0.1822923719882965, 0.09318394958972931, 0.46201545000076294, 0.052828721702098846, -0.09426439553499222, -0.006825483404099941, -0.1217828094959259, 0.14568571746349335, 0.02296566218137741, -0.1651984304189682, 0.05473260208964348, -0.14766176044940948, -0.38357341289520264, 0.36884623765945435, 0.10646949708461761, 0.2481713593006134, 0.11065752059221268, 0.28084003925323486, 0.1162307858467102, -0.3118806481361389, 0.12575988471508026, 0.1414979249238968, -0.11134485900402069, 0.3221498429775238, -0.003361592534929514, 0.15447556972503662, -0.014156218618154526, 0.13420112431049347, 0.030581757426261902, 0.06824404001235962, 0.15110333263874054, 0.23096655309200287, -0.009467427618801594, 0.20890581607818604, 0.19883409142494202, -0.04623425751924515, 0.019635530188679695, 0.21546192467212677, -0.1518227756023407, -0.0753512978553772, 0.11745873838663101, 0.25351735949516296, -0.25554269552230835, -0.21831157803535461, 0.21078193187713623, 0.2656160891056061, -0.1708042174577713, -0.2592438757419586, 0.1933842897415161, 0.16068971157073975, -0.08555357903242111, 0.2512880861759186, -0.07047824561595917, -0.014403097331523895, -0.0167220588773489, -0.14415794610977173, 0.07238058000802994, 0.23118546605110168, 0.08711540699005127, 0.06512598693370819, 0.0028300832491368055, -0.16318607330322266, -0.15974204242229462, 0.02052615024149418, -0.06084108352661133, -0.19470946490764618, 0.22865059971809387, 0.038685496896505356, -0.34940341114997864, -0.31251442432403564, 0.314410537481308, 0.04340405389666557, -0.3318707048892975, 0.13363100588321686, 0.39952531456947327, 0.06433930993080139, -0.13824954628944397, 0.06759475916624069, 0.27316468954086304, -0.5932081341743469, -0.19867661595344543, -0.20843006670475006, 0.47993674874305725, -0.49407753348350525, -0.11583146452903748, -0.27002406120300293, -0.19374512135982513, -0.3034067749977112, -0.42299720644950867, -0.232300266623497, 0.11522123217582703, -0.19039303064346313, 0.367719441652298, 0.41537922620773315, -0.258218377828598, -0.2842974066734314, 0.10217324644327164, -0.3364192545413971, -0.28041866421699524, 0.12338527292013168, 0.546683132648468, 0.09090745449066162, -0.1981886327266693, 0.15208163857460022, -0.04536806046962738, 0.07372501492500305, -0.03858644887804985, 0.10890679806470871, -0.2570064663887024, 0.20931653678417206, 0.05639755725860596, -0.11328095197677612, 0.1583917886018753, 0.505177915096283, -0.2187248170375824, -0.04094863682985306, 0.013539504259824753, 0.14424605667591095, -0.07525480538606644, 0.5104923844337463, -0.1132802963256836, -0.2494659125804901, -0.4645332098007202, -0.47336843609809875, -0.04100644588470459, 0.17958317697048187, 0.07882776856422424, 0.0011983908480033278, -0.31539052724838257, -0.2626558542251587, 0.4598003923892975, -0.025755640119314194, 0.08800265938043594, 0.22870118916034698, 0.024870283901691437, -0.247213214635849, -0.05645110830664635, -0.3488955795764923, 0.11845836043357849, 0.05677134171128273, 0.11153649538755417, -0.024537114426493645, -0.07529393583536148, 0.22857312858104706, -0.004525110125541687, -0.09331856667995453, 0.048791974782943726, 0.05253131687641144, 0.06002948805689812, -0.027010351419448853, 0.13573606312274933, -0.1622164100408554, -0.033646468073129654, 0.2111729085445404, 0.1212221309542656, 0.17955072224140167, 0.2841387093067169, 0.021518588066101074, -0.12576039135456085, 0.23660466074943542, -0.13627135753631592, -0.38689470291137695, 0.15831544995307922, -0.053604260087013245, -0.10661222785711288, 0.09481550008058548, 0.13432250916957855, 0.15361371636390686, 0.22070929408073425, 0.09969400614500046, -0.42423346638679504, -0.19285020232200623, 0.08657573163509369, 0.1991422027349472, -0.050782110542058945, -0.2181335687637329, 0.1832241415977478, 0.39688941836357117, 0.08951485902070999, 0.5009876489639282, 0.12094836682081223, -0.19732527434825897, 0.007754320278763771, 0.2506459951400757, 0.45337575674057007, 0.5928395986557007, 0.27079513669013977, 0.21770928800106049, -0.05897606909275055, 0.18087196350097656, -0.12071211636066437, 0.056910187005996704, -0.1678222119808197, 0.05184323713183403, 0.12101614475250244, 0.4502720236778259, -0.13173025846481323, -0.2740286588668823, 0.011702694930136204, 0.12028311938047409, 0.13903209567070007, -0.07407603412866592, -0.34099528193473816, -0.029300758615136147, 0.038078319281339645, 0.04866260662674904, -0.08572705090045929, -0.046400751918554306, -0.2467057704925537, 0.5028020143508911, 0.04113628715276718, -0.008591127581894398, 0.031852103769779205, -0.16832508146762848, 0.5164940357208252, -0.043583888560533524, -0.30203452706336975, -0.03337487578392029, -0.003077157074585557, 0.1285894215106964, 0.2091888189315796, -0.06833404302597046, 0.1785758137702942, 0.5001332759857178, 0.3153853118419647, 0.2738714814186096, -0.40697211027145386, -0.36530202627182007, 0.0723852589726448, 0.2066178023815155, 0.10284078866243362, 0.2917027771472931, -0.03990248590707779, 0.003382575698196888, -0.10206030309200287, -0.011403634212911129, 0.16025203466415405, -0.32715195417404175, -0.07721191644668579, 0.08926025778055191, 0.06025877222418785, -0.09449157118797302, -0.45957064628601074, -0.19930851459503174, -0.3001217544078827, 0.3628283739089966, 0.15980732440948486, 0.12151975184679031, 0.025552861392498016, 0.10388583689928055, -0.0377408005297184, 0.1896529644727707, -0.06706152111291885, -0.10835164040327072, -0.08955615013837814, 0.22351707518100739, -0.26754873991012573, -0.15287163853645325, -0.056488748639822006, -0.15503275394439697, -0.08308633416891098, 0.4089529812335968, -0.23676156997680664, -0.3938249945640564, -0.17931421101093292, 0.3790176510810852, 0.09059231728315353, -0.003513289848342538, 0.5202122330665588, 0.3788846433162689, -0.22974428534507751, -0.15170170366764069, -0.2122478187084198, 0.13654953241348267, 0.030047230422496796, -0.22484585642814636, -0.06512299180030823, 0.21225231885910034, 0.0690966546535492, 0.328401654958725, -0.12172166258096695, -0.17575405538082123, 0.3442917764186859, -0.37247321009635925, 0.4288879930973053, -0.11440900713205338, -0.3799278438091278, -0.14440922439098358, -0.15338855981826782, 0.06283802539110184, -0.06686025112867355, -0.05586117506027222, -0.12576046586036682, -0.011866665445268154, -0.07423972338438034, 0.03079899400472641, -0.04912988096475601, -0.24129381775856018, -0.014322289265692234, 0.359958678483963, 0.26232749223709106, -0.11830300092697144, -0.2644374370574951, 0.05123365670442581, -0.007055037189275026, 0.105097196996212, -0.03258822485804558, -0.33098936080932617, -0.3125526010990143, 0.07027793675661087, -0.20030051469802856, -0.014519005082547665, 0.15553446114063263, 0.2890883982181549, -0.08947539329528809, -0.1861029863357544, -0.008108697831630707, -0.02866566926240921, 0.654420018196106, -0.3380366563796997, 0.051913660019636154, -0.06375622004270554, 0.19100426137447357, 0.3689522445201874, 0.30062195658683777, 0.03669314086437225, 0.39793917536735535, -0.013231683522462845, 0.26720139384269714, -0.09889403730630875, 0.2600395977497101, 0.4908682703971863, -0.027787573635578156, -0.06563073396682739, -0.18243063986301422, 0.11435041576623917, -0.07393568009138107, -0.2600443959236145, 0.03800295293331146, 0.022945407778024673, -0.09736648947000504, 0.47863897681236267, -0.34932541847229004, -0.3223007619380951, 0.040506742894649506, 0.08248556405305862, -0.08099377155303955, -0.26225903630256653, 0.2573956847190857, 0.43168002367019653, -0.2795751392841339, -0.1940043568611145, 0.33141475915908813, 0.4155122637748718, -0.1498466581106186, -0.3672599196434021, -0.20562529563903809, -0.3561398983001709, 0.2628190815448761, 0.12444605678319931, -0.0028892511036247015, 0.3102462887763977, 0.055086735635995865, -0.11668629199266434, -0.08522936701774597, 0.16467201709747314, 0.0957271084189415, -0.17673403024673462, -0.011910161934792995, -0.3335248529911041, 0.3154197931289673, -0.0887683779001236, -0.08479825407266617, 0.16097626090049744, 0.07718276977539062, -0.19637924432754517, 0.06485278159379959, -0.06136251613497734, 0.6338943839073181, 0.1319219172000885, 0.19409145414829254, 0.12170004844665527, -0.5266517996788025, 0.2614847421646118, -0.12711231410503387, 0.12155602127313614, -0.34427735209465027, -0.3374326229095459, -0.06269115954637527, 0.04717988520860672, 0.13756901025772095, 0.35010161995887756, -0.13707087934017181, 0.011912285350263119, 0.07617155462503433, 0.21407648921012878, -0.044941388070583344, 0.26393070816993713, -0.192851260304451, -0.26496201753616333, 0.07844878733158112, 0.28034117817878723, 0.10981320589780807, -0.19244174659252167, -0.11706084758043289, -0.11300516128540039, 0.19824956357479095, -0.2433975785970688, -0.21372781693935394, -0.09899412840604782, -0.057059984654188156, 0.1520451009273529, 0.10435675084590912, -0.3314441442489624, 0.035844407975673676, -0.26313093304634094, 0.0665811151266098, 0.11406097561120987, -0.02158634178340435, 0.04445989057421684, 0.13351254165172577, 0.20511358976364136, -0.18085552752017975, -0.2707522213459015, 0.3793395161628723, 0.012873955070972443, -0.07025239616632462, 0.1327522099018097, -0.10235217213630676, -0.3692687153816223, 0.057161059230566025, 0.21763257682323456, 0.08329688012599945, -0.38111406564712524, -0.07274826616048813, 0.3109177052974701, 0.05551337078213692, -0.35477203130722046, 0.21974846720695496, 0.14546161890029907, -0.004114809911698103, 0.060771264135837555, 0.11138299852609634, 0.16521717607975006, -0.11109861731529236, 0.15018557012081146, -0.04357675462961197, -0.13691499829292297, 0.31973862648010254, 0.05368706211447716, -0.15998248755931854, -0.4302341341972351, 0.15119889378547668, 0.21704751253128052, -0.18766307830810547, 0.03711264580488205, 0.03299441561102867, -0.09977435320615768, -0.016996564343571663, -0.07297040522098541, -0.19239893555641174, 0.2937798798084259, -0.17087756097316742, -0.14074262976646423, -0.4492124021053314, 0.004156750626862049, 0.04292025417089462, 0.39278215169906616, -0.054182861000299454, -0.06531459093093872, -0.059769075363874435, 0.12888659536838531, -0.4219766855239868, -0.17986510694026947, 0.0822395607829094, -0.07872757315635681, 0.29598891735076904, 0.2494058758020401, -0.05100514739751816, 0.002137328265234828, 0.20594802498817444, -0.09250844269990921, -0.1359557807445526, -0.27296963334083557, -0.0619468055665493, 0.0666164681315422, 0.1504739373922348, 0.20306716859340668, -0.12280520051717758, -0.08546628803014755, -0.2872474193572998, -0.06567316502332687, 0.026999423280358315, 0.05256159231066704, -0.27047860622406006, -0.018191510811448097, 0.20734889805316925, 0.18837568163871765, 0.07517469674348831, 0.10971203446388245, 0.23329108953475952, 0.22621026635169983, 0.05946449190378189, 0.04341335594654083, -0.07766091823577881, 0.11415010690689087, 0.28161925077438354, 0.2938433885574341, 0.10939718782901764, -0.14101044833660126, 0.17683427035808563, -0.1631287783384323, -0.12131896615028381, 0.1344877928495407, 0.21917730569839478, 0.0972583070397377, -0.09369278699159622, 0.13163113594055176, 0.08970250934362411, 0.2929151654243469, -0.5695011019706726, -0.3004324436187744, 0.332279771566391, -0.24611325562000275, 0.33075299859046936, 0.18380044400691986, -0.03332173824310303, 0.13233762979507446, 0.0438200868666172, 0.16046512126922607, -0.18185199797153473, -0.32045263051986694, -0.017774078994989395, 0.25717467069625854, -0.12393584102392197, -0.11273865401744843, 0.3123990297317505, 0.5310527086257935, 0.1648910641670227, 0.6757699251174927, 0.03079111874103546, 0.41462892293930054, 0.5134481191635132, -0.13823626935482025, 0.12545821070671082, -0.11642172187566757, 0.4372987747192383, 0.2977743446826935, 0.29645827412605286, -0.12800244987010956, 0.5193685293197632, -0.0448712520301342, 0.006453120149672031, 0.14068929851055145, -0.09634331613779068, -0.04378039762377739, 0.039200205355882645, -0.09431339055299759, 0.22510157525539398, -0.19784073531627655, -0.24351264536380768, 0.059865981340408325, -0.0359671376645565, -0.19961734116077423, 0.12067903578281403, -0.31710466742515564, 0.24219892919063568, -0.26762425899505615, 0.3765275478363037, 0.1760963797569275, -0.10808351635932922, -0.26470813155174255, -0.14400264620780945, -0.039413582533597946, -0.09635982662439346, 0.07684355229139328, 0.22809182107448578, -0.003987387288361788, 0.14476080238819122, 0.219230055809021, 0.29209816455841064, -0.37411653995513916, -0.16630029678344727, -0.27197036147117615, -0.06619291752576828, -0.051531292498111725, 0.27888643741607666, 0.15130853652954102, 0.20253990590572357, -0.17584149539470673, 0.4813033938407898, 0.29536840319633484, -0.10946833342313766, -0.44945675134658813, 0.029169416055083275, 0.22364541888237, -0.5059501528739929, -0.12099289149045944, 0.014337398111820221, 0.033853478729724884, -0.2826266288757324, 0.5586565732955933, -0.012915223836898804, 0.09386108070611954, -0.17339949309825897, 0.1541152000427246, -0.015068689361214638, 0.0029363303910940886, 0.13830359280109406, 0.056739237159490585, 0.10632351785898209, -0.07337754964828491, -0.6167594790458679, -0.05187791585922241, 0.22408545017242432, -0.14073005318641663, -0.07855606824159622, -0.0019212154438719153, 0.13382849097251892, 0.12167640030384064, 0.1946738213300705, -0.33638906478881836, 0.14488711953163147, 0.07493782043457031, -0.07814163714647293, -0.234335258603096, 0.09926702082157135, 0.09336333721876144, 0.06671355664730072, -0.05960472673177719, -0.2454770803451538, -0.06322778016328812, 0.1441689133644104, -0.3304958939552307, -0.31074026226997375, -0.11452940851449966, -0.0975651890039444, 0.5265635251998901, -0.1330806463956833, 0.09189637005329132, -0.2959102690219879, 0.1802135407924652, -0.030898110941052437, -0.07715790718793869, -0.2417762279510498, 0.3493165373802185, 0.1376762092113495, -0.05104520916938782, -0.016251571476459503, 0.020735738798975945, 0.11621875315904617, -0.10283155739307404, -0.029753850772976875, 0.03649894520640373, 0.006631589028984308, 0.3345251977443695, -0.19617411494255066, -0.11188127845525742, -0.010340404696762562, -0.13680124282836914, -0.11789301037788391, -0.014891678467392921, 0.09354741126298904, -0.2923245429992676, 0.07135538011789322, -0.09606129676103592, -0.2734237313270569, -0.1899540275335312, 0.2886638641357422, 0.04506821557879448, -0.29835397005081177, -0.35231882333755493, -0.17073364555835724, 0.37146836519241333, -0.1055324375629425, 0.05938374251127243, 0.33260437846183777, -0.19017642736434937, -0.005737150553613901, -0.05358703434467316, 0.27651506662368774, -0.011609027162194252, 0.03815151005983353, -0.05480456352233887, -0.2963714599609375 ]
https://github.com/huggingface/datasets/issues/1854
Feature Request: Dataset.add_item
Hi @sshleifer :) We don't have methods like `Dataset.add_batch` or `Dataset.add_entry/add_item` yet. But that's something we'll add pretty soon. Would an API that looks roughly like this help ? Do you have suggestions ? ```python import numpy as np from datasets import Dataset tokenized = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5]) # API suggestion (not available yet) d = Dataset() for input_ids in tokenized: d.add_item({"input_ids": input_ids}) print(d[0]["input_ids"]) # [4, 4, 2] ``` Currently you can define a dataset with what @albertvillanova suggest, or via a generator using dataset builders. It's also possible to [concatenate datasets](https://huggingface.co/docs/datasets/package_reference/main_classes.html?highlight=concatenate#datasets.concatenate_datasets).
I'm trying to integrate `huggingface/datasets` functionality into `fairseq`, which requires (afaict) being able to build a dataset through an `add_item` method, such as https://github.com/pytorch/fairseq/blob/master/fairseq/data/indexed_dataset.py#L318, as opposed to loading all the text into arrow, and then `dataset.map(binarizer)`. Is this possible at the moment? Is there an example? I'm happy to use raw `pa.Table` but not sure whether it will support uneven length entries. ### Desired API ```python import numpy as np tokenized: List[np.NDArray[np.int64]] = [np.array([4,4,2]), np.array([8,6,5,5,2]), np.array([3,3,31,5]) def build_dataset_from_tokenized(tokenized: List[np.NDArray[int]]) -> Dataset: """FIXME""" dataset = EmptyDataset() for t in tokenized: dataset.append(t) return dataset ds = build_dataset_from_tokenized(tokenized) assert (ds[0] == np.array([4,4,2])).all() ``` ### What I tried grep, google for "add one entry at a time", "datasets.append" ### Current Code This code achieves the same result but doesn't fit into the `add_item` abstraction. ```python dataset = load_dataset('text', data_files={'train': 'train.txt'}) tokenizer = RobertaTokenizerFast.from_pretrained('roberta-base', max_length=4096) def tokenize_function(examples): ids = tokenizer(examples['text'], return_attention_mask=False)['input_ids'] return {'input_ids': [x[1:] for x in ids]} ds = dataset.map(tokenize_function, batched=True, num_proc=4, remove_columns=['text'], load_from_cache_file=not overwrite_cache) print(ds['train'][0]) => np array ``` Thanks in advance!
92
Feature Request: Dataset.add_item
[ -0.4577665627002716, 0.133737251162529, -0.27294614911079407, -0.05135037377476692, 0.06519658118486404, 0.11925769597291946, 0.37071192264556885, 0.15703825652599335, -0.10113545507192612, 0.08651168644428253, 0.27198314666748047, 0.510592520236969, -0.34078657627105713, 0.4750880300998688, 0.3879202902317047, 0.10836000740528107, 0.22060412168502808, 0.26095741987228394, -0.15296737849712372, -0.09573991596698761, -0.4425465762615204, -0.1522940695285797, -0.06584163010120392, -0.1305467039346695, 0.007733683567494154, -0.09120246022939682, -0.1396426558494568, -0.11468705534934998, -0.3058777451515198, -0.6463562250137329, -0.03514065593481064, 0.05652248486876488, -0.0993417426943779, 0.08172941952943802, -0.00010129228758160025, 0.07229998707771301, 0.11003116518259048, 0.2751040756702423, -0.6227245330810547, 0.1516437828540802, -0.6999815702438354, -0.36644285917282104, 0.2284725159406662, -0.11704717576503754, 0.23608218133449554, -0.42998504638671875, 0.10756563395261765, -0.13101826608181, -0.30240684747695923, 0.16792841255664825, 0.27382200956344604, 0.296363890171051, 0.143796905875206, -0.2921849191188812, 0.5577949285507202, 0.38024550676345825, -0.21334899961948395, -0.11664911359548569, 0.5013812184333801, 0.00969609897583723, -0.0054464638233184814, 0.10102461278438568, 0.1431427001953125, -0.10333669185638428, 0.26485830545425415, -0.07346279919147491, -0.3294571340084076, 0.016785968095064163, -0.016770139336586, 0.11428489536046982, 0.6803260445594788, -0.3229649066925049, -0.3137015104293823, -0.033744923770427704, 0.08362510055303574, -0.2044760137796402, -0.23044894635677338, -0.05274082347750664, -0.021366553381085396, 0.04513610526919365, 0.16604891419410706, -0.6381126046180725, -0.15358112752437592, 0.1822923719882965, 0.09318394958972931, 0.46201545000076294, 0.052828721702098846, -0.09426439553499222, -0.006825483404099941, -0.1217828094959259, 0.14568571746349335, 0.02296566218137741, -0.1651984304189682, 0.05473260208964348, -0.14766176044940948, -0.38357341289520264, 0.36884623765945435, 0.10646949708461761, 0.2481713593006134, 0.11065752059221268, 0.28084003925323486, 0.1162307858467102, -0.3118806481361389, 0.12575988471508026, 0.1414979249238968, -0.11134485900402069, 0.3221498429775238, -0.003361592534929514, 0.15447556972503662, -0.014156218618154526, 0.13420112431049347, 0.030581757426261902, 0.06824404001235962, 0.15110333263874054, 0.23096655309200287, -0.009467427618801594, 0.20890581607818604, 0.19883409142494202, -0.04623425751924515, 0.019635530188679695, 0.21546192467212677, -0.1518227756023407, -0.0753512978553772, 0.11745873838663101, 0.25351735949516296, -0.25554269552230835, -0.21831157803535461, 0.21078193187713623, 0.2656160891056061, -0.1708042174577713, -0.2592438757419586, 0.1933842897415161, 0.16068971157073975, -0.08555357903242111, 0.2512880861759186, -0.07047824561595917, -0.014403097331523895, -0.0167220588773489, -0.14415794610977173, 0.07238058000802994, 0.23118546605110168, 0.08711540699005127, 0.06512598693370819, 0.0028300832491368055, -0.16318607330322266, -0.15974204242229462, 0.02052615024149418, -0.06084108352661133, -0.19470946490764618, 0.22865059971809387, 0.038685496896505356, -0.34940341114997864, -0.31251442432403564, 0.314410537481308, 0.04340405389666557, -0.3318707048892975, 0.13363100588321686, 0.39952531456947327, 0.06433930993080139, -0.13824954628944397, 0.06759475916624069, 0.27316468954086304, -0.5932081341743469, -0.19867661595344543, -0.20843006670475006, 0.47993674874305725, -0.49407753348350525, -0.11583146452903748, -0.27002406120300293, -0.19374512135982513, -0.3034067749977112, -0.42299720644950867, -0.232300266623497, 0.11522123217582703, -0.19039303064346313, 0.367719441652298, 0.41537922620773315, -0.258218377828598, -0.2842974066734314, 0.10217324644327164, -0.3364192545413971, -0.28041866421699524, 0.12338527292013168, 0.546683132648468, 0.09090745449066162, -0.1981886327266693, 0.15208163857460022, -0.04536806046962738, 0.07372501492500305, -0.03858644887804985, 0.10890679806470871, -0.2570064663887024, 0.20931653678417206, 0.05639755725860596, -0.11328095197677612, 0.1583917886018753, 0.505177915096283, -0.2187248170375824, -0.04094863682985306, 0.013539504259824753, 0.14424605667591095, -0.07525480538606644, 0.5104923844337463, -0.1132802963256836, -0.2494659125804901, -0.4645332098007202, -0.47336843609809875, -0.04100644588470459, 0.17958317697048187, 0.07882776856422424, 0.0011983908480033278, -0.31539052724838257, -0.2626558542251587, 0.4598003923892975, -0.025755640119314194, 0.08800265938043594, 0.22870118916034698, 0.024870283901691437, -0.247213214635849, -0.05645110830664635, -0.3488955795764923, 0.11845836043357849, 0.05677134171128273, 0.11153649538755417, -0.024537114426493645, -0.07529393583536148, 0.22857312858104706, -0.004525110125541687, -0.09331856667995453, 0.048791974782943726, 0.05253131687641144, 0.06002948805689812, -0.027010351419448853, 0.13573606312274933, -0.1622164100408554, -0.033646468073129654, 0.2111729085445404, 0.1212221309542656, 0.17955072224140167, 0.2841387093067169, 0.021518588066101074, -0.12576039135456085, 0.23660466074943542, -0.13627135753631592, -0.38689470291137695, 0.15831544995307922, -0.053604260087013245, -0.10661222785711288, 0.09481550008058548, 0.13432250916957855, 0.15361371636390686, 0.22070929408073425, 0.09969400614500046, -0.42423346638679504, -0.19285020232200623, 0.08657573163509369, 0.1991422027349472, -0.050782110542058945, -0.2181335687637329, 0.1832241415977478, 0.39688941836357117, 0.08951485902070999, 0.5009876489639282, 0.12094836682081223, -0.19732527434825897, 0.007754320278763771, 0.2506459951400757, 0.45337575674057007, 0.5928395986557007, 0.27079513669013977, 0.21770928800106049, -0.05897606909275055, 0.18087196350097656, -0.12071211636066437, 0.056910187005996704, -0.1678222119808197, 0.05184323713183403, 0.12101614475250244, 0.4502720236778259, -0.13173025846481323, -0.2740286588668823, 0.011702694930136204, 0.12028311938047409, 0.13903209567070007, -0.07407603412866592, -0.34099528193473816, -0.029300758615136147, 0.038078319281339645, 0.04866260662674904, -0.08572705090045929, -0.046400751918554306, -0.2467057704925537, 0.5028020143508911, 0.04113628715276718, -0.008591127581894398, 0.031852103769779205, -0.16832508146762848, 0.5164940357208252, -0.043583888560533524, -0.30203452706336975, -0.03337487578392029, -0.003077157074585557, 0.1285894215106964, 0.2091888189315796, -0.06833404302597046, 0.1785758137702942, 0.5001332759857178, 0.3153853118419647, 0.2738714814186096, -0.40697211027145386, -0.36530202627182007, 0.0723852589726448, 0.2066178023815155, 0.10284078866243362, 0.2917027771472931, -0.03990248590707779, 0.003382575698196888, -0.10206030309200287, -0.011403634212911129, 0.16025203466415405, -0.32715195417404175, -0.07721191644668579, 0.08926025778055191, 0.06025877222418785, -0.09449157118797302, -0.45957064628601074, -0.19930851459503174, -0.3001217544078827, 0.3628283739089966, 0.15980732440948486, 0.12151975184679031, 0.025552861392498016, 0.10388583689928055, -0.0377408005297184, 0.1896529644727707, -0.06706152111291885, -0.10835164040327072, -0.08955615013837814, 0.22351707518100739, -0.26754873991012573, -0.15287163853645325, -0.056488748639822006, -0.15503275394439697, -0.08308633416891098, 0.4089529812335968, -0.23676156997680664, -0.3938249945640564, -0.17931421101093292, 0.3790176510810852, 0.09059231728315353, -0.003513289848342538, 0.5202122330665588, 0.3788846433162689, -0.22974428534507751, -0.15170170366764069, -0.2122478187084198, 0.13654953241348267, 0.030047230422496796, -0.22484585642814636, -0.06512299180030823, 0.21225231885910034, 0.0690966546535492, 0.328401654958725, -0.12172166258096695, -0.17575405538082123, 0.3442917764186859, -0.37247321009635925, 0.4288879930973053, -0.11440900713205338, -0.3799278438091278, -0.14440922439098358, -0.15338855981826782, 0.06283802539110184, -0.06686025112867355, -0.05586117506027222, -0.12576046586036682, -0.011866665445268154, -0.07423972338438034, 0.03079899400472641, -0.04912988096475601, -0.24129381775856018, -0.014322289265692234, 0.359958678483963, 0.26232749223709106, -0.11830300092697144, -0.2644374370574951, 0.05123365670442581, -0.007055037189275026, 0.105097196996212, -0.03258822485804558, -0.33098936080932617, -0.3125526010990143, 0.07027793675661087, -0.20030051469802856, -0.014519005082547665, 0.15553446114063263, 0.2890883982181549, -0.08947539329528809, -0.1861029863357544, -0.008108697831630707, -0.02866566926240921, 0.654420018196106, -0.3380366563796997, 0.051913660019636154, -0.06375622004270554, 0.19100426137447357, 0.3689522445201874, 0.30062195658683777, 0.03669314086437225, 0.39793917536735535, -0.013231683522462845, 0.26720139384269714, -0.09889403730630875, 0.2600395977497101, 0.4908682703971863, -0.027787573635578156, -0.06563073396682739, -0.18243063986301422, 0.11435041576623917, -0.07393568009138107, -0.2600443959236145, 0.03800295293331146, 0.022945407778024673, -0.09736648947000504, 0.47863897681236267, -0.34932541847229004, -0.3223007619380951, 0.040506742894649506, 0.08248556405305862, -0.08099377155303955, -0.26225903630256653, 0.2573956847190857, 0.43168002367019653, -0.2795751392841339, -0.1940043568611145, 0.33141475915908813, 0.4155122637748718, -0.1498466581106186, -0.3672599196434021, -0.20562529563903809, -0.3561398983001709, 0.2628190815448761, 0.12444605678319931, -0.0028892511036247015, 0.3102462887763977, 0.055086735635995865, -0.11668629199266434, -0.08522936701774597, 0.16467201709747314, 0.0957271084189415, -0.17673403024673462, -0.011910161934792995, -0.3335248529911041, 0.3154197931289673, -0.0887683779001236, -0.08479825407266617, 0.16097626090049744, 0.07718276977539062, -0.19637924432754517, 0.06485278159379959, -0.06136251613497734, 0.6338943839073181, 0.1319219172000885, 0.19409145414829254, 0.12170004844665527, -0.5266517996788025, 0.2614847421646118, -0.12711231410503387, 0.12155602127313614, -0.34427735209465027, -0.3374326229095459, -0.06269115954637527, 0.04717988520860672, 0.13756901025772095, 0.35010161995887756, -0.13707087934017181, 0.011912285350263119, 0.07617155462503433, 0.21407648921012878, -0.044941388070583344, 0.26393070816993713, -0.192851260304451, -0.26496201753616333, 0.07844878733158112, 0.28034117817878723, 0.10981320589780807, -0.19244174659252167, -0.11706084758043289, -0.11300516128540039, 0.19824956357479095, -0.2433975785970688, -0.21372781693935394, -0.09899412840604782, -0.057059984654188156, 0.1520451009273529, 0.10435675084590912, -0.3314441442489624, 0.035844407975673676, -0.26313093304634094, 0.0665811151266098, 0.11406097561120987, -0.02158634178340435, 0.04445989057421684, 0.13351254165172577, 0.20511358976364136, -0.18085552752017975, -0.2707522213459015, 0.3793395161628723, 0.012873955070972443, -0.07025239616632462, 0.1327522099018097, -0.10235217213630676, -0.3692687153816223, 0.057161059230566025, 0.21763257682323456, 0.08329688012599945, -0.38111406564712524, -0.07274826616048813, 0.3109177052974701, 0.05551337078213692, -0.35477203130722046, 0.21974846720695496, 0.14546161890029907, -0.004114809911698103, 0.060771264135837555, 0.11138299852609634, 0.16521717607975006, -0.11109861731529236, 0.15018557012081146, -0.04357675462961197, -0.13691499829292297, 0.31973862648010254, 0.05368706211447716, -0.15998248755931854, -0.4302341341972351, 0.15119889378547668, 0.21704751253128052, -0.18766307830810547, 0.03711264580488205, 0.03299441561102867, -0.09977435320615768, -0.016996564343571663, -0.07297040522098541, -0.19239893555641174, 0.2937798798084259, -0.17087756097316742, -0.14074262976646423, -0.4492124021053314, 0.004156750626862049, 0.04292025417089462, 0.39278215169906616, -0.054182861000299454, -0.06531459093093872, -0.059769075363874435, 0.12888659536838531, -0.4219766855239868, -0.17986510694026947, 0.0822395607829094, -0.07872757315635681, 0.29598891735076904, 0.2494058758020401, -0.05100514739751816, 0.002137328265234828, 0.20594802498817444, -0.09250844269990921, -0.1359557807445526, -0.27296963334083557, -0.0619468055665493, 0.0666164681315422, 0.1504739373922348, 0.20306716859340668, -0.12280520051717758, -0.08546628803014755, -0.2872474193572998, -0.06567316502332687, 0.026999423280358315, 0.05256159231066704, -0.27047860622406006, -0.018191510811448097, 0.20734889805316925, 0.18837568163871765, 0.07517469674348831, 0.10971203446388245, 0.23329108953475952, 0.22621026635169983, 0.05946449190378189, 0.04341335594654083, -0.07766091823577881, 0.11415010690689087, 0.28161925077438354, 0.2938433885574341, 0.10939718782901764, -0.14101044833660126, 0.17683427035808563, -0.1631287783384323, -0.12131896615028381, 0.1344877928495407, 0.21917730569839478, 0.0972583070397377, -0.09369278699159622, 0.13163113594055176, 0.08970250934362411, 0.2929151654243469, -0.5695011019706726, -0.3004324436187744, 0.332279771566391, -0.24611325562000275, 0.33075299859046936, 0.18380044400691986, -0.03332173824310303, 0.13233762979507446, 0.0438200868666172, 0.16046512126922607, -0.18185199797153473, -0.32045263051986694, -0.017774078994989395, 0.25717467069625854, -0.12393584102392197, -0.11273865401744843, 0.3123990297317505, 0.5310527086257935, 0.1648910641670227, 0.6757699251174927, 0.03079111874103546, 0.41462892293930054, 0.5134481191635132, -0.13823626935482025, 0.12545821070671082, -0.11642172187566757, 0.4372987747192383, 0.2977743446826935, 0.29645827412605286, -0.12800244987010956, 0.5193685293197632, -0.0448712520301342, 0.006453120149672031, 0.14068929851055145, -0.09634331613779068, -0.04378039762377739, 0.039200205355882645, -0.09431339055299759, 0.22510157525539398, -0.19784073531627655, -0.24351264536380768, 0.059865981340408325, -0.0359671376645565, -0.19961734116077423, 0.12067903578281403, -0.31710466742515564, 0.24219892919063568, -0.26762425899505615, 0.3765275478363037, 0.1760963797569275, -0.10808351635932922, -0.26470813155174255, -0.14400264620780945, -0.039413582533597946, -0.09635982662439346, 0.07684355229139328, 0.22809182107448578, -0.003987387288361788, 0.14476080238819122, 0.219230055809021, 0.29209816455841064, -0.37411653995513916, -0.16630029678344727, -0.27197036147117615, -0.06619291752576828, -0.051531292498111725, 0.27888643741607666, 0.15130853652954102, 0.20253990590572357, -0.17584149539470673, 0.4813033938407898, 0.29536840319633484, -0.10946833342313766, -0.44945675134658813, 0.029169416055083275, 0.22364541888237, -0.5059501528739929, -0.12099289149045944, 0.014337398111820221, 0.033853478729724884, -0.2826266288757324, 0.5586565732955933, -0.012915223836898804, 0.09386108070611954, -0.17339949309825897, 0.1541152000427246, -0.015068689361214638, 0.0029363303910940886, 0.13830359280109406, 0.056739237159490585, 0.10632351785898209, -0.07337754964828491, -0.6167594790458679, -0.05187791585922241, 0.22408545017242432, -0.14073005318641663, -0.07855606824159622, -0.0019212154438719153, 0.13382849097251892, 0.12167640030384064, 0.1946738213300705, -0.33638906478881836, 0.14488711953163147, 0.07493782043457031, -0.07814163714647293, -0.234335258603096, 0.09926702082157135, 0.09336333721876144, 0.06671355664730072, -0.05960472673177719, -0.2454770803451538, -0.06322778016328812, 0.1441689133644104, -0.3304958939552307, -0.31074026226997375, -0.11452940851449966, -0.0975651890039444, 0.5265635251998901, -0.1330806463956833, 0.09189637005329132, -0.2959102690219879, 0.1802135407924652, -0.030898110941052437, -0.07715790718793869, -0.2417762279510498, 0.3493165373802185, 0.1376762092113495, -0.05104520916938782, -0.016251571476459503, 0.020735738798975945, 0.11621875315904617, -0.10283155739307404, -0.029753850772976875, 0.03649894520640373, 0.006631589028984308, 0.3345251977443695, -0.19617411494255066, -0.11188127845525742, -0.010340404696762562, -0.13680124282836914, -0.11789301037788391, -0.014891678467392921, 0.09354741126298904, -0.2923245429992676, 0.07135538011789322, -0.09606129676103592, -0.2734237313270569, -0.1899540275335312, 0.2886638641357422, 0.04506821557879448, -0.29835397005081177, -0.35231882333755493, -0.17073364555835724, 0.37146836519241333, -0.1055324375629425, 0.05938374251127243, 0.33260437846183777, -0.19017642736434937, -0.005737150553613901, -0.05358703434467316, 0.27651506662368774, -0.011609027162194252, 0.03815151005983353, -0.05480456352233887, -0.2963714599609375 ]
https://github.com/huggingface/datasets/issues/1849
Add TIMIT
@patrickvonplaten Could you please help me with how the output text has to be represented in the data? TIMIT has Words, Phonemes and texts. Also has lot on info on the speaker and the dialect. Could you please help me? An example of how to arrange it would be super helpful!
## Adding a Dataset - **Name:** *TIMIT* - **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems* - **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT - **Data:** *https://deepai.org/dataset/timit* - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
51
Add TIMIT
[ -0.24193242192268372, -0.9048735499382019, -0.3738054931163788, -0.11509992927312851, -0.027709035202860832, -0.16845852136611938, 0.036929357796907425, -0.05521835386753082, -0.676790177822113, 0.23966343700885773, -0.11126020550727844, 0.18845385313034058, -0.0985252857208252, 0.5503740906715393, 0.32128220796585083, -0.021202804520726204, -0.0005258225137367845, 0.31770047545433044, -0.550354540348053, -0.11531072854995728, -0.052650004625320435, 0.06855210661888123, -0.13080830872058868, 0.0020548300817608833, 0.05674479901790619, 0.05934755876660347, 0.0938769057393074, 0.021643895655870438, 0.03627071529626846, -0.27900058031082153, 0.018740734085440636, 0.06898806989192963, -0.16191549599170685, 0.23738804459571838, -0.00011208930663997307, 0.053829122334718704, 0.05122271552681923, -0.13148272037506104, -0.08554042130708694, 0.22003071010112762, -0.03591393306851387, 0.1419699341058731, -0.11343789100646973, -0.07951021194458008, -0.34481459856033325, 0.13029243052005768, 0.04963524267077446, -0.07388991862535477, -0.11797699332237244, 0.07255200296640396, 0.26477423310279846, 0.13271382451057434, 0.03477677330374718, -0.08340293169021606, 0.48595529794692993, -0.04042447358369827, -0.13185159862041473, -0.06854498386383057, 0.2812049984931946, 0.1700725108385086, 0.5803275108337402, -0.1658678650856018, 0.1318480223417282, -0.1651952862739563, 0.2625425159931183, 0.05719943344593048, 0.17837220430374146, -0.13349558413028717, -0.284759521484375, 0.1564965695142746, 0.7107433676719666, -0.056512266397476196, -0.089710533618927, 0.3807255029678345, 0.04305119439959526, -0.18209242820739746, 0.05817320570349693, -0.1495814323425293, -0.057298414409160614, 0.05189700797200203, -0.19240184128284454, -0.14730733633041382, -0.23629160225391388, 0.4629099369049072, 0.33778008818626404, 0.005949039477854967, 0.10105422139167786, -0.03737018257379532, -0.1964118778705597, -0.05669211596250534, -0.315689355134964, 0.13343359529972076, -0.10585132986307144, 0.00751715712249279, 0.5099059343338013, -0.3315001130104065, 0.11586657911539078, -0.006300997920334339, -0.09377260506153107, 0.2995705008506775, 0.44221383333206177, 0.03808211535215378, -0.3889419138431549, -0.14270615577697754, -0.15508149564266205, -0.18483799695968628, 0.02360750548541546, -0.35011720657348633, -0.00003572625428205356, -0.39235246181488037, 0.13452836871147156, -0.08841239660978317, 0.20769965648651123, 0.026158925145864487, 0.1141907125711441, -0.07481560856103897, -0.1794479638338089, 0.21172258257865906, -0.16240420937538147, -0.23006998002529144, -0.2800714373588562, -0.12535761296749115, 0.03752458840608597, -0.04821252077817917, 0.15947477519512177, 0.1434294879436493, -0.008857808075845242, 0.0368199348449707, 0.011241761036217213, 0.06838955730199814, -0.21609224379062653, 0.24075807631015778, 0.09963884949684143, -0.05288942530751228, -0.05671390891075134, -0.1845441311597824, 0.09797884523868561, 0.022702638059854507, 0.19918771088123322, 0.20057296752929688, -0.0001967064308701083, 0.06101315841078758, 0.07377646118402481, -0.06009608879685402, -0.25173407793045044, -0.06389915943145752, -0.1471545249223709, -0.14423173666000366, -0.09780126810073853, 0.20054791867733002, 0.20692592859268188, -0.03839803859591484, 0.022883858531713486, 0.2582255005836487, 0.031816523522138596, -0.1079796552658081, 0.0023459256626665592, 0.2022588551044464, 0.14984455704689026, -0.05079255625605583, 0.08253901451826096, 0.2160172015428543, -0.5334566235542297, -0.12859399616718292, 0.17036694288253784, 0.06263786554336548, -0.6131070256233215, -0.21023623645305634, 0.17489925026893616, -0.1841292828321457, 0.2720103859901428, -0.019198821857571602, 0.02938137948513031, 0.6460673213005066, -0.1849415898323059, 0.09870454668998718, 0.3597135543823242, -0.09958676248788834, -0.05343100056052208, -0.2988978922367096, -0.4455149173736572, -0.2845572829246521, 0.12993450462818146, 0.3992312550544739, -0.2656780481338501, -0.05483460798859596, 0.17379815876483917, -0.00850572157651186, -0.04640034958720207, -0.1048847883939743, -0.20723913609981537, 0.14791515469551086, 0.005576536990702152, 0.07060112059116364, -0.04516186565160751, 0.07389655709266663, 0.21953855454921722, 0.22847586870193481, 0.0445333868265152, 0.17817600071430206, 0.02189662680029869, 0.10033921897411346, 0.33540815114974976, -0.038308147341012955, -0.05343864858150482, -0.3949196934700012, 0.4939541816711426, -0.24157848954200745, 0.3547014594078064, 0.41399791836738586, 0.5664491057395935, 0.11508660763502121, -0.22960250079631805, -0.17042145133018494, 0.1644001007080078, 0.23226816952228546, 0.223819300532341, 0.30517083406448364, -0.17284679412841797, 0.04701957851648331, -0.06749116629362106, 0.4544617235660553, 0.16008710861206055, -0.2148825228214264, 0.29947787523269653, -0.22681502997875214, -0.033512093126773834, -0.2025834172964096, -0.07124844193458557, -0.07835955172777176, -0.22458846867084503, -0.11974877119064331, -0.08173548430204391, 0.26028627157211304, -0.3738607168197632, 0.14255627989768982, 0.14093366265296936, 0.009177831932902336, 0.251210480928421, -0.41608354449272156, -0.30552157759666443, 0.19361788034439087, 0.116623155772686, -0.09916505962610245, 0.367897629737854, 0.01816811040043831, -0.42972347140312195, -0.12321185320615768, -0.10078012198209763, -0.03673424571752548, -0.1646515130996704, 0.062333300709724426, 0.047269873321056366, -0.3883035480976105, 0.16416233777999878, 0.28751999139785767, -0.28390708565711975, -0.3675835132598877, 0.27121877670288086, 0.2596076726913452, 0.012922528199851513, -0.1498744636774063, 0.08553092181682587, 0.10949218273162842, 0.13856281340122223, 0.3771050274372101, -0.053037822246551514, -0.2795155644416809, 0.40875011682510376, 0.34538495540618896, 0.18371520936489105, -0.08066700398921967, 0.15953971445560455, -0.1948525607585907, 0.39896664023399353, 0.15325725078582764, -0.5303701162338257, 0.09899486601352692, -0.12011884152889252, -0.07026269286870956, -0.0323471762239933, -0.14541831612586975, -0.030459631234407425, 0.055679190903902054, -0.07250872254371643, -0.19566240906715393, -0.07540076971054077, -0.27289918065071106, 0.29111018776893616, -0.3118346929550171, 0.005486874375492334, 0.012482153251767159, 0.32136183977127075, 0.22776912152767181, 0.060202792286872864, 0.1553245484828949, -0.21404804289340973, 0.30659037828445435, 0.27703002095222473, -0.2629867494106293, -0.0772990807890892, 0.03860703855752945, -0.17710371315479279, 0.22887161374092102, -0.04868985339999199, -0.32044509053230286, 0.47641128301620483, -0.48173701763153076, 0.35959210991859436, 0.029992958530783653, -0.18313638865947723, 0.2737370729446411, -0.2816351056098938, 0.23436126112937927, 0.25261256098747253, 0.27483126521110535, -0.2640080451965332, -0.08565054088830948, 0.272146612405777, 0.0780385285615921, -0.33286917209625244, -0.1364995539188385, -0.008767561055719852, -0.0778486430644989, -0.24108834564685822, -0.38333117961883545, 0.2790219485759735, -0.24240998923778534, 0.3808514475822449, 0.28106653690338135, 0.12404444813728333, 0.26448190212249756, 0.04671788215637207, 0.18375805020332336, 0.4331680238246918, 0.4765167534351349, -0.03809499740600586, -0.38974833488464355, 0.16339711844921112, -0.17594140768051147, -0.09424471855163574, -0.011097087524831295, 0.04624994099140167, 0.07538121193647385, -0.04039229452610016, -0.2203114628791809, 0.08703168481588364, 0.028592867776751518, 0.14308147132396698, -0.3532639443874359, 0.1412794291973114, 0.27143704891204834, 0.054415568709373474, -0.37329134345054626, -0.22881639003753662, -0.03225451707839966, 0.2557896673679352, 0.046505726873874664, 0.14240750670433044, 0.23307541012763977, 0.2555464506149292, 0.0038986694999039173, 0.3829413950443268, -0.014173049479722977, -0.1220853179693222, 0.49826961755752563, -0.2706286907196045, 0.0610998198390007, 0.12760576605796814, -0.36689043045043945, 0.15393149852752686, 0.6075488924980164, 0.3058917224407196, 0.15806826949119568, -0.025480007752776146, 0.04547365754842758, -0.1286110281944275, -0.3741668164730072, 0.044594962149858475, -0.11702411621809006, -0.07833092659711838, -0.3353888690471649, 0.07317289710044861, -0.026211649179458618, -0.412701278924942, -0.14727401733398438, -0.3375808894634247, 0.14848178625106812, 0.2748993933200836, -0.14833250641822815, -0.0989890843629837, -0.4478324055671692, -0.3388725817203522, 0.14600332081317902, 0.2374551147222519, 0.4254223108291626, 0.05907192453742027, -0.23546819388866425, -0.5734128355979919, 0.04333684220910072, 0.11698279529809952, 0.5407739281654358, -0.22615595161914825, -0.18092939257621765, 0.11979541182518005, 0.30427271127700806, -0.05486460402607918, 0.028704797849059105, -0.04879213497042656, 0.24352648854255676, 0.39002636075019836, 0.11381827294826508, -0.035350069403648376, 0.05903750658035278, 0.12985451519489288, 0.08102259784936905, -0.0017618902493268251, -0.012179436162114143, -0.16218948364257812, -0.2701570987701416, 0.04278215020895004, 0.3192160129547119, -0.002069795271381736, 0.21668919920921326, 0.6196540594100952, -0.28454795479774475, 0.01163313165307045, -0.28373798727989197, 0.37298697233200073, -0.1447838693857193, -0.0017180824652314186, 0.2226879894733429, 0.17023321986198425, -0.44545990228652954, -0.15665513277053833, -0.27188417315483093, -0.11451514810323715, 0.199856698513031, 0.3688839077949524, -0.049918033182621, -0.35206714272499084, 0.48590806126594543, -0.042269088327884674, 0.15287978947162628, 0.20922215282917023, -0.4515475332736969, 0.307628870010376, 0.0011062874691560864, 0.4318959712982178, -0.04619787260890007, -0.2215106040239334, 0.08378037065267563, 0.16324107348918915, -0.24348671734333038, -0.10220697522163391, 0.14449404180049896, 0.5711679458618164, -0.008192505687475204, -0.3055880665779114, -0.36966800689697266, 0.15306833386421204, 1.4515749216079712, -0.053445566445589066, 0.10114847123622894, -0.2486986368894577, 0.07074598968029022, -0.1123436912894249, -0.3870828151702881, 0.016936879605054855, 0.07288162410259247, -0.08758353441953659, 0.014282045885920525, -0.09214848279953003, -0.3125460147857666, -0.005643847864121199, -0.24041642248630524, -0.14558757841587067, 0.12949590384960175, 0.5613775849342346, -0.00007639348768861964, 0.023429350927472115, -0.08825565874576569, 0.010065079666674137, 0.6154113411903381, 0.14209520816802979, 0.04838680475950241, 0.14277192950248718, 0.12070170044898987, -0.019674072042107582, -0.1287277638912201, -0.15959526598453522, -0.3251451253890991, -0.18321162462234497, -0.5250787734985352, 0.048571497201919556, -0.23317831754684448, -0.6461103558540344, -0.04195114225149155, -0.01844657212495804, 0.3172471225261688, 0.19449463486671448, -0.01651429943740368, -0.18222129344940186, 0.16068336367607117, -0.1582593321800232, -0.38036903738975525, 0.15699569880962372, 0.046151287853717804, -0.3630963861942291, -0.3589532673358917, 0.3064328134059906, 0.16091835498809814, -0.23367063701152802, -0.4987313449382782, 0.03553852066397667, 0.29501253366470337, -0.3793580234050751, 0.2731860280036926, 0.1410464197397232, 0.027593020349740982, -0.006404451560229063, 0.20667438209056854, 0.013330097310245037, 0.026290936395525932, 0.22286465764045715, 0.03402819111943245, -0.26609286665916443, -0.1302049458026886, 0.3015538156032562, 0.07458660751581192, 0.1436375081539154, 0.3550708591938019, -0.2852025330066681, -0.22811509668827057, -0.32718852162361145, 0.2803657650947571, -0.37130168080329895, 0.08970694988965988, -0.1203700453042984, 0.21116140484809875, 0.02213570661842823, -0.11690012365579605, 0.25930702686309814, 0.04877394065260887, 0.305923730134964, -0.2374155968427658, -0.011540668085217476, -0.44924813508987427, 0.161357119679451, 0.08604008704423904, 0.35554999113082886, -0.11167295277118683, 0.3602142035961151, 0.15785151720046997, -0.19428284466266632, -0.43921494483947754, -0.2986849248409271, 0.0596090704202652, 0.1343173384666443, 0.22977663576602936, -0.061215586960315704, 0.09396985173225403, 0.18680860102176666, 0.3460899293422699, 0.10642054677009583, -0.1638745665550232, -0.2960991859436035, 0.0694974958896637, 0.0949840247631073, -0.004430106375366449, -0.24363741278648376, -0.10103613883256912, 0.08796429634094238, 0.12458130717277527, 0.11850672215223312, -0.1603325605392456, -0.2727102041244507, 0.008489284664392471, 0.45974501967430115, 0.45402735471725464, -0.0961233526468277, -0.10974157601594925, -0.10840286314487457, 0.1726120114326477, 0.2917650043964386, -0.13307887315750122, -0.015475963242352009, -0.03211132809519768, -0.3418300449848175, -0.1777876317501068, 0.27496880292892456, 0.2809167504310608, -0.07632643729448318, -0.36827757954597473, -0.10070842504501343, -0.10404457896947861, 0.044542547315359116, -0.2356501966714859, 0.38917747139930725, -0.19133268296718597, 0.11475494503974915, 0.14737668633460999, 0.18096904456615448, -0.16187715530395508, -0.10602189600467682, -0.39865371584892273, -0.16433066129684448, 0.12129724025726318, 0.18913830816745758, -0.4155946373939514, -0.32214176654815674, 0.6215055584907532, -0.1361081600189209, -0.19576945900917053, -0.108246348798275, -0.2776193618774414, 0.37402820587158203, 0.08804057538509369, -0.08642401546239853, -0.15509594976902008, 0.1038672924041748, -0.14785824716091156, 0.13071565330028534, 0.07187163829803467, 0.09586448967456818, -0.5119410157203674, 0.10124695301055908, 0.2672245502471924, 0.2930071949958801, -0.1624653935432434, 0.06855962425470352, 0.13956648111343384, -0.023340851068496704, 0.44542214274406433, 0.646063506603241, 0.311411052942276, -0.08698222041130066, -0.08477263152599335, -0.025616781786084175, -0.006540906149893999, 0.05757412314414978, -0.49258607625961304, -0.13392958045005798, -0.13610723614692688, -0.25412681698799133, 0.27824023365974426, 0.0015524321934208274, 0.03735942393541336, 0.2438659965991974, 0.19002901017665863, 0.020333528518676758, -0.13832147419452667, 0.006538089364767075, 0.18854102492332458, -0.03348172828555107, 0.011300216428935528, 0.28796303272247314, 0.04496030882000923, -0.2493143379688263, 0.27642884850502014, 0.011924528516829014, -0.009534924291074276, -0.06444274634122849, 0.33657991886138916, -0.17047956585884094, -0.2918492257595062, -0.09901299327611923, 0.14280572533607483, 0.2014918476343155, -0.15600495040416718, 0.04310723766684532, 0.16356278955936432, -0.22658087313175201, 0.03099929168820381, 0.24324214458465576, -0.44894859194755554, -0.23340164124965668, 0.17403258383274078, 0.1850699484348297, -0.21173888444900513, -0.3317733407020569, -0.03611898049712181, 0.025516610592603683, 0.27751708030700684, 0.2161984145641327, 0.08294316381216049, -0.04880492016673088, -0.05216502770781517, 0.09582848846912384, 0.10482773929834366, 0.2517997622489929, 0.07095756381750107, 0.18703079223632812, -0.013756249099969864, -0.33631888031959534, 0.16179019212722778, 0.09426885843276978, 0.2196582406759262, -0.007813511416316032, -0.03829867020249367, -0.19091477990150452, 0.23854513466358185, 0.25655248761177063, 0.6423000693321228, -0.0711185410618782, -0.25502413511276245, 0.350311815738678, -0.13502277433872223, 0.032164689153432846, 0.09749709814786911, 0.07857929915189743, 0.08575073629617691, -0.05320072919130325, -0.0682656392455101, -0.1614951640367508, 0.27941498160362244, -0.47626233100891113, -0.14063771069049835, 0.14784345030784607, 0.7309896945953369, 0.24658702313899994, -0.3296954035758972, 0.06302999705076218, -0.26973041892051697, 0.23201866447925568, 0.2188807725906372, -0.18820521235466003, -0.1769161969423294, 0.35839545726776123, 0.16539956629276276, -0.2459840327501297, -0.31066906452178955, -0.2713671624660492, 0.12928885221481323, 0.1896008551120758, 0.06497051566839218, 0.0006873709498904645, 0.2380114197731018, -0.06481728702783585, -0.20222580432891846, 0.10824434459209442, -0.04593748599290848, 0.18929588794708252, 0.008582673035562038, -0.032008688896894455, -0.48628172278404236, -0.5411809682846069, 0.2404623031616211, 0.034295886754989624, -0.09998513013124466, 0.21800397336483002, -0.0322856679558754, -0.04207487776875496, 0.0018594011198729277, -0.150694340467453, -0.195841982960701, 0.5685957670211792, 0.05720734968781471, -0.2981543242931366, 0.5535122156143188, 0.17457792162895203, 0.04214753210544586, -0.0288504958152771, 0.6470820307731628, -0.0023343616630882025, -0.030371027067303658, -0.21299657225608826, -0.12091381102800369 ]
https://github.com/huggingface/datasets/issues/1849
Add TIMIT
Hey @vrindaprabhu - sure I'll help you :-) Could you open a first PR for TIMIT where you copy-paste more or less the `librispeech_asr` script: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L93 (obviously replacing all the naming and links correctly...) and then you can list all possible outputs in the features dict: https://github.com/huggingface/datasets/blob/28be129db862ec89a87ac9349c64df6b6118aff4/datasets/librispeech_asr/librispeech_asr.py#L104 (words, phonemes should probably be of kind `datasets.Sequence(datasets.Value("string"))` and texts I think should be of type `"text": datasets.Value("string")`. When you've opened a first PR, I think it'll be much easier for us to take a look together :-)
## Adding a Dataset - **Name:** *TIMIT* - **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems* - **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT - **Data:** *https://deepai.org/dataset/timit* - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
85
Add TIMIT
[ -0.24193242192268372, -0.9048735499382019, -0.3738054931163788, -0.11509992927312851, -0.027709035202860832, -0.16845852136611938, 0.036929357796907425, -0.05521835386753082, -0.676790177822113, 0.23966343700885773, -0.11126020550727844, 0.18845385313034058, -0.0985252857208252, 0.5503740906715393, 0.32128220796585083, -0.021202804520726204, -0.0005258225137367845, 0.31770047545433044, -0.550354540348053, -0.11531072854995728, -0.052650004625320435, 0.06855210661888123, -0.13080830872058868, 0.0020548300817608833, 0.05674479901790619, 0.05934755876660347, 0.0938769057393074, 0.021643895655870438, 0.03627071529626846, -0.27900058031082153, 0.018740734085440636, 0.06898806989192963, -0.16191549599170685, 0.23738804459571838, -0.00011208930663997307, 0.053829122334718704, 0.05122271552681923, -0.13148272037506104, -0.08554042130708694, 0.22003071010112762, -0.03591393306851387, 0.1419699341058731, -0.11343789100646973, -0.07951021194458008, -0.34481459856033325, 0.13029243052005768, 0.04963524267077446, -0.07388991862535477, -0.11797699332237244, 0.07255200296640396, 0.26477423310279846, 0.13271382451057434, 0.03477677330374718, -0.08340293169021606, 0.48595529794692993, -0.04042447358369827, -0.13185159862041473, -0.06854498386383057, 0.2812049984931946, 0.1700725108385086, 0.5803275108337402, -0.1658678650856018, 0.1318480223417282, -0.1651952862739563, 0.2625425159931183, 0.05719943344593048, 0.17837220430374146, -0.13349558413028717, -0.284759521484375, 0.1564965695142746, 0.7107433676719666, -0.056512266397476196, -0.089710533618927, 0.3807255029678345, 0.04305119439959526, -0.18209242820739746, 0.05817320570349693, -0.1495814323425293, -0.057298414409160614, 0.05189700797200203, -0.19240184128284454, -0.14730733633041382, -0.23629160225391388, 0.4629099369049072, 0.33778008818626404, 0.005949039477854967, 0.10105422139167786, -0.03737018257379532, -0.1964118778705597, -0.05669211596250534, -0.315689355134964, 0.13343359529972076, -0.10585132986307144, 0.00751715712249279, 0.5099059343338013, -0.3315001130104065, 0.11586657911539078, -0.006300997920334339, -0.09377260506153107, 0.2995705008506775, 0.44221383333206177, 0.03808211535215378, -0.3889419138431549, -0.14270615577697754, -0.15508149564266205, -0.18483799695968628, 0.02360750548541546, -0.35011720657348633, -0.00003572625428205356, -0.39235246181488037, 0.13452836871147156, -0.08841239660978317, 0.20769965648651123, 0.026158925145864487, 0.1141907125711441, -0.07481560856103897, -0.1794479638338089, 0.21172258257865906, -0.16240420937538147, -0.23006998002529144, -0.2800714373588562, -0.12535761296749115, 0.03752458840608597, -0.04821252077817917, 0.15947477519512177, 0.1434294879436493, -0.008857808075845242, 0.0368199348449707, 0.011241761036217213, 0.06838955730199814, -0.21609224379062653, 0.24075807631015778, 0.09963884949684143, -0.05288942530751228, -0.05671390891075134, -0.1845441311597824, 0.09797884523868561, 0.022702638059854507, 0.19918771088123322, 0.20057296752929688, -0.0001967064308701083, 0.06101315841078758, 0.07377646118402481, -0.06009608879685402, -0.25173407793045044, -0.06389915943145752, -0.1471545249223709, -0.14423173666000366, -0.09780126810073853, 0.20054791867733002, 0.20692592859268188, -0.03839803859591484, 0.022883858531713486, 0.2582255005836487, 0.031816523522138596, -0.1079796552658081, 0.0023459256626665592, 0.2022588551044464, 0.14984455704689026, -0.05079255625605583, 0.08253901451826096, 0.2160172015428543, -0.5334566235542297, -0.12859399616718292, 0.17036694288253784, 0.06263786554336548, -0.6131070256233215, -0.21023623645305634, 0.17489925026893616, -0.1841292828321457, 0.2720103859901428, -0.019198821857571602, 0.02938137948513031, 0.6460673213005066, -0.1849415898323059, 0.09870454668998718, 0.3597135543823242, -0.09958676248788834, -0.05343100056052208, -0.2988978922367096, -0.4455149173736572, -0.2845572829246521, 0.12993450462818146, 0.3992312550544739, -0.2656780481338501, -0.05483460798859596, 0.17379815876483917, -0.00850572157651186, -0.04640034958720207, -0.1048847883939743, -0.20723913609981537, 0.14791515469551086, 0.005576536990702152, 0.07060112059116364, -0.04516186565160751, 0.07389655709266663, 0.21953855454921722, 0.22847586870193481, 0.0445333868265152, 0.17817600071430206, 0.02189662680029869, 0.10033921897411346, 0.33540815114974976, -0.038308147341012955, -0.05343864858150482, -0.3949196934700012, 0.4939541816711426, -0.24157848954200745, 0.3547014594078064, 0.41399791836738586, 0.5664491057395935, 0.11508660763502121, -0.22960250079631805, -0.17042145133018494, 0.1644001007080078, 0.23226816952228546, 0.223819300532341, 0.30517083406448364, -0.17284679412841797, 0.04701957851648331, -0.06749116629362106, 0.4544617235660553, 0.16008710861206055, -0.2148825228214264, 0.29947787523269653, -0.22681502997875214, -0.033512093126773834, -0.2025834172964096, -0.07124844193458557, -0.07835955172777176, -0.22458846867084503, -0.11974877119064331, -0.08173548430204391, 0.26028627157211304, -0.3738607168197632, 0.14255627989768982, 0.14093366265296936, 0.009177831932902336, 0.251210480928421, -0.41608354449272156, -0.30552157759666443, 0.19361788034439087, 0.116623155772686, -0.09916505962610245, 0.367897629737854, 0.01816811040043831, -0.42972347140312195, -0.12321185320615768, -0.10078012198209763, -0.03673424571752548, -0.1646515130996704, 0.062333300709724426, 0.047269873321056366, -0.3883035480976105, 0.16416233777999878, 0.28751999139785767, -0.28390708565711975, -0.3675835132598877, 0.27121877670288086, 0.2596076726913452, 0.012922528199851513, -0.1498744636774063, 0.08553092181682587, 0.10949218273162842, 0.13856281340122223, 0.3771050274372101, -0.053037822246551514, -0.2795155644416809, 0.40875011682510376, 0.34538495540618896, 0.18371520936489105, -0.08066700398921967, 0.15953971445560455, -0.1948525607585907, 0.39896664023399353, 0.15325725078582764, -0.5303701162338257, 0.09899486601352692, -0.12011884152889252, -0.07026269286870956, -0.0323471762239933, -0.14541831612586975, -0.030459631234407425, 0.055679190903902054, -0.07250872254371643, -0.19566240906715393, -0.07540076971054077, -0.27289918065071106, 0.29111018776893616, -0.3118346929550171, 0.005486874375492334, 0.012482153251767159, 0.32136183977127075, 0.22776912152767181, 0.060202792286872864, 0.1553245484828949, -0.21404804289340973, 0.30659037828445435, 0.27703002095222473, -0.2629867494106293, -0.0772990807890892, 0.03860703855752945, -0.17710371315479279, 0.22887161374092102, -0.04868985339999199, -0.32044509053230286, 0.47641128301620483, -0.48173701763153076, 0.35959210991859436, 0.029992958530783653, -0.18313638865947723, 0.2737370729446411, -0.2816351056098938, 0.23436126112937927, 0.25261256098747253, 0.27483126521110535, -0.2640080451965332, -0.08565054088830948, 0.272146612405777, 0.0780385285615921, -0.33286917209625244, -0.1364995539188385, -0.008767561055719852, -0.0778486430644989, -0.24108834564685822, -0.38333117961883545, 0.2790219485759735, -0.24240998923778534, 0.3808514475822449, 0.28106653690338135, 0.12404444813728333, 0.26448190212249756, 0.04671788215637207, 0.18375805020332336, 0.4331680238246918, 0.4765167534351349, -0.03809499740600586, -0.38974833488464355, 0.16339711844921112, -0.17594140768051147, -0.09424471855163574, -0.011097087524831295, 0.04624994099140167, 0.07538121193647385, -0.04039229452610016, -0.2203114628791809, 0.08703168481588364, 0.028592867776751518, 0.14308147132396698, -0.3532639443874359, 0.1412794291973114, 0.27143704891204834, 0.054415568709373474, -0.37329134345054626, -0.22881639003753662, -0.03225451707839966, 0.2557896673679352, 0.046505726873874664, 0.14240750670433044, 0.23307541012763977, 0.2555464506149292, 0.0038986694999039173, 0.3829413950443268, -0.014173049479722977, -0.1220853179693222, 0.49826961755752563, -0.2706286907196045, 0.0610998198390007, 0.12760576605796814, -0.36689043045043945, 0.15393149852752686, 0.6075488924980164, 0.3058917224407196, 0.15806826949119568, -0.025480007752776146, 0.04547365754842758, -0.1286110281944275, -0.3741668164730072, 0.044594962149858475, -0.11702411621809006, -0.07833092659711838, -0.3353888690471649, 0.07317289710044861, -0.026211649179458618, -0.412701278924942, -0.14727401733398438, -0.3375808894634247, 0.14848178625106812, 0.2748993933200836, -0.14833250641822815, -0.0989890843629837, -0.4478324055671692, -0.3388725817203522, 0.14600332081317902, 0.2374551147222519, 0.4254223108291626, 0.05907192453742027, -0.23546819388866425, -0.5734128355979919, 0.04333684220910072, 0.11698279529809952, 0.5407739281654358, -0.22615595161914825, -0.18092939257621765, 0.11979541182518005, 0.30427271127700806, -0.05486460402607918, 0.028704797849059105, -0.04879213497042656, 0.24352648854255676, 0.39002636075019836, 0.11381827294826508, -0.035350069403648376, 0.05903750658035278, 0.12985451519489288, 0.08102259784936905, -0.0017618902493268251, -0.012179436162114143, -0.16218948364257812, -0.2701570987701416, 0.04278215020895004, 0.3192160129547119, -0.002069795271381736, 0.21668919920921326, 0.6196540594100952, -0.28454795479774475, 0.01163313165307045, -0.28373798727989197, 0.37298697233200073, -0.1447838693857193, -0.0017180824652314186, 0.2226879894733429, 0.17023321986198425, -0.44545990228652954, -0.15665513277053833, -0.27188417315483093, -0.11451514810323715, 0.199856698513031, 0.3688839077949524, -0.049918033182621, -0.35206714272499084, 0.48590806126594543, -0.042269088327884674, 0.15287978947162628, 0.20922215282917023, -0.4515475332736969, 0.307628870010376, 0.0011062874691560864, 0.4318959712982178, -0.04619787260890007, -0.2215106040239334, 0.08378037065267563, 0.16324107348918915, -0.24348671734333038, -0.10220697522163391, 0.14449404180049896, 0.5711679458618164, -0.008192505687475204, -0.3055880665779114, -0.36966800689697266, 0.15306833386421204, 1.4515749216079712, -0.053445566445589066, 0.10114847123622894, -0.2486986368894577, 0.07074598968029022, -0.1123436912894249, -0.3870828151702881, 0.016936879605054855, 0.07288162410259247, -0.08758353441953659, 0.014282045885920525, -0.09214848279953003, -0.3125460147857666, -0.005643847864121199, -0.24041642248630524, -0.14558757841587067, 0.12949590384960175, 0.5613775849342346, -0.00007639348768861964, 0.023429350927472115, -0.08825565874576569, 0.010065079666674137, 0.6154113411903381, 0.14209520816802979, 0.04838680475950241, 0.14277192950248718, 0.12070170044898987, -0.019674072042107582, -0.1287277638912201, -0.15959526598453522, -0.3251451253890991, -0.18321162462234497, -0.5250787734985352, 0.048571497201919556, -0.23317831754684448, -0.6461103558540344, -0.04195114225149155, -0.01844657212495804, 0.3172471225261688, 0.19449463486671448, -0.01651429943740368, -0.18222129344940186, 0.16068336367607117, -0.1582593321800232, -0.38036903738975525, 0.15699569880962372, 0.046151287853717804, -0.3630963861942291, -0.3589532673358917, 0.3064328134059906, 0.16091835498809814, -0.23367063701152802, -0.4987313449382782, 0.03553852066397667, 0.29501253366470337, -0.3793580234050751, 0.2731860280036926, 0.1410464197397232, 0.027593020349740982, -0.006404451560229063, 0.20667438209056854, 0.013330097310245037, 0.026290936395525932, 0.22286465764045715, 0.03402819111943245, -0.26609286665916443, -0.1302049458026886, 0.3015538156032562, 0.07458660751581192, 0.1436375081539154, 0.3550708591938019, -0.2852025330066681, -0.22811509668827057, -0.32718852162361145, 0.2803657650947571, -0.37130168080329895, 0.08970694988965988, -0.1203700453042984, 0.21116140484809875, 0.02213570661842823, -0.11690012365579605, 0.25930702686309814, 0.04877394065260887, 0.305923730134964, -0.2374155968427658, -0.011540668085217476, -0.44924813508987427, 0.161357119679451, 0.08604008704423904, 0.35554999113082886, -0.11167295277118683, 0.3602142035961151, 0.15785151720046997, -0.19428284466266632, -0.43921494483947754, -0.2986849248409271, 0.0596090704202652, 0.1343173384666443, 0.22977663576602936, -0.061215586960315704, 0.09396985173225403, 0.18680860102176666, 0.3460899293422699, 0.10642054677009583, -0.1638745665550232, -0.2960991859436035, 0.0694974958896637, 0.0949840247631073, -0.004430106375366449, -0.24363741278648376, -0.10103613883256912, 0.08796429634094238, 0.12458130717277527, 0.11850672215223312, -0.1603325605392456, -0.2727102041244507, 0.008489284664392471, 0.45974501967430115, 0.45402735471725464, -0.0961233526468277, -0.10974157601594925, -0.10840286314487457, 0.1726120114326477, 0.2917650043964386, -0.13307887315750122, -0.015475963242352009, -0.03211132809519768, -0.3418300449848175, -0.1777876317501068, 0.27496880292892456, 0.2809167504310608, -0.07632643729448318, -0.36827757954597473, -0.10070842504501343, -0.10404457896947861, 0.044542547315359116, -0.2356501966714859, 0.38917747139930725, -0.19133268296718597, 0.11475494503974915, 0.14737668633460999, 0.18096904456615448, -0.16187715530395508, -0.10602189600467682, -0.39865371584892273, -0.16433066129684448, 0.12129724025726318, 0.18913830816745758, -0.4155946373939514, -0.32214176654815674, 0.6215055584907532, -0.1361081600189209, -0.19576945900917053, -0.108246348798275, -0.2776193618774414, 0.37402820587158203, 0.08804057538509369, -0.08642401546239853, -0.15509594976902008, 0.1038672924041748, -0.14785824716091156, 0.13071565330028534, 0.07187163829803467, 0.09586448967456818, -0.5119410157203674, 0.10124695301055908, 0.2672245502471924, 0.2930071949958801, -0.1624653935432434, 0.06855962425470352, 0.13956648111343384, -0.023340851068496704, 0.44542214274406433, 0.646063506603241, 0.311411052942276, -0.08698222041130066, -0.08477263152599335, -0.025616781786084175, -0.006540906149893999, 0.05757412314414978, -0.49258607625961304, -0.13392958045005798, -0.13610723614692688, -0.25412681698799133, 0.27824023365974426, 0.0015524321934208274, 0.03735942393541336, 0.2438659965991974, 0.19002901017665863, 0.020333528518676758, -0.13832147419452667, 0.006538089364767075, 0.18854102492332458, -0.03348172828555107, 0.011300216428935528, 0.28796303272247314, 0.04496030882000923, -0.2493143379688263, 0.27642884850502014, 0.011924528516829014, -0.009534924291074276, -0.06444274634122849, 0.33657991886138916, -0.17047956585884094, -0.2918492257595062, -0.09901299327611923, 0.14280572533607483, 0.2014918476343155, -0.15600495040416718, 0.04310723766684532, 0.16356278955936432, -0.22658087313175201, 0.03099929168820381, 0.24324214458465576, -0.44894859194755554, -0.23340164124965668, 0.17403258383274078, 0.1850699484348297, -0.21173888444900513, -0.3317733407020569, -0.03611898049712181, 0.025516610592603683, 0.27751708030700684, 0.2161984145641327, 0.08294316381216049, -0.04880492016673088, -0.05216502770781517, 0.09582848846912384, 0.10482773929834366, 0.2517997622489929, 0.07095756381750107, 0.18703079223632812, -0.013756249099969864, -0.33631888031959534, 0.16179019212722778, 0.09426885843276978, 0.2196582406759262, -0.007813511416316032, -0.03829867020249367, -0.19091477990150452, 0.23854513466358185, 0.25655248761177063, 0.6423000693321228, -0.0711185410618782, -0.25502413511276245, 0.350311815738678, -0.13502277433872223, 0.032164689153432846, 0.09749709814786911, 0.07857929915189743, 0.08575073629617691, -0.05320072919130325, -0.0682656392455101, -0.1614951640367508, 0.27941498160362244, -0.47626233100891113, -0.14063771069049835, 0.14784345030784607, 0.7309896945953369, 0.24658702313899994, -0.3296954035758972, 0.06302999705076218, -0.26973041892051697, 0.23201866447925568, 0.2188807725906372, -0.18820521235466003, -0.1769161969423294, 0.35839545726776123, 0.16539956629276276, -0.2459840327501297, -0.31066906452178955, -0.2713671624660492, 0.12928885221481323, 0.1896008551120758, 0.06497051566839218, 0.0006873709498904645, 0.2380114197731018, -0.06481728702783585, -0.20222580432891846, 0.10824434459209442, -0.04593748599290848, 0.18929588794708252, 0.008582673035562038, -0.032008688896894455, -0.48628172278404236, -0.5411809682846069, 0.2404623031616211, 0.034295886754989624, -0.09998513013124466, 0.21800397336483002, -0.0322856679558754, -0.04207487776875496, 0.0018594011198729277, -0.150694340467453, -0.195841982960701, 0.5685957670211792, 0.05720734968781471, -0.2981543242931366, 0.5535122156143188, 0.17457792162895203, 0.04214753210544586, -0.0288504958152771, 0.6470820307731628, -0.0023343616630882025, -0.030371027067303658, -0.21299657225608826, -0.12091381102800369 ]
https://github.com/huggingface/datasets/issues/1849
Add TIMIT
I am sorry! I created the PR [#1903](https://github.com/huggingface/datasets/pull/1903#). Requesting your comments! CircleCI tests are failing, will address them along with your comments!
## Adding a Dataset - **Name:** *TIMIT* - **Description:** *The TIMIT corpus of read speech has been designed to provide speech data for the acquisition of acoustic-phonetic knowledge and for the development and evaluation of automatic speech recognition systems* - **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ / *Wikipedia*: https://en.wikipedia.org/wiki/TIMIT - **Data:** *https://deepai.org/dataset/timit* - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
22
Add TIMIT
[ -0.24193242192268372, -0.9048735499382019, -0.3738054931163788, -0.11509992927312851, -0.027709035202860832, -0.16845852136611938, 0.036929357796907425, -0.05521835386753082, -0.676790177822113, 0.23966343700885773, -0.11126020550727844, 0.18845385313034058, -0.0985252857208252, 0.5503740906715393, 0.32128220796585083, -0.021202804520726204, -0.0005258225137367845, 0.31770047545433044, -0.550354540348053, -0.11531072854995728, -0.052650004625320435, 0.06855210661888123, -0.13080830872058868, 0.0020548300817608833, 0.05674479901790619, 0.05934755876660347, 0.0938769057393074, 0.021643895655870438, 0.03627071529626846, -0.27900058031082153, 0.018740734085440636, 0.06898806989192963, -0.16191549599170685, 0.23738804459571838, -0.00011208930663997307, 0.053829122334718704, 0.05122271552681923, -0.13148272037506104, -0.08554042130708694, 0.22003071010112762, -0.03591393306851387, 0.1419699341058731, -0.11343789100646973, -0.07951021194458008, -0.34481459856033325, 0.13029243052005768, 0.04963524267077446, -0.07388991862535477, -0.11797699332237244, 0.07255200296640396, 0.26477423310279846, 0.13271382451057434, 0.03477677330374718, -0.08340293169021606, 0.48595529794692993, -0.04042447358369827, -0.13185159862041473, -0.06854498386383057, 0.2812049984931946, 0.1700725108385086, 0.5803275108337402, -0.1658678650856018, 0.1318480223417282, -0.1651952862739563, 0.2625425159931183, 0.05719943344593048, 0.17837220430374146, -0.13349558413028717, -0.284759521484375, 0.1564965695142746, 0.7107433676719666, -0.056512266397476196, -0.089710533618927, 0.3807255029678345, 0.04305119439959526, -0.18209242820739746, 0.05817320570349693, -0.1495814323425293, -0.057298414409160614, 0.05189700797200203, -0.19240184128284454, -0.14730733633041382, -0.23629160225391388, 0.4629099369049072, 0.33778008818626404, 0.005949039477854967, 0.10105422139167786, -0.03737018257379532, -0.1964118778705597, -0.05669211596250534, -0.315689355134964, 0.13343359529972076, -0.10585132986307144, 0.00751715712249279, 0.5099059343338013, -0.3315001130104065, 0.11586657911539078, -0.006300997920334339, -0.09377260506153107, 0.2995705008506775, 0.44221383333206177, 0.03808211535215378, -0.3889419138431549, -0.14270615577697754, -0.15508149564266205, -0.18483799695968628, 0.02360750548541546, -0.35011720657348633, -0.00003572625428205356, -0.39235246181488037, 0.13452836871147156, -0.08841239660978317, 0.20769965648651123, 0.026158925145864487, 0.1141907125711441, -0.07481560856103897, -0.1794479638338089, 0.21172258257865906, -0.16240420937538147, -0.23006998002529144, -0.2800714373588562, -0.12535761296749115, 0.03752458840608597, -0.04821252077817917, 0.15947477519512177, 0.1434294879436493, -0.008857808075845242, 0.0368199348449707, 0.011241761036217213, 0.06838955730199814, -0.21609224379062653, 0.24075807631015778, 0.09963884949684143, -0.05288942530751228, -0.05671390891075134, -0.1845441311597824, 0.09797884523868561, 0.022702638059854507, 0.19918771088123322, 0.20057296752929688, -0.0001967064308701083, 0.06101315841078758, 0.07377646118402481, -0.06009608879685402, -0.25173407793045044, -0.06389915943145752, -0.1471545249223709, -0.14423173666000366, -0.09780126810073853, 0.20054791867733002, 0.20692592859268188, -0.03839803859591484, 0.022883858531713486, 0.2582255005836487, 0.031816523522138596, -0.1079796552658081, 0.0023459256626665592, 0.2022588551044464, 0.14984455704689026, -0.05079255625605583, 0.08253901451826096, 0.2160172015428543, -0.5334566235542297, -0.12859399616718292, 0.17036694288253784, 0.06263786554336548, -0.6131070256233215, -0.21023623645305634, 0.17489925026893616, -0.1841292828321457, 0.2720103859901428, -0.019198821857571602, 0.02938137948513031, 0.6460673213005066, -0.1849415898323059, 0.09870454668998718, 0.3597135543823242, -0.09958676248788834, -0.05343100056052208, -0.2988978922367096, -0.4455149173736572, -0.2845572829246521, 0.12993450462818146, 0.3992312550544739, -0.2656780481338501, -0.05483460798859596, 0.17379815876483917, -0.00850572157651186, -0.04640034958720207, -0.1048847883939743, -0.20723913609981537, 0.14791515469551086, 0.005576536990702152, 0.07060112059116364, -0.04516186565160751, 0.07389655709266663, 0.21953855454921722, 0.22847586870193481, 0.0445333868265152, 0.17817600071430206, 0.02189662680029869, 0.10033921897411346, 0.33540815114974976, -0.038308147341012955, -0.05343864858150482, -0.3949196934700012, 0.4939541816711426, -0.24157848954200745, 0.3547014594078064, 0.41399791836738586, 0.5664491057395935, 0.11508660763502121, -0.22960250079631805, -0.17042145133018494, 0.1644001007080078, 0.23226816952228546, 0.223819300532341, 0.30517083406448364, -0.17284679412841797, 0.04701957851648331, -0.06749116629362106, 0.4544617235660553, 0.16008710861206055, -0.2148825228214264, 0.29947787523269653, -0.22681502997875214, -0.033512093126773834, -0.2025834172964096, -0.07124844193458557, -0.07835955172777176, -0.22458846867084503, -0.11974877119064331, -0.08173548430204391, 0.26028627157211304, -0.3738607168197632, 0.14255627989768982, 0.14093366265296936, 0.009177831932902336, 0.251210480928421, -0.41608354449272156, -0.30552157759666443, 0.19361788034439087, 0.116623155772686, -0.09916505962610245, 0.367897629737854, 0.01816811040043831, -0.42972347140312195, -0.12321185320615768, -0.10078012198209763, -0.03673424571752548, -0.1646515130996704, 0.062333300709724426, 0.047269873321056366, -0.3883035480976105, 0.16416233777999878, 0.28751999139785767, -0.28390708565711975, -0.3675835132598877, 0.27121877670288086, 0.2596076726913452, 0.012922528199851513, -0.1498744636774063, 0.08553092181682587, 0.10949218273162842, 0.13856281340122223, 0.3771050274372101, -0.053037822246551514, -0.2795155644416809, 0.40875011682510376, 0.34538495540618896, 0.18371520936489105, -0.08066700398921967, 0.15953971445560455, -0.1948525607585907, 0.39896664023399353, 0.15325725078582764, -0.5303701162338257, 0.09899486601352692, -0.12011884152889252, -0.07026269286870956, -0.0323471762239933, -0.14541831612586975, -0.030459631234407425, 0.055679190903902054, -0.07250872254371643, -0.19566240906715393, -0.07540076971054077, -0.27289918065071106, 0.29111018776893616, -0.3118346929550171, 0.005486874375492334, 0.012482153251767159, 0.32136183977127075, 0.22776912152767181, 0.060202792286872864, 0.1553245484828949, -0.21404804289340973, 0.30659037828445435, 0.27703002095222473, -0.2629867494106293, -0.0772990807890892, 0.03860703855752945, -0.17710371315479279, 0.22887161374092102, -0.04868985339999199, -0.32044509053230286, 0.47641128301620483, -0.48173701763153076, 0.35959210991859436, 0.029992958530783653, -0.18313638865947723, 0.2737370729446411, -0.2816351056098938, 0.23436126112937927, 0.25261256098747253, 0.27483126521110535, -0.2640080451965332, -0.08565054088830948, 0.272146612405777, 0.0780385285615921, -0.33286917209625244, -0.1364995539188385, -0.008767561055719852, -0.0778486430644989, -0.24108834564685822, -0.38333117961883545, 0.2790219485759735, -0.24240998923778534, 0.3808514475822449, 0.28106653690338135, 0.12404444813728333, 0.26448190212249756, 0.04671788215637207, 0.18375805020332336, 0.4331680238246918, 0.4765167534351349, -0.03809499740600586, -0.38974833488464355, 0.16339711844921112, -0.17594140768051147, -0.09424471855163574, -0.011097087524831295, 0.04624994099140167, 0.07538121193647385, -0.04039229452610016, -0.2203114628791809, 0.08703168481588364, 0.028592867776751518, 0.14308147132396698, -0.3532639443874359, 0.1412794291973114, 0.27143704891204834, 0.054415568709373474, -0.37329134345054626, -0.22881639003753662, -0.03225451707839966, 0.2557896673679352, 0.046505726873874664, 0.14240750670433044, 0.23307541012763977, 0.2555464506149292, 0.0038986694999039173, 0.3829413950443268, -0.014173049479722977, -0.1220853179693222, 0.49826961755752563, -0.2706286907196045, 0.0610998198390007, 0.12760576605796814, -0.36689043045043945, 0.15393149852752686, 0.6075488924980164, 0.3058917224407196, 0.15806826949119568, -0.025480007752776146, 0.04547365754842758, -0.1286110281944275, -0.3741668164730072, 0.044594962149858475, -0.11702411621809006, -0.07833092659711838, -0.3353888690471649, 0.07317289710044861, -0.026211649179458618, -0.412701278924942, -0.14727401733398438, -0.3375808894634247, 0.14848178625106812, 0.2748993933200836, -0.14833250641822815, -0.0989890843629837, -0.4478324055671692, -0.3388725817203522, 0.14600332081317902, 0.2374551147222519, 0.4254223108291626, 0.05907192453742027, -0.23546819388866425, -0.5734128355979919, 0.04333684220910072, 0.11698279529809952, 0.5407739281654358, -0.22615595161914825, -0.18092939257621765, 0.11979541182518005, 0.30427271127700806, -0.05486460402607918, 0.028704797849059105, -0.04879213497042656, 0.24352648854255676, 0.39002636075019836, 0.11381827294826508, -0.035350069403648376, 0.05903750658035278, 0.12985451519489288, 0.08102259784936905, -0.0017618902493268251, -0.012179436162114143, -0.16218948364257812, -0.2701570987701416, 0.04278215020895004, 0.3192160129547119, -0.002069795271381736, 0.21668919920921326, 0.6196540594100952, -0.28454795479774475, 0.01163313165307045, -0.28373798727989197, 0.37298697233200073, -0.1447838693857193, -0.0017180824652314186, 0.2226879894733429, 0.17023321986198425, -0.44545990228652954, -0.15665513277053833, -0.27188417315483093, -0.11451514810323715, 0.199856698513031, 0.3688839077949524, -0.049918033182621, -0.35206714272499084, 0.48590806126594543, -0.042269088327884674, 0.15287978947162628, 0.20922215282917023, -0.4515475332736969, 0.307628870010376, 0.0011062874691560864, 0.4318959712982178, -0.04619787260890007, -0.2215106040239334, 0.08378037065267563, 0.16324107348918915, -0.24348671734333038, -0.10220697522163391, 0.14449404180049896, 0.5711679458618164, -0.008192505687475204, -0.3055880665779114, -0.36966800689697266, 0.15306833386421204, 1.4515749216079712, -0.053445566445589066, 0.10114847123622894, -0.2486986368894577, 0.07074598968029022, -0.1123436912894249, -0.3870828151702881, 0.016936879605054855, 0.07288162410259247, -0.08758353441953659, 0.014282045885920525, -0.09214848279953003, -0.3125460147857666, -0.005643847864121199, -0.24041642248630524, -0.14558757841587067, 0.12949590384960175, 0.5613775849342346, -0.00007639348768861964, 0.023429350927472115, -0.08825565874576569, 0.010065079666674137, 0.6154113411903381, 0.14209520816802979, 0.04838680475950241, 0.14277192950248718, 0.12070170044898987, -0.019674072042107582, -0.1287277638912201, -0.15959526598453522, -0.3251451253890991, -0.18321162462234497, -0.5250787734985352, 0.048571497201919556, -0.23317831754684448, -0.6461103558540344, -0.04195114225149155, -0.01844657212495804, 0.3172471225261688, 0.19449463486671448, -0.01651429943740368, -0.18222129344940186, 0.16068336367607117, -0.1582593321800232, -0.38036903738975525, 0.15699569880962372, 0.046151287853717804, -0.3630963861942291, -0.3589532673358917, 0.3064328134059906, 0.16091835498809814, -0.23367063701152802, -0.4987313449382782, 0.03553852066397667, 0.29501253366470337, -0.3793580234050751, 0.2731860280036926, 0.1410464197397232, 0.027593020349740982, -0.006404451560229063, 0.20667438209056854, 0.013330097310245037, 0.026290936395525932, 0.22286465764045715, 0.03402819111943245, -0.26609286665916443, -0.1302049458026886, 0.3015538156032562, 0.07458660751581192, 0.1436375081539154, 0.3550708591938019, -0.2852025330066681, -0.22811509668827057, -0.32718852162361145, 0.2803657650947571, -0.37130168080329895, 0.08970694988965988, -0.1203700453042984, 0.21116140484809875, 0.02213570661842823, -0.11690012365579605, 0.25930702686309814, 0.04877394065260887, 0.305923730134964, -0.2374155968427658, -0.011540668085217476, -0.44924813508987427, 0.161357119679451, 0.08604008704423904, 0.35554999113082886, -0.11167295277118683, 0.3602142035961151, 0.15785151720046997, -0.19428284466266632, -0.43921494483947754, -0.2986849248409271, 0.0596090704202652, 0.1343173384666443, 0.22977663576602936, -0.061215586960315704, 0.09396985173225403, 0.18680860102176666, 0.3460899293422699, 0.10642054677009583, -0.1638745665550232, -0.2960991859436035, 0.0694974958896637, 0.0949840247631073, -0.004430106375366449, -0.24363741278648376, -0.10103613883256912, 0.08796429634094238, 0.12458130717277527, 0.11850672215223312, -0.1603325605392456, -0.2727102041244507, 0.008489284664392471, 0.45974501967430115, 0.45402735471725464, -0.0961233526468277, -0.10974157601594925, -0.10840286314487457, 0.1726120114326477, 0.2917650043964386, -0.13307887315750122, -0.015475963242352009, -0.03211132809519768, -0.3418300449848175, -0.1777876317501068, 0.27496880292892456, 0.2809167504310608, -0.07632643729448318, -0.36827757954597473, -0.10070842504501343, -0.10404457896947861, 0.044542547315359116, -0.2356501966714859, 0.38917747139930725, -0.19133268296718597, 0.11475494503974915, 0.14737668633460999, 0.18096904456615448, -0.16187715530395508, -0.10602189600467682, -0.39865371584892273, -0.16433066129684448, 0.12129724025726318, 0.18913830816745758, -0.4155946373939514, -0.32214176654815674, 0.6215055584907532, -0.1361081600189209, -0.19576945900917053, -0.108246348798275, -0.2776193618774414, 0.37402820587158203, 0.08804057538509369, -0.08642401546239853, -0.15509594976902008, 0.1038672924041748, -0.14785824716091156, 0.13071565330028534, 0.07187163829803467, 0.09586448967456818, -0.5119410157203674, 0.10124695301055908, 0.2672245502471924, 0.2930071949958801, -0.1624653935432434, 0.06855962425470352, 0.13956648111343384, -0.023340851068496704, 0.44542214274406433, 0.646063506603241, 0.311411052942276, -0.08698222041130066, -0.08477263152599335, -0.025616781786084175, -0.006540906149893999, 0.05757412314414978, -0.49258607625961304, -0.13392958045005798, -0.13610723614692688, -0.25412681698799133, 0.27824023365974426, 0.0015524321934208274, 0.03735942393541336, 0.2438659965991974, 0.19002901017665863, 0.020333528518676758, -0.13832147419452667, 0.006538089364767075, 0.18854102492332458, -0.03348172828555107, 0.011300216428935528, 0.28796303272247314, 0.04496030882000923, -0.2493143379688263, 0.27642884850502014, 0.011924528516829014, -0.009534924291074276, -0.06444274634122849, 0.33657991886138916, -0.17047956585884094, -0.2918492257595062, -0.09901299327611923, 0.14280572533607483, 0.2014918476343155, -0.15600495040416718, 0.04310723766684532, 0.16356278955936432, -0.22658087313175201, 0.03099929168820381, 0.24324214458465576, -0.44894859194755554, -0.23340164124965668, 0.17403258383274078, 0.1850699484348297, -0.21173888444900513, -0.3317733407020569, -0.03611898049712181, 0.025516610592603683, 0.27751708030700684, 0.2161984145641327, 0.08294316381216049, -0.04880492016673088, -0.05216502770781517, 0.09582848846912384, 0.10482773929834366, 0.2517997622489929, 0.07095756381750107, 0.18703079223632812, -0.013756249099969864, -0.33631888031959534, 0.16179019212722778, 0.09426885843276978, 0.2196582406759262, -0.007813511416316032, -0.03829867020249367, -0.19091477990150452, 0.23854513466358185, 0.25655248761177063, 0.6423000693321228, -0.0711185410618782, -0.25502413511276245, 0.350311815738678, -0.13502277433872223, 0.032164689153432846, 0.09749709814786911, 0.07857929915189743, 0.08575073629617691, -0.05320072919130325, -0.0682656392455101, -0.1614951640367508, 0.27941498160362244, -0.47626233100891113, -0.14063771069049835, 0.14784345030784607, 0.7309896945953369, 0.24658702313899994, -0.3296954035758972, 0.06302999705076218, -0.26973041892051697, 0.23201866447925568, 0.2188807725906372, -0.18820521235466003, -0.1769161969423294, 0.35839545726776123, 0.16539956629276276, -0.2459840327501297, -0.31066906452178955, -0.2713671624660492, 0.12928885221481323, 0.1896008551120758, 0.06497051566839218, 0.0006873709498904645, 0.2380114197731018, -0.06481728702783585, -0.20222580432891846, 0.10824434459209442, -0.04593748599290848, 0.18929588794708252, 0.008582673035562038, -0.032008688896894455, -0.48628172278404236, -0.5411809682846069, 0.2404623031616211, 0.034295886754989624, -0.09998513013124466, 0.21800397336483002, -0.0322856679558754, -0.04207487776875496, 0.0018594011198729277, -0.150694340467453, -0.195841982960701, 0.5685957670211792, 0.05720734968781471, -0.2981543242931366, 0.5535122156143188, 0.17457792162895203, 0.04214753210544586, -0.0288504958152771, 0.6470820307731628, -0.0023343616630882025, -0.030371027067303658, -0.21299657225608826, -0.12091381102800369 ]
https://github.com/huggingface/datasets/issues/1844
Update Open Subtitles corpus with original sentence IDs
Hi ! You're right this can can useful. This should be easy to add, so feel free to give it a try if you want to contribute :) I think we just need to add it to the _generate_examples method of the OpenSubtitles dataset builder [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L103)
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles). I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts. I think I should tag @abhishekkrthakur as he's the one who added it in the first place. Thanks!
46
Update Open Subtitles corpus with original sentence IDs
[ 0.04277856647968292, 0.25259846448898315, -0.12483842670917511, -0.20502665638923645, -0.2311762571334839, -0.06385817378759384, 0.40139827132225037, 0.22566846013069153, -0.026119064539670944, -0.07438667863607407, -0.5134094953536987, 0.13408923149108887, 0.27772271633148193, -0.2675037086009979, -0.04808015748858452, -0.28492745757102966, 0.08584883064031601, 0.11518573760986328, 0.4449804723262787, -0.21059828996658325, -0.3585990369319916, 0.19729739427566528, -0.12698246538639069, -0.07113653421401978, 0.10230343043804169, 0.16687576472759247, -0.19133836030960083, 0.039494022727012634, 0.0204461682587862, -0.30108675360679626, -0.11688008159399033, 0.43805715441703796, 0.16806405782699585, 0.2051701545715332, -0.00010750324872788042, -0.06612490117549896, 0.05464407429099083, -0.18128511309623718, -0.2074371576309204, 0.2977668344974518, 0.07310988754034042, -0.0013513308949768543, -0.3655538260936737, -0.32283973693847656, -0.05230255052447319, -0.01406913809478283, 0.11252663284540176, -0.539118230342865, -0.06701485812664032, 0.12685498595237732, 0.16246025264263153, -0.021957701072096825, -0.15849609673023224, -0.06349057704210281, 0.4216916561126709, -0.23236587643623352, 0.48301222920417786, 0.1122651994228363, 0.3869549632072449, 0.15167516469955444, -0.18572671711444855, 0.466375470161438, -0.4362238049507141, -0.3513147532939911, -0.37697863578796387, -0.078093022108078, 0.04388944432139397, -0.02351217530667782, -0.0042932466603815556, -0.034054599702358246, 0.35056057572364807, -0.12705610692501068, -0.4536774754524231, -0.04849158227443695, -0.08495226502418518, -0.09998539090156555, -0.31819409132003784, 0.23470963537693024, 0.39358776807785034, 0.1802041232585907, 0.2591961920261383, -0.25747230648994446, 0.12972426414489746, -0.2532448172569275, -0.001016039401292801, 0.1697220355272293, 0.23924121260643005, -0.20671509206295013, -0.042321451008319855, -0.2584017515182495, -0.2781056761741638, 0.21355707943439484, -0.39870455861091614, -0.07609903067350388, 0.12552297115325928, -0.09376461058855057, -0.010258100926876068, -0.5785166025161743, -0.23563167452812195, 0.031699638813734055, 0.20093123614788055, 0.36302441358566284, -0.2489129900932312, 0.03279291093349457, 0.05533464998006821, 0.2938365042209625, 0.44410014152526855, 0.0911138579249382, -0.07139842957258224, 0.06432028114795685, -0.3488597571849823, 0.04291258379817009, -0.21078193187713623, 0.08389295637607574, -0.2850813865661621, 0.3017275035381317, 0.0613902285695076, 0.13967181742191315, -0.0764816403388977, 0.2127423882484436, -0.3211384117603302, -0.0032259514555335045, -0.4092678725719452, 0.07958614081144333, -0.0055837021209299564, 0.17657631635665894, 0.34988701343536377, -0.06758114695549011, -0.2526129484176636, -0.28272825479507446, -0.20733685791492462, 0.09642919898033142, 0.10144069790840149, -0.21898068487644196, -0.15719373524188995, -0.260923832654953, 0.22417184710502625, -0.21938830614089966, -0.10029397904872894, -0.16727785766124725, -0.2910555899143219, 0.08005598187446594, 0.18622562289237976, -0.21042487025260925, 0.2056381106376648, -0.15402978658676147, -0.1315937638282776, -0.337775856256485, 0.041412077844142914, 0.11541707068681717, 0.0001289829087909311, 0.004548453260213137, -0.10342341661453247, 0.2140161246061325, -0.0643792375922203, -0.2243930548429489, 0.31991472840309143, 0.21798084676265717, 0.19429507851600647, -0.2501893639564514, 0.09135375916957855, 0.0950923040509224, -0.19135183095932007, 0.13311628997325897, -0.1502082496881485, 0.6236193180084229, 0.023854056373238564, -0.08293183147907257, 0.5938904881477356, 0.17643730342388153, 0.17925305664539337, 0.12698225677013397, 0.4817846119403839, -0.18319404125213623, 0.15767201781272888, 0.2663992643356323, -0.29347747564315796, -0.6422598361968994, -0.23041929304599762, 0.006679986137896776, 0.09933249652385712, 0.0032011722214519978, 0.3311651945114136, -0.1721239686012268, 0.5732699632644653, -0.3471333682537079, 0.030981050804257393, -0.06924007833003998, 0.11927538365125656, 0.1524505317211151, -0.14944303035736084, -0.08595958352088928, -0.470796674489975, 0.00024276267504319549, 0.05376027524471283, 0.2765474319458008, 0.17391744256019592, 0.20366130769252777, 0.43955519795417786, -0.1311500072479248, 0.1527959108352661, 0.030571555718779564, -0.21946367621421814, 0.32753652334213257, 0.2354421615600586, 0.06306416541337967, 0.2182026207447052, -0.11972552537918091, 0.24226242303848267, 0.3131183385848999, 0.24141977727413177, -0.24371688067913055, -0.07278550416231155, -0.004274992737919092, 0.3518046438694, -0.004060971084982157, 0.19729751348495483, 0.21077649295330048, -0.36518219113349915, 0.18255294859409332, -0.21016941964626312, -0.07600273191928864, -0.05756227299571037, -0.02407670207321644, -0.19887199997901917, -0.1348520964384079, 0.13492423295974731, -0.11471125483512878, 0.20434990525245667, 0.05731979385018349, 0.010034812614321709, 0.21096467971801758, -0.03632764890789986, 0.338946670293808, -0.012858489528298378, 0.37663960456848145, -0.13047955930233002, -0.24727152287960052, 0.20066772401332855, -0.2827301025390625, 0.21260665357112885, 0.007320692762732506, -0.21367985010147095, 0.12733902037143707, -0.05525202676653862, 0.10117240995168686, 0.12877720594406128, -0.15795667469501495, 0.22378097474575043, -0.03593450412154198, 0.00022297196846920997, -0.1118665263056755, -0.38134777545928955, -0.3944796323776245, -0.14113347232341766, 0.02008550986647606, -0.4086877107620239, 0.16435711085796356, -0.07374487072229385, 0.13263282179832458, 0.44564497470855713, -0.006851790007203817, 0.0519084557890892, 0.06160476803779602, -0.10483530908823013, 0.04105982929468155, 0.001443800050765276, 0.028609514236450195, -0.2616201639175415, 0.2491389662027359, 0.28653115034103394, 0.07926193624734879, 0.3409962058067322, -0.24258415400981903, 0.2669545114040375, 0.05583339184522629, -0.0971527248620987, 0.12127934396266937, 0.20836241543293, 0.09436620026826859, -0.27788031101226807, 0.4774665832519531, -0.01521524041891098, -0.03720375895500183, -0.04149452969431877, 0.059366144239902496, -0.26953139901161194, -0.2964501678943634, 0.05668782442808151, -0.4273950159549713, 0.31118273735046387, 0.25029975175857544, 0.19595767557621002, 0.0027209119871258736, -0.4085804522037506, 0.3995646834373474, 0.13577651977539062, 0.06240512430667877, 0.05652840808033943, 0.11774928122758865, 0.3106714189052582, -0.3950166404247284, 0.17408236861228943, 0.08531948924064636, -0.22780948877334595, -0.1682351678609848, -0.17903459072113037, -0.2829165756702423, 0.010602551512420177, -0.23745714128017426, -0.12742343544960022, -0.025428393855690956, 0.17081354558467865, -0.32813575863838196, 0.2861367464065552, -0.24418717622756958, -0.13201411068439484, -0.22117717564105988, -0.1309201568365097, -0.15122996270656586, -0.12308888882398605, -0.2510872781276703, 0.07694142311811447, 0.09043075144290924, -0.14899387955665588, -0.37897932529449463, -0.02673252671957016, -0.4230935871601105, 0.2970218360424042, 0.16598545014858246, 0.3055707812309265, 0.34377455711364746, -0.020822107791900635, -0.46868225932121277, 0.1399523764848709, 0.23525863885879517, -0.054568707942962646, -0.24829117953777313, -0.011973333545029163, -0.2507404386997223, -0.11894454061985016, -0.23423868417739868, -0.2874811291694641, -0.09474240988492966, 0.04660516604781151, 0.05742048844695091, 0.1212032362818718, 0.2777462601661682, -0.39492273330688477, 0.3296119272708893, 0.14847072958946228, 0.15828441083431244, 0.11999861150979996, -0.27369558811187744, -0.42724841833114624, -0.07955624163150787, 0.36679807305336, 0.17449703812599182, -0.06904271245002747, -0.05929882079362869, 0.06629033386707306, -0.01530216634273529, -0.16386878490447998, -0.010226932354271412, -0.01928405463695526, 0.27731984853744507, 0.03429258242249489, 0.11688528954982758, 0.195184126496315, -0.1953846663236618, -0.1674434095621109, 0.05851996690034866, 0.089168019592762, 0.5005996227264404, 0.12383846938610077, -0.4002535939216614, 0.053920093923807144, -0.3071829080581665, -0.17240594327449799, -0.20301681756973267, -0.16873568296432495, -0.28047969937324524, 0.3759438693523407, 0.40914472937583923, 0.1167169064283371, -0.2840043008327484, 0.09669949114322662, 0.18925470113754272, -0.21667353808879852, 0.5968816876411438, -0.019693739712238312, 0.027838991954922676, 0.26206880807876587, 0.22637240588665009, 0.23230881989002228, 0.3486112058162689, 0.11893486976623535, 0.3180156648159027, -0.4195285141468048, -0.11253844201564789, -0.02093147672712803, 0.08645831793546677, -0.17149555683135986, -0.0847945436835289, 0.1447947472333908, 0.0996583104133606, -0.0956592932343483, 0.04891204833984375, -0.004927977919578552, -0.2657231092453003, 0.5457899570465088, -0.18141131103038788, -0.10761219263076782, 0.32128360867500305, 0.24376682937145233, -0.4243662655353546, -0.13451342284679413, 0.014948582276701927, -0.09262671321630478, -0.1758439987897873, -0.5461246371269226, 0.04340327903628349, 0.09995367377996445, -0.1994912028312683, 0.2037622183561325, 0.10263000428676605, -0.20585443079471588, 0.05950891599059105, 0.1619807332754135, -0.06721976399421692, 0.12964193522930145, 0.5865116119384766, -0.007114431820809841, -0.17852841317653656, 0.17438897490501404, 0.3330731987953186, 0.2867470681667328, -0.4586872160434723, 0.21470873057842255, -0.14282788336277008, 0.09156148135662079, 0.15307912230491638, 0.24597607553005219, 0.34305891394615173, 0.05752470716834068, 0.08401258289813995, -0.2476927787065506, 0.020040350034832954, 0.09750626236200333, -0.18397194147109985, -0.03693612664937973, 0.08968333154916763, -0.5299935340881348, -0.007227434776723385, -0.293489545583725, -0.24105922877788544, -0.5398592352867126, 0.10903950035572052, -0.10771249234676361, 0.3535342812538147, 0.4060933589935303, 0.5729113221168518, 0.2755356431007385, -0.07104116678237915, -0.04614200070500374, -0.07363302260637283, 0.45261529088020325, 0.0281047485768795, 0.13187603652477264, -0.2211441546678543, -0.2502564489841461, 0.1063278466463089, 0.11820416897535324, -0.2689173221588135, -0.15941838920116425, -0.32849958539009094, -0.18153540790081024, 0.40714332461357117, -0.09777253121137619, 0.23242951929569244, 0.01791907474398613, 0.07721938192844391, -0.313666433095932, 0.04359131306409836, 0.1330036222934723, 0.04534689709544182, 0.049172282218933105, 0.002832037629559636, -0.18219278752803802, 0.3006254732608795, 0.07527206838130951, -0.027908870950341225, 0.11228149384260178, 0.013343616388738155, -0.12057767063379288, -0.12573003768920898, 0.07609780877828598, -0.1465635448694229, 0.1383242905139923, 0.4393417239189148, 0.25466394424438477, 0.409602552652359, 0.19449187815189362, 0.7209328413009644, -0.21290971338748932, 0.1615680456161499, 0.2608709931373596, 0.3123103678226471, -0.13854937255382538, -0.17361731827259064, -0.14945527911186218, 0.21768389642238617, -0.1291639804840088, -0.030690617859363556, -0.14778827130794525, 0.13573436439037323, 0.06241031363606453, 0.138758584856987, 0.15473178029060364, -0.2082255631685257, -0.24389125406742096, 0.122929647564888, -0.3050677180290222, -0.06273359060287476, 0.04928332939743996, -0.07472091168165207, -0.2184377759695053, -0.07419297844171524, 0.5520706176757812, 0.22559960186481476, -0.24198803305625916, 0.26248717308044434, 0.343950092792511, 0.023743951693177223, -0.13304699957370758, -0.35399413108825684, -0.41659265756607056, -0.11548255383968353, 0.2824702560901642, -0.3899971842765808, -0.3389844000339508, 0.18758732080459595, 0.04959991201758385, -0.026148788630962372, 0.424032598733902, -0.10936901718378067, 0.15097665786743164, -0.4363778829574585, 0.08072780817747116, -0.15649870038032532, 0.0719728171825409, 0.11137476563453674, -0.24691841006278992, -0.14898931980133057, 0.0508342981338501, -0.3438278138637543, 0.0003763980930671096, 0.03759010508656502, 0.055143989622592926, 0.5080351233482361, -0.07171458750963211, -0.2658630311489105, -0.26049116253852844, 0.14829720556735992, 0.2304721176624298, 0.08176857978105545, -0.25833046436309814, -0.21971696615219116, 0.06455402076244354, -0.11148568987846375, 0.1842382401227951, -0.013683448545634747, 0.046625666320323944, -0.10524635761976242, -0.08951130509376526, -0.09416578710079193, 0.16907347738742828, 0.011007975786924362, 0.23093366622924805, 0.05713308975100517, 0.16420133411884308, 0.24726742506027222, -0.029765916988253593, 0.11207239329814911, 0.2452089935541153, -0.3174766004085541, -0.10821346938610077, -0.23701202869415283, -0.2015475481748581, 0.45978254079818726, 0.03627583384513855, 0.3891855478286743, 0.1577194631099701, 0.3081226944923401, -0.012458881363272667, -0.0040888115763664246, 0.2507535219192505, -0.06349731236696243, 0.01992282085120678, 0.009496594779193401, -0.19812022149562836, -0.01743278093636036, 0.2895844280719757, -0.2336668074131012, 0.13706539571285248, -0.06973716616630554, -0.27746152877807617, 0.1625480353832245, 0.3204616606235504, 0.14783138036727905, -0.11833790689706802, 0.10049954056739807, 0.3629395067691803, 0.1863754391670227, 0.1709241271018982, -0.024195723235607147, 0.361905962228775, 0.1677202433347702, -0.08355417847633362, -0.05974510312080383, -0.1365262120962143, 0.2728285789489746, -0.0022852702531963587, 0.15909188985824585, 0.05679155886173248, 0.6861695051193237, 0.20140062272548676, 0.12792658805847168, 0.2239406406879425, 0.017485374584794044, 0.24076904356479645, 0.26661452651023865, 0.29458561539649963, 0.21869945526123047, -0.06003424525260925, 0.4790855050086975, -0.0944778099656105, 0.17365799844264984, 0.7519161701202393, -0.021703805774450302, -0.4609658420085907, -0.49301981925964355, 0.05670235678553581, 0.05018011853098869, -0.1455085277557373, -0.005442007910460234, 0.3202532231807709, -0.3894907534122467, -0.03931089863181114, 0.17473730444908142, -0.13671454787254333, -0.3814674913883209, -0.619393527507782, 0.43168890476226807, -0.2991020977497101, 0.09331762790679932, 0.2859072685241699, 0.08688872307538986, 0.43487727642059326, 0.4442967474460602, 0.1144256740808487, 0.024003008380532265, 0.05336742475628853, 0.11936429142951965, -0.06842802464962006, -0.06641160696744919, -0.09804053604602814, -0.03669089451432228, 0.2820934057235718, 0.09799650311470032, -0.03407876193523407, 0.1352657526731491, -0.2011234313249588, 0.22426141798496246, 0.017619717866182327, -0.15117444097995758, 0.22747716307640076, 0.3262101709842682, 0.3209470510482788, -0.07772745937108994, -0.04540332779288292, 0.021832598373293877, -0.23538868129253387, -0.10477614402770996, 0.15379172563552856, -0.14806216955184937, 0.060520488768815994, 0.18179823458194733, 0.13773959875106812, 0.21682675182819366, 0.17196419835090637, 0.09193921834230423, 0.1266990751028061, 0.1208241730928421, -0.14924761652946472, -0.21007001399993896, 0.030271416530013084, 0.3336339592933655, -0.18386408686637878, 0.04117068275809288, -0.0641348734498024, 0.49416011571884155, 0.24908919632434845, -0.29528728127479553, -0.013017869554460049, -0.19828619062900543, 0.08359601348638535, -0.3076917827129364, 0.19709870219230652, 0.19329862296581268, 0.18055221438407898, 0.0649813860654831, 0.030195889994502068, -0.26613324880599976, -0.36168932914733887, 0.2408667802810669, 0.21041345596313477, -0.18872372806072235, -0.01732894591987133, 0.17295370995998383, 0.03433496877551079, -0.20398961007595062, -0.10006343573331833, -0.3297027051448822, -0.1005515456199646, -0.06398354470729828, -0.3092077374458313, -0.17721618711948395, -0.08052504062652588, 0.025841953232884407, 0.3973589837551117, 0.01881536841392517, 0.17916081845760345, 0.23062776029109955, -0.22838036715984344, 0.24591101706027985, 0.09201517701148987, -0.545252799987793, 0.14397244155406952, -0.02223186008632183, -0.2843817472457886, 0.0973835289478302, 0.337189644575119, 0.1572902649641037, 0.024438144639134407, -0.392368346452713, -0.6259525418281555, 0.3662170469760895, -0.4166112542152405, -0.04448358714580536, -0.3538832366466522, 0.2894849479198456, 0.19428639113903046, -0.0561385303735733, -0.15261225402355194, 0.14885613322257996, 0.18231448531150818, -0.09062156826257706, -0.42693600058555603, 0.058985549956560135, -0.015144387260079384, -0.007417475339025259, -0.07645446062088013, -0.40314334630966187, 0.5035796165466309, -0.3456217348575592, -0.6021493673324585, -0.06902854889631271 ]
https://github.com/huggingface/datasets/issues/1844
Update Open Subtitles corpus with original sentence IDs
Hey @lhoestq , absolutely yes! Just one question before I start implementing. The ids found in the zip file have this format: (the following is line `22497315` of the `ids` file of the `de-en` dump) `de/2017/7006210/7063319.xml.gz en/2017/7006210/7050201.xml.gz 335 339 340` (every space is actually a tab, aside from the space between `339` and `340`) Where filenames encode the information like this: `lang/year/imdb_id/opensubtitles_id.xml.gz` whereas the numbers correspond to the sentence ids which are linked together (i.e. sentence `335` of the German subtitle corresponds to lines `339` and `340` of the English file) That being said, do you think I should stick to the raw sentence id (and replace the current sequential id) or should I include more detailed metadata (or both things maybe)? Going with raw ID is surely simpler, but including `year`, `imdbId` and `subtitleId` should save space as they're just integers; besides, any operation (like filtering or grouping) will be much easier if users don't have to manually parse the ids every time. As for the language-specific sentenceIds, what could be the best option? A list of integers or a comma-separated string? **Note:** I did not find any official information about this encoding, but it appears to check out: https://www.imdb.com/title/tt7006210/, https://www.opensubtitles.org/en/subtitles/7063319 and https://www.opensubtitles.org/en/subtitles/7050201 all link to the same episode, so I guess (I hope!) it's correct.
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles). I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts. I think I should tag @abhishekkrthakur as he's the one who added it in the first place. Thanks!
217
Update Open Subtitles corpus with original sentence IDs
[ 0.04277856647968292, 0.25259846448898315, -0.12483842670917511, -0.20502665638923645, -0.2311762571334839, -0.06385817378759384, 0.40139827132225037, 0.22566846013069153, -0.026119064539670944, -0.07438667863607407, -0.5134094953536987, 0.13408923149108887, 0.27772271633148193, -0.2675037086009979, -0.04808015748858452, -0.28492745757102966, 0.08584883064031601, 0.11518573760986328, 0.4449804723262787, -0.21059828996658325, -0.3585990369319916, 0.19729739427566528, -0.12698246538639069, -0.07113653421401978, 0.10230343043804169, 0.16687576472759247, -0.19133836030960083, 0.039494022727012634, 0.0204461682587862, -0.30108675360679626, -0.11688008159399033, 0.43805715441703796, 0.16806405782699585, 0.2051701545715332, -0.00010750324872788042, -0.06612490117549896, 0.05464407429099083, -0.18128511309623718, -0.2074371576309204, 0.2977668344974518, 0.07310988754034042, -0.0013513308949768543, -0.3655538260936737, -0.32283973693847656, -0.05230255052447319, -0.01406913809478283, 0.11252663284540176, -0.539118230342865, -0.06701485812664032, 0.12685498595237732, 0.16246025264263153, -0.021957701072096825, -0.15849609673023224, -0.06349057704210281, 0.4216916561126709, -0.23236587643623352, 0.48301222920417786, 0.1122651994228363, 0.3869549632072449, 0.15167516469955444, -0.18572671711444855, 0.466375470161438, -0.4362238049507141, -0.3513147532939911, -0.37697863578796387, -0.078093022108078, 0.04388944432139397, -0.02351217530667782, -0.0042932466603815556, -0.034054599702358246, 0.35056057572364807, -0.12705610692501068, -0.4536774754524231, -0.04849158227443695, -0.08495226502418518, -0.09998539090156555, -0.31819409132003784, 0.23470963537693024, 0.39358776807785034, 0.1802041232585907, 0.2591961920261383, -0.25747230648994446, 0.12972426414489746, -0.2532448172569275, -0.001016039401292801, 0.1697220355272293, 0.23924121260643005, -0.20671509206295013, -0.042321451008319855, -0.2584017515182495, -0.2781056761741638, 0.21355707943439484, -0.39870455861091614, -0.07609903067350388, 0.12552297115325928, -0.09376461058855057, -0.010258100926876068, -0.5785166025161743, -0.23563167452812195, 0.031699638813734055, 0.20093123614788055, 0.36302441358566284, -0.2489129900932312, 0.03279291093349457, 0.05533464998006821, 0.2938365042209625, 0.44410014152526855, 0.0911138579249382, -0.07139842957258224, 0.06432028114795685, -0.3488597571849823, 0.04291258379817009, -0.21078193187713623, 0.08389295637607574, -0.2850813865661621, 0.3017275035381317, 0.0613902285695076, 0.13967181742191315, -0.0764816403388977, 0.2127423882484436, -0.3211384117603302, -0.0032259514555335045, -0.4092678725719452, 0.07958614081144333, -0.0055837021209299564, 0.17657631635665894, 0.34988701343536377, -0.06758114695549011, -0.2526129484176636, -0.28272825479507446, -0.20733685791492462, 0.09642919898033142, 0.10144069790840149, -0.21898068487644196, -0.15719373524188995, -0.260923832654953, 0.22417184710502625, -0.21938830614089966, -0.10029397904872894, -0.16727785766124725, -0.2910555899143219, 0.08005598187446594, 0.18622562289237976, -0.21042487025260925, 0.2056381106376648, -0.15402978658676147, -0.1315937638282776, -0.337775856256485, 0.041412077844142914, 0.11541707068681717, 0.0001289829087909311, 0.004548453260213137, -0.10342341661453247, 0.2140161246061325, -0.0643792375922203, -0.2243930548429489, 0.31991472840309143, 0.21798084676265717, 0.19429507851600647, -0.2501893639564514, 0.09135375916957855, 0.0950923040509224, -0.19135183095932007, 0.13311628997325897, -0.1502082496881485, 0.6236193180084229, 0.023854056373238564, -0.08293183147907257, 0.5938904881477356, 0.17643730342388153, 0.17925305664539337, 0.12698225677013397, 0.4817846119403839, -0.18319404125213623, 0.15767201781272888, 0.2663992643356323, -0.29347747564315796, -0.6422598361968994, -0.23041929304599762, 0.006679986137896776, 0.09933249652385712, 0.0032011722214519978, 0.3311651945114136, -0.1721239686012268, 0.5732699632644653, -0.3471333682537079, 0.030981050804257393, -0.06924007833003998, 0.11927538365125656, 0.1524505317211151, -0.14944303035736084, -0.08595958352088928, -0.470796674489975, 0.00024276267504319549, 0.05376027524471283, 0.2765474319458008, 0.17391744256019592, 0.20366130769252777, 0.43955519795417786, -0.1311500072479248, 0.1527959108352661, 0.030571555718779564, -0.21946367621421814, 0.32753652334213257, 0.2354421615600586, 0.06306416541337967, 0.2182026207447052, -0.11972552537918091, 0.24226242303848267, 0.3131183385848999, 0.24141977727413177, -0.24371688067913055, -0.07278550416231155, -0.004274992737919092, 0.3518046438694, -0.004060971084982157, 0.19729751348495483, 0.21077649295330048, -0.36518219113349915, 0.18255294859409332, -0.21016941964626312, -0.07600273191928864, -0.05756227299571037, -0.02407670207321644, -0.19887199997901917, -0.1348520964384079, 0.13492423295974731, -0.11471125483512878, 0.20434990525245667, 0.05731979385018349, 0.010034812614321709, 0.21096467971801758, -0.03632764890789986, 0.338946670293808, -0.012858489528298378, 0.37663960456848145, -0.13047955930233002, -0.24727152287960052, 0.20066772401332855, -0.2827301025390625, 0.21260665357112885, 0.007320692762732506, -0.21367985010147095, 0.12733902037143707, -0.05525202676653862, 0.10117240995168686, 0.12877720594406128, -0.15795667469501495, 0.22378097474575043, -0.03593450412154198, 0.00022297196846920997, -0.1118665263056755, -0.38134777545928955, -0.3944796323776245, -0.14113347232341766, 0.02008550986647606, -0.4086877107620239, 0.16435711085796356, -0.07374487072229385, 0.13263282179832458, 0.44564497470855713, -0.006851790007203817, 0.0519084557890892, 0.06160476803779602, -0.10483530908823013, 0.04105982929468155, 0.001443800050765276, 0.028609514236450195, -0.2616201639175415, 0.2491389662027359, 0.28653115034103394, 0.07926193624734879, 0.3409962058067322, -0.24258415400981903, 0.2669545114040375, 0.05583339184522629, -0.0971527248620987, 0.12127934396266937, 0.20836241543293, 0.09436620026826859, -0.27788031101226807, 0.4774665832519531, -0.01521524041891098, -0.03720375895500183, -0.04149452969431877, 0.059366144239902496, -0.26953139901161194, -0.2964501678943634, 0.05668782442808151, -0.4273950159549713, 0.31118273735046387, 0.25029975175857544, 0.19595767557621002, 0.0027209119871258736, -0.4085804522037506, 0.3995646834373474, 0.13577651977539062, 0.06240512430667877, 0.05652840808033943, 0.11774928122758865, 0.3106714189052582, -0.3950166404247284, 0.17408236861228943, 0.08531948924064636, -0.22780948877334595, -0.1682351678609848, -0.17903459072113037, -0.2829165756702423, 0.010602551512420177, -0.23745714128017426, -0.12742343544960022, -0.025428393855690956, 0.17081354558467865, -0.32813575863838196, 0.2861367464065552, -0.24418717622756958, -0.13201411068439484, -0.22117717564105988, -0.1309201568365097, -0.15122996270656586, -0.12308888882398605, -0.2510872781276703, 0.07694142311811447, 0.09043075144290924, -0.14899387955665588, -0.37897932529449463, -0.02673252671957016, -0.4230935871601105, 0.2970218360424042, 0.16598545014858246, 0.3055707812309265, 0.34377455711364746, -0.020822107791900635, -0.46868225932121277, 0.1399523764848709, 0.23525863885879517, -0.054568707942962646, -0.24829117953777313, -0.011973333545029163, -0.2507404386997223, -0.11894454061985016, -0.23423868417739868, -0.2874811291694641, -0.09474240988492966, 0.04660516604781151, 0.05742048844695091, 0.1212032362818718, 0.2777462601661682, -0.39492273330688477, 0.3296119272708893, 0.14847072958946228, 0.15828441083431244, 0.11999861150979996, -0.27369558811187744, -0.42724841833114624, -0.07955624163150787, 0.36679807305336, 0.17449703812599182, -0.06904271245002747, -0.05929882079362869, 0.06629033386707306, -0.01530216634273529, -0.16386878490447998, -0.010226932354271412, -0.01928405463695526, 0.27731984853744507, 0.03429258242249489, 0.11688528954982758, 0.195184126496315, -0.1953846663236618, -0.1674434095621109, 0.05851996690034866, 0.089168019592762, 0.5005996227264404, 0.12383846938610077, -0.4002535939216614, 0.053920093923807144, -0.3071829080581665, -0.17240594327449799, -0.20301681756973267, -0.16873568296432495, -0.28047969937324524, 0.3759438693523407, 0.40914472937583923, 0.1167169064283371, -0.2840043008327484, 0.09669949114322662, 0.18925470113754272, -0.21667353808879852, 0.5968816876411438, -0.019693739712238312, 0.027838991954922676, 0.26206880807876587, 0.22637240588665009, 0.23230881989002228, 0.3486112058162689, 0.11893486976623535, 0.3180156648159027, -0.4195285141468048, -0.11253844201564789, -0.02093147672712803, 0.08645831793546677, -0.17149555683135986, -0.0847945436835289, 0.1447947472333908, 0.0996583104133606, -0.0956592932343483, 0.04891204833984375, -0.004927977919578552, -0.2657231092453003, 0.5457899570465088, -0.18141131103038788, -0.10761219263076782, 0.32128360867500305, 0.24376682937145233, -0.4243662655353546, -0.13451342284679413, 0.014948582276701927, -0.09262671321630478, -0.1758439987897873, -0.5461246371269226, 0.04340327903628349, 0.09995367377996445, -0.1994912028312683, 0.2037622183561325, 0.10263000428676605, -0.20585443079471588, 0.05950891599059105, 0.1619807332754135, -0.06721976399421692, 0.12964193522930145, 0.5865116119384766, -0.007114431820809841, -0.17852841317653656, 0.17438897490501404, 0.3330731987953186, 0.2867470681667328, -0.4586872160434723, 0.21470873057842255, -0.14282788336277008, 0.09156148135662079, 0.15307912230491638, 0.24597607553005219, 0.34305891394615173, 0.05752470716834068, 0.08401258289813995, -0.2476927787065506, 0.020040350034832954, 0.09750626236200333, -0.18397194147109985, -0.03693612664937973, 0.08968333154916763, -0.5299935340881348, -0.007227434776723385, -0.293489545583725, -0.24105922877788544, -0.5398592352867126, 0.10903950035572052, -0.10771249234676361, 0.3535342812538147, 0.4060933589935303, 0.5729113221168518, 0.2755356431007385, -0.07104116678237915, -0.04614200070500374, -0.07363302260637283, 0.45261529088020325, 0.0281047485768795, 0.13187603652477264, -0.2211441546678543, -0.2502564489841461, 0.1063278466463089, 0.11820416897535324, -0.2689173221588135, -0.15941838920116425, -0.32849958539009094, -0.18153540790081024, 0.40714332461357117, -0.09777253121137619, 0.23242951929569244, 0.01791907474398613, 0.07721938192844391, -0.313666433095932, 0.04359131306409836, 0.1330036222934723, 0.04534689709544182, 0.049172282218933105, 0.002832037629559636, -0.18219278752803802, 0.3006254732608795, 0.07527206838130951, -0.027908870950341225, 0.11228149384260178, 0.013343616388738155, -0.12057767063379288, -0.12573003768920898, 0.07609780877828598, -0.1465635448694229, 0.1383242905139923, 0.4393417239189148, 0.25466394424438477, 0.409602552652359, 0.19449187815189362, 0.7209328413009644, -0.21290971338748932, 0.1615680456161499, 0.2608709931373596, 0.3123103678226471, -0.13854937255382538, -0.17361731827259064, -0.14945527911186218, 0.21768389642238617, -0.1291639804840088, -0.030690617859363556, -0.14778827130794525, 0.13573436439037323, 0.06241031363606453, 0.138758584856987, 0.15473178029060364, -0.2082255631685257, -0.24389125406742096, 0.122929647564888, -0.3050677180290222, -0.06273359060287476, 0.04928332939743996, -0.07472091168165207, -0.2184377759695053, -0.07419297844171524, 0.5520706176757812, 0.22559960186481476, -0.24198803305625916, 0.26248717308044434, 0.343950092792511, 0.023743951693177223, -0.13304699957370758, -0.35399413108825684, -0.41659265756607056, -0.11548255383968353, 0.2824702560901642, -0.3899971842765808, -0.3389844000339508, 0.18758732080459595, 0.04959991201758385, -0.026148788630962372, 0.424032598733902, -0.10936901718378067, 0.15097665786743164, -0.4363778829574585, 0.08072780817747116, -0.15649870038032532, 0.0719728171825409, 0.11137476563453674, -0.24691841006278992, -0.14898931980133057, 0.0508342981338501, -0.3438278138637543, 0.0003763980930671096, 0.03759010508656502, 0.055143989622592926, 0.5080351233482361, -0.07171458750963211, -0.2658630311489105, -0.26049116253852844, 0.14829720556735992, 0.2304721176624298, 0.08176857978105545, -0.25833046436309814, -0.21971696615219116, 0.06455402076244354, -0.11148568987846375, 0.1842382401227951, -0.013683448545634747, 0.046625666320323944, -0.10524635761976242, -0.08951130509376526, -0.09416578710079193, 0.16907347738742828, 0.011007975786924362, 0.23093366622924805, 0.05713308975100517, 0.16420133411884308, 0.24726742506027222, -0.029765916988253593, 0.11207239329814911, 0.2452089935541153, -0.3174766004085541, -0.10821346938610077, -0.23701202869415283, -0.2015475481748581, 0.45978254079818726, 0.03627583384513855, 0.3891855478286743, 0.1577194631099701, 0.3081226944923401, -0.012458881363272667, -0.0040888115763664246, 0.2507535219192505, -0.06349731236696243, 0.01992282085120678, 0.009496594779193401, -0.19812022149562836, -0.01743278093636036, 0.2895844280719757, -0.2336668074131012, 0.13706539571285248, -0.06973716616630554, -0.27746152877807617, 0.1625480353832245, 0.3204616606235504, 0.14783138036727905, -0.11833790689706802, 0.10049954056739807, 0.3629395067691803, 0.1863754391670227, 0.1709241271018982, -0.024195723235607147, 0.361905962228775, 0.1677202433347702, -0.08355417847633362, -0.05974510312080383, -0.1365262120962143, 0.2728285789489746, -0.0022852702531963587, 0.15909188985824585, 0.05679155886173248, 0.6861695051193237, 0.20140062272548676, 0.12792658805847168, 0.2239406406879425, 0.017485374584794044, 0.24076904356479645, 0.26661452651023865, 0.29458561539649963, 0.21869945526123047, -0.06003424525260925, 0.4790855050086975, -0.0944778099656105, 0.17365799844264984, 0.7519161701202393, -0.021703805774450302, -0.4609658420085907, -0.49301981925964355, 0.05670235678553581, 0.05018011853098869, -0.1455085277557373, -0.005442007910460234, 0.3202532231807709, -0.3894907534122467, -0.03931089863181114, 0.17473730444908142, -0.13671454787254333, -0.3814674913883209, -0.619393527507782, 0.43168890476226807, -0.2991020977497101, 0.09331762790679932, 0.2859072685241699, 0.08688872307538986, 0.43487727642059326, 0.4442967474460602, 0.1144256740808487, 0.024003008380532265, 0.05336742475628853, 0.11936429142951965, -0.06842802464962006, -0.06641160696744919, -0.09804053604602814, -0.03669089451432228, 0.2820934057235718, 0.09799650311470032, -0.03407876193523407, 0.1352657526731491, -0.2011234313249588, 0.22426141798496246, 0.017619717866182327, -0.15117444097995758, 0.22747716307640076, 0.3262101709842682, 0.3209470510482788, -0.07772745937108994, -0.04540332779288292, 0.021832598373293877, -0.23538868129253387, -0.10477614402770996, 0.15379172563552856, -0.14806216955184937, 0.060520488768815994, 0.18179823458194733, 0.13773959875106812, 0.21682675182819366, 0.17196419835090637, 0.09193921834230423, 0.1266990751028061, 0.1208241730928421, -0.14924761652946472, -0.21007001399993896, 0.030271416530013084, 0.3336339592933655, -0.18386408686637878, 0.04117068275809288, -0.0641348734498024, 0.49416011571884155, 0.24908919632434845, -0.29528728127479553, -0.013017869554460049, -0.19828619062900543, 0.08359601348638535, -0.3076917827129364, 0.19709870219230652, 0.19329862296581268, 0.18055221438407898, 0.0649813860654831, 0.030195889994502068, -0.26613324880599976, -0.36168932914733887, 0.2408667802810669, 0.21041345596313477, -0.18872372806072235, -0.01732894591987133, 0.17295370995998383, 0.03433496877551079, -0.20398961007595062, -0.10006343573331833, -0.3297027051448822, -0.1005515456199646, -0.06398354470729828, -0.3092077374458313, -0.17721618711948395, -0.08052504062652588, 0.025841953232884407, 0.3973589837551117, 0.01881536841392517, 0.17916081845760345, 0.23062776029109955, -0.22838036715984344, 0.24591101706027985, 0.09201517701148987, -0.545252799987793, 0.14397244155406952, -0.02223186008632183, -0.2843817472457886, 0.0973835289478302, 0.337189644575119, 0.1572902649641037, 0.024438144639134407, -0.392368346452713, -0.6259525418281555, 0.3662170469760895, -0.4166112542152405, -0.04448358714580536, -0.3538832366466522, 0.2894849479198456, 0.19428639113903046, -0.0561385303735733, -0.15261225402355194, 0.14885613322257996, 0.18231448531150818, -0.09062156826257706, -0.42693600058555603, 0.058985549956560135, -0.015144387260079384, -0.007417475339025259, -0.07645446062088013, -0.40314334630966187, 0.5035796165466309, -0.3456217348575592, -0.6021493673324585, -0.06902854889631271 ]
https://github.com/huggingface/datasets/issues/1844
Update Open Subtitles corpus with original sentence IDs
I like the idea of having `year`, `imdbId` and `subtitleId` as columns for filtering for example. And for the `sentenceIds` a list of integers is fine.
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles). I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts. I think I should tag @abhishekkrthakur as he's the one who added it in the first place. Thanks!
26
Update Open Subtitles corpus with original sentence IDs
[ 0.04277856647968292, 0.25259846448898315, -0.12483842670917511, -0.20502665638923645, -0.2311762571334839, -0.06385817378759384, 0.40139827132225037, 0.22566846013069153, -0.026119064539670944, -0.07438667863607407, -0.5134094953536987, 0.13408923149108887, 0.27772271633148193, -0.2675037086009979, -0.04808015748858452, -0.28492745757102966, 0.08584883064031601, 0.11518573760986328, 0.4449804723262787, -0.21059828996658325, -0.3585990369319916, 0.19729739427566528, -0.12698246538639069, -0.07113653421401978, 0.10230343043804169, 0.16687576472759247, -0.19133836030960083, 0.039494022727012634, 0.0204461682587862, -0.30108675360679626, -0.11688008159399033, 0.43805715441703796, 0.16806405782699585, 0.2051701545715332, -0.00010750324872788042, -0.06612490117549896, 0.05464407429099083, -0.18128511309623718, -0.2074371576309204, 0.2977668344974518, 0.07310988754034042, -0.0013513308949768543, -0.3655538260936737, -0.32283973693847656, -0.05230255052447319, -0.01406913809478283, 0.11252663284540176, -0.539118230342865, -0.06701485812664032, 0.12685498595237732, 0.16246025264263153, -0.021957701072096825, -0.15849609673023224, -0.06349057704210281, 0.4216916561126709, -0.23236587643623352, 0.48301222920417786, 0.1122651994228363, 0.3869549632072449, 0.15167516469955444, -0.18572671711444855, 0.466375470161438, -0.4362238049507141, -0.3513147532939911, -0.37697863578796387, -0.078093022108078, 0.04388944432139397, -0.02351217530667782, -0.0042932466603815556, -0.034054599702358246, 0.35056057572364807, -0.12705610692501068, -0.4536774754524231, -0.04849158227443695, -0.08495226502418518, -0.09998539090156555, -0.31819409132003784, 0.23470963537693024, 0.39358776807785034, 0.1802041232585907, 0.2591961920261383, -0.25747230648994446, 0.12972426414489746, -0.2532448172569275, -0.001016039401292801, 0.1697220355272293, 0.23924121260643005, -0.20671509206295013, -0.042321451008319855, -0.2584017515182495, -0.2781056761741638, 0.21355707943439484, -0.39870455861091614, -0.07609903067350388, 0.12552297115325928, -0.09376461058855057, -0.010258100926876068, -0.5785166025161743, -0.23563167452812195, 0.031699638813734055, 0.20093123614788055, 0.36302441358566284, -0.2489129900932312, 0.03279291093349457, 0.05533464998006821, 0.2938365042209625, 0.44410014152526855, 0.0911138579249382, -0.07139842957258224, 0.06432028114795685, -0.3488597571849823, 0.04291258379817009, -0.21078193187713623, 0.08389295637607574, -0.2850813865661621, 0.3017275035381317, 0.0613902285695076, 0.13967181742191315, -0.0764816403388977, 0.2127423882484436, -0.3211384117603302, -0.0032259514555335045, -0.4092678725719452, 0.07958614081144333, -0.0055837021209299564, 0.17657631635665894, 0.34988701343536377, -0.06758114695549011, -0.2526129484176636, -0.28272825479507446, -0.20733685791492462, 0.09642919898033142, 0.10144069790840149, -0.21898068487644196, -0.15719373524188995, -0.260923832654953, 0.22417184710502625, -0.21938830614089966, -0.10029397904872894, -0.16727785766124725, -0.2910555899143219, 0.08005598187446594, 0.18622562289237976, -0.21042487025260925, 0.2056381106376648, -0.15402978658676147, -0.1315937638282776, -0.337775856256485, 0.041412077844142914, 0.11541707068681717, 0.0001289829087909311, 0.004548453260213137, -0.10342341661453247, 0.2140161246061325, -0.0643792375922203, -0.2243930548429489, 0.31991472840309143, 0.21798084676265717, 0.19429507851600647, -0.2501893639564514, 0.09135375916957855, 0.0950923040509224, -0.19135183095932007, 0.13311628997325897, -0.1502082496881485, 0.6236193180084229, 0.023854056373238564, -0.08293183147907257, 0.5938904881477356, 0.17643730342388153, 0.17925305664539337, 0.12698225677013397, 0.4817846119403839, -0.18319404125213623, 0.15767201781272888, 0.2663992643356323, -0.29347747564315796, -0.6422598361968994, -0.23041929304599762, 0.006679986137896776, 0.09933249652385712, 0.0032011722214519978, 0.3311651945114136, -0.1721239686012268, 0.5732699632644653, -0.3471333682537079, 0.030981050804257393, -0.06924007833003998, 0.11927538365125656, 0.1524505317211151, -0.14944303035736084, -0.08595958352088928, -0.470796674489975, 0.00024276267504319549, 0.05376027524471283, 0.2765474319458008, 0.17391744256019592, 0.20366130769252777, 0.43955519795417786, -0.1311500072479248, 0.1527959108352661, 0.030571555718779564, -0.21946367621421814, 0.32753652334213257, 0.2354421615600586, 0.06306416541337967, 0.2182026207447052, -0.11972552537918091, 0.24226242303848267, 0.3131183385848999, 0.24141977727413177, -0.24371688067913055, -0.07278550416231155, -0.004274992737919092, 0.3518046438694, -0.004060971084982157, 0.19729751348495483, 0.21077649295330048, -0.36518219113349915, 0.18255294859409332, -0.21016941964626312, -0.07600273191928864, -0.05756227299571037, -0.02407670207321644, -0.19887199997901917, -0.1348520964384079, 0.13492423295974731, -0.11471125483512878, 0.20434990525245667, 0.05731979385018349, 0.010034812614321709, 0.21096467971801758, -0.03632764890789986, 0.338946670293808, -0.012858489528298378, 0.37663960456848145, -0.13047955930233002, -0.24727152287960052, 0.20066772401332855, -0.2827301025390625, 0.21260665357112885, 0.007320692762732506, -0.21367985010147095, 0.12733902037143707, -0.05525202676653862, 0.10117240995168686, 0.12877720594406128, -0.15795667469501495, 0.22378097474575043, -0.03593450412154198, 0.00022297196846920997, -0.1118665263056755, -0.38134777545928955, -0.3944796323776245, -0.14113347232341766, 0.02008550986647606, -0.4086877107620239, 0.16435711085796356, -0.07374487072229385, 0.13263282179832458, 0.44564497470855713, -0.006851790007203817, 0.0519084557890892, 0.06160476803779602, -0.10483530908823013, 0.04105982929468155, 0.001443800050765276, 0.028609514236450195, -0.2616201639175415, 0.2491389662027359, 0.28653115034103394, 0.07926193624734879, 0.3409962058067322, -0.24258415400981903, 0.2669545114040375, 0.05583339184522629, -0.0971527248620987, 0.12127934396266937, 0.20836241543293, 0.09436620026826859, -0.27788031101226807, 0.4774665832519531, -0.01521524041891098, -0.03720375895500183, -0.04149452969431877, 0.059366144239902496, -0.26953139901161194, -0.2964501678943634, 0.05668782442808151, -0.4273950159549713, 0.31118273735046387, 0.25029975175857544, 0.19595767557621002, 0.0027209119871258736, -0.4085804522037506, 0.3995646834373474, 0.13577651977539062, 0.06240512430667877, 0.05652840808033943, 0.11774928122758865, 0.3106714189052582, -0.3950166404247284, 0.17408236861228943, 0.08531948924064636, -0.22780948877334595, -0.1682351678609848, -0.17903459072113037, -0.2829165756702423, 0.010602551512420177, -0.23745714128017426, -0.12742343544960022, -0.025428393855690956, 0.17081354558467865, -0.32813575863838196, 0.2861367464065552, -0.24418717622756958, -0.13201411068439484, -0.22117717564105988, -0.1309201568365097, -0.15122996270656586, -0.12308888882398605, -0.2510872781276703, 0.07694142311811447, 0.09043075144290924, -0.14899387955665588, -0.37897932529449463, -0.02673252671957016, -0.4230935871601105, 0.2970218360424042, 0.16598545014858246, 0.3055707812309265, 0.34377455711364746, -0.020822107791900635, -0.46868225932121277, 0.1399523764848709, 0.23525863885879517, -0.054568707942962646, -0.24829117953777313, -0.011973333545029163, -0.2507404386997223, -0.11894454061985016, -0.23423868417739868, -0.2874811291694641, -0.09474240988492966, 0.04660516604781151, 0.05742048844695091, 0.1212032362818718, 0.2777462601661682, -0.39492273330688477, 0.3296119272708893, 0.14847072958946228, 0.15828441083431244, 0.11999861150979996, -0.27369558811187744, -0.42724841833114624, -0.07955624163150787, 0.36679807305336, 0.17449703812599182, -0.06904271245002747, -0.05929882079362869, 0.06629033386707306, -0.01530216634273529, -0.16386878490447998, -0.010226932354271412, -0.01928405463695526, 0.27731984853744507, 0.03429258242249489, 0.11688528954982758, 0.195184126496315, -0.1953846663236618, -0.1674434095621109, 0.05851996690034866, 0.089168019592762, 0.5005996227264404, 0.12383846938610077, -0.4002535939216614, 0.053920093923807144, -0.3071829080581665, -0.17240594327449799, -0.20301681756973267, -0.16873568296432495, -0.28047969937324524, 0.3759438693523407, 0.40914472937583923, 0.1167169064283371, -0.2840043008327484, 0.09669949114322662, 0.18925470113754272, -0.21667353808879852, 0.5968816876411438, -0.019693739712238312, 0.027838991954922676, 0.26206880807876587, 0.22637240588665009, 0.23230881989002228, 0.3486112058162689, 0.11893486976623535, 0.3180156648159027, -0.4195285141468048, -0.11253844201564789, -0.02093147672712803, 0.08645831793546677, -0.17149555683135986, -0.0847945436835289, 0.1447947472333908, 0.0996583104133606, -0.0956592932343483, 0.04891204833984375, -0.004927977919578552, -0.2657231092453003, 0.5457899570465088, -0.18141131103038788, -0.10761219263076782, 0.32128360867500305, 0.24376682937145233, -0.4243662655353546, -0.13451342284679413, 0.014948582276701927, -0.09262671321630478, -0.1758439987897873, -0.5461246371269226, 0.04340327903628349, 0.09995367377996445, -0.1994912028312683, 0.2037622183561325, 0.10263000428676605, -0.20585443079471588, 0.05950891599059105, 0.1619807332754135, -0.06721976399421692, 0.12964193522930145, 0.5865116119384766, -0.007114431820809841, -0.17852841317653656, 0.17438897490501404, 0.3330731987953186, 0.2867470681667328, -0.4586872160434723, 0.21470873057842255, -0.14282788336277008, 0.09156148135662079, 0.15307912230491638, 0.24597607553005219, 0.34305891394615173, 0.05752470716834068, 0.08401258289813995, -0.2476927787065506, 0.020040350034832954, 0.09750626236200333, -0.18397194147109985, -0.03693612664937973, 0.08968333154916763, -0.5299935340881348, -0.007227434776723385, -0.293489545583725, -0.24105922877788544, -0.5398592352867126, 0.10903950035572052, -0.10771249234676361, 0.3535342812538147, 0.4060933589935303, 0.5729113221168518, 0.2755356431007385, -0.07104116678237915, -0.04614200070500374, -0.07363302260637283, 0.45261529088020325, 0.0281047485768795, 0.13187603652477264, -0.2211441546678543, -0.2502564489841461, 0.1063278466463089, 0.11820416897535324, -0.2689173221588135, -0.15941838920116425, -0.32849958539009094, -0.18153540790081024, 0.40714332461357117, -0.09777253121137619, 0.23242951929569244, 0.01791907474398613, 0.07721938192844391, -0.313666433095932, 0.04359131306409836, 0.1330036222934723, 0.04534689709544182, 0.049172282218933105, 0.002832037629559636, -0.18219278752803802, 0.3006254732608795, 0.07527206838130951, -0.027908870950341225, 0.11228149384260178, 0.013343616388738155, -0.12057767063379288, -0.12573003768920898, 0.07609780877828598, -0.1465635448694229, 0.1383242905139923, 0.4393417239189148, 0.25466394424438477, 0.409602552652359, 0.19449187815189362, 0.7209328413009644, -0.21290971338748932, 0.1615680456161499, 0.2608709931373596, 0.3123103678226471, -0.13854937255382538, -0.17361731827259064, -0.14945527911186218, 0.21768389642238617, -0.1291639804840088, -0.030690617859363556, -0.14778827130794525, 0.13573436439037323, 0.06241031363606453, 0.138758584856987, 0.15473178029060364, -0.2082255631685257, -0.24389125406742096, 0.122929647564888, -0.3050677180290222, -0.06273359060287476, 0.04928332939743996, -0.07472091168165207, -0.2184377759695053, -0.07419297844171524, 0.5520706176757812, 0.22559960186481476, -0.24198803305625916, 0.26248717308044434, 0.343950092792511, 0.023743951693177223, -0.13304699957370758, -0.35399413108825684, -0.41659265756607056, -0.11548255383968353, 0.2824702560901642, -0.3899971842765808, -0.3389844000339508, 0.18758732080459595, 0.04959991201758385, -0.026148788630962372, 0.424032598733902, -0.10936901718378067, 0.15097665786743164, -0.4363778829574585, 0.08072780817747116, -0.15649870038032532, 0.0719728171825409, 0.11137476563453674, -0.24691841006278992, -0.14898931980133057, 0.0508342981338501, -0.3438278138637543, 0.0003763980930671096, 0.03759010508656502, 0.055143989622592926, 0.5080351233482361, -0.07171458750963211, -0.2658630311489105, -0.26049116253852844, 0.14829720556735992, 0.2304721176624298, 0.08176857978105545, -0.25833046436309814, -0.21971696615219116, 0.06455402076244354, -0.11148568987846375, 0.1842382401227951, -0.013683448545634747, 0.046625666320323944, -0.10524635761976242, -0.08951130509376526, -0.09416578710079193, 0.16907347738742828, 0.011007975786924362, 0.23093366622924805, 0.05713308975100517, 0.16420133411884308, 0.24726742506027222, -0.029765916988253593, 0.11207239329814911, 0.2452089935541153, -0.3174766004085541, -0.10821346938610077, -0.23701202869415283, -0.2015475481748581, 0.45978254079818726, 0.03627583384513855, 0.3891855478286743, 0.1577194631099701, 0.3081226944923401, -0.012458881363272667, -0.0040888115763664246, 0.2507535219192505, -0.06349731236696243, 0.01992282085120678, 0.009496594779193401, -0.19812022149562836, -0.01743278093636036, 0.2895844280719757, -0.2336668074131012, 0.13706539571285248, -0.06973716616630554, -0.27746152877807617, 0.1625480353832245, 0.3204616606235504, 0.14783138036727905, -0.11833790689706802, 0.10049954056739807, 0.3629395067691803, 0.1863754391670227, 0.1709241271018982, -0.024195723235607147, 0.361905962228775, 0.1677202433347702, -0.08355417847633362, -0.05974510312080383, -0.1365262120962143, 0.2728285789489746, -0.0022852702531963587, 0.15909188985824585, 0.05679155886173248, 0.6861695051193237, 0.20140062272548676, 0.12792658805847168, 0.2239406406879425, 0.017485374584794044, 0.24076904356479645, 0.26661452651023865, 0.29458561539649963, 0.21869945526123047, -0.06003424525260925, 0.4790855050086975, -0.0944778099656105, 0.17365799844264984, 0.7519161701202393, -0.021703805774450302, -0.4609658420085907, -0.49301981925964355, 0.05670235678553581, 0.05018011853098869, -0.1455085277557373, -0.005442007910460234, 0.3202532231807709, -0.3894907534122467, -0.03931089863181114, 0.17473730444908142, -0.13671454787254333, -0.3814674913883209, -0.619393527507782, 0.43168890476226807, -0.2991020977497101, 0.09331762790679932, 0.2859072685241699, 0.08688872307538986, 0.43487727642059326, 0.4442967474460602, 0.1144256740808487, 0.024003008380532265, 0.05336742475628853, 0.11936429142951965, -0.06842802464962006, -0.06641160696744919, -0.09804053604602814, -0.03669089451432228, 0.2820934057235718, 0.09799650311470032, -0.03407876193523407, 0.1352657526731491, -0.2011234313249588, 0.22426141798496246, 0.017619717866182327, -0.15117444097995758, 0.22747716307640076, 0.3262101709842682, 0.3209470510482788, -0.07772745937108994, -0.04540332779288292, 0.021832598373293877, -0.23538868129253387, -0.10477614402770996, 0.15379172563552856, -0.14806216955184937, 0.060520488768815994, 0.18179823458194733, 0.13773959875106812, 0.21682675182819366, 0.17196419835090637, 0.09193921834230423, 0.1266990751028061, 0.1208241730928421, -0.14924761652946472, -0.21007001399993896, 0.030271416530013084, 0.3336339592933655, -0.18386408686637878, 0.04117068275809288, -0.0641348734498024, 0.49416011571884155, 0.24908919632434845, -0.29528728127479553, -0.013017869554460049, -0.19828619062900543, 0.08359601348638535, -0.3076917827129364, 0.19709870219230652, 0.19329862296581268, 0.18055221438407898, 0.0649813860654831, 0.030195889994502068, -0.26613324880599976, -0.36168932914733887, 0.2408667802810669, 0.21041345596313477, -0.18872372806072235, -0.01732894591987133, 0.17295370995998383, 0.03433496877551079, -0.20398961007595062, -0.10006343573331833, -0.3297027051448822, -0.1005515456199646, -0.06398354470729828, -0.3092077374458313, -0.17721618711948395, -0.08052504062652588, 0.025841953232884407, 0.3973589837551117, 0.01881536841392517, 0.17916081845760345, 0.23062776029109955, -0.22838036715984344, 0.24591101706027985, 0.09201517701148987, -0.545252799987793, 0.14397244155406952, -0.02223186008632183, -0.2843817472457886, 0.0973835289478302, 0.337189644575119, 0.1572902649641037, 0.024438144639134407, -0.392368346452713, -0.6259525418281555, 0.3662170469760895, -0.4166112542152405, -0.04448358714580536, -0.3538832366466522, 0.2894849479198456, 0.19428639113903046, -0.0561385303735733, -0.15261225402355194, 0.14885613322257996, 0.18231448531150818, -0.09062156826257706, -0.42693600058555603, 0.058985549956560135, -0.015144387260079384, -0.007417475339025259, -0.07645446062088013, -0.40314334630966187, 0.5035796165466309, -0.3456217348575592, -0.6021493673324585, -0.06902854889631271 ]
https://github.com/huggingface/datasets/issues/1844
Update Open Subtitles corpus with original sentence IDs
Something like this? (adapted from [here](https://github.com/huggingface/datasets/blob/master/datasets/open_subtitles/open_subtitles.py#L114)) ```python result = ( sentence_counter, { "id": str(sentence_counter), "meta": { "year": year, "imdbId": imdb_id, "subtitleId": {l1: l1_sub_id, l2: l2_sub_id}, "sentenceIds": {l1: [... source_sids ...], l2: [... target_sids ...]}, # or maybe src/tgt? I'd go with the first one for consistency with 'translation' "subtitleId": {"src": l1_sub_id, "tgt": l2_sub_id}, "sentenceIds": {"src": [... source_sids ...], "tgt": [... target_sids ...]}, }, "translation": {l1: x, l2: y}, }, ) ``` Or at top level, avoiding nesting into 'meta'?
Hi! It would be great if you could add the original sentence ids to [Open Subtitles](https://huggingface.co/datasets/open_subtitles). I can think of two reasons: first, it's possible to gather sentences for an entire document (the original ids contain media id, subtitle file id and sentence id), therefore somewhat allowing for document-level machine translation (and other document-level stuff which could be cool to have); second, it's possible to have parallel sentences in multiple languages, as they share the same ids across bitexts. I think I should tag @abhishekkrthakur as he's the one who added it in the first place. Thanks!
79
Update Open Subtitles corpus with original sentence IDs
[ 0.04277856647968292, 0.25259846448898315, -0.12483842670917511, -0.20502665638923645, -0.2311762571334839, -0.06385817378759384, 0.40139827132225037, 0.22566846013069153, -0.026119064539670944, -0.07438667863607407, -0.5134094953536987, 0.13408923149108887, 0.27772271633148193, -0.2675037086009979, -0.04808015748858452, -0.28492745757102966, 0.08584883064031601, 0.11518573760986328, 0.4449804723262787, -0.21059828996658325, -0.3585990369319916, 0.19729739427566528, -0.12698246538639069, -0.07113653421401978, 0.10230343043804169, 0.16687576472759247, -0.19133836030960083, 0.039494022727012634, 0.0204461682587862, -0.30108675360679626, -0.11688008159399033, 0.43805715441703796, 0.16806405782699585, 0.2051701545715332, -0.00010750324872788042, -0.06612490117549896, 0.05464407429099083, -0.18128511309623718, -0.2074371576309204, 0.2977668344974518, 0.07310988754034042, -0.0013513308949768543, -0.3655538260936737, -0.32283973693847656, -0.05230255052447319, -0.01406913809478283, 0.11252663284540176, -0.539118230342865, -0.06701485812664032, 0.12685498595237732, 0.16246025264263153, -0.021957701072096825, -0.15849609673023224, -0.06349057704210281, 0.4216916561126709, -0.23236587643623352, 0.48301222920417786, 0.1122651994228363, 0.3869549632072449, 0.15167516469955444, -0.18572671711444855, 0.466375470161438, -0.4362238049507141, -0.3513147532939911, -0.37697863578796387, -0.078093022108078, 0.04388944432139397, -0.02351217530667782, -0.0042932466603815556, -0.034054599702358246, 0.35056057572364807, -0.12705610692501068, -0.4536774754524231, -0.04849158227443695, -0.08495226502418518, -0.09998539090156555, -0.31819409132003784, 0.23470963537693024, 0.39358776807785034, 0.1802041232585907, 0.2591961920261383, -0.25747230648994446, 0.12972426414489746, -0.2532448172569275, -0.001016039401292801, 0.1697220355272293, 0.23924121260643005, -0.20671509206295013, -0.042321451008319855, -0.2584017515182495, -0.2781056761741638, 0.21355707943439484, -0.39870455861091614, -0.07609903067350388, 0.12552297115325928, -0.09376461058855057, -0.010258100926876068, -0.5785166025161743, -0.23563167452812195, 0.031699638813734055, 0.20093123614788055, 0.36302441358566284, -0.2489129900932312, 0.03279291093349457, 0.05533464998006821, 0.2938365042209625, 0.44410014152526855, 0.0911138579249382, -0.07139842957258224, 0.06432028114795685, -0.3488597571849823, 0.04291258379817009, -0.21078193187713623, 0.08389295637607574, -0.2850813865661621, 0.3017275035381317, 0.0613902285695076, 0.13967181742191315, -0.0764816403388977, 0.2127423882484436, -0.3211384117603302, -0.0032259514555335045, -0.4092678725719452, 0.07958614081144333, -0.0055837021209299564, 0.17657631635665894, 0.34988701343536377, -0.06758114695549011, -0.2526129484176636, -0.28272825479507446, -0.20733685791492462, 0.09642919898033142, 0.10144069790840149, -0.21898068487644196, -0.15719373524188995, -0.260923832654953, 0.22417184710502625, -0.21938830614089966, -0.10029397904872894, -0.16727785766124725, -0.2910555899143219, 0.08005598187446594, 0.18622562289237976, -0.21042487025260925, 0.2056381106376648, -0.15402978658676147, -0.1315937638282776, -0.337775856256485, 0.041412077844142914, 0.11541707068681717, 0.0001289829087909311, 0.004548453260213137, -0.10342341661453247, 0.2140161246061325, -0.0643792375922203, -0.2243930548429489, 0.31991472840309143, 0.21798084676265717, 0.19429507851600647, -0.2501893639564514, 0.09135375916957855, 0.0950923040509224, -0.19135183095932007, 0.13311628997325897, -0.1502082496881485, 0.6236193180084229, 0.023854056373238564, -0.08293183147907257, 0.5938904881477356, 0.17643730342388153, 0.17925305664539337, 0.12698225677013397, 0.4817846119403839, -0.18319404125213623, 0.15767201781272888, 0.2663992643356323, -0.29347747564315796, -0.6422598361968994, -0.23041929304599762, 0.006679986137896776, 0.09933249652385712, 0.0032011722214519978, 0.3311651945114136, -0.1721239686012268, 0.5732699632644653, -0.3471333682537079, 0.030981050804257393, -0.06924007833003998, 0.11927538365125656, 0.1524505317211151, -0.14944303035736084, -0.08595958352088928, -0.470796674489975, 0.00024276267504319549, 0.05376027524471283, 0.2765474319458008, 0.17391744256019592, 0.20366130769252777, 0.43955519795417786, -0.1311500072479248, 0.1527959108352661, 0.030571555718779564, -0.21946367621421814, 0.32753652334213257, 0.2354421615600586, 0.06306416541337967, 0.2182026207447052, -0.11972552537918091, 0.24226242303848267, 0.3131183385848999, 0.24141977727413177, -0.24371688067913055, -0.07278550416231155, -0.004274992737919092, 0.3518046438694, -0.004060971084982157, 0.19729751348495483, 0.21077649295330048, -0.36518219113349915, 0.18255294859409332, -0.21016941964626312, -0.07600273191928864, -0.05756227299571037, -0.02407670207321644, -0.19887199997901917, -0.1348520964384079, 0.13492423295974731, -0.11471125483512878, 0.20434990525245667, 0.05731979385018349, 0.010034812614321709, 0.21096467971801758, -0.03632764890789986, 0.338946670293808, -0.012858489528298378, 0.37663960456848145, -0.13047955930233002, -0.24727152287960052, 0.20066772401332855, -0.2827301025390625, 0.21260665357112885, 0.007320692762732506, -0.21367985010147095, 0.12733902037143707, -0.05525202676653862, 0.10117240995168686, 0.12877720594406128, -0.15795667469501495, 0.22378097474575043, -0.03593450412154198, 0.00022297196846920997, -0.1118665263056755, -0.38134777545928955, -0.3944796323776245, -0.14113347232341766, 0.02008550986647606, -0.4086877107620239, 0.16435711085796356, -0.07374487072229385, 0.13263282179832458, 0.44564497470855713, -0.006851790007203817, 0.0519084557890892, 0.06160476803779602, -0.10483530908823013, 0.04105982929468155, 0.001443800050765276, 0.028609514236450195, -0.2616201639175415, 0.2491389662027359, 0.28653115034103394, 0.07926193624734879, 0.3409962058067322, -0.24258415400981903, 0.2669545114040375, 0.05583339184522629, -0.0971527248620987, 0.12127934396266937, 0.20836241543293, 0.09436620026826859, -0.27788031101226807, 0.4774665832519531, -0.01521524041891098, -0.03720375895500183, -0.04149452969431877, 0.059366144239902496, -0.26953139901161194, -0.2964501678943634, 0.05668782442808151, -0.4273950159549713, 0.31118273735046387, 0.25029975175857544, 0.19595767557621002, 0.0027209119871258736, -0.4085804522037506, 0.3995646834373474, 0.13577651977539062, 0.06240512430667877, 0.05652840808033943, 0.11774928122758865, 0.3106714189052582, -0.3950166404247284, 0.17408236861228943, 0.08531948924064636, -0.22780948877334595, -0.1682351678609848, -0.17903459072113037, -0.2829165756702423, 0.010602551512420177, -0.23745714128017426, -0.12742343544960022, -0.025428393855690956, 0.17081354558467865, -0.32813575863838196, 0.2861367464065552, -0.24418717622756958, -0.13201411068439484, -0.22117717564105988, -0.1309201568365097, -0.15122996270656586, -0.12308888882398605, -0.2510872781276703, 0.07694142311811447, 0.09043075144290924, -0.14899387955665588, -0.37897932529449463, -0.02673252671957016, -0.4230935871601105, 0.2970218360424042, 0.16598545014858246, 0.3055707812309265, 0.34377455711364746, -0.020822107791900635, -0.46868225932121277, 0.1399523764848709, 0.23525863885879517, -0.054568707942962646, -0.24829117953777313, -0.011973333545029163, -0.2507404386997223, -0.11894454061985016, -0.23423868417739868, -0.2874811291694641, -0.09474240988492966, 0.04660516604781151, 0.05742048844695091, 0.1212032362818718, 0.2777462601661682, -0.39492273330688477, 0.3296119272708893, 0.14847072958946228, 0.15828441083431244, 0.11999861150979996, -0.27369558811187744, -0.42724841833114624, -0.07955624163150787, 0.36679807305336, 0.17449703812599182, -0.06904271245002747, -0.05929882079362869, 0.06629033386707306, -0.01530216634273529, -0.16386878490447998, -0.010226932354271412, -0.01928405463695526, 0.27731984853744507, 0.03429258242249489, 0.11688528954982758, 0.195184126496315, -0.1953846663236618, -0.1674434095621109, 0.05851996690034866, 0.089168019592762, 0.5005996227264404, 0.12383846938610077, -0.4002535939216614, 0.053920093923807144, -0.3071829080581665, -0.17240594327449799, -0.20301681756973267, -0.16873568296432495, -0.28047969937324524, 0.3759438693523407, 0.40914472937583923, 0.1167169064283371, -0.2840043008327484, 0.09669949114322662, 0.18925470113754272, -0.21667353808879852, 0.5968816876411438, -0.019693739712238312, 0.027838991954922676, 0.26206880807876587, 0.22637240588665009, 0.23230881989002228, 0.3486112058162689, 0.11893486976623535, 0.3180156648159027, -0.4195285141468048, -0.11253844201564789, -0.02093147672712803, 0.08645831793546677, -0.17149555683135986, -0.0847945436835289, 0.1447947472333908, 0.0996583104133606, -0.0956592932343483, 0.04891204833984375, -0.004927977919578552, -0.2657231092453003, 0.5457899570465088, -0.18141131103038788, -0.10761219263076782, 0.32128360867500305, 0.24376682937145233, -0.4243662655353546, -0.13451342284679413, 0.014948582276701927, -0.09262671321630478, -0.1758439987897873, -0.5461246371269226, 0.04340327903628349, 0.09995367377996445, -0.1994912028312683, 0.2037622183561325, 0.10263000428676605, -0.20585443079471588, 0.05950891599059105, 0.1619807332754135, -0.06721976399421692, 0.12964193522930145, 0.5865116119384766, -0.007114431820809841, -0.17852841317653656, 0.17438897490501404, 0.3330731987953186, 0.2867470681667328, -0.4586872160434723, 0.21470873057842255, -0.14282788336277008, 0.09156148135662079, 0.15307912230491638, 0.24597607553005219, 0.34305891394615173, 0.05752470716834068, 0.08401258289813995, -0.2476927787065506, 0.020040350034832954, 0.09750626236200333, -0.18397194147109985, -0.03693612664937973, 0.08968333154916763, -0.5299935340881348, -0.007227434776723385, -0.293489545583725, -0.24105922877788544, -0.5398592352867126, 0.10903950035572052, -0.10771249234676361, 0.3535342812538147, 0.4060933589935303, 0.5729113221168518, 0.2755356431007385, -0.07104116678237915, -0.04614200070500374, -0.07363302260637283, 0.45261529088020325, 0.0281047485768795, 0.13187603652477264, -0.2211441546678543, -0.2502564489841461, 0.1063278466463089, 0.11820416897535324, -0.2689173221588135, -0.15941838920116425, -0.32849958539009094, -0.18153540790081024, 0.40714332461357117, -0.09777253121137619, 0.23242951929569244, 0.01791907474398613, 0.07721938192844391, -0.313666433095932, 0.04359131306409836, 0.1330036222934723, 0.04534689709544182, 0.049172282218933105, 0.002832037629559636, -0.18219278752803802, 0.3006254732608795, 0.07527206838130951, -0.027908870950341225, 0.11228149384260178, 0.013343616388738155, -0.12057767063379288, -0.12573003768920898, 0.07609780877828598, -0.1465635448694229, 0.1383242905139923, 0.4393417239189148, 0.25466394424438477, 0.409602552652359, 0.19449187815189362, 0.7209328413009644, -0.21290971338748932, 0.1615680456161499, 0.2608709931373596, 0.3123103678226471, -0.13854937255382538, -0.17361731827259064, -0.14945527911186218, 0.21768389642238617, -0.1291639804840088, -0.030690617859363556, -0.14778827130794525, 0.13573436439037323, 0.06241031363606453, 0.138758584856987, 0.15473178029060364, -0.2082255631685257, -0.24389125406742096, 0.122929647564888, -0.3050677180290222, -0.06273359060287476, 0.04928332939743996, -0.07472091168165207, -0.2184377759695053, -0.07419297844171524, 0.5520706176757812, 0.22559960186481476, -0.24198803305625916, 0.26248717308044434, 0.343950092792511, 0.023743951693177223, -0.13304699957370758, -0.35399413108825684, -0.41659265756607056, -0.11548255383968353, 0.2824702560901642, -0.3899971842765808, -0.3389844000339508, 0.18758732080459595, 0.04959991201758385, -0.026148788630962372, 0.424032598733902, -0.10936901718378067, 0.15097665786743164, -0.4363778829574585, 0.08072780817747116, -0.15649870038032532, 0.0719728171825409, 0.11137476563453674, -0.24691841006278992, -0.14898931980133057, 0.0508342981338501, -0.3438278138637543, 0.0003763980930671096, 0.03759010508656502, 0.055143989622592926, 0.5080351233482361, -0.07171458750963211, -0.2658630311489105, -0.26049116253852844, 0.14829720556735992, 0.2304721176624298, 0.08176857978105545, -0.25833046436309814, -0.21971696615219116, 0.06455402076244354, -0.11148568987846375, 0.1842382401227951, -0.013683448545634747, 0.046625666320323944, -0.10524635761976242, -0.08951130509376526, -0.09416578710079193, 0.16907347738742828, 0.011007975786924362, 0.23093366622924805, 0.05713308975100517, 0.16420133411884308, 0.24726742506027222, -0.029765916988253593, 0.11207239329814911, 0.2452089935541153, -0.3174766004085541, -0.10821346938610077, -0.23701202869415283, -0.2015475481748581, 0.45978254079818726, 0.03627583384513855, 0.3891855478286743, 0.1577194631099701, 0.3081226944923401, -0.012458881363272667, -0.0040888115763664246, 0.2507535219192505, -0.06349731236696243, 0.01992282085120678, 0.009496594779193401, -0.19812022149562836, -0.01743278093636036, 0.2895844280719757, -0.2336668074131012, 0.13706539571285248, -0.06973716616630554, -0.27746152877807617, 0.1625480353832245, 0.3204616606235504, 0.14783138036727905, -0.11833790689706802, 0.10049954056739807, 0.3629395067691803, 0.1863754391670227, 0.1709241271018982, -0.024195723235607147, 0.361905962228775, 0.1677202433347702, -0.08355417847633362, -0.05974510312080383, -0.1365262120962143, 0.2728285789489746, -0.0022852702531963587, 0.15909188985824585, 0.05679155886173248, 0.6861695051193237, 0.20140062272548676, 0.12792658805847168, 0.2239406406879425, 0.017485374584794044, 0.24076904356479645, 0.26661452651023865, 0.29458561539649963, 0.21869945526123047, -0.06003424525260925, 0.4790855050086975, -0.0944778099656105, 0.17365799844264984, 0.7519161701202393, -0.021703805774450302, -0.4609658420085907, -0.49301981925964355, 0.05670235678553581, 0.05018011853098869, -0.1455085277557373, -0.005442007910460234, 0.3202532231807709, -0.3894907534122467, -0.03931089863181114, 0.17473730444908142, -0.13671454787254333, -0.3814674913883209, -0.619393527507782, 0.43168890476226807, -0.2991020977497101, 0.09331762790679932, 0.2859072685241699, 0.08688872307538986, 0.43487727642059326, 0.4442967474460602, 0.1144256740808487, 0.024003008380532265, 0.05336742475628853, 0.11936429142951965, -0.06842802464962006, -0.06641160696744919, -0.09804053604602814, -0.03669089451432228, 0.2820934057235718, 0.09799650311470032, -0.03407876193523407, 0.1352657526731491, -0.2011234313249588, 0.22426141798496246, 0.017619717866182327, -0.15117444097995758, 0.22747716307640076, 0.3262101709842682, 0.3209470510482788, -0.07772745937108994, -0.04540332779288292, 0.021832598373293877, -0.23538868129253387, -0.10477614402770996, 0.15379172563552856, -0.14806216955184937, 0.060520488768815994, 0.18179823458194733, 0.13773959875106812, 0.21682675182819366, 0.17196419835090637, 0.09193921834230423, 0.1266990751028061, 0.1208241730928421, -0.14924761652946472, -0.21007001399993896, 0.030271416530013084, 0.3336339592933655, -0.18386408686637878, 0.04117068275809288, -0.0641348734498024, 0.49416011571884155, 0.24908919632434845, -0.29528728127479553, -0.013017869554460049, -0.19828619062900543, 0.08359601348638535, -0.3076917827129364, 0.19709870219230652, 0.19329862296581268, 0.18055221438407898, 0.0649813860654831, 0.030195889994502068, -0.26613324880599976, -0.36168932914733887, 0.2408667802810669, 0.21041345596313477, -0.18872372806072235, -0.01732894591987133, 0.17295370995998383, 0.03433496877551079, -0.20398961007595062, -0.10006343573331833, -0.3297027051448822, -0.1005515456199646, -0.06398354470729828, -0.3092077374458313, -0.17721618711948395, -0.08052504062652588, 0.025841953232884407, 0.3973589837551117, 0.01881536841392517, 0.17916081845760345, 0.23062776029109955, -0.22838036715984344, 0.24591101706027985, 0.09201517701148987, -0.545252799987793, 0.14397244155406952, -0.02223186008632183, -0.2843817472457886, 0.0973835289478302, 0.337189644575119, 0.1572902649641037, 0.024438144639134407, -0.392368346452713, -0.6259525418281555, 0.3662170469760895, -0.4166112542152405, -0.04448358714580536, -0.3538832366466522, 0.2894849479198456, 0.19428639113903046, -0.0561385303735733, -0.15261225402355194, 0.14885613322257996, 0.18231448531150818, -0.09062156826257706, -0.42693600058555603, 0.058985549956560135, -0.015144387260079384, -0.007417475339025259, -0.07645446062088013, -0.40314334630966187, 0.5035796165466309, -0.3456217348575592, -0.6021493673324585, -0.06902854889631271 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
That's awesome! Actually, I just noticed that this dataset might become a bit too big! MuST-C is the main dataset used for IWSLT19 and should probably be added as a standalone dataset. Would you be interested also in adding `datasets/MuST-C` instead? Description: _MuST-C is a multilingual speech translation corpus whose size and quality facilitates the training of end-to-end systems for speech translation from English into several languages. For each target language, MuST-C comprises several hundred hours of audio recordings from English TED Talks, which are automatically aligned at the sentence level with their manual transcriptions and translations._ Paper: https://www.aclweb.org/anthology/N19-1202.pdf Dataset: https://ict.fbk.eu/must-c/ (One needs to fill out a short from to download the data, but it's very easy). It would be awesome if you're interested in adding this datates. I'm very happy to guide you through the PR! I think the easiest way to start would probably be to read [this README on how to add a dataset](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md) and open a PR. Think you can copy & paste some code from: - Librispeech_asr: https://github.com/huggingface/datasets/blob/master/datasets/librispeech_asr/librispeech_asr.py - Flores Translation: https://github.com/huggingface/datasets/blob/master/datasets/flores/flores.py Think all the rest can be handled on the PR :-)
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
188
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Hi @patrickvonplaten I have tried downloading this dataset, but the connection seems to reset all the time. I have tried it via the browser, wget, and using gdown . But it gives me an error message. _"The server is busy or down, pls try again"_ (rephrasing the message here) I have completed adding 4 datasets in the previous data sprint (including the IWSLT dataset #1676 ) ...so just checking if you are able to download it at your end. Otherwise will write to the dataset authors to update the links.
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
90
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
@skyprince999, I think I'm getting the same error you're getting :-/ ``` Sorry, you can't view or download this file at this time. Too many users have viewed or downloaded this file recently. Please try accessing the file again later. If the file you are trying to access is particularly large or is shared with many people, it may take up to 24 hours to be able to view or download the file. If you still can't access a file after 24 hours, contact your domain administrator. ``` It would be great if you could write the authors to see whether they can fix it. Also cc @lhoestq - do you think we could mirror the dataset?
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
117
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Also there are huge those datasets. Think downloading MuST-C v1.2 amounts to ~ 1000GB... because there are 14 possible configs each around 60-70GB. I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in `datasets` no? cc @lhoestq
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
64
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
> Also cc @lhoestq - do you think we could mirror the dataset? Yes we can mirror it if the authors are fine with it. You can create a dataset repo on huggingface.co (possibly under the relevant org) and add the mirrored data files. > I think users mostly will only use one of the 14 configs so that they would only need, in theory, will have to download ~60GB which is ok. But I think this functionality doesn't exist yet in datasets no? cc @lhoestq If there are different download links for each configuration we can make the dataset builder download only the files related to the requested configuration.
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
110
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
I have written to the dataset authors, highlighting this issue. Waiting for their response. Update on 25th Feb: The authors have replied back, they are updating the download link and will revert back shortly! ``` first of all thanks a lot for being interested in MuST-C and for building the data-loader. Before answering your request, I'd like to clarify that the creation, maintenance, and expansion of MuST-c are not supported by any funded project, so this means that we need to find economic support for all these activities. This also includes permanently moving all the data to AWS or GCP. We are working at this with the goal of facilitating the use of MuST-C, but this is not something that can happen today. We hope to have some news ASAP and you will be among the first to be informed. I hope you understand our situation. ```
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
147
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Awesome, actually @lhoestq let's just ask the authors if we should host the dataset no? They could just use our links then as well for their website - what do you think? Is it fine to use our AWS dataset storage also as external links?
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
45
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Yes definitely. Shall we suggest them to create a dataset repository under their org on huggingface.co ? @julien-c The dataset is around 1TB
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
23
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Sounds good! Order of magnitude is storage costs ~$20 per TB per month (not including bandwidth). Happy to provide this to the community as I feel this is an important dataset. Let us know what the authors want to do!
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
40
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Great! @skyprince999, do you think you could ping the authors here or link to this thread? I think it could be a cool idea to host the dataset on our side then
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
32
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Done. They replied back, and they want to have a call over a meet/ skype. Is that possible ? Btw @patrickvonplaten you are looped in that email (_pls check you gmail account_)
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
32
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
@gegallego there were some concerns regarding dataset usage & attribution by a for-profit company, so couldn't take it forward. Also the download links were unstable. But I guess if you want to test the fairseq benchmarks, you can connect with them directly for downloading the dataset.
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
46
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
Yes, that dataset is not easy to download... I had to copy it to my Google Drive and use `rsync` to be able to download it. However, we could add the dataset with a manual download, right?
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
37
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1843
MustC Speech Translation
yes that is possible. I couldn't unfortunately complete this PR, If you would like to add it, please feel free to do it.
## Adding a Dataset - **Name:** *IWSLT19* - **Description:** *The Speech Translation Task addresses the translation of English audio into German and Portuguese text.* - **Hompage:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - **Data:** *https://sites.google.com/view/iwslt-evaluation-2019/speech-translation* - all data under "Allowed Training Data" and "Development and Evalutaion Data for TED/How2" - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
23
MustC Speech Translation
[ -0.011017560958862305, -0.3373340666294098, -0.2573937475681305, 0.004720358643680811, 0.07289209216833115, -0.2747299373149872, -0.18891073763370514, -0.010005288757383823, -0.4215596914291382, 0.22403286397457123, -0.25462839007377625, -0.2635307312011719, -0.10040315240621567, -0.050110846757888794, 0.061146385967731476, -0.08630110323429108, -0.014271048828959465, 0.08811009675264359, -0.4455799162387848, -0.2896556854248047, 0.08084486424922943, 0.06251717358827591, -0.1893121898174286, 0.25262826681137085, 0.13440260291099548, 0.14232449233531952, -0.11242799460887909, 0.10556649416685104, 0.07453363388776779, 0.03880567103624344, 0.07156333327293396, 0.11565990746021271, 0.0011214137775823474, -0.18364614248275757, -0.00010817014845088124, -0.2716141939163208, 0.37788423895835876, -0.10031012445688248, -0.14012029767036438, -0.32419872283935547, -0.32524120807647705, -0.25545287132263184, -0.34325170516967773, -0.21588751673698425, -0.39513400197029114, -0.06186829134821892, 0.5353222489356995, 0.280343621969223, 0.20885060727596283, 0.3276154100894928, 0.21903780102729797, -0.2441396713256836, -0.07474751770496368, -0.15778806805610657, 0.1286068558692932, 0.16037006676197052, 0.020830633118748665, 0.0995679721236229, 0.091158926486969, 0.03412949666380882, 0.09936463832855225, 0.01578994281589985, -0.03085126355290413, -0.3371695578098297, 0.02698659524321556, -0.5226396322250366, -0.14792248606681824, 0.06815981864929199, 0.08575639873743057, 0.1636703461408615, 0.2829008400440216, -0.13634391129016876, 0.10537508875131607, 0.4993697702884674, 0.1375381052494049, -0.053926125168800354, -0.059421468526124954, -0.019194208085536957, 0.08563212305307388, 0.2765490710735321, 0.18681608140468597, -0.2682925760746002, -0.4913786053657532, 0.11846223473548889, -0.342342346906662, 0.12105799466371536, -0.11688730865716934, -0.2633512616157532, 0.009220062755048275, -0.1339416354894638, -0.08794890344142914, 0.19062969088554382, -0.018507950007915497, -0.035208627581596375, 0.07466872781515121, -0.2803737223148346, 0.19197359681129456, 0.2781417965888977, -0.2941434979438782, -0.5314536690711975, -0.2916190028190613, 0.09843769669532776, -0.3617296516895294, 0.089244045317173, -0.08423053473234177, 0.23947708308696747, 0.39393749833106995, 0.39639604091644287, -0.31640782952308655, -0.31007450819015503, -0.26600900292396545, 0.09218760579824448, -0.09389150142669678, 0.04037635773420334, -0.44146859645843506, 0.3328820765018463, -0.5485197305679321, 0.04782755300402641, -0.25874730944633484, 0.24825729429721832, -0.05650293827056885, 0.1335848867893219, -0.39451807737350464, 0.1663057804107666, 0.11574605852365494, 0.2292121797800064, 0.18810942769050598, 0.011399662122130394, -0.028967689722776413, -0.2610194683074951, -0.22766712307929993, 0.3327011466026306, -0.31934255361557007, 0.07778268307447433, -0.33504071831703186, 0.21846285462379456, 0.23054514825344086, -0.10817146301269531, 0.486537903547287, -0.02031794749200344, -0.4035530090332031, -0.03595683351159096, -0.007810941897332668, -0.15751922130584717, -0.06328950822353363, -0.10843892395496368, 0.011092820204794407, 0.09481249749660492, 0.033182255923748016, 0.21129192411899567, 0.3270820081233978, -0.1328127086162567, 0.2815244793891907, 0.21430891752243042, -0.08711376786231995, -0.2289835661649704, 0.23157289624214172, 0.289167195558548, -0.22227585315704346, -0.20622992515563965, 0.061121515929698944, 0.009125855751335621, -0.12866175174713135, 0.10367383062839508, -0.24747119843959808, -0.047125495970249176, 0.005391117185354233, 0.04887006804347038, 0.1319192498922348, 0.06629709899425507, 0.201151043176651, 0.2553938329219818, 0.04148593917489052, 0.13499730825424194, -0.06599044054746628, 0.16117741167545319, 0.09519612044095993, -0.6324787139892578, -0.06998570263385773, 0.25691667199134827, 0.017404144629836082, -0.16530773043632507, 0.18316438794136047, -0.20857831835746765, 0.5877742171287537, -0.23331572115421295, 0.09636014699935913, 0.0665956363081932, 0.1509750783443451, -0.038319118320941925, -0.36067837476730347, -0.13930349051952362, 0.11269155889749527, -0.047015659511089325, 0.16010233759880066, 0.30235615372657776, 0.4361628592014313, 0.3112104833126068, 0.49289411306381226, 0.027344541624188423, -0.19835150241851807, 0.0418340340256691, -0.0477900430560112, -0.21466918289661407, -0.11857766658067703, 0.1358894258737564, 0.45561882853507996, -0.4177260100841522, -0.07448776811361313, 0.5276225209236145, 0.3591124713420868, 0.04070601612329483, -0.16473115980625153, -0.3898044228553772, 0.41243162751197815, 0.2822624742984772, 0.24587906897068024, -0.03936807066202164, -0.19500672817230225, 0.11692246049642563, -0.03631753474473953, 0.4065306782722473, -0.3736976981163025, -0.39454084634780884, 0.1341286301612854, 0.005780090112239122, 0.10760693997144699, 0.030015986412763596, 0.03431307524442673, -0.031386785209178925, 0.27292922139167786, -0.017846500501036644, -0.0007492137374356389, -0.004363139159977436, -0.1834264099597931, 0.41907262802124023, -0.2482944279909134, -0.05588812753558159, 0.31446918845176697, -0.6951439380645752, 0.3125642240047455, -0.17890769243240356, 0.03505818545818329, -0.15455596148967743, 0.21449385583400726, 0.3031621277332306, 0.05507562309503555, 0.19543321430683136, 0.2672256529331207, -0.14551742374897003, 0.35788360238075256, 0.14285868406295776, -0.27150291204452515, -0.05924202501773834, 0.23865610361099243, 0.7282431721687317, -0.3632079064846039, 0.1482527256011963, -0.22526152431964874, 0.03917314112186432, 0.4966239333152771, -0.14226529002189636, 0.02229207195341587, 0.056112609803676605, 0.11628516763448715, -0.07835210859775543, 0.10242483764886856, -0.3608474135398865, 0.13283464312553406, 0.3626210689544678, 0.27240583300590515, 0.17827041447162628, -0.021519016474485397, -0.1457458734512329, 0.32006722688674927, -0.1784260869026184, -0.18492785096168518, -0.06023743003606796, -0.12133290618658066, -0.267637699842453, -0.09021276235580444, -0.027423670515418053, 0.014116713777184486, -0.015360918827354908, -0.04202476888895035, -0.2835226356983185, -0.3002799451351166, -0.1906946301460266, 0.20673274993896484, -0.08432658016681671, -0.04091290012001991, -0.0921982005238533, 0.15696647763252258, -0.05129876360297203, -0.04261034354567528, -0.013372015208005905, 0.12986281514167786, 0.2043008655309677, -0.2418999820947647, 0.15145328640937805, -0.09212122857570648, -0.43748632073402405, -0.20497968792915344, 0.13330242037773132, -0.0587187223136425, 0.015986038371920586, -0.2905453145503998, -0.28201112151145935, 0.10728086531162262, 0.06363071501255035, -0.13219240307807922, 0.036092501133680344, -0.2502514719963074, -0.21676155924797058, 0.10219922661781311, -0.1604253202676773, -0.11936008185148239, -0.012281730771064758, -0.14254054427146912, 0.24000096321105957, -0.07065554708242416, 0.13520780205726624, -0.23668226599693298, -0.07605327665805817, -0.2536498010158539, 0.04496268928050995, -0.36563506722450256, -0.38462984561920166, 0.2972739040851593, -0.3135428726673126, 0.1814776360988617, 0.32905954122543335, -0.06721676141023636, -0.18791523575782776, -0.34916678071022034, 0.23548899590969086, -0.07523743808269501, -0.31259363889694214, -0.1524045467376709, -0.1797708421945572, -0.0770646184682846, -0.20293483138084412, 0.005214684642851353, 0.3437197208404541, -0.07075439393520355, -0.09159161150455475, 0.07145194709300995, -0.04395727440714836, 0.1729266345500946, -0.1140657365322113, 0.08728332072496414, -0.016963953152298927, -0.2833685576915741, -0.1874546855688095, -0.19887550175189972, -0.18736767768859863, 0.318447083234787, 0.42492160201072693, 0.24185588955879211, -0.1056409403681755, 0.13373114168643951, 0.1276896446943283, 0.362414687871933, -0.02261393330991268, 0.11291802674531937, 0.0024071724619716406, 0.06133579835295677, 0.3633548617362976, 0.2344968616962433, 0.02887876145541668, 0.16034504771232605, 0.462398499250412, -0.40371644496917725, 0.19443678855895996, -0.15537098050117493, -0.22827473282814026, 0.11782422661781311, -0.4305689334869385, -0.12446091324090958, -0.19354186952114105, 0.018704548478126526, -0.3954192101955414, 0.20708557963371277, 0.19901183247566223, -0.22511078417301178, -0.0375480055809021, 0.034501392394304276, -0.01206616684794426, 0.24731135368347168, 0.24506975710391998, 0.10304620862007141, 0.2798687815666199, -0.3903643786907196, 0.18704022467136383, -0.30682146549224854, 0.18825143575668335, 0.363565593957901, -0.4796432852745056, -0.09690635651350021, 0.03574332222342491, 0.12000060081481934, 0.47698915004730225, -0.22043736279010773, -0.18428948521614075, 0.33252543210983276, 0.5048826932907104, -0.2045796513557434, 0.18080049753189087, 0.04627835005521774, -0.14341548085212708, 0.5878491401672363, 0.048024360090494156, -0.04987605661153793, 0.047944847494363785, -0.10011456161737442, -0.11832086741924286, 0.0013910168781876564, -0.2955244779586792, 0.03248985856771469, -0.07149121910333633, -0.012432065792381763, 0.4088594913482666, 0.249337837100029, -0.20907078683376312, 0.054597776383161545, -0.010467065498232841, 0.06065690144896507, -0.1140919029712677, 0.38293761014938354, -0.08733728528022766, 0.030870581045746803, -0.011510282754898071, -0.06670159846544266, -0.3169791102409363, -0.21710361540317535, -0.42834410071372986, -0.13891728222370148, 0.15462817251682281, -0.15695986151695251, -0.016451984643936157, -0.019775312393903732, 0.4349864721298218, 0.08388706296682358, 0.06433380395174026, 0.05293973535299301, -0.06780047714710236, 0.03525104373693466, 0.2578287720680237, 0.15638907253742218, -0.1547199785709381, 0.20870721340179443, -0.07484109699726105, -0.21505117416381836, 0.16017590463161469, -0.23815856873989105, -0.11115479469299316, -0.07603044807910919, 0.2662089169025421, -0.3827957808971405, 0.14141429960727692, 0.07621575891971588, 1.415698528289795, 0.11032792925834656, 0.051378339529037476, -0.2018355429172516, -0.19884397089481354, 0.1936529129743576, -0.40442731976509094, -0.10037785768508911, 0.02963307686150074, 0.13645751774311066, -0.011244162917137146, 0.14653649926185608, 0.1042749360203743, 0.22099249064922333, -0.4899490475654602, 0.2576872706413269, -0.14097890257835388, -0.09074559807777405, 0.29323655366897583, 0.054506346583366394, -0.3004518449306488, 0.11890976876020432, -0.1630149930715561, 0.1315818876028061, 0.2038501799106598, -0.001146386843174696, 0.13810062408447266, -0.12243998795747757, 0.5043438076972961, 0.03888703137636185, -0.3034341633319855, 0.23608140647411346, -0.3019275367259979, -0.21725523471832275, -0.25039011240005493, 0.40738925337791443, 0.45427897572517395, 0.2041996568441391, 0.39627623558044434, 0.28150543570518494, 0.20719270408153534, 0.164939746260643, 0.34880438446998596, -0.11803573369979858, 0.08412972837686539, 0.1407296061515808, 0.04704216867685318, -0.2417907416820526, -0.3747425079345703, 0.4530252516269684, 0.038728054612874985, 0.020376980304718018, -0.47138500213623047, 0.15119226276874542, 0.1501368284225464, 0.3981316089630127, 0.05944272130727768, 0.7633485198020935, -0.18846465647220612, 0.010472341440618038, 0.17862404882907867, 0.07856828719377518, -0.12926506996154785, 0.40300893783569336, -0.2225068211555481, -0.39951708912849426, -0.18491391837596893, 0.10909812897443771, 0.2080276906490326, -0.08854886889457703, 0.10859531164169312, -0.0525367446243763, -0.16743148863315582, -0.41558894515037537, -0.2408582717180252, -0.3585863709449768, -0.3028317391872406, 0.08559037744998932, 0.12938165664672852, -0.2281821072101593, -0.06750388443470001, 0.26456597447395325, 0.007859451696276665, 0.17602992057800293, -0.3009820282459259, 0.07211510092020035, -0.29741644859313965, -0.051913391798734665, -0.07875469326972961, -0.054112158715724945, 0.16946713626384735, 0.44024261832237244, -0.0557762049138546, -0.08506298810243607, -0.38424918055534363, -0.08165555447340012, 0.1241857260465622, 0.03919178619980812, -0.2491258978843689, -0.18217940628528595, 0.11377240717411041, 0.01852254942059517, 0.2832382321357727, 0.3227780759334564, 0.0022519344929605722, -0.2993113398551941, -0.08287530392408371, 0.0913223996758461, 0.37574121356010437, 0.3095226585865021, -0.05721765011548996, 0.06718067079782486, 0.24218730628490448, 0.1799372285604477, 0.09067071974277496, 0.3283962309360504, 0.021035537123680115, 0.6016378998756409, -0.22890488803386688, 0.40060073137283325, 0.07602023333311081, -0.16126248240470886, 0.4308924078941345, 0.4192645847797394, -0.03424596041440964, 0.1411621868610382, -0.012097273021936417, -0.2418629229068756, -0.1662084460258484, 0.23283009231090546, 0.14771801233291626, 0.175700381398201, 0.08224321901798248, 0.4606330692768097, -0.06824794411659241, -0.07660254836082458, -0.1442546546459198, -0.10707547515630722, 0.2275095134973526, -0.34964698553085327, 0.23128342628479004, 0.25995934009552, -0.350566029548645, 0.2381768524646759, -0.7597147822380066, -0.3897656500339508, 0.22276555001735687, -0.010185245424509048, -0.26341602206230164, -0.09971712529659271, 0.5813332200050354, -0.28956738114356995, -0.2565769553184509, -0.050288014113903046, 0.02938930317759514, -0.17706578969955444, 0.17433705925941467, -0.07519801706075668, 0.23054838180541992, 0.013244153931736946, 0.1730574518442154, 0.1903885453939438, 0.11160923540592194, 0.40161463618278503, 0.23784558475017548, 0.336262047290802, 0.18776632845401764, -0.019804460927844048, 0.32328927516937256, 0.17618714272975922, -0.2079886943101883, 0.1575080007314682, -0.044114623218774796, 0.08050708472728729, -0.016131654381752014, -0.05370587855577469, 0.00032316104625351727, 0.006670249160379171, 0.29674291610717773, -0.14195725321769714, 0.22762911021709442, 0.05740492045879364, -0.001762988162226975, -0.07308420538902283, 0.26765772700309753, -0.1304568648338318, -0.18471018970012665, 0.36436548829078674, -0.012152430601418018, 0.037775855511426926, 0.04134857654571533, -0.11935974657535553, 0.12217458337545395, -0.19898612797260284, 0.4175412952899933, 0.15685154497623444, -0.09725344926118851, 0.18937353789806366, -0.037893131375312805, 0.17507216334342957, -0.0458475798368454, -0.03475697338581085, -0.05837049335241318, -0.15856914222240448, -0.03648097440600395, 0.20358505845069885, 0.008026042953133583, -0.08041532337665558, 0.4998859167098999, -0.2566770613193512, 0.25907397270202637, -0.25349658727645874, 0.173720121383667, 0.1841423660516739, 0.108710877597332, 0.026029787957668304, 0.48823320865631104, 0.2572205662727356, 0.26788103580474854, -0.6160189509391785, 0.20191991329193115, -0.7090753316879272, -0.1872023642063141, 0.25467449426651, -0.2811082601547241, 0.08834750950336456, -0.1656275987625122, 0.12260013073682785, -0.10198550671339035, -0.026686741039156914, 0.335052490234375, 0.10712265968322754, -0.04784482344985008, -0.043541353195905685, 0.20041659474372864, -0.07244342565536499, 0.47579389810562134, -0.0699387788772583, -0.37056758999824524, 0.22625409066677094, 0.41817909479141235, -0.18883587419986725, -0.10566983371973038, 0.32311326265335083, -0.2954709231853485, -0.09240040928125381, -0.028314705938100815, 0.4423469305038452, 0.0926491990685463, 0.19224980473518372, -0.05938629433512688, 0.061616383492946625, -0.23794278502464294, 0.1953682005405426, 0.12441923469305038, -0.1914033740758896, 0.010226738639175892, 0.21435043215751648, -0.07900241017341614, -0.002696547657251358, -0.19052177667617798, 0.3073725998401642, -0.175377756357193, 0.08503401279449463, 0.30326080322265625, -0.08224880695343018, -0.14813441038131714, -0.187791109085083, -0.014418435283005238, -0.01512958575040102, -0.08378017693758011, 0.052482616156339645, 0.18594969809055328, -0.14022521674633026, 0.13022632896900177, -0.06780003011226654, 0.004501155111938715, -0.028773155063390732, -0.20402570068836212, -0.2049872875213623, -0.4074997305870056, 0.25311973690986633, 0.31316015124320984, -0.13282519578933716, -0.2347826510667801, -0.20193523168563843, 0.22633205354213715, -0.1217368096113205, -0.34816932678222656, 0.023880738765001297, 0.45946627855300903, -0.06159168854355812, 0.019565680995583534, -0.5240552425384521, -0.06412332504987717, 0.4020288288593292, -0.1555316150188446, 0.41656139492988586, 0.36260518431663513, 0.25741103291511536, -0.026703255251049995, -0.15026499330997467, -0.10621961951255798, 0.23864689469337463, -0.21380582451820374, -0.023037036880850792, -0.08400227874517441 ]
https://github.com/huggingface/datasets/issues/1842
Add AMI Corpus
@mariosasko actually the "official" AMI dataset can be found here: https://huggingface.co/datasets/edinburghcstr/ami -> the old one under `datasets/ami` doesn't work and should be deleted. The new one was tested by fine-tuning a Wav2Vec2 model on it + we uploaded all the processed audio directly into it
## Adding a Dataset - **Name:** *AMI* - **Description:** *The AMI Meeting Corpus is a multi-modal data set consisting of 100 hours of meeting recordings. For a gentle introduction to the corpus, see the corpus overview. To access the data, follow the directions given there. Around two-thirds of the data has been elicited using a scenario in which the participants play different roles in a design team, taking a design project from kick-off to completion over the course of a day. The rest consists of naturally occurring meetings in a range of domains. Detailed information can be found in the documentation section.* - **Paper:** *Homepage*: http://groups.inf.ed.ac.uk/ami/corpus/ - **Data:** *http://groups.inf.ed.ac.uk/ami/download/* - Select all cases in 1) and select "Individual Headsets" & "Microphone array" for 2) - **Motivation:** Important speech dataset If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
45
Add AMI Corpus
[ -0.21132028102874756, -0.21481195092201233, -0.20519503951072693, -0.1775408834218979, -0.14223895967006683, 0.20207053422927856, 0.17513009905815125, -0.10840441286563873, 0.08060537278652191, 0.5185914039611816, -0.2000938504934311, -0.03134748339653015, 0.20226287841796875, 0.0252058282494545, 0.13689325749874115, -0.024410922080278397, 0.09430190175771713, 0.2711753845214844, 0.28067511320114136, -0.25200167298316956, -0.2509278655052185, 0.018109165132045746, -0.18254108726978302, -0.20894382894039154, 0.19127555191516876, -0.03333154693245888, -0.1937960833311081, -0.1054697260260582, -0.1961957812309265, -0.1786612570285797, -0.10000931471586227, -0.0876387357711792, -0.10485203564167023, 0.02150912955403328, -0.00010917349572991952, 0.007950437255203724, 0.31244009733200073, 0.08859144896268845, -0.14305239915847778, 0.16923905909061432, -0.4300242066383362, 0.08469777554273605, -0.3920220732688904, -0.23223237693309784, -0.3228697180747986, 0.21953432261943817, 0.04258282110095024, -0.312642902135849, -0.1513601690530777, -0.01735329069197178, 0.23587901890277863, -0.06454463303089142, 0.29467374086380005, -0.42350947856903076, 0.5891068577766418, 0.30148565769195557, -0.09295796602964401, -0.22274915874004364, 0.38097095489501953, 0.28680530190467834, 0.25226902961730957, 0.1924315094947815, 0.10943573713302612, 0.08660578727722168, 0.09755343198776245, 0.08957058936357498, 0.3351201117038727, -0.14221221208572388, 0.2828599512577057, -0.08429621905088425, 0.9472012519836426, 0.11040478944778442, -0.19999685883522034, 0.7176058888435364, 0.18800508975982666, -0.17291249334812164, -0.042938292026519775, 0.10012035071849823, 0.10510004311800003, 0.006841601338237524, 0.15140865743160248, -0.2766781151294708, -0.33373209834098816, 0.17320948839187622, -0.06469850987195969, 0.13100141286849976, 0.040155015885829926, 0.011384169571101665, -0.10026571899652481, 0.010424774140119553, -0.06575557589530945, 0.014219039119780064, -0.034153327345848083, 0.1811089962720871, 0.47375673055648804, -0.1917804479598999, 0.12035766243934631, -0.2744118571281433, -0.07361740618944168, 0.07910460233688354, -0.25890153646469116, 0.058828435838222504, -0.1482636034488678, -0.08420690894126892, 0.2083892822265625, -0.42453569173812866, 0.0749538466334343, -0.13349543511867523, 0.04836677387356758, 0.1581881046295166, -0.05689886957406998, -0.11704505980014801, -0.12054846435785294, 0.07795487344264984, 0.10290492326021194, 0.0015790227334946394, -0.20364905893802643, -0.4563143253326416, 0.14838778972625732, -0.05365268513560295, 0.0020929903257638216, -0.17831909656524658, -0.24994607269763947, 0.2971188426017761, 0.12960514426231384, -0.2977346181869507, -0.08590887486934662, 0.24318967759609222, -0.01770966686308384, -0.11662492156028748, -0.2198820263147354, 0.10104557126760483, -0.2011578232049942, 0.022725116461515427, 0.19332589209079742, 0.023181132972240448, -0.028620144352316856, -0.2847505807876587, 0.048409659415483475, -0.0029229058418422937, 0.031619682908058167, 0.13530784845352173, 0.1516079306602478, 0.21488624811172485, 0.20983104407787323, 0.10998086631298065, -0.06854888796806335, 0.02489291876554489, -0.15262961387634277, 0.0031504889484494925, -0.10012559592723846, -0.2987930476665497, -0.09871438145637512, 0.267966628074646, 0.16978782415390015, -0.24498791992664337, 0.20947444438934326, 0.041032299399375916, 0.34553277492523193, -0.1548551768064499, 0.01667214371263981, 0.5378404259681702, -0.5183359384536743, -0.022875448688864708, -0.015729932114481926, 0.35356777906417847, -0.10556904226541519, -0.07149271667003632, -0.13098928332328796, -0.1521800011396408, 0.15657544136047363, 0.13117258250713348, -0.03168090805411339, 0.0953451544046402, -0.10160662233829498, 0.14139524102210999, 0.34411299228668213, -0.17154574394226074, -0.3071390688419342, -0.29531246423721313, 0.09145837277173996, -0.4756229817867279, 0.18167716264724731, 0.24262721836566925, -0.08147934079170227, -0.325295090675354, 0.5127097368240356, 0.1102193221449852, -0.16777506470680237, 0.07299654185771942, 0.01929229125380516, 0.029751526191830635, -0.3676777184009552, 0.0707949548959732, 0.005730950273573399, 0.25364136695861816, 0.4804747700691223, -0.06575657427310944, 0.21412919461727142, 0.0143166808411479, 0.13263241946697235, 0.11051611602306366, 0.27711769938468933, -0.24237759411334991, 0.2590368390083313, -0.24712297320365906, 0.5062309503555298, -0.3088192045688629, -0.31463688611984253, 0.5047184824943542, 0.11883126944303513, -0.05139582231640816, -0.12351415306329727, -0.15503115952014923, 0.1146465465426445, 0.29431870579719543, 0.11899460107088089, 0.036650534719228745, -0.0806625708937645, -0.1295344978570938, -0.22504323720932007, -0.7050144076347351, 0.15368127822875977, -0.2088204175233841, -0.398428350687027, 0.06590893119573593, -0.09919705241918564, -0.05089769512414932, 0.23398038744926453, 0.1849435269832611, -0.15886381268501282, 0.08382917940616608, 0.07602695375680923, -0.11136636883020401, -0.19657574594020844, 0.39568138122558594, 0.1342088133096695, 0.24775837361812592, -0.04868808388710022, -0.41346216201782227, 0.2534662187099457, -0.3022269904613495, -0.09336614608764648, -0.0014572038780897856, -0.09007187187671661, -0.15927468240261078, 0.21459726989269257, 0.1365288943052292, -0.07936158031225204, 0.010421237908303738, 0.1459307074546814, 0.06707675755023956, -0.1263597011566162, -0.424562007188797, -0.10771454870700836, -0.10707232356071472, -0.5653825998306274, -0.052966825664043427, 0.2072736918926239, 0.22158992290496826, 0.24206046760082245, -0.03761748969554901, -0.00007931418076623231, -0.07422833889722824, -0.345670610666275, 0.04404361918568611, -0.05468257516622543, 0.005095864646136761, -0.017833560705184937, 0.3056139349937439, 0.2121656835079193, -0.09538253396749496, 0.14234048128128052, -0.15098072588443756, 0.2795505225658417, -0.012965334579348564, 0.24995768070220947, 0.02198796719312668, 0.19350501894950867, -0.013291279785335064, -0.17703062295913696, 0.19647294282913208, -0.2119949609041214, 0.13975664973258972, 0.028864381834864616, -0.08526218682527542, 0.15150229632854462, -0.4419841468334198, 0.03652624785900116, 0.0034263553097844124, 0.1954638659954071, 0.0718040019273758, 0.22225144505500793, -0.00483603635802865, -0.22681118547916412, -0.020091410726308823, -0.0982256680727005, 0.6163836717605591, -0.1062246635556221, 0.1480949968099594, -0.1583694964647293, -0.06689757108688354, 0.015761449933052063, 0.25172361731529236, -0.01176716759800911, 0.11838027089834213, 0.4792087972164154, -0.001432612887583673, 0.2401634007692337, -0.27325382828712463, -0.08899983018636703, 0.10775364190340042, 0.2624243199825287, -0.2824461758136749, 0.14565768837928772, 0.1219930499792099, -0.11944091320037842, -0.1576482206583023, 0.1735842227935791, -0.061841871589422226, -0.28759434819221497, -0.027619928121566772, 0.003077133558690548, -0.23025622963905334, -0.08137748390436172, -0.45300766825675964, 0.08665735274553299, -0.24526537954807281, -0.11880530416965485, 0.3930262625217438, 0.126499205827713, 0.2786042392253876, 0.0386308990418911, -0.05185781419277191, 0.4130151569843292, 0.1837618201971054, -0.15025684237480164, -0.20396384596824646, 0.36069193482398987, -0.39764103293418884, -0.19671596586704254, 0.0807364284992218, -0.39124807715415955, 0.08544138818979263, 0.28478506207466125, -0.2526739537715912, 0.08526840060949326, 0.08683285862207413, -0.697117269039154, 0.2175779789686203, 0.25222912430763245, 0.37074464559555054, 0.179539754986763, -0.4415843188762665, -0.16304388642311096, -0.3187475800514221, 0.3310130536556244, 0.2086637318134308, 0.3886125385761261, -0.29266592860221863, -0.05065187066793442, -0.10273583978414536, 0.3930855989456177, 0.028636272996664047, -0.08705952018499374, 0.35112762451171875, 0.15314681828022003, -0.057234808802604675, 0.009766221046447754, -0.04225796088576317, 0.2763824760913849, 0.5146282315254211, -0.04707249999046326, 0.13746164739131927, 0.16420920193195343, -0.7151588201522827, -0.028789373114705086, -0.34355005621910095, -0.03345783054828644, -0.2082233428955078, -0.17377759516239166, 0.03330512344837189, 0.4301745593547821, 0.08401744812726974, -0.29857131838798523, -0.25098299980163574, -0.26799651980400085, 0.37112143635749817, -0.000007118817393347854, 0.02290152944624424, -0.10685272514820099, -0.034794650971889496, 0.03150836005806923, -0.1392844170331955, 0.45053693652153015, -0.012313471175730228, -0.37013766169548035, -0.19035176932811737, -0.1506240963935852, 0.09529934078454971, -0.026426883414387703, 0.5591688752174377, -0.5679293274879456, -0.1972968429327011, 0.059418559074401855, 0.3720632493495941, 0.14313258230686188, 0.047796785831451416, -0.22303523123264313, 0.3390575647354126, -0.27642038464546204, 0.5187327861785889, -0.052971918135881424, 0.5716383457183838, 0.46696871519088745, -0.02391194738447666, -0.21334689855575562, -0.4071876108646393, 0.02109098806977272, -0.21741925179958344, -0.4144818186759949, 0.28524249792099, -0.2240116149187088, -0.05451809987425804, 0.5417440533638, -0.3974096477031708, -0.048374421894550323, 0.16402146220207214, 0.18460536003112793, -0.019099505618214607, -0.09680981934070587, 0.7284406423568726, 0.07771368324756622, -0.16736195981502533, -0.1161457747220993, 0.4790855348110199, 0.15596121549606323, -0.3406660854816437, 0.06850466877222061, 0.045089006423950195, -0.3752254843711853, 0.26628389954566956, 0.03353845700621605, 0.42080697417259216, 0.06447703391313553, 0.558867871761322, -0.24196583032608032, 0.12502768635749817, 0.010882367379963398, -0.0014941575936973095, -0.02233291044831276, -0.42327025532722473, -0.3069479763507843, 0.004938929807394743, -0.1730271577835083, -0.05660317465662956, 0.004572701640427113, 0.27318045496940613, -0.01408261340111494, 0.47332537174224854, 0.26347193121910095, 1.2076046466827393, -0.3854910433292389, -0.23821529746055603, -0.2594161331653595, 0.27427583932876587, 0.4253184199333191, -0.4100613594055176, 0.13847967982292175, -0.1827441155910492, -0.12326038628816605, 0.06868796050548553, -0.05645474046468735, -0.007538296282291412, 0.3875901997089386, -0.18662725389003754, -0.05754413455724716, 0.1483466923236847, -0.2558159828186035, -0.16907086968421936, 0.061747170984745026, 0.13363103568553925, -0.316910058259964, 0.034611765295267105, 0.2018241584300995, 0.04522880166769028, 0.15603195130825043, 0.15169309079647064, -0.10115944594144821, 0.0324266254901886, -0.024379044771194458, -0.10103543102741241, 0.21178428828716278, 0.23440435528755188, -0.16762664914131165, 0.32922711968421936, -0.05733330175280571, 0.22563523054122925, -0.47338366508483887, 0.5560667514801025, 0.2839503884315491, 0.06100155785679817, 0.09705054759979248, 0.30862271785736084, -0.2832127511501312, -0.007480034604668617, -0.024115966632962227, 0.2563072144985199, -0.37278375029563904, -0.24453894793987274, 0.21166476607322693, 0.15501247346401215, -0.2823168933391571, 0.3081803619861603, 0.006225386634469032, 0.4451400637626648, -0.20215927064418793, -0.09450893849134445, 0.38174280524253845, -0.06228440999984741, -0.1276724636554718, 0.18669424951076508, 0.19993330538272858, 0.01696948893368244, 0.1805327981710434, -0.033096931874752045, 0.029638588428497314, 0.017550023272633553, 0.043965186923742294, 0.24915578961372375, -0.5986400246620178, 0.2551514804363251, 0.10833130776882172, -0.08945457637310028, -0.31162139773368835, -0.7670962810516357, -0.009638989344239235, -0.2826114892959595, -0.0464944913983345, 0.3421764373779297, -0.1450652778148651, 0.1319306194782257, 0.17084026336669922, -0.1523204892873764, 0.2507012188434601, -0.27938759326934814, 0.09262337535619736, -0.2762627899646759, 0.08424916118383408, 0.17848250269889832, 0.41442254185676575, 0.23963335156440735, -0.33769163489341736, 0.021783599629998207, 0.20914950966835022, -0.4080202877521515, -0.13283194601535797, -0.12425766885280609, 0.2241746485233307, -0.2477831244468689, 0.12134825438261032, -0.22091305255889893, -0.18798816204071045, 0.25284892320632935, -0.1055295541882515, -0.057902272790670395, -0.32140278816223145, 0.06864377111196518, 0.08913040161132812, -0.06447846442461014, -0.12625470757484436, 0.2120608538389206, -0.21364353597164154, 0.0022029930260032415, -0.07992621511220932, -0.0808958187699318, -0.16365642845630646, -0.13227231800556183, -0.47617533802986145, 0.3965910077095032, -0.0617017038166523, 0.03533901274204254, 0.11919938772916794, -0.016377516090869904, -0.035280246287584305, 0.0022079190239310265, -0.13267622888088226, -0.0886988490819931, -0.19327093660831451, 0.24500858783721924, 0.23066343367099762, 0.45458152890205383, 0.016850005835294724, 0.04382312670350075, -0.04590325057506561, -0.40068432688713074, 0.21159370243549347, -0.26778295636177063, -0.20312072336673737, -0.1170322597026825, -0.026420656591653824, -0.19166617095470428, 0.3391791582107544, -0.23933424055576324, -0.0020115154329687357, -0.11699888855218887, -0.043740127235651016, -0.018639445304870605, 0.1737004518508911, 0.043103475123643875, -0.1968962699174881, 0.42164313793182373, 0.15851111710071564, 0.05354796722531319, -0.23097993433475494, -0.09606301039457321, -0.16667598485946655, 0.05992116034030914, -0.003859595162793994, -0.22562570869922638, 0.11956789344549179, 0.1563597023487091, -0.13334669172763824, 0.23924662172794342, -0.12129579484462738, 0.5685546398162842, 0.1554710566997528, 0.03852640464901924, -0.004406565334647894, 0.41556516289711, 0.22454066574573517, 0.4197293817996979, 0.1520087867975235, 0.8331413865089417, -0.07373054325580597, 0.5485698580741882, -0.03276015445590019, -0.12888316810131073, 0.06898467242717743, 0.14766879379749298, 0.05175669118762016, -0.23739668726921082, -0.11350381374359131, 0.14399103820323944, -0.2741149663925171, 0.13202045857906342, 0.04691648483276367, -0.08287163823843002, -0.18895716965198517, 0.16348758339881897, -0.04087609052658081, 0.30358144640922546, -0.10121304541826248, 0.2746717631816864, 0.08979524672031403, 0.10592615604400635, 0.2365139126777649, -0.09519349783658981, 0.22831115126609802, 0.3013626039028168, -0.040378667414188385, -0.1291256844997406, 0.5155922174453735, 0.3367258608341217, 0.020054038614034653, -0.29602664709091187, -0.20558175444602966, -0.027891861274838448, 0.4184453785419464, 0.13979242742061615, -0.07492156326770782, 0.1651516705751419, -0.15652064979076385, -0.06239532306790352, -0.10509366542100906, 0.20972506701946259, 0.016132531687617302, 0.04904588311910629, 0.1620323657989502, -0.2568768560886383, -0.3683583736419678, 0.08891424536705017, -0.2994280755519867, -0.14111557602882385, 0.33084481954574585, -0.389710396528244, -0.12875624001026154, -0.08163692057132721, 0.1019366979598999, -0.00046640587970614433, 0.09186165779829025, 0.4040434658527374, 0.3638134300708771, -0.12488169968128204, -0.12233363091945648, -0.09088059514760971, 0.13684244453907013, 0.0727168470621109, 0.4341346025466919, -0.27522900700569153, 0.25082236528396606, 0.4827703535556793, 0.021415431052446365, 0.2312188446521759, -0.24452398717403412, -0.12853649258613586, 0.3014252483844757, -0.05275034159421921, 0.13318371772766113, 0.1528262346982956, 0.11308649927377701, -0.039493463933467865, 0.11756720393896103, 0.07057894766330719, -0.08595601469278336, 0.18759581446647644, -0.022858737036585808, -0.297858327627182, 0.07406002283096313, 0.13919557631015778, 0.24131006002426147, -0.18269214034080505, -0.026807056739926338, -0.4895921051502228, -0.023657210171222687, -0.0607626736164093, 0.0055926041677594185, -0.07511598616838455, 0.04856018349528313, 0.2203640341758728, 0.09912548214197159, 0.02617713063955307, 0.2633970081806183, 0.19160382449626923, -0.23885256052017212, -0.1603686511516571, 0.253000944852829, -0.045923374593257904, 0.1604769229888916, -0.320880264043808, 0.005665075499564409, 0.05457822233438492, -0.19722038507461548, 0.4187389612197876, -0.35290011763572693, -0.12315846234560013, -0.21863797307014465, 0.23688475787639618, -0.05571204423904419, -0.11351897567510605, -0.17449167370796204, 0.3182467520236969, -0.24226519465446472, 0.07023552805185318, -0.45884400606155396, -0.08967215567827225, 0.24792852997779846, -0.2907634675502777, -0.199249267578125, 0.2386074960231781, -0.03633083403110504, 0.04999574273824692, -0.24939997494220734, 0.020046627148985863, 0.04836621880531311, -0.2064061015844345, -0.49061426520347595, -0.20698487758636475 ]
https://github.com/huggingface/datasets/issues/1840
Add common voice
Hey @BirgerMoell - awesome that you started working on Common Voice. Common Voice is a bit special since, there is no direct download link to download the data. In these cases we usually consider two options: 1) Find a hacky solution to extract the download link somehow from the XLM tree of the website 2) If this doesn't work we force the user to download the data himself and add a `"data_dir"` as an input parameter. E.g. you can take a look at how it is done for [this](https://github.com/huggingface/datasets/blob/66f2a7eece98d2778bd22bb5034cb7c2376032d4/datasets/arxiv_dataset/arxiv_dataset.py#L66) Also the documentation here: https://huggingface.co/docs/datasets/add_dataset.html?highlight=data_dir#downloading-data-files-and-organizing-splits (especially the "note") might be helpful.
## Adding a Dataset - **Name:** *common voice* - **Description:** *Mozilla Common Voice Dataset* - **Paper:** Homepage: https://voice.mozilla.org/en/datasets - **Data:** https://voice.mozilla.org/en/datasets - **Motivation:** Important speech dataset - **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
100
Add common voice
[ -0.3708668053150177, -0.4608248174190521, -0.1998300552368164, -0.1537925750017166, 0.0336056686937809, -0.08558868616819382, 0.24870429933071136, -0.01007359754294157, -0.31834450364112854, 0.5700875520706177, -0.3016563653945923, -0.04418359696865082, -0.14019635319709778, -0.07890324294567108, 0.012544545345008373, -0.10361343622207642, 0.01421298086643219, 0.5402330160140991, 0.3198259174823761, -0.46332889795303345, 0.1998220682144165, -0.04464210569858551, -0.1499473601579666, 0.04789603129029274, -0.20897209644317627, 0.05088508129119873, 0.10898055136203766, 0.010190635919570923, 0.06712233275175095, 0.07211757451295853, -0.19559256732463837, 0.2578076720237732, -0.34433090686798096, 0.26195794343948364, -0.00010211213520960882, -0.26000961661338806, 0.18188996613025665, 0.06934401392936707, -0.01578206568956375, 0.15972815454006195, -0.2812420427799225, 0.19836288690567017, -0.21527166664600372, 0.0703277736902237, -0.2337476909160614, 0.09368256479501724, -0.08693037927150726, -0.29961708188056946, 0.23661018908023834, -0.04018648713827133, 0.322313129901886, -0.19293007254600525, -0.11245059967041016, 0.023853963240981102, -0.0715925469994545, 0.05850483477115631, -0.09739366918802261, 0.3231731653213501, 0.31230393052101135, -0.03638791665434837, 0.2962448000907898, 0.08696109056472778, -0.13185513019561768, -0.3474971652030945, -0.20228667557239532, -0.09416673332452774, 0.19586196541786194, -0.11029522120952606, 0.12460940331220627, 0.13467630743980408, 0.35639292001724243, -0.049089159816503525, 0.05532774329185486, 0.09673149883747101, 0.30274638533592224, -0.13284292817115784, -0.10614454001188278, -0.10326129198074341, -0.1982690840959549, 0.09679022431373596, -0.0020784197840839624, -0.24537381529808044, -0.00709543889388442, 0.13682681322097778, 0.36405906081199646, 0.35867011547088623, 0.14900654554367065, -0.205433189868927, 0.19750167429447174, 0.08461323380470276, -0.3527458608150482, 0.21796377003192902, 0.04896368086338043, 0.08574426919221878, -0.019144481047987938, -0.2203271985054016, 0.06994133442640305, -0.26592808961868286, -0.030046742409467697, -0.3597054183483124, 0.290325403213501, 0.22192831337451935, -0.09864645451307297, 0.02130996435880661, -0.042113516479730606, -0.07327886670827866, 0.21955646574497223, 0.16343633830547333, 0.14499962329864502, -0.03441568836569786, -0.062425483018159866, 0.1831054985523224, -0.12057565897703171, -0.10293107479810715, 0.14276374876499176, 0.14980053901672363, -0.13262814283370972, 0.01592794433236122, -0.07439602166414261, -0.002084013307467103, -0.2912816107273102, -0.18407046794891357, -0.03902089595794678, 0.10770931094884872, 0.3376438617706299, 0.5041728615760803, -0.1475781947374344, 0.16855548322200775, -0.006841054651886225, -0.28689536452293396, -0.32170918583869934, 0.07846569269895554, -0.04707876592874527, 0.32287949323654175, 0.15498757362365723, -0.054236628115177155, -0.15157511830329895, 0.2108956128358841, 0.3151669502258301, -0.14860591292381287, -0.09497445821762085, 0.1951139122247696, -0.4258025288581848, -0.3878842294216156, -0.21735359728336334, 0.008524853736162186, 0.11901529878377914, -0.020606769248843193, -0.11622464656829834, -0.11713673174381256, 0.31700795888900757, -0.2764450013637543, -0.11236649751663208, 0.37331750988960266, 0.5133559703826904, -0.006539816968142986, 0.3215698301792145, 0.21889042854309082, 0.18027690052986145, -0.4406457543373108, 0.2565990388393402, 0.12129958719015121, -0.11973520368337631, 0.050352614372968674, 0.14054572582244873, 0.0027299588546156883, -0.14962457120418549, -0.163696750998497, -0.2877713441848755, -0.1018444374203682, 0.14513370394706726, 0.13081401586532593, -0.020771650597453117, -0.057337529957294464, 0.03285056725144386, 0.23792563378810883, 0.37146928906440735, -0.25109460949897766, -0.4024975597858429, 0.053390178829431534, -0.3344748914241791, -0.11331289261579514, 0.3176131546497345, -0.12274086475372314, -0.16019953787326813, 0.06687642633914948, 0.5940418243408203, 0.019943978637456894, -0.23790669441223145, -0.07883989065885544, -0.123367078602314, -0.05659448355436325, 0.05443521589040756, 0.10889788717031479, -0.25944122672080994, 0.1553795486688614, 0.08815201371908188, -0.027238262817263603, 0.3260859251022339, -0.33309856057167053, 0.08641164749860764, 0.04682745039463043, 0.5232521891593933, -0.43047386407852173, -0.14919012784957886, 0.02435907907783985, 0.2074962854385376, -0.35765767097473145, -0.03551860898733139, 0.3889489769935608, 0.4060521721839905, -0.32451343536376953, -0.1830165833234787, -0.5533573031425476, -0.010947802104055882, 0.39679256081581116, 0.28199464082717896, 0.17418941855430603, -0.3238767385482788, -0.2982928454875946, -0.17138895392417908, 0.09071232378482819, 0.10476052016019821, -0.22436241805553436, 0.32689306139945984, 0.21525327861309052, -0.2936275601387024, -0.24364237487316132, 0.11893394589424133, 0.3187271058559418, -0.1331418752670288, 0.20820410549640656, -0.08293090015649796, 0.10836537927389145, -0.5428754687309265, 0.4654918313026428, -0.10132253170013428, 0.14579994976520538, 0.03480376675724983, -0.40912824869155884, 0.08963555842638016, 0.04220088571310043, 0.016053467988967896, -0.135767862200737, 0.38734814524650574, -0.006370494607836008, 0.1451708972454071, -0.0825086236000061, -0.15859125554561615, -0.09493150562047958, -0.07976404577493668, 0.08971616625785828, 0.06411302834749222, -0.2431502491235733, 0.06421365588903427, -0.0894070565700531, 0.3017312288284302, 0.17808224260807037, -0.358614981174469, 0.3418658673763275, 0.22779032588005066, -0.060093119740486145, 0.36844828724861145, 0.041443631052970886, 0.08924271911382675, -0.19355055689811707, 0.11912145465612411, -0.42179492115974426, 0.11783535033464432, 0.24258941411972046, 0.1744186282157898, 0.09256447106599808, 0.16005991399288177, -0.056155648082494736, 0.07983111590147018, 0.0012136967852711678, 0.03808600828051567, 0.3081904947757721, -0.07827373594045639, 0.013646770268678665, -0.1822734773159027, -0.23021723330020905, -0.06391669064760208, -0.02404203824698925, -0.054774053394794464, -0.31431299448013306, 0.05817467346787453, -0.043065983802080154, 0.06793206930160522, -0.09187448769807816, -0.1542147696018219, 0.09586253762245178, 0.3755019009113312, 0.06784971058368683, 0.11388764530420303, 0.20457661151885986, 0.042205795645713806, 0.4860658645629883, 0.029864750802516937, -0.0358709916472435, -0.1627412736415863, 0.05382882431149483, -0.20447702705860138, 0.24538935720920563, -0.042559824883937836, -0.16348274052143097, -0.10133633762598038, 0.01714223064482212, 0.17241725325584412, 0.09933719038963318, -0.1861724555492401, 0.040135499089956284, -0.21046461164951324, -0.2336132973432541, 0.08995542675256729, -0.11131083965301514, -0.22306384146213531, -0.5058521628379822, 0.0775589793920517, -0.004995315335690975, -0.1862984597682953, -0.08011037111282349, -0.08553024381399155, 0.06753133237361908, -0.1168326660990715, -0.42713239789009094, -0.1359686255455017, -0.5074077248573303, 0.0962257832288742, -0.4256821572780609, 0.03241673856973648, -0.2199917733669281, -0.0702042207121849, -0.27437418699264526, -0.044955555349588394, 0.6212708950042725, -0.24063581228256226, 0.20187562704086304, 0.05353983864188194, -0.013873878866434097, 0.016551125794649124, -0.1803261637687683, -0.3650846779346466, 0.41777223348617554, -0.28372105956077576, 0.11977983266115189, 0.05052243545651436, 0.06473757326602936, 0.05172613263130188, 0.056887682527303696, 0.21529914438724518, 0.12723161280155182, 0.2912750542163849, -0.34149742126464844, -0.0357561931014061, -0.3311633765697479, -0.022305553779006004, 0.5565170049667358, 0.10631894320249557, -0.2185995727777481, 0.046131432056427, -0.05799376219511032, 0.671946108341217, 0.06401043385267258, 0.16262970864772797, 0.1605975329875946, 0.09102556854486465, -0.05458664149045944, 0.12341951578855515, -0.23592256009578705, 0.3074943423271179, 0.41698968410491943, 0.12864528596401215, 0.3672695457935333, 0.036550138145685196, -0.23404157161712646, -0.07464919239282608, -0.5429750680923462, -0.2654253840446472, -0.06918543577194214, -0.06767267733812332, -0.17436642944812775, 0.1771753430366516, -0.04207704961299896, -0.26693323254585266, -0.062327079474925995, -0.10094024240970612, 0.0498969703912735, -0.08466315269470215, 0.03479320555925369, -0.15406514704227448, -0.03974147513508797, -0.16782070696353912, 0.038806989789009094, 0.17794960737228394, 0.06732267886400223, 0.16474543511867523, -0.2614486515522003, -0.13099731504917145, 0.01698174886405468, 0.09835021197795868, 0.09752479195594788, -0.0059940568171441555, -0.2877320349216461, -0.08665027469396591, 0.3310096859931946, 0.36709973216056824, 0.23146963119506836, 0.0800224095582962, -0.19221840798854828, 0.1806776076555252, -0.139163076877594, -0.30398815870285034, 0.2911356985569, 0.08886449784040451, 0.21338744461536407, -0.03931096941232681, -0.08109422028064728, 0.040655042976140976, 0.014723502099514008, -0.21324817836284637, 0.4463830292224884, -0.047115713357925415, 0.2079450786113739, 0.056893717497587204, -0.12083239108324051, 0.7277011871337891, -0.20523126423358917, 0.5491438508033752, -0.04962582886219025, -0.02854197658598423, 0.17975874245166779, 0.1668853759765625, 0.06362108886241913, -0.0458606481552124, -0.37462958693504333, 0.11716727167367935, 0.45638802647590637, 0.24993127584457397, -0.0838002935051918, -0.172766774892807, 0.5835241675376892, 0.29167845845222473, 0.36478596925735474, 0.17606911063194275, 0.2021326869726181, 0.012697530910372734, 0.2705928087234497, -0.15258798003196716, 0.10388095676898956, 0.14748676121234894, -0.32616010308265686, -0.10717269778251648, 0.020008742809295654, 0.07528533786535263, -0.2340390682220459, 0.01795835979282856, 0.32127895951271057, -0.2572569251060486, -0.12905775010585785, -0.4090140163898468, 1.4184530973434448, 0.08557124435901642, 0.23490868508815765, -0.15978465974330902, 0.24462322890758514, -0.2710895538330078, -0.2726512551307678, 0.043447982519865036, 0.06787000596523285, 0.10296464711427689, 0.093141108751297, -0.037485409528017044, -0.002019694307819009, 0.27225977182388306, -0.3823705315589905, 0.11214904487133026, -0.26854199171066284, -0.20328904688358307, 0.12094983458518982, 0.0935579240322113, -0.14861629903316498, -0.12450319528579712, 0.0691252276301384, 0.159400075674057, 0.14117135107517242, -0.07294625043869019, 0.18473735451698303, 0.03147130087018013, -0.1489015519618988, -0.5014901161193848, -0.2210652083158493, 0.12403599917888641, 0.2416117936372757, -0.34358900785446167, 0.26187583804130554, -0.211838036775589, 0.4165975749492645, -0.28572890162467957, 0.08792291581630707, 0.32568517327308655, 0.003656449494883418, 0.06988529115915298, 0.5611556768417358, 0.10603111982345581, 0.037978626787662506, 0.02955698035657406, -0.06746824830770493, -0.1482633799314499, -0.5449107885360718, 0.3342519700527191, 0.0971176028251648, -0.33135986328125, -0.7204279899597168, -0.044090937823057175, 0.25139278173446655, -0.2845679819583893, 0.10602468997240067, 0.31481438875198364, -0.06307033449411392, -0.21352703869342804, 0.28063854575157166, 0.12124025076627731, -0.2318575233221054, 0.08826012909412384, 0.2723349332809448, 0.0455743707716465, -0.20211546123027802, 0.013389835134148598, 0.15842215716838837, -0.5489970445632935, 0.29881051182746887, -0.16108715534210205, -0.13247306644916534, -0.4147740602493286, -0.4337920546531677, 0.26582396030426025, 0.10202186554670334, -0.17332540452480316, -0.0009665392572060227, -0.470337450504303, 0.12434210628271103, 0.21442335844039917, 0.04495007172226906, 0.5192146897315979, -0.11439254134893417, 0.0051569524221122265, -0.4351615309715271, 0.1464947909116745, 0.16858133673667908, 0.2662336230278015, 0.038852546364068985, -0.1159372329711914, -0.10131263732910156, 0.2622116506099701, -0.5027332305908203, -0.4619947373867035, 0.14662738144397736, 0.09900444746017456, 0.13193590939044952, -0.22426314651966095, -0.17569655179977417, 0.05404699966311455, 0.5376859903335571, 0.06993412971496582, 0.26779067516326904, -0.3406515419483185, 0.13875503838062286, 0.10586687177419662, 0.15727096796035767, -0.18541885912418365, 0.1697872281074524, 0.06339152157306671, 0.08047434687614441, 0.014903531409800053, 0.08539751172065735, -0.11519491672515869, 0.12529225647449493, 0.03005293384194374, -0.1533670574426651, -0.130628302693367, 0.0821855291724205, -0.1524922400712967, -0.09968490898609161, 0.032179053872823715, -0.10326314717531204, 0.2221747189760208, 0.22054623067378998, -0.29392778873443604, -0.06369803100824356, 0.23765330016613007, 0.36153143644332886, 0.20107276737689972, -0.03985494375228882, 0.08729420602321625, -0.2729731798171997, -0.024863943457603455, 0.24428489804267883, -0.04607325792312622, -0.1738656759262085, 0.04102372005581856, -0.057726357132196426, 0.390346884727478, -0.2277701050043106, -0.045386213809251785, -0.14836443960666656, -0.2965896427631378, 0.24717257916927338, 0.22770293056964874, -0.0023109684698283672, -0.3008337616920471, 0.23388613760471344, -0.19352224469184875, -0.2434084564447403, -0.09558526426553726, 0.13113945722579956, -0.19522985816001892, 0.006368204485625029, -0.12605057656764984, 0.2796711325645447, 0.018400875851511955, 0.058433324098587036, 0.08090362697839737, -0.3122745454311371, -0.11996208876371384, 0.11859321594238281, 0.18300147354602814, 0.40642809867858887, 0.2550675868988037, 0.3521411418914795, 0.021835846826434135, 0.020626498386263847, -0.10492729395627975, 0.23287682235240936, 0.3378571569919586, 0.026521701365709305, 0.10583163052797318, 0.0949505865573883, -0.10232801735401154, -0.09441488236188889, -0.03921408951282501, -0.09713190048933029, -0.1456843465566635, -0.279776394367218, -0.3036227524280548, 0.2906374931335449, 0.011904925107955933, 0.14826753735542297, -0.04473588615655899, 0.11135968565940857, 0.09747406095266342, 0.22960077226161957, 0.13116663694381714, 0.057501643896102905, 0.020902147516608238, 0.12197010964155197, 0.041638877242803574, -0.12271016836166382, 0.3490559160709381, 0.10091015696525574, 0.07526761293411255, -0.10435937345027924, -0.005567962769418955, 0.15600603818893433, -0.24071572721004486, -0.2867991030216217, -0.0260678231716156, 0.020607085898518562, 0.3974851369857788, 0.15353745222091675, -0.37936222553253174, 0.2829102575778961, -0.30483853816986084, -0.08850553631782532, 0.07853168249130249, -0.038409143686294556, 0.038142282515764236, 0.1467858850955963, 0.11090826243162155, -0.20067305862903595, -0.4106863737106323, 0.0063752480782568455, -0.15159089863300323, -0.23126262426376343, 0.29797282814979553, 0.08274251967668533, -0.1942712813615799, -0.3279012441635132, 0.15162338316440582, 0.0824880376458168, -0.2873757481575012, 0.29512616991996765, 0.006188282743096352, 0.15095464885234833, 0.031234685331583023, -0.12274199724197388, 0.3811333179473877, 0.33954644203186035, -0.27247917652130127, -0.41142675280570984, -0.03164481744170189, 0.48111772537231445, 0.09718280285596848, 0.4687705338001251, -0.07275611907243729, -0.20383493602275848, -0.215791255235672, 0.06514644622802734, 0.23861755430698395, 0.25263360142707825, 0.0425109900534153, -0.005224993918091059, -0.2264958918094635, 0.2205875962972641, -0.035136837512254715, 0.30347490310668945, -0.07353618741035461, -0.1707923859357834, 0.05107137933373451, 0.10389844328165054, 0.024531066417694092, -0.13620465993881226, 0.3558346927165985, -0.3871231973171234, 0.15914003551006317, 0.16132596135139465, 0.04315280541777611, -0.0740322470664978, -0.10027170181274414, 0.14175672829151154, 0.4487757682800293, -0.11418788880109787, 0.26506826281547546, 0.0347377210855484, -0.05464461073279381, -0.062092266976833344, -0.16654972732067108, -0.03729396313428879, 0.30620989203453064, -0.16693855822086334, -0.011998594738543034, -0.11646424978971481, -0.042373910546302795, 0.0752987191081047, -0.19835436344146729, -0.17682597041130066, -0.21215204894542694, 0.07361112534999847, 0.22915054857730865, -0.26265019178390503, -0.47748157382011414, 0.47105464339256287, -0.008030913770198822, -0.07304415851831436, 0.029315823689103127, -0.24048714339733124, 0.29949986934661865, -0.03174128383398056, -0.07082077115774155, 0.29202088713645935, 0.04862406104803085, -0.07823487371206284, -0.07213141024112701, 0.16296710073947906, -0.04973529651761055, 0.07499099522829056, -0.14850297570228577, -0.20403766632080078 ]
https://github.com/huggingface/datasets/issues/1840
Add common voice
I added a Work in Progress pull request (hope that is ok). I've made a card for the dataset and filled out the common_voice.py file with information about the datset (not completely). I didn't manage to get the tagging tool working locally on my machine but will look into that later. Left to do. - Tag the dataset - Add missing information and update common_voice.py https://github.com/huggingface/datasets/pull/1886
## Adding a Dataset - **Name:** *common voice* - **Description:** *Mozilla Common Voice Dataset* - **Paper:** Homepage: https://voice.mozilla.org/en/datasets - **Data:** https://voice.mozilla.org/en/datasets - **Motivation:** Important speech dataset - **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
66
Add common voice
[ -0.3708668053150177, -0.4608248174190521, -0.1998300552368164, -0.1537925750017166, 0.0336056686937809, -0.08558868616819382, 0.24870429933071136, -0.01007359754294157, -0.31834450364112854, 0.5700875520706177, -0.3016563653945923, -0.04418359696865082, -0.14019635319709778, -0.07890324294567108, 0.012544545345008373, -0.10361343622207642, 0.01421298086643219, 0.5402330160140991, 0.3198259174823761, -0.46332889795303345, 0.1998220682144165, -0.04464210569858551, -0.1499473601579666, 0.04789603129029274, -0.20897209644317627, 0.05088508129119873, 0.10898055136203766, 0.010190635919570923, 0.06712233275175095, 0.07211757451295853, -0.19559256732463837, 0.2578076720237732, -0.34433090686798096, 0.26195794343948364, -0.00010211213520960882, -0.26000961661338806, 0.18188996613025665, 0.06934401392936707, -0.01578206568956375, 0.15972815454006195, -0.2812420427799225, 0.19836288690567017, -0.21527166664600372, 0.0703277736902237, -0.2337476909160614, 0.09368256479501724, -0.08693037927150726, -0.29961708188056946, 0.23661018908023834, -0.04018648713827133, 0.322313129901886, -0.19293007254600525, -0.11245059967041016, 0.023853963240981102, -0.0715925469994545, 0.05850483477115631, -0.09739366918802261, 0.3231731653213501, 0.31230393052101135, -0.03638791665434837, 0.2962448000907898, 0.08696109056472778, -0.13185513019561768, -0.3474971652030945, -0.20228667557239532, -0.09416673332452774, 0.19586196541786194, -0.11029522120952606, 0.12460940331220627, 0.13467630743980408, 0.35639292001724243, -0.049089159816503525, 0.05532774329185486, 0.09673149883747101, 0.30274638533592224, -0.13284292817115784, -0.10614454001188278, -0.10326129198074341, -0.1982690840959549, 0.09679022431373596, -0.0020784197840839624, -0.24537381529808044, -0.00709543889388442, 0.13682681322097778, 0.36405906081199646, 0.35867011547088623, 0.14900654554367065, -0.205433189868927, 0.19750167429447174, 0.08461323380470276, -0.3527458608150482, 0.21796377003192902, 0.04896368086338043, 0.08574426919221878, -0.019144481047987938, -0.2203271985054016, 0.06994133442640305, -0.26592808961868286, -0.030046742409467697, -0.3597054183483124, 0.290325403213501, 0.22192831337451935, -0.09864645451307297, 0.02130996435880661, -0.042113516479730606, -0.07327886670827866, 0.21955646574497223, 0.16343633830547333, 0.14499962329864502, -0.03441568836569786, -0.062425483018159866, 0.1831054985523224, -0.12057565897703171, -0.10293107479810715, 0.14276374876499176, 0.14980053901672363, -0.13262814283370972, 0.01592794433236122, -0.07439602166414261, -0.002084013307467103, -0.2912816107273102, -0.18407046794891357, -0.03902089595794678, 0.10770931094884872, 0.3376438617706299, 0.5041728615760803, -0.1475781947374344, 0.16855548322200775, -0.006841054651886225, -0.28689536452293396, -0.32170918583869934, 0.07846569269895554, -0.04707876592874527, 0.32287949323654175, 0.15498757362365723, -0.054236628115177155, -0.15157511830329895, 0.2108956128358841, 0.3151669502258301, -0.14860591292381287, -0.09497445821762085, 0.1951139122247696, -0.4258025288581848, -0.3878842294216156, -0.21735359728336334, 0.008524853736162186, 0.11901529878377914, -0.020606769248843193, -0.11622464656829834, -0.11713673174381256, 0.31700795888900757, -0.2764450013637543, -0.11236649751663208, 0.37331750988960266, 0.5133559703826904, -0.006539816968142986, 0.3215698301792145, 0.21889042854309082, 0.18027690052986145, -0.4406457543373108, 0.2565990388393402, 0.12129958719015121, -0.11973520368337631, 0.050352614372968674, 0.14054572582244873, 0.0027299588546156883, -0.14962457120418549, -0.163696750998497, -0.2877713441848755, -0.1018444374203682, 0.14513370394706726, 0.13081401586532593, -0.020771650597453117, -0.057337529957294464, 0.03285056725144386, 0.23792563378810883, 0.37146928906440735, -0.25109460949897766, -0.4024975597858429, 0.053390178829431534, -0.3344748914241791, -0.11331289261579514, 0.3176131546497345, -0.12274086475372314, -0.16019953787326813, 0.06687642633914948, 0.5940418243408203, 0.019943978637456894, -0.23790669441223145, -0.07883989065885544, -0.123367078602314, -0.05659448355436325, 0.05443521589040756, 0.10889788717031479, -0.25944122672080994, 0.1553795486688614, 0.08815201371908188, -0.027238262817263603, 0.3260859251022339, -0.33309856057167053, 0.08641164749860764, 0.04682745039463043, 0.5232521891593933, -0.43047386407852173, -0.14919012784957886, 0.02435907907783985, 0.2074962854385376, -0.35765767097473145, -0.03551860898733139, 0.3889489769935608, 0.4060521721839905, -0.32451343536376953, -0.1830165833234787, -0.5533573031425476, -0.010947802104055882, 0.39679256081581116, 0.28199464082717896, 0.17418941855430603, -0.3238767385482788, -0.2982928454875946, -0.17138895392417908, 0.09071232378482819, 0.10476052016019821, -0.22436241805553436, 0.32689306139945984, 0.21525327861309052, -0.2936275601387024, -0.24364237487316132, 0.11893394589424133, 0.3187271058559418, -0.1331418752670288, 0.20820410549640656, -0.08293090015649796, 0.10836537927389145, -0.5428754687309265, 0.4654918313026428, -0.10132253170013428, 0.14579994976520538, 0.03480376675724983, -0.40912824869155884, 0.08963555842638016, 0.04220088571310043, 0.016053467988967896, -0.135767862200737, 0.38734814524650574, -0.006370494607836008, 0.1451708972454071, -0.0825086236000061, -0.15859125554561615, -0.09493150562047958, -0.07976404577493668, 0.08971616625785828, 0.06411302834749222, -0.2431502491235733, 0.06421365588903427, -0.0894070565700531, 0.3017312288284302, 0.17808224260807037, -0.358614981174469, 0.3418658673763275, 0.22779032588005066, -0.060093119740486145, 0.36844828724861145, 0.041443631052970886, 0.08924271911382675, -0.19355055689811707, 0.11912145465612411, -0.42179492115974426, 0.11783535033464432, 0.24258941411972046, 0.1744186282157898, 0.09256447106599808, 0.16005991399288177, -0.056155648082494736, 0.07983111590147018, 0.0012136967852711678, 0.03808600828051567, 0.3081904947757721, -0.07827373594045639, 0.013646770268678665, -0.1822734773159027, -0.23021723330020905, -0.06391669064760208, -0.02404203824698925, -0.054774053394794464, -0.31431299448013306, 0.05817467346787453, -0.043065983802080154, 0.06793206930160522, -0.09187448769807816, -0.1542147696018219, 0.09586253762245178, 0.3755019009113312, 0.06784971058368683, 0.11388764530420303, 0.20457661151885986, 0.042205795645713806, 0.4860658645629883, 0.029864750802516937, -0.0358709916472435, -0.1627412736415863, 0.05382882431149483, -0.20447702705860138, 0.24538935720920563, -0.042559824883937836, -0.16348274052143097, -0.10133633762598038, 0.01714223064482212, 0.17241725325584412, 0.09933719038963318, -0.1861724555492401, 0.040135499089956284, -0.21046461164951324, -0.2336132973432541, 0.08995542675256729, -0.11131083965301514, -0.22306384146213531, -0.5058521628379822, 0.0775589793920517, -0.004995315335690975, -0.1862984597682953, -0.08011037111282349, -0.08553024381399155, 0.06753133237361908, -0.1168326660990715, -0.42713239789009094, -0.1359686255455017, -0.5074077248573303, 0.0962257832288742, -0.4256821572780609, 0.03241673856973648, -0.2199917733669281, -0.0702042207121849, -0.27437418699264526, -0.044955555349588394, 0.6212708950042725, -0.24063581228256226, 0.20187562704086304, 0.05353983864188194, -0.013873878866434097, 0.016551125794649124, -0.1803261637687683, -0.3650846779346466, 0.41777223348617554, -0.28372105956077576, 0.11977983266115189, 0.05052243545651436, 0.06473757326602936, 0.05172613263130188, 0.056887682527303696, 0.21529914438724518, 0.12723161280155182, 0.2912750542163849, -0.34149742126464844, -0.0357561931014061, -0.3311633765697479, -0.022305553779006004, 0.5565170049667358, 0.10631894320249557, -0.2185995727777481, 0.046131432056427, -0.05799376219511032, 0.671946108341217, 0.06401043385267258, 0.16262970864772797, 0.1605975329875946, 0.09102556854486465, -0.05458664149045944, 0.12341951578855515, -0.23592256009578705, 0.3074943423271179, 0.41698968410491943, 0.12864528596401215, 0.3672695457935333, 0.036550138145685196, -0.23404157161712646, -0.07464919239282608, -0.5429750680923462, -0.2654253840446472, -0.06918543577194214, -0.06767267733812332, -0.17436642944812775, 0.1771753430366516, -0.04207704961299896, -0.26693323254585266, -0.062327079474925995, -0.10094024240970612, 0.0498969703912735, -0.08466315269470215, 0.03479320555925369, -0.15406514704227448, -0.03974147513508797, -0.16782070696353912, 0.038806989789009094, 0.17794960737228394, 0.06732267886400223, 0.16474543511867523, -0.2614486515522003, -0.13099731504917145, 0.01698174886405468, 0.09835021197795868, 0.09752479195594788, -0.0059940568171441555, -0.2877320349216461, -0.08665027469396591, 0.3310096859931946, 0.36709973216056824, 0.23146963119506836, 0.0800224095582962, -0.19221840798854828, 0.1806776076555252, -0.139163076877594, -0.30398815870285034, 0.2911356985569, 0.08886449784040451, 0.21338744461536407, -0.03931096941232681, -0.08109422028064728, 0.040655042976140976, 0.014723502099514008, -0.21324817836284637, 0.4463830292224884, -0.047115713357925415, 0.2079450786113739, 0.056893717497587204, -0.12083239108324051, 0.7277011871337891, -0.20523126423358917, 0.5491438508033752, -0.04962582886219025, -0.02854197658598423, 0.17975874245166779, 0.1668853759765625, 0.06362108886241913, -0.0458606481552124, -0.37462958693504333, 0.11716727167367935, 0.45638802647590637, 0.24993127584457397, -0.0838002935051918, -0.172766774892807, 0.5835241675376892, 0.29167845845222473, 0.36478596925735474, 0.17606911063194275, 0.2021326869726181, 0.012697530910372734, 0.2705928087234497, -0.15258798003196716, 0.10388095676898956, 0.14748676121234894, -0.32616010308265686, -0.10717269778251648, 0.020008742809295654, 0.07528533786535263, -0.2340390682220459, 0.01795835979282856, 0.32127895951271057, -0.2572569251060486, -0.12905775010585785, -0.4090140163898468, 1.4184530973434448, 0.08557124435901642, 0.23490868508815765, -0.15978465974330902, 0.24462322890758514, -0.2710895538330078, -0.2726512551307678, 0.043447982519865036, 0.06787000596523285, 0.10296464711427689, 0.093141108751297, -0.037485409528017044, -0.002019694307819009, 0.27225977182388306, -0.3823705315589905, 0.11214904487133026, -0.26854199171066284, -0.20328904688358307, 0.12094983458518982, 0.0935579240322113, -0.14861629903316498, -0.12450319528579712, 0.0691252276301384, 0.159400075674057, 0.14117135107517242, -0.07294625043869019, 0.18473735451698303, 0.03147130087018013, -0.1489015519618988, -0.5014901161193848, -0.2210652083158493, 0.12403599917888641, 0.2416117936372757, -0.34358900785446167, 0.26187583804130554, -0.211838036775589, 0.4165975749492645, -0.28572890162467957, 0.08792291581630707, 0.32568517327308655, 0.003656449494883418, 0.06988529115915298, 0.5611556768417358, 0.10603111982345581, 0.037978626787662506, 0.02955698035657406, -0.06746824830770493, -0.1482633799314499, -0.5449107885360718, 0.3342519700527191, 0.0971176028251648, -0.33135986328125, -0.7204279899597168, -0.044090937823057175, 0.25139278173446655, -0.2845679819583893, 0.10602468997240067, 0.31481438875198364, -0.06307033449411392, -0.21352703869342804, 0.28063854575157166, 0.12124025076627731, -0.2318575233221054, 0.08826012909412384, 0.2723349332809448, 0.0455743707716465, -0.20211546123027802, 0.013389835134148598, 0.15842215716838837, -0.5489970445632935, 0.29881051182746887, -0.16108715534210205, -0.13247306644916534, -0.4147740602493286, -0.4337920546531677, 0.26582396030426025, 0.10202186554670334, -0.17332540452480316, -0.0009665392572060227, -0.470337450504303, 0.12434210628271103, 0.21442335844039917, 0.04495007172226906, 0.5192146897315979, -0.11439254134893417, 0.0051569524221122265, -0.4351615309715271, 0.1464947909116745, 0.16858133673667908, 0.2662336230278015, 0.038852546364068985, -0.1159372329711914, -0.10131263732910156, 0.2622116506099701, -0.5027332305908203, -0.4619947373867035, 0.14662738144397736, 0.09900444746017456, 0.13193590939044952, -0.22426314651966095, -0.17569655179977417, 0.05404699966311455, 0.5376859903335571, 0.06993412971496582, 0.26779067516326904, -0.3406515419483185, 0.13875503838062286, 0.10586687177419662, 0.15727096796035767, -0.18541885912418365, 0.1697872281074524, 0.06339152157306671, 0.08047434687614441, 0.014903531409800053, 0.08539751172065735, -0.11519491672515869, 0.12529225647449493, 0.03005293384194374, -0.1533670574426651, -0.130628302693367, 0.0821855291724205, -0.1524922400712967, -0.09968490898609161, 0.032179053872823715, -0.10326314717531204, 0.2221747189760208, 0.22054623067378998, -0.29392778873443604, -0.06369803100824356, 0.23765330016613007, 0.36153143644332886, 0.20107276737689972, -0.03985494375228882, 0.08729420602321625, -0.2729731798171997, -0.024863943457603455, 0.24428489804267883, -0.04607325792312622, -0.1738656759262085, 0.04102372005581856, -0.057726357132196426, 0.390346884727478, -0.2277701050043106, -0.045386213809251785, -0.14836443960666656, -0.2965896427631378, 0.24717257916927338, 0.22770293056964874, -0.0023109684698283672, -0.3008337616920471, 0.23388613760471344, -0.19352224469184875, -0.2434084564447403, -0.09558526426553726, 0.13113945722579956, -0.19522985816001892, 0.006368204485625029, -0.12605057656764984, 0.2796711325645447, 0.018400875851511955, 0.058433324098587036, 0.08090362697839737, -0.3122745454311371, -0.11996208876371384, 0.11859321594238281, 0.18300147354602814, 0.40642809867858887, 0.2550675868988037, 0.3521411418914795, 0.021835846826434135, 0.020626498386263847, -0.10492729395627975, 0.23287682235240936, 0.3378571569919586, 0.026521701365709305, 0.10583163052797318, 0.0949505865573883, -0.10232801735401154, -0.09441488236188889, -0.03921408951282501, -0.09713190048933029, -0.1456843465566635, -0.279776394367218, -0.3036227524280548, 0.2906374931335449, 0.011904925107955933, 0.14826753735542297, -0.04473588615655899, 0.11135968565940857, 0.09747406095266342, 0.22960077226161957, 0.13116663694381714, 0.057501643896102905, 0.020902147516608238, 0.12197010964155197, 0.041638877242803574, -0.12271016836166382, 0.3490559160709381, 0.10091015696525574, 0.07526761293411255, -0.10435937345027924, -0.005567962769418955, 0.15600603818893433, -0.24071572721004486, -0.2867991030216217, -0.0260678231716156, 0.020607085898518562, 0.3974851369857788, 0.15353745222091675, -0.37936222553253174, 0.2829102575778961, -0.30483853816986084, -0.08850553631782532, 0.07853168249130249, -0.038409143686294556, 0.038142282515764236, 0.1467858850955963, 0.11090826243162155, -0.20067305862903595, -0.4106863737106323, 0.0063752480782568455, -0.15159089863300323, -0.23126262426376343, 0.29797282814979553, 0.08274251967668533, -0.1942712813615799, -0.3279012441635132, 0.15162338316440582, 0.0824880376458168, -0.2873757481575012, 0.29512616991996765, 0.006188282743096352, 0.15095464885234833, 0.031234685331583023, -0.12274199724197388, 0.3811333179473877, 0.33954644203186035, -0.27247917652130127, -0.41142675280570984, -0.03164481744170189, 0.48111772537231445, 0.09718280285596848, 0.4687705338001251, -0.07275611907243729, -0.20383493602275848, -0.215791255235672, 0.06514644622802734, 0.23861755430698395, 0.25263360142707825, 0.0425109900534153, -0.005224993918091059, -0.2264958918094635, 0.2205875962972641, -0.035136837512254715, 0.30347490310668945, -0.07353618741035461, -0.1707923859357834, 0.05107137933373451, 0.10389844328165054, 0.024531066417694092, -0.13620465993881226, 0.3558346927165985, -0.3871231973171234, 0.15914003551006317, 0.16132596135139465, 0.04315280541777611, -0.0740322470664978, -0.10027170181274414, 0.14175672829151154, 0.4487757682800293, -0.11418788880109787, 0.26506826281547546, 0.0347377210855484, -0.05464461073279381, -0.062092266976833344, -0.16654972732067108, -0.03729396313428879, 0.30620989203453064, -0.16693855822086334, -0.011998594738543034, -0.11646424978971481, -0.042373910546302795, 0.0752987191081047, -0.19835436344146729, -0.17682597041130066, -0.21215204894542694, 0.07361112534999847, 0.22915054857730865, -0.26265019178390503, -0.47748157382011414, 0.47105464339256287, -0.008030913770198822, -0.07304415851831436, 0.029315823689103127, -0.24048714339733124, 0.29949986934661865, -0.03174128383398056, -0.07082077115774155, 0.29202088713645935, 0.04862406104803085, -0.07823487371206284, -0.07213141024112701, 0.16296710073947906, -0.04973529651761055, 0.07499099522829056, -0.14850297570228577, -0.20403766632080078 ]
https://github.com/huggingface/datasets/issues/1840
Add common voice
I saw that this current datasets package holds common voice version 6.1, how to add the new version 7.0 that is already available?
## Adding a Dataset - **Name:** *common voice* - **Description:** *Mozilla Common Voice Dataset* - **Paper:** Homepage: https://voice.mozilla.org/en/datasets - **Data:** https://voice.mozilla.org/en/datasets - **Motivation:** Important speech dataset - **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
23
Add common voice
[ -0.3708668053150177, -0.4608248174190521, -0.1998300552368164, -0.1537925750017166, 0.0336056686937809, -0.08558868616819382, 0.24870429933071136, -0.01007359754294157, -0.31834450364112854, 0.5700875520706177, -0.3016563653945923, -0.04418359696865082, -0.14019635319709778, -0.07890324294567108, 0.012544545345008373, -0.10361343622207642, 0.01421298086643219, 0.5402330160140991, 0.3198259174823761, -0.46332889795303345, 0.1998220682144165, -0.04464210569858551, -0.1499473601579666, 0.04789603129029274, -0.20897209644317627, 0.05088508129119873, 0.10898055136203766, 0.010190635919570923, 0.06712233275175095, 0.07211757451295853, -0.19559256732463837, 0.2578076720237732, -0.34433090686798096, 0.26195794343948364, -0.00010211213520960882, -0.26000961661338806, 0.18188996613025665, 0.06934401392936707, -0.01578206568956375, 0.15972815454006195, -0.2812420427799225, 0.19836288690567017, -0.21527166664600372, 0.0703277736902237, -0.2337476909160614, 0.09368256479501724, -0.08693037927150726, -0.29961708188056946, 0.23661018908023834, -0.04018648713827133, 0.322313129901886, -0.19293007254600525, -0.11245059967041016, 0.023853963240981102, -0.0715925469994545, 0.05850483477115631, -0.09739366918802261, 0.3231731653213501, 0.31230393052101135, -0.03638791665434837, 0.2962448000907898, 0.08696109056472778, -0.13185513019561768, -0.3474971652030945, -0.20228667557239532, -0.09416673332452774, 0.19586196541786194, -0.11029522120952606, 0.12460940331220627, 0.13467630743980408, 0.35639292001724243, -0.049089159816503525, 0.05532774329185486, 0.09673149883747101, 0.30274638533592224, -0.13284292817115784, -0.10614454001188278, -0.10326129198074341, -0.1982690840959549, 0.09679022431373596, -0.0020784197840839624, -0.24537381529808044, -0.00709543889388442, 0.13682681322097778, 0.36405906081199646, 0.35867011547088623, 0.14900654554367065, -0.205433189868927, 0.19750167429447174, 0.08461323380470276, -0.3527458608150482, 0.21796377003192902, 0.04896368086338043, 0.08574426919221878, -0.019144481047987938, -0.2203271985054016, 0.06994133442640305, -0.26592808961868286, -0.030046742409467697, -0.3597054183483124, 0.290325403213501, 0.22192831337451935, -0.09864645451307297, 0.02130996435880661, -0.042113516479730606, -0.07327886670827866, 0.21955646574497223, 0.16343633830547333, 0.14499962329864502, -0.03441568836569786, -0.062425483018159866, 0.1831054985523224, -0.12057565897703171, -0.10293107479810715, 0.14276374876499176, 0.14980053901672363, -0.13262814283370972, 0.01592794433236122, -0.07439602166414261, -0.002084013307467103, -0.2912816107273102, -0.18407046794891357, -0.03902089595794678, 0.10770931094884872, 0.3376438617706299, 0.5041728615760803, -0.1475781947374344, 0.16855548322200775, -0.006841054651886225, -0.28689536452293396, -0.32170918583869934, 0.07846569269895554, -0.04707876592874527, 0.32287949323654175, 0.15498757362365723, -0.054236628115177155, -0.15157511830329895, 0.2108956128358841, 0.3151669502258301, -0.14860591292381287, -0.09497445821762085, 0.1951139122247696, -0.4258025288581848, -0.3878842294216156, -0.21735359728336334, 0.008524853736162186, 0.11901529878377914, -0.020606769248843193, -0.11622464656829834, -0.11713673174381256, 0.31700795888900757, -0.2764450013637543, -0.11236649751663208, 0.37331750988960266, 0.5133559703826904, -0.006539816968142986, 0.3215698301792145, 0.21889042854309082, 0.18027690052986145, -0.4406457543373108, 0.2565990388393402, 0.12129958719015121, -0.11973520368337631, 0.050352614372968674, 0.14054572582244873, 0.0027299588546156883, -0.14962457120418549, -0.163696750998497, -0.2877713441848755, -0.1018444374203682, 0.14513370394706726, 0.13081401586532593, -0.020771650597453117, -0.057337529957294464, 0.03285056725144386, 0.23792563378810883, 0.37146928906440735, -0.25109460949897766, -0.4024975597858429, 0.053390178829431534, -0.3344748914241791, -0.11331289261579514, 0.3176131546497345, -0.12274086475372314, -0.16019953787326813, 0.06687642633914948, 0.5940418243408203, 0.019943978637456894, -0.23790669441223145, -0.07883989065885544, -0.123367078602314, -0.05659448355436325, 0.05443521589040756, 0.10889788717031479, -0.25944122672080994, 0.1553795486688614, 0.08815201371908188, -0.027238262817263603, 0.3260859251022339, -0.33309856057167053, 0.08641164749860764, 0.04682745039463043, 0.5232521891593933, -0.43047386407852173, -0.14919012784957886, 0.02435907907783985, 0.2074962854385376, -0.35765767097473145, -0.03551860898733139, 0.3889489769935608, 0.4060521721839905, -0.32451343536376953, -0.1830165833234787, -0.5533573031425476, -0.010947802104055882, 0.39679256081581116, 0.28199464082717896, 0.17418941855430603, -0.3238767385482788, -0.2982928454875946, -0.17138895392417908, 0.09071232378482819, 0.10476052016019821, -0.22436241805553436, 0.32689306139945984, 0.21525327861309052, -0.2936275601387024, -0.24364237487316132, 0.11893394589424133, 0.3187271058559418, -0.1331418752670288, 0.20820410549640656, -0.08293090015649796, 0.10836537927389145, -0.5428754687309265, 0.4654918313026428, -0.10132253170013428, 0.14579994976520538, 0.03480376675724983, -0.40912824869155884, 0.08963555842638016, 0.04220088571310043, 0.016053467988967896, -0.135767862200737, 0.38734814524650574, -0.006370494607836008, 0.1451708972454071, -0.0825086236000061, -0.15859125554561615, -0.09493150562047958, -0.07976404577493668, 0.08971616625785828, 0.06411302834749222, -0.2431502491235733, 0.06421365588903427, -0.0894070565700531, 0.3017312288284302, 0.17808224260807037, -0.358614981174469, 0.3418658673763275, 0.22779032588005066, -0.060093119740486145, 0.36844828724861145, 0.041443631052970886, 0.08924271911382675, -0.19355055689811707, 0.11912145465612411, -0.42179492115974426, 0.11783535033464432, 0.24258941411972046, 0.1744186282157898, 0.09256447106599808, 0.16005991399288177, -0.056155648082494736, 0.07983111590147018, 0.0012136967852711678, 0.03808600828051567, 0.3081904947757721, -0.07827373594045639, 0.013646770268678665, -0.1822734773159027, -0.23021723330020905, -0.06391669064760208, -0.02404203824698925, -0.054774053394794464, -0.31431299448013306, 0.05817467346787453, -0.043065983802080154, 0.06793206930160522, -0.09187448769807816, -0.1542147696018219, 0.09586253762245178, 0.3755019009113312, 0.06784971058368683, 0.11388764530420303, 0.20457661151885986, 0.042205795645713806, 0.4860658645629883, 0.029864750802516937, -0.0358709916472435, -0.1627412736415863, 0.05382882431149483, -0.20447702705860138, 0.24538935720920563, -0.042559824883937836, -0.16348274052143097, -0.10133633762598038, 0.01714223064482212, 0.17241725325584412, 0.09933719038963318, -0.1861724555492401, 0.040135499089956284, -0.21046461164951324, -0.2336132973432541, 0.08995542675256729, -0.11131083965301514, -0.22306384146213531, -0.5058521628379822, 0.0775589793920517, -0.004995315335690975, -0.1862984597682953, -0.08011037111282349, -0.08553024381399155, 0.06753133237361908, -0.1168326660990715, -0.42713239789009094, -0.1359686255455017, -0.5074077248573303, 0.0962257832288742, -0.4256821572780609, 0.03241673856973648, -0.2199917733669281, -0.0702042207121849, -0.27437418699264526, -0.044955555349588394, 0.6212708950042725, -0.24063581228256226, 0.20187562704086304, 0.05353983864188194, -0.013873878866434097, 0.016551125794649124, -0.1803261637687683, -0.3650846779346466, 0.41777223348617554, -0.28372105956077576, 0.11977983266115189, 0.05052243545651436, 0.06473757326602936, 0.05172613263130188, 0.056887682527303696, 0.21529914438724518, 0.12723161280155182, 0.2912750542163849, -0.34149742126464844, -0.0357561931014061, -0.3311633765697479, -0.022305553779006004, 0.5565170049667358, 0.10631894320249557, -0.2185995727777481, 0.046131432056427, -0.05799376219511032, 0.671946108341217, 0.06401043385267258, 0.16262970864772797, 0.1605975329875946, 0.09102556854486465, -0.05458664149045944, 0.12341951578855515, -0.23592256009578705, 0.3074943423271179, 0.41698968410491943, 0.12864528596401215, 0.3672695457935333, 0.036550138145685196, -0.23404157161712646, -0.07464919239282608, -0.5429750680923462, -0.2654253840446472, -0.06918543577194214, -0.06767267733812332, -0.17436642944812775, 0.1771753430366516, -0.04207704961299896, -0.26693323254585266, -0.062327079474925995, -0.10094024240970612, 0.0498969703912735, -0.08466315269470215, 0.03479320555925369, -0.15406514704227448, -0.03974147513508797, -0.16782070696353912, 0.038806989789009094, 0.17794960737228394, 0.06732267886400223, 0.16474543511867523, -0.2614486515522003, -0.13099731504917145, 0.01698174886405468, 0.09835021197795868, 0.09752479195594788, -0.0059940568171441555, -0.2877320349216461, -0.08665027469396591, 0.3310096859931946, 0.36709973216056824, 0.23146963119506836, 0.0800224095582962, -0.19221840798854828, 0.1806776076555252, -0.139163076877594, -0.30398815870285034, 0.2911356985569, 0.08886449784040451, 0.21338744461536407, -0.03931096941232681, -0.08109422028064728, 0.040655042976140976, 0.014723502099514008, -0.21324817836284637, 0.4463830292224884, -0.047115713357925415, 0.2079450786113739, 0.056893717497587204, -0.12083239108324051, 0.7277011871337891, -0.20523126423358917, 0.5491438508033752, -0.04962582886219025, -0.02854197658598423, 0.17975874245166779, 0.1668853759765625, 0.06362108886241913, -0.0458606481552124, -0.37462958693504333, 0.11716727167367935, 0.45638802647590637, 0.24993127584457397, -0.0838002935051918, -0.172766774892807, 0.5835241675376892, 0.29167845845222473, 0.36478596925735474, 0.17606911063194275, 0.2021326869726181, 0.012697530910372734, 0.2705928087234497, -0.15258798003196716, 0.10388095676898956, 0.14748676121234894, -0.32616010308265686, -0.10717269778251648, 0.020008742809295654, 0.07528533786535263, -0.2340390682220459, 0.01795835979282856, 0.32127895951271057, -0.2572569251060486, -0.12905775010585785, -0.4090140163898468, 1.4184530973434448, 0.08557124435901642, 0.23490868508815765, -0.15978465974330902, 0.24462322890758514, -0.2710895538330078, -0.2726512551307678, 0.043447982519865036, 0.06787000596523285, 0.10296464711427689, 0.093141108751297, -0.037485409528017044, -0.002019694307819009, 0.27225977182388306, -0.3823705315589905, 0.11214904487133026, -0.26854199171066284, -0.20328904688358307, 0.12094983458518982, 0.0935579240322113, -0.14861629903316498, -0.12450319528579712, 0.0691252276301384, 0.159400075674057, 0.14117135107517242, -0.07294625043869019, 0.18473735451698303, 0.03147130087018013, -0.1489015519618988, -0.5014901161193848, -0.2210652083158493, 0.12403599917888641, 0.2416117936372757, -0.34358900785446167, 0.26187583804130554, -0.211838036775589, 0.4165975749492645, -0.28572890162467957, 0.08792291581630707, 0.32568517327308655, 0.003656449494883418, 0.06988529115915298, 0.5611556768417358, 0.10603111982345581, 0.037978626787662506, 0.02955698035657406, -0.06746824830770493, -0.1482633799314499, -0.5449107885360718, 0.3342519700527191, 0.0971176028251648, -0.33135986328125, -0.7204279899597168, -0.044090937823057175, 0.25139278173446655, -0.2845679819583893, 0.10602468997240067, 0.31481438875198364, -0.06307033449411392, -0.21352703869342804, 0.28063854575157166, 0.12124025076627731, -0.2318575233221054, 0.08826012909412384, 0.2723349332809448, 0.0455743707716465, -0.20211546123027802, 0.013389835134148598, 0.15842215716838837, -0.5489970445632935, 0.29881051182746887, -0.16108715534210205, -0.13247306644916534, -0.4147740602493286, -0.4337920546531677, 0.26582396030426025, 0.10202186554670334, -0.17332540452480316, -0.0009665392572060227, -0.470337450504303, 0.12434210628271103, 0.21442335844039917, 0.04495007172226906, 0.5192146897315979, -0.11439254134893417, 0.0051569524221122265, -0.4351615309715271, 0.1464947909116745, 0.16858133673667908, 0.2662336230278015, 0.038852546364068985, -0.1159372329711914, -0.10131263732910156, 0.2622116506099701, -0.5027332305908203, -0.4619947373867035, 0.14662738144397736, 0.09900444746017456, 0.13193590939044952, -0.22426314651966095, -0.17569655179977417, 0.05404699966311455, 0.5376859903335571, 0.06993412971496582, 0.26779067516326904, -0.3406515419483185, 0.13875503838062286, 0.10586687177419662, 0.15727096796035767, -0.18541885912418365, 0.1697872281074524, 0.06339152157306671, 0.08047434687614441, 0.014903531409800053, 0.08539751172065735, -0.11519491672515869, 0.12529225647449493, 0.03005293384194374, -0.1533670574426651, -0.130628302693367, 0.0821855291724205, -0.1524922400712967, -0.09968490898609161, 0.032179053872823715, -0.10326314717531204, 0.2221747189760208, 0.22054623067378998, -0.29392778873443604, -0.06369803100824356, 0.23765330016613007, 0.36153143644332886, 0.20107276737689972, -0.03985494375228882, 0.08729420602321625, -0.2729731798171997, -0.024863943457603455, 0.24428489804267883, -0.04607325792312622, -0.1738656759262085, 0.04102372005581856, -0.057726357132196426, 0.390346884727478, -0.2277701050043106, -0.045386213809251785, -0.14836443960666656, -0.2965896427631378, 0.24717257916927338, 0.22770293056964874, -0.0023109684698283672, -0.3008337616920471, 0.23388613760471344, -0.19352224469184875, -0.2434084564447403, -0.09558526426553726, 0.13113945722579956, -0.19522985816001892, 0.006368204485625029, -0.12605057656764984, 0.2796711325645447, 0.018400875851511955, 0.058433324098587036, 0.08090362697839737, -0.3122745454311371, -0.11996208876371384, 0.11859321594238281, 0.18300147354602814, 0.40642809867858887, 0.2550675868988037, 0.3521411418914795, 0.021835846826434135, 0.020626498386263847, -0.10492729395627975, 0.23287682235240936, 0.3378571569919586, 0.026521701365709305, 0.10583163052797318, 0.0949505865573883, -0.10232801735401154, -0.09441488236188889, -0.03921408951282501, -0.09713190048933029, -0.1456843465566635, -0.279776394367218, -0.3036227524280548, 0.2906374931335449, 0.011904925107955933, 0.14826753735542297, -0.04473588615655899, 0.11135968565940857, 0.09747406095266342, 0.22960077226161957, 0.13116663694381714, 0.057501643896102905, 0.020902147516608238, 0.12197010964155197, 0.041638877242803574, -0.12271016836166382, 0.3490559160709381, 0.10091015696525574, 0.07526761293411255, -0.10435937345027924, -0.005567962769418955, 0.15600603818893433, -0.24071572721004486, -0.2867991030216217, -0.0260678231716156, 0.020607085898518562, 0.3974851369857788, 0.15353745222091675, -0.37936222553253174, 0.2829102575778961, -0.30483853816986084, -0.08850553631782532, 0.07853168249130249, -0.038409143686294556, 0.038142282515764236, 0.1467858850955963, 0.11090826243162155, -0.20067305862903595, -0.4106863737106323, 0.0063752480782568455, -0.15159089863300323, -0.23126262426376343, 0.29797282814979553, 0.08274251967668533, -0.1942712813615799, -0.3279012441635132, 0.15162338316440582, 0.0824880376458168, -0.2873757481575012, 0.29512616991996765, 0.006188282743096352, 0.15095464885234833, 0.031234685331583023, -0.12274199724197388, 0.3811333179473877, 0.33954644203186035, -0.27247917652130127, -0.41142675280570984, -0.03164481744170189, 0.48111772537231445, 0.09718280285596848, 0.4687705338001251, -0.07275611907243729, -0.20383493602275848, -0.215791255235672, 0.06514644622802734, 0.23861755430698395, 0.25263360142707825, 0.0425109900534153, -0.005224993918091059, -0.2264958918094635, 0.2205875962972641, -0.035136837512254715, 0.30347490310668945, -0.07353618741035461, -0.1707923859357834, 0.05107137933373451, 0.10389844328165054, 0.024531066417694092, -0.13620465993881226, 0.3558346927165985, -0.3871231973171234, 0.15914003551006317, 0.16132596135139465, 0.04315280541777611, -0.0740322470664978, -0.10027170181274414, 0.14175672829151154, 0.4487757682800293, -0.11418788880109787, 0.26506826281547546, 0.0347377210855484, -0.05464461073279381, -0.062092266976833344, -0.16654972732067108, -0.03729396313428879, 0.30620989203453064, -0.16693855822086334, -0.011998594738543034, -0.11646424978971481, -0.042373910546302795, 0.0752987191081047, -0.19835436344146729, -0.17682597041130066, -0.21215204894542694, 0.07361112534999847, 0.22915054857730865, -0.26265019178390503, -0.47748157382011414, 0.47105464339256287, -0.008030913770198822, -0.07304415851831436, 0.029315823689103127, -0.24048714339733124, 0.29949986934661865, -0.03174128383398056, -0.07082077115774155, 0.29202088713645935, 0.04862406104803085, -0.07823487371206284, -0.07213141024112701, 0.16296710073947906, -0.04973529651761055, 0.07499099522829056, -0.14850297570228577, -0.20403766632080078 ]
https://github.com/huggingface/datasets/issues/1840
Add common voice
Common voice still appears to be a 6.1. Is the plan still to upgrade to 7.0?
## Adding a Dataset - **Name:** *common voice* - **Description:** *Mozilla Common Voice Dataset* - **Paper:** Homepage: https://voice.mozilla.org/en/datasets - **Data:** https://voice.mozilla.org/en/datasets - **Motivation:** Important speech dataset - **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
16
Add common voice
[ -0.3708668053150177, -0.4608248174190521, -0.1998300552368164, -0.1537925750017166, 0.0336056686937809, -0.08558868616819382, 0.24870429933071136, -0.01007359754294157, -0.31834450364112854, 0.5700875520706177, -0.3016563653945923, -0.04418359696865082, -0.14019635319709778, -0.07890324294567108, 0.012544545345008373, -0.10361343622207642, 0.01421298086643219, 0.5402330160140991, 0.3198259174823761, -0.46332889795303345, 0.1998220682144165, -0.04464210569858551, -0.1499473601579666, 0.04789603129029274, -0.20897209644317627, 0.05088508129119873, 0.10898055136203766, 0.010190635919570923, 0.06712233275175095, 0.07211757451295853, -0.19559256732463837, 0.2578076720237732, -0.34433090686798096, 0.26195794343948364, -0.00010211213520960882, -0.26000961661338806, 0.18188996613025665, 0.06934401392936707, -0.01578206568956375, 0.15972815454006195, -0.2812420427799225, 0.19836288690567017, -0.21527166664600372, 0.0703277736902237, -0.2337476909160614, 0.09368256479501724, -0.08693037927150726, -0.29961708188056946, 0.23661018908023834, -0.04018648713827133, 0.322313129901886, -0.19293007254600525, -0.11245059967041016, 0.023853963240981102, -0.0715925469994545, 0.05850483477115631, -0.09739366918802261, 0.3231731653213501, 0.31230393052101135, -0.03638791665434837, 0.2962448000907898, 0.08696109056472778, -0.13185513019561768, -0.3474971652030945, -0.20228667557239532, -0.09416673332452774, 0.19586196541786194, -0.11029522120952606, 0.12460940331220627, 0.13467630743980408, 0.35639292001724243, -0.049089159816503525, 0.05532774329185486, 0.09673149883747101, 0.30274638533592224, -0.13284292817115784, -0.10614454001188278, -0.10326129198074341, -0.1982690840959549, 0.09679022431373596, -0.0020784197840839624, -0.24537381529808044, -0.00709543889388442, 0.13682681322097778, 0.36405906081199646, 0.35867011547088623, 0.14900654554367065, -0.205433189868927, 0.19750167429447174, 0.08461323380470276, -0.3527458608150482, 0.21796377003192902, 0.04896368086338043, 0.08574426919221878, -0.019144481047987938, -0.2203271985054016, 0.06994133442640305, -0.26592808961868286, -0.030046742409467697, -0.3597054183483124, 0.290325403213501, 0.22192831337451935, -0.09864645451307297, 0.02130996435880661, -0.042113516479730606, -0.07327886670827866, 0.21955646574497223, 0.16343633830547333, 0.14499962329864502, -0.03441568836569786, -0.062425483018159866, 0.1831054985523224, -0.12057565897703171, -0.10293107479810715, 0.14276374876499176, 0.14980053901672363, -0.13262814283370972, 0.01592794433236122, -0.07439602166414261, -0.002084013307467103, -0.2912816107273102, -0.18407046794891357, -0.03902089595794678, 0.10770931094884872, 0.3376438617706299, 0.5041728615760803, -0.1475781947374344, 0.16855548322200775, -0.006841054651886225, -0.28689536452293396, -0.32170918583869934, 0.07846569269895554, -0.04707876592874527, 0.32287949323654175, 0.15498757362365723, -0.054236628115177155, -0.15157511830329895, 0.2108956128358841, 0.3151669502258301, -0.14860591292381287, -0.09497445821762085, 0.1951139122247696, -0.4258025288581848, -0.3878842294216156, -0.21735359728336334, 0.008524853736162186, 0.11901529878377914, -0.020606769248843193, -0.11622464656829834, -0.11713673174381256, 0.31700795888900757, -0.2764450013637543, -0.11236649751663208, 0.37331750988960266, 0.5133559703826904, -0.006539816968142986, 0.3215698301792145, 0.21889042854309082, 0.18027690052986145, -0.4406457543373108, 0.2565990388393402, 0.12129958719015121, -0.11973520368337631, 0.050352614372968674, 0.14054572582244873, 0.0027299588546156883, -0.14962457120418549, -0.163696750998497, -0.2877713441848755, -0.1018444374203682, 0.14513370394706726, 0.13081401586532593, -0.020771650597453117, -0.057337529957294464, 0.03285056725144386, 0.23792563378810883, 0.37146928906440735, -0.25109460949897766, -0.4024975597858429, 0.053390178829431534, -0.3344748914241791, -0.11331289261579514, 0.3176131546497345, -0.12274086475372314, -0.16019953787326813, 0.06687642633914948, 0.5940418243408203, 0.019943978637456894, -0.23790669441223145, -0.07883989065885544, -0.123367078602314, -0.05659448355436325, 0.05443521589040756, 0.10889788717031479, -0.25944122672080994, 0.1553795486688614, 0.08815201371908188, -0.027238262817263603, 0.3260859251022339, -0.33309856057167053, 0.08641164749860764, 0.04682745039463043, 0.5232521891593933, -0.43047386407852173, -0.14919012784957886, 0.02435907907783985, 0.2074962854385376, -0.35765767097473145, -0.03551860898733139, 0.3889489769935608, 0.4060521721839905, -0.32451343536376953, -0.1830165833234787, -0.5533573031425476, -0.010947802104055882, 0.39679256081581116, 0.28199464082717896, 0.17418941855430603, -0.3238767385482788, -0.2982928454875946, -0.17138895392417908, 0.09071232378482819, 0.10476052016019821, -0.22436241805553436, 0.32689306139945984, 0.21525327861309052, -0.2936275601387024, -0.24364237487316132, 0.11893394589424133, 0.3187271058559418, -0.1331418752670288, 0.20820410549640656, -0.08293090015649796, 0.10836537927389145, -0.5428754687309265, 0.4654918313026428, -0.10132253170013428, 0.14579994976520538, 0.03480376675724983, -0.40912824869155884, 0.08963555842638016, 0.04220088571310043, 0.016053467988967896, -0.135767862200737, 0.38734814524650574, -0.006370494607836008, 0.1451708972454071, -0.0825086236000061, -0.15859125554561615, -0.09493150562047958, -0.07976404577493668, 0.08971616625785828, 0.06411302834749222, -0.2431502491235733, 0.06421365588903427, -0.0894070565700531, 0.3017312288284302, 0.17808224260807037, -0.358614981174469, 0.3418658673763275, 0.22779032588005066, -0.060093119740486145, 0.36844828724861145, 0.041443631052970886, 0.08924271911382675, -0.19355055689811707, 0.11912145465612411, -0.42179492115974426, 0.11783535033464432, 0.24258941411972046, 0.1744186282157898, 0.09256447106599808, 0.16005991399288177, -0.056155648082494736, 0.07983111590147018, 0.0012136967852711678, 0.03808600828051567, 0.3081904947757721, -0.07827373594045639, 0.013646770268678665, -0.1822734773159027, -0.23021723330020905, -0.06391669064760208, -0.02404203824698925, -0.054774053394794464, -0.31431299448013306, 0.05817467346787453, -0.043065983802080154, 0.06793206930160522, -0.09187448769807816, -0.1542147696018219, 0.09586253762245178, 0.3755019009113312, 0.06784971058368683, 0.11388764530420303, 0.20457661151885986, 0.042205795645713806, 0.4860658645629883, 0.029864750802516937, -0.0358709916472435, -0.1627412736415863, 0.05382882431149483, -0.20447702705860138, 0.24538935720920563, -0.042559824883937836, -0.16348274052143097, -0.10133633762598038, 0.01714223064482212, 0.17241725325584412, 0.09933719038963318, -0.1861724555492401, 0.040135499089956284, -0.21046461164951324, -0.2336132973432541, 0.08995542675256729, -0.11131083965301514, -0.22306384146213531, -0.5058521628379822, 0.0775589793920517, -0.004995315335690975, -0.1862984597682953, -0.08011037111282349, -0.08553024381399155, 0.06753133237361908, -0.1168326660990715, -0.42713239789009094, -0.1359686255455017, -0.5074077248573303, 0.0962257832288742, -0.4256821572780609, 0.03241673856973648, -0.2199917733669281, -0.0702042207121849, -0.27437418699264526, -0.044955555349588394, 0.6212708950042725, -0.24063581228256226, 0.20187562704086304, 0.05353983864188194, -0.013873878866434097, 0.016551125794649124, -0.1803261637687683, -0.3650846779346466, 0.41777223348617554, -0.28372105956077576, 0.11977983266115189, 0.05052243545651436, 0.06473757326602936, 0.05172613263130188, 0.056887682527303696, 0.21529914438724518, 0.12723161280155182, 0.2912750542163849, -0.34149742126464844, -0.0357561931014061, -0.3311633765697479, -0.022305553779006004, 0.5565170049667358, 0.10631894320249557, -0.2185995727777481, 0.046131432056427, -0.05799376219511032, 0.671946108341217, 0.06401043385267258, 0.16262970864772797, 0.1605975329875946, 0.09102556854486465, -0.05458664149045944, 0.12341951578855515, -0.23592256009578705, 0.3074943423271179, 0.41698968410491943, 0.12864528596401215, 0.3672695457935333, 0.036550138145685196, -0.23404157161712646, -0.07464919239282608, -0.5429750680923462, -0.2654253840446472, -0.06918543577194214, -0.06767267733812332, -0.17436642944812775, 0.1771753430366516, -0.04207704961299896, -0.26693323254585266, -0.062327079474925995, -0.10094024240970612, 0.0498969703912735, -0.08466315269470215, 0.03479320555925369, -0.15406514704227448, -0.03974147513508797, -0.16782070696353912, 0.038806989789009094, 0.17794960737228394, 0.06732267886400223, 0.16474543511867523, -0.2614486515522003, -0.13099731504917145, 0.01698174886405468, 0.09835021197795868, 0.09752479195594788, -0.0059940568171441555, -0.2877320349216461, -0.08665027469396591, 0.3310096859931946, 0.36709973216056824, 0.23146963119506836, 0.0800224095582962, -0.19221840798854828, 0.1806776076555252, -0.139163076877594, -0.30398815870285034, 0.2911356985569, 0.08886449784040451, 0.21338744461536407, -0.03931096941232681, -0.08109422028064728, 0.040655042976140976, 0.014723502099514008, -0.21324817836284637, 0.4463830292224884, -0.047115713357925415, 0.2079450786113739, 0.056893717497587204, -0.12083239108324051, 0.7277011871337891, -0.20523126423358917, 0.5491438508033752, -0.04962582886219025, -0.02854197658598423, 0.17975874245166779, 0.1668853759765625, 0.06362108886241913, -0.0458606481552124, -0.37462958693504333, 0.11716727167367935, 0.45638802647590637, 0.24993127584457397, -0.0838002935051918, -0.172766774892807, 0.5835241675376892, 0.29167845845222473, 0.36478596925735474, 0.17606911063194275, 0.2021326869726181, 0.012697530910372734, 0.2705928087234497, -0.15258798003196716, 0.10388095676898956, 0.14748676121234894, -0.32616010308265686, -0.10717269778251648, 0.020008742809295654, 0.07528533786535263, -0.2340390682220459, 0.01795835979282856, 0.32127895951271057, -0.2572569251060486, -0.12905775010585785, -0.4090140163898468, 1.4184530973434448, 0.08557124435901642, 0.23490868508815765, -0.15978465974330902, 0.24462322890758514, -0.2710895538330078, -0.2726512551307678, 0.043447982519865036, 0.06787000596523285, 0.10296464711427689, 0.093141108751297, -0.037485409528017044, -0.002019694307819009, 0.27225977182388306, -0.3823705315589905, 0.11214904487133026, -0.26854199171066284, -0.20328904688358307, 0.12094983458518982, 0.0935579240322113, -0.14861629903316498, -0.12450319528579712, 0.0691252276301384, 0.159400075674057, 0.14117135107517242, -0.07294625043869019, 0.18473735451698303, 0.03147130087018013, -0.1489015519618988, -0.5014901161193848, -0.2210652083158493, 0.12403599917888641, 0.2416117936372757, -0.34358900785446167, 0.26187583804130554, -0.211838036775589, 0.4165975749492645, -0.28572890162467957, 0.08792291581630707, 0.32568517327308655, 0.003656449494883418, 0.06988529115915298, 0.5611556768417358, 0.10603111982345581, 0.037978626787662506, 0.02955698035657406, -0.06746824830770493, -0.1482633799314499, -0.5449107885360718, 0.3342519700527191, 0.0971176028251648, -0.33135986328125, -0.7204279899597168, -0.044090937823057175, 0.25139278173446655, -0.2845679819583893, 0.10602468997240067, 0.31481438875198364, -0.06307033449411392, -0.21352703869342804, 0.28063854575157166, 0.12124025076627731, -0.2318575233221054, 0.08826012909412384, 0.2723349332809448, 0.0455743707716465, -0.20211546123027802, 0.013389835134148598, 0.15842215716838837, -0.5489970445632935, 0.29881051182746887, -0.16108715534210205, -0.13247306644916534, -0.4147740602493286, -0.4337920546531677, 0.26582396030426025, 0.10202186554670334, -0.17332540452480316, -0.0009665392572060227, -0.470337450504303, 0.12434210628271103, 0.21442335844039917, 0.04495007172226906, 0.5192146897315979, -0.11439254134893417, 0.0051569524221122265, -0.4351615309715271, 0.1464947909116745, 0.16858133673667908, 0.2662336230278015, 0.038852546364068985, -0.1159372329711914, -0.10131263732910156, 0.2622116506099701, -0.5027332305908203, -0.4619947373867035, 0.14662738144397736, 0.09900444746017456, 0.13193590939044952, -0.22426314651966095, -0.17569655179977417, 0.05404699966311455, 0.5376859903335571, 0.06993412971496582, 0.26779067516326904, -0.3406515419483185, 0.13875503838062286, 0.10586687177419662, 0.15727096796035767, -0.18541885912418365, 0.1697872281074524, 0.06339152157306671, 0.08047434687614441, 0.014903531409800053, 0.08539751172065735, -0.11519491672515869, 0.12529225647449493, 0.03005293384194374, -0.1533670574426651, -0.130628302693367, 0.0821855291724205, -0.1524922400712967, -0.09968490898609161, 0.032179053872823715, -0.10326314717531204, 0.2221747189760208, 0.22054623067378998, -0.29392778873443604, -0.06369803100824356, 0.23765330016613007, 0.36153143644332886, 0.20107276737689972, -0.03985494375228882, 0.08729420602321625, -0.2729731798171997, -0.024863943457603455, 0.24428489804267883, -0.04607325792312622, -0.1738656759262085, 0.04102372005581856, -0.057726357132196426, 0.390346884727478, -0.2277701050043106, -0.045386213809251785, -0.14836443960666656, -0.2965896427631378, 0.24717257916927338, 0.22770293056964874, -0.0023109684698283672, -0.3008337616920471, 0.23388613760471344, -0.19352224469184875, -0.2434084564447403, -0.09558526426553726, 0.13113945722579956, -0.19522985816001892, 0.006368204485625029, -0.12605057656764984, 0.2796711325645447, 0.018400875851511955, 0.058433324098587036, 0.08090362697839737, -0.3122745454311371, -0.11996208876371384, 0.11859321594238281, 0.18300147354602814, 0.40642809867858887, 0.2550675868988037, 0.3521411418914795, 0.021835846826434135, 0.020626498386263847, -0.10492729395627975, 0.23287682235240936, 0.3378571569919586, 0.026521701365709305, 0.10583163052797318, 0.0949505865573883, -0.10232801735401154, -0.09441488236188889, -0.03921408951282501, -0.09713190048933029, -0.1456843465566635, -0.279776394367218, -0.3036227524280548, 0.2906374931335449, 0.011904925107955933, 0.14826753735542297, -0.04473588615655899, 0.11135968565940857, 0.09747406095266342, 0.22960077226161957, 0.13116663694381714, 0.057501643896102905, 0.020902147516608238, 0.12197010964155197, 0.041638877242803574, -0.12271016836166382, 0.3490559160709381, 0.10091015696525574, 0.07526761293411255, -0.10435937345027924, -0.005567962769418955, 0.15600603818893433, -0.24071572721004486, -0.2867991030216217, -0.0260678231716156, 0.020607085898518562, 0.3974851369857788, 0.15353745222091675, -0.37936222553253174, 0.2829102575778961, -0.30483853816986084, -0.08850553631782532, 0.07853168249130249, -0.038409143686294556, 0.038142282515764236, 0.1467858850955963, 0.11090826243162155, -0.20067305862903595, -0.4106863737106323, 0.0063752480782568455, -0.15159089863300323, -0.23126262426376343, 0.29797282814979553, 0.08274251967668533, -0.1942712813615799, -0.3279012441635132, 0.15162338316440582, 0.0824880376458168, -0.2873757481575012, 0.29512616991996765, 0.006188282743096352, 0.15095464885234833, 0.031234685331583023, -0.12274199724197388, 0.3811333179473877, 0.33954644203186035, -0.27247917652130127, -0.41142675280570984, -0.03164481744170189, 0.48111772537231445, 0.09718280285596848, 0.4687705338001251, -0.07275611907243729, -0.20383493602275848, -0.215791255235672, 0.06514644622802734, 0.23861755430698395, 0.25263360142707825, 0.0425109900534153, -0.005224993918091059, -0.2264958918094635, 0.2205875962972641, -0.035136837512254715, 0.30347490310668945, -0.07353618741035461, -0.1707923859357834, 0.05107137933373451, 0.10389844328165054, 0.024531066417694092, -0.13620465993881226, 0.3558346927165985, -0.3871231973171234, 0.15914003551006317, 0.16132596135139465, 0.04315280541777611, -0.0740322470664978, -0.10027170181274414, 0.14175672829151154, 0.4487757682800293, -0.11418788880109787, 0.26506826281547546, 0.0347377210855484, -0.05464461073279381, -0.062092266976833344, -0.16654972732067108, -0.03729396313428879, 0.30620989203453064, -0.16693855822086334, -0.011998594738543034, -0.11646424978971481, -0.042373910546302795, 0.0752987191081047, -0.19835436344146729, -0.17682597041130066, -0.21215204894542694, 0.07361112534999847, 0.22915054857730865, -0.26265019178390503, -0.47748157382011414, 0.47105464339256287, -0.008030913770198822, -0.07304415851831436, 0.029315823689103127, -0.24048714339733124, 0.29949986934661865, -0.03174128383398056, -0.07082077115774155, 0.29202088713645935, 0.04862406104803085, -0.07823487371206284, -0.07213141024112701, 0.16296710073947906, -0.04973529651761055, 0.07499099522829056, -0.14850297570228577, -0.20403766632080078 ]
https://github.com/huggingface/datasets/issues/1840
Add common voice
We actually already have the code and everything ready to add Common Voice 7.0 to `datasets` but are still waiting for the common voice authors to give us the green light :-) Also gently pinging @phirework and @milupo here
## Adding a Dataset - **Name:** *common voice* - **Description:** *Mozilla Common Voice Dataset* - **Paper:** Homepage: https://voice.mozilla.org/en/datasets - **Data:** https://voice.mozilla.org/en/datasets - **Motivation:** Important speech dataset - **TFDatasets Implementation**: https://www.tensorflow.org/datasets/catalog/common_voice If interested in tackling this issue, feel free to tag @patrickvonplaten Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
39
Add common voice
[ -0.3708668053150177, -0.4608248174190521, -0.1998300552368164, -0.1537925750017166, 0.0336056686937809, -0.08558868616819382, 0.24870429933071136, -0.01007359754294157, -0.31834450364112854, 0.5700875520706177, -0.3016563653945923, -0.04418359696865082, -0.14019635319709778, -0.07890324294567108, 0.012544545345008373, -0.10361343622207642, 0.01421298086643219, 0.5402330160140991, 0.3198259174823761, -0.46332889795303345, 0.1998220682144165, -0.04464210569858551, -0.1499473601579666, 0.04789603129029274, -0.20897209644317627, 0.05088508129119873, 0.10898055136203766, 0.010190635919570923, 0.06712233275175095, 0.07211757451295853, -0.19559256732463837, 0.2578076720237732, -0.34433090686798096, 0.26195794343948364, -0.00010211213520960882, -0.26000961661338806, 0.18188996613025665, 0.06934401392936707, -0.01578206568956375, 0.15972815454006195, -0.2812420427799225, 0.19836288690567017, -0.21527166664600372, 0.0703277736902237, -0.2337476909160614, 0.09368256479501724, -0.08693037927150726, -0.29961708188056946, 0.23661018908023834, -0.04018648713827133, 0.322313129901886, -0.19293007254600525, -0.11245059967041016, 0.023853963240981102, -0.0715925469994545, 0.05850483477115631, -0.09739366918802261, 0.3231731653213501, 0.31230393052101135, -0.03638791665434837, 0.2962448000907898, 0.08696109056472778, -0.13185513019561768, -0.3474971652030945, -0.20228667557239532, -0.09416673332452774, 0.19586196541786194, -0.11029522120952606, 0.12460940331220627, 0.13467630743980408, 0.35639292001724243, -0.049089159816503525, 0.05532774329185486, 0.09673149883747101, 0.30274638533592224, -0.13284292817115784, -0.10614454001188278, -0.10326129198074341, -0.1982690840959549, 0.09679022431373596, -0.0020784197840839624, -0.24537381529808044, -0.00709543889388442, 0.13682681322097778, 0.36405906081199646, 0.35867011547088623, 0.14900654554367065, -0.205433189868927, 0.19750167429447174, 0.08461323380470276, -0.3527458608150482, 0.21796377003192902, 0.04896368086338043, 0.08574426919221878, -0.019144481047987938, -0.2203271985054016, 0.06994133442640305, -0.26592808961868286, -0.030046742409467697, -0.3597054183483124, 0.290325403213501, 0.22192831337451935, -0.09864645451307297, 0.02130996435880661, -0.042113516479730606, -0.07327886670827866, 0.21955646574497223, 0.16343633830547333, 0.14499962329864502, -0.03441568836569786, -0.062425483018159866, 0.1831054985523224, -0.12057565897703171, -0.10293107479810715, 0.14276374876499176, 0.14980053901672363, -0.13262814283370972, 0.01592794433236122, -0.07439602166414261, -0.002084013307467103, -0.2912816107273102, -0.18407046794891357, -0.03902089595794678, 0.10770931094884872, 0.3376438617706299, 0.5041728615760803, -0.1475781947374344, 0.16855548322200775, -0.006841054651886225, -0.28689536452293396, -0.32170918583869934, 0.07846569269895554, -0.04707876592874527, 0.32287949323654175, 0.15498757362365723, -0.054236628115177155, -0.15157511830329895, 0.2108956128358841, 0.3151669502258301, -0.14860591292381287, -0.09497445821762085, 0.1951139122247696, -0.4258025288581848, -0.3878842294216156, -0.21735359728336334, 0.008524853736162186, 0.11901529878377914, -0.020606769248843193, -0.11622464656829834, -0.11713673174381256, 0.31700795888900757, -0.2764450013637543, -0.11236649751663208, 0.37331750988960266, 0.5133559703826904, -0.006539816968142986, 0.3215698301792145, 0.21889042854309082, 0.18027690052986145, -0.4406457543373108, 0.2565990388393402, 0.12129958719015121, -0.11973520368337631, 0.050352614372968674, 0.14054572582244873, 0.0027299588546156883, -0.14962457120418549, -0.163696750998497, -0.2877713441848755, -0.1018444374203682, 0.14513370394706726, 0.13081401586532593, -0.020771650597453117, -0.057337529957294464, 0.03285056725144386, 0.23792563378810883, 0.37146928906440735, -0.25109460949897766, -0.4024975597858429, 0.053390178829431534, -0.3344748914241791, -0.11331289261579514, 0.3176131546497345, -0.12274086475372314, -0.16019953787326813, 0.06687642633914948, 0.5940418243408203, 0.019943978637456894, -0.23790669441223145, -0.07883989065885544, -0.123367078602314, -0.05659448355436325, 0.05443521589040756, 0.10889788717031479, -0.25944122672080994, 0.1553795486688614, 0.08815201371908188, -0.027238262817263603, 0.3260859251022339, -0.33309856057167053, 0.08641164749860764, 0.04682745039463043, 0.5232521891593933, -0.43047386407852173, -0.14919012784957886, 0.02435907907783985, 0.2074962854385376, -0.35765767097473145, -0.03551860898733139, 0.3889489769935608, 0.4060521721839905, -0.32451343536376953, -0.1830165833234787, -0.5533573031425476, -0.010947802104055882, 0.39679256081581116, 0.28199464082717896, 0.17418941855430603, -0.3238767385482788, -0.2982928454875946, -0.17138895392417908, 0.09071232378482819, 0.10476052016019821, -0.22436241805553436, 0.32689306139945984, 0.21525327861309052, -0.2936275601387024, -0.24364237487316132, 0.11893394589424133, 0.3187271058559418, -0.1331418752670288, 0.20820410549640656, -0.08293090015649796, 0.10836537927389145, -0.5428754687309265, 0.4654918313026428, -0.10132253170013428, 0.14579994976520538, 0.03480376675724983, -0.40912824869155884, 0.08963555842638016, 0.04220088571310043, 0.016053467988967896, -0.135767862200737, 0.38734814524650574, -0.006370494607836008, 0.1451708972454071, -0.0825086236000061, -0.15859125554561615, -0.09493150562047958, -0.07976404577493668, 0.08971616625785828, 0.06411302834749222, -0.2431502491235733, 0.06421365588903427, -0.0894070565700531, 0.3017312288284302, 0.17808224260807037, -0.358614981174469, 0.3418658673763275, 0.22779032588005066, -0.060093119740486145, 0.36844828724861145, 0.041443631052970886, 0.08924271911382675, -0.19355055689811707, 0.11912145465612411, -0.42179492115974426, 0.11783535033464432, 0.24258941411972046, 0.1744186282157898, 0.09256447106599808, 0.16005991399288177, -0.056155648082494736, 0.07983111590147018, 0.0012136967852711678, 0.03808600828051567, 0.3081904947757721, -0.07827373594045639, 0.013646770268678665, -0.1822734773159027, -0.23021723330020905, -0.06391669064760208, -0.02404203824698925, -0.054774053394794464, -0.31431299448013306, 0.05817467346787453, -0.043065983802080154, 0.06793206930160522, -0.09187448769807816, -0.1542147696018219, 0.09586253762245178, 0.3755019009113312, 0.06784971058368683, 0.11388764530420303, 0.20457661151885986, 0.042205795645713806, 0.4860658645629883, 0.029864750802516937, -0.0358709916472435, -0.1627412736415863, 0.05382882431149483, -0.20447702705860138, 0.24538935720920563, -0.042559824883937836, -0.16348274052143097, -0.10133633762598038, 0.01714223064482212, 0.17241725325584412, 0.09933719038963318, -0.1861724555492401, 0.040135499089956284, -0.21046461164951324, -0.2336132973432541, 0.08995542675256729, -0.11131083965301514, -0.22306384146213531, -0.5058521628379822, 0.0775589793920517, -0.004995315335690975, -0.1862984597682953, -0.08011037111282349, -0.08553024381399155, 0.06753133237361908, -0.1168326660990715, -0.42713239789009094, -0.1359686255455017, -0.5074077248573303, 0.0962257832288742, -0.4256821572780609, 0.03241673856973648, -0.2199917733669281, -0.0702042207121849, -0.27437418699264526, -0.044955555349588394, 0.6212708950042725, -0.24063581228256226, 0.20187562704086304, 0.05353983864188194, -0.013873878866434097, 0.016551125794649124, -0.1803261637687683, -0.3650846779346466, 0.41777223348617554, -0.28372105956077576, 0.11977983266115189, 0.05052243545651436, 0.06473757326602936, 0.05172613263130188, 0.056887682527303696, 0.21529914438724518, 0.12723161280155182, 0.2912750542163849, -0.34149742126464844, -0.0357561931014061, -0.3311633765697479, -0.022305553779006004, 0.5565170049667358, 0.10631894320249557, -0.2185995727777481, 0.046131432056427, -0.05799376219511032, 0.671946108341217, 0.06401043385267258, 0.16262970864772797, 0.1605975329875946, 0.09102556854486465, -0.05458664149045944, 0.12341951578855515, -0.23592256009578705, 0.3074943423271179, 0.41698968410491943, 0.12864528596401215, 0.3672695457935333, 0.036550138145685196, -0.23404157161712646, -0.07464919239282608, -0.5429750680923462, -0.2654253840446472, -0.06918543577194214, -0.06767267733812332, -0.17436642944812775, 0.1771753430366516, -0.04207704961299896, -0.26693323254585266, -0.062327079474925995, -0.10094024240970612, 0.0498969703912735, -0.08466315269470215, 0.03479320555925369, -0.15406514704227448, -0.03974147513508797, -0.16782070696353912, 0.038806989789009094, 0.17794960737228394, 0.06732267886400223, 0.16474543511867523, -0.2614486515522003, -0.13099731504917145, 0.01698174886405468, 0.09835021197795868, 0.09752479195594788, -0.0059940568171441555, -0.2877320349216461, -0.08665027469396591, 0.3310096859931946, 0.36709973216056824, 0.23146963119506836, 0.0800224095582962, -0.19221840798854828, 0.1806776076555252, -0.139163076877594, -0.30398815870285034, 0.2911356985569, 0.08886449784040451, 0.21338744461536407, -0.03931096941232681, -0.08109422028064728, 0.040655042976140976, 0.014723502099514008, -0.21324817836284637, 0.4463830292224884, -0.047115713357925415, 0.2079450786113739, 0.056893717497587204, -0.12083239108324051, 0.7277011871337891, -0.20523126423358917, 0.5491438508033752, -0.04962582886219025, -0.02854197658598423, 0.17975874245166779, 0.1668853759765625, 0.06362108886241913, -0.0458606481552124, -0.37462958693504333, 0.11716727167367935, 0.45638802647590637, 0.24993127584457397, -0.0838002935051918, -0.172766774892807, 0.5835241675376892, 0.29167845845222473, 0.36478596925735474, 0.17606911063194275, 0.2021326869726181, 0.012697530910372734, 0.2705928087234497, -0.15258798003196716, 0.10388095676898956, 0.14748676121234894, -0.32616010308265686, -0.10717269778251648, 0.020008742809295654, 0.07528533786535263, -0.2340390682220459, 0.01795835979282856, 0.32127895951271057, -0.2572569251060486, -0.12905775010585785, -0.4090140163898468, 1.4184530973434448, 0.08557124435901642, 0.23490868508815765, -0.15978465974330902, 0.24462322890758514, -0.2710895538330078, -0.2726512551307678, 0.043447982519865036, 0.06787000596523285, 0.10296464711427689, 0.093141108751297, -0.037485409528017044, -0.002019694307819009, 0.27225977182388306, -0.3823705315589905, 0.11214904487133026, -0.26854199171066284, -0.20328904688358307, 0.12094983458518982, 0.0935579240322113, -0.14861629903316498, -0.12450319528579712, 0.0691252276301384, 0.159400075674057, 0.14117135107517242, -0.07294625043869019, 0.18473735451698303, 0.03147130087018013, -0.1489015519618988, -0.5014901161193848, -0.2210652083158493, 0.12403599917888641, 0.2416117936372757, -0.34358900785446167, 0.26187583804130554, -0.211838036775589, 0.4165975749492645, -0.28572890162467957, 0.08792291581630707, 0.32568517327308655, 0.003656449494883418, 0.06988529115915298, 0.5611556768417358, 0.10603111982345581, 0.037978626787662506, 0.02955698035657406, -0.06746824830770493, -0.1482633799314499, -0.5449107885360718, 0.3342519700527191, 0.0971176028251648, -0.33135986328125, -0.7204279899597168, -0.044090937823057175, 0.25139278173446655, -0.2845679819583893, 0.10602468997240067, 0.31481438875198364, -0.06307033449411392, -0.21352703869342804, 0.28063854575157166, 0.12124025076627731, -0.2318575233221054, 0.08826012909412384, 0.2723349332809448, 0.0455743707716465, -0.20211546123027802, 0.013389835134148598, 0.15842215716838837, -0.5489970445632935, 0.29881051182746887, -0.16108715534210205, -0.13247306644916534, -0.4147740602493286, -0.4337920546531677, 0.26582396030426025, 0.10202186554670334, -0.17332540452480316, -0.0009665392572060227, -0.470337450504303, 0.12434210628271103, 0.21442335844039917, 0.04495007172226906, 0.5192146897315979, -0.11439254134893417, 0.0051569524221122265, -0.4351615309715271, 0.1464947909116745, 0.16858133673667908, 0.2662336230278015, 0.038852546364068985, -0.1159372329711914, -0.10131263732910156, 0.2622116506099701, -0.5027332305908203, -0.4619947373867035, 0.14662738144397736, 0.09900444746017456, 0.13193590939044952, -0.22426314651966095, -0.17569655179977417, 0.05404699966311455, 0.5376859903335571, 0.06993412971496582, 0.26779067516326904, -0.3406515419483185, 0.13875503838062286, 0.10586687177419662, 0.15727096796035767, -0.18541885912418365, 0.1697872281074524, 0.06339152157306671, 0.08047434687614441, 0.014903531409800053, 0.08539751172065735, -0.11519491672515869, 0.12529225647449493, 0.03005293384194374, -0.1533670574426651, -0.130628302693367, 0.0821855291724205, -0.1524922400712967, -0.09968490898609161, 0.032179053872823715, -0.10326314717531204, 0.2221747189760208, 0.22054623067378998, -0.29392778873443604, -0.06369803100824356, 0.23765330016613007, 0.36153143644332886, 0.20107276737689972, -0.03985494375228882, 0.08729420602321625, -0.2729731798171997, -0.024863943457603455, 0.24428489804267883, -0.04607325792312622, -0.1738656759262085, 0.04102372005581856, -0.057726357132196426, 0.390346884727478, -0.2277701050043106, -0.045386213809251785, -0.14836443960666656, -0.2965896427631378, 0.24717257916927338, 0.22770293056964874, -0.0023109684698283672, -0.3008337616920471, 0.23388613760471344, -0.19352224469184875, -0.2434084564447403, -0.09558526426553726, 0.13113945722579956, -0.19522985816001892, 0.006368204485625029, -0.12605057656764984, 0.2796711325645447, 0.018400875851511955, 0.058433324098587036, 0.08090362697839737, -0.3122745454311371, -0.11996208876371384, 0.11859321594238281, 0.18300147354602814, 0.40642809867858887, 0.2550675868988037, 0.3521411418914795, 0.021835846826434135, 0.020626498386263847, -0.10492729395627975, 0.23287682235240936, 0.3378571569919586, 0.026521701365709305, 0.10583163052797318, 0.0949505865573883, -0.10232801735401154, -0.09441488236188889, -0.03921408951282501, -0.09713190048933029, -0.1456843465566635, -0.279776394367218, -0.3036227524280548, 0.2906374931335449, 0.011904925107955933, 0.14826753735542297, -0.04473588615655899, 0.11135968565940857, 0.09747406095266342, 0.22960077226161957, 0.13116663694381714, 0.057501643896102905, 0.020902147516608238, 0.12197010964155197, 0.041638877242803574, -0.12271016836166382, 0.3490559160709381, 0.10091015696525574, 0.07526761293411255, -0.10435937345027924, -0.005567962769418955, 0.15600603818893433, -0.24071572721004486, -0.2867991030216217, -0.0260678231716156, 0.020607085898518562, 0.3974851369857788, 0.15353745222091675, -0.37936222553253174, 0.2829102575778961, -0.30483853816986084, -0.08850553631782532, 0.07853168249130249, -0.038409143686294556, 0.038142282515764236, 0.1467858850955963, 0.11090826243162155, -0.20067305862903595, -0.4106863737106323, 0.0063752480782568455, -0.15159089863300323, -0.23126262426376343, 0.29797282814979553, 0.08274251967668533, -0.1942712813615799, -0.3279012441635132, 0.15162338316440582, 0.0824880376458168, -0.2873757481575012, 0.29512616991996765, 0.006188282743096352, 0.15095464885234833, 0.031234685331583023, -0.12274199724197388, 0.3811333179473877, 0.33954644203186035, -0.27247917652130127, -0.41142675280570984, -0.03164481744170189, 0.48111772537231445, 0.09718280285596848, 0.4687705338001251, -0.07275611907243729, -0.20383493602275848, -0.215791255235672, 0.06514644622802734, 0.23861755430698395, 0.25263360142707825, 0.0425109900534153, -0.005224993918091059, -0.2264958918094635, 0.2205875962972641, -0.035136837512254715, 0.30347490310668945, -0.07353618741035461, -0.1707923859357834, 0.05107137933373451, 0.10389844328165054, 0.024531066417694092, -0.13620465993881226, 0.3558346927165985, -0.3871231973171234, 0.15914003551006317, 0.16132596135139465, 0.04315280541777611, -0.0740322470664978, -0.10027170181274414, 0.14175672829151154, 0.4487757682800293, -0.11418788880109787, 0.26506826281547546, 0.0347377210855484, -0.05464461073279381, -0.062092266976833344, -0.16654972732067108, -0.03729396313428879, 0.30620989203453064, -0.16693855822086334, -0.011998594738543034, -0.11646424978971481, -0.042373910546302795, 0.0752987191081047, -0.19835436344146729, -0.17682597041130066, -0.21215204894542694, 0.07361112534999847, 0.22915054857730865, -0.26265019178390503, -0.47748157382011414, 0.47105464339256287, -0.008030913770198822, -0.07304415851831436, 0.029315823689103127, -0.24048714339733124, 0.29949986934661865, -0.03174128383398056, -0.07082077115774155, 0.29202088713645935, 0.04862406104803085, -0.07823487371206284, -0.07213141024112701, 0.16296710073947906, -0.04973529651761055, 0.07499099522829056, -0.14850297570228577, -0.20403766632080078 ]