html_url stringlengths 48 51 | title stringlengths 5 280 | comments stringlengths 63 51.8k | body stringlengths 0 36.2k ⌀ | comment_length int64 16 1.52k | text stringlengths 159 54.1k | embeddings listlengths 768 768 |
|---|---|---|---|---|---|---|
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | <s>I think this is because the tokenizer is stateful and because the order in which the splits are processed is not deterministic. Because of that, the hash of the tokenizer may change for certain splits, which causes issues with caching.
To fix this we can try making the order of the splits deterministic for map.</s> | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 55 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
<s>I think this is because the tokenizer is stateful and because the order in which the splits are processed is not deterministic. Because of that, the hash of the tokenizer may change for certain splits, which causes issues with caching.
To fix this we can try making the order of the splits deterministic for map.</s> | [
-0.1935841590166092,
0.2576528787612915,
0.060329560190439224,
0.14392969012260437,
0.08865352720022202,
-0.012037020176649094,
0.2372729778289795,
0.23071351647377014,
-0.1739625632762909,
-0.09237633645534515,
0.09441735595464706,
0.41973957419395447,
0.14737102389335632,
-0.49883103370666504,
-0.09809837490320206,
0.008758466690778732,
0.15564124286174774,
0.29625797271728516,
0.2818203866481781,
0.01679861545562744,
0.07987259328365326,
0.15765739977359772,
-0.4097236394882202,
0.06832969933748245,
-0.7849794626235962,
0.06360704451799393,
-0.14260275661945343,
-0.20402997732162476,
0.20531852543354034,
-0.5917580723762512,
0.14342063665390015,
0.22754211723804474,
0.191847026348114,
0.3145713210105896,
-0.00011627294588834047,
-0.09498853981494904,
0.154618501663208,
0.02171439491212368,
-0.18208107352256775,
0.10989850014448166,
0.22127965092658997,
-0.2368631213903427,
-0.03815459460020065,
-0.07332637906074524,
-0.08321414887905121,
-0.474611759185791,
-0.0754290446639061,
-0.394767701625824,
0.5450630187988281,
-0.013582796789705753,
0.13039179146289825,
0.2944395840167999,
-0.07311659306287766,
0.15595586597919464,
0.09225716441869736,
-0.25269317626953125,
-0.13567586243152618,
-0.35199418663978577,
0.013863913714885712,
-0.22892054915428162,
-0.21274423599243164,
0.33814606070518494,
-0.06575687974691391,
0.18545059859752655,
-0.0039017461240291595,
0.20368583500385284,
-0.21231728792190552,
-0.03253723680973053,
0.28265616297721863,
0.07322896271944046,
0.47330161929130554,
-0.28267702460289,
-0.2412606179714203,
-0.47405949234962463,
-0.1682930588722229,
-0.32265034317970276,
0.22888121008872986,
-0.23885932564735413,
0.03764476627111435,
0.21724416315555573,
-0.15325085818767548,
0.03189095854759216,
0.1114719957113266,
-0.12289738655090332,
-0.01957562565803528,
0.5884555578231812,
-0.006440858356654644,
0.13319948315620422,
-0.12608639895915985,
-0.11651082336902618,
0.3215692341327667,
-0.2736648917198181,
-0.24355876445770264,
0.42909425497055054,
-0.44432783126831055,
-0.015446309000253677,
-0.029582642018795013,
-0.017381452023983,
-0.016475651413202286,
0.5247479677200317,
-0.025845058262348175,
0.2698530852794647,
0.11527153849601746,
0.0023908130824565887,
0.015355716459453106,
0.4669971466064453,
0.13583721220493317,
0.32243406772613525,
0.11124204099178314,
-0.3069232106208801,
-0.3658965826034546,
-0.23704591393470764,
-0.19227643311023712,
0.03323497995734215,
0.6400800347328186,
-0.06204310059547424,
-0.33595603704452515,
-0.019671820104122162,
0.07131174951791763,
0.18734583258628845,
-0.2389017939567566,
-0.019449526444077492,
0.17722496390342712,
0.13330575823783875,
-0.1020873486995697,
0.322865754365921,
-0.3596618175506592,
-0.0014564655721187592,
-0.1575743854045868,
-0.23040871322155,
-0.3328736424446106,
-0.2879007160663605,
-0.1426490694284439,
0.4856712520122528,
0.17740701138973236,
0.09119662642478943,
0.3443686068058014,
0.12035546451807022,
0.03118892014026642,
-0.28458738327026367,
0.37101680040359497,
-0.20667898654937744,
0.3340437710285187,
0.12950710952281952,
-0.16368898749351501,
0.4786178469657898,
0.22694286704063416,
-0.01912086457014084,
-0.14291751384735107,
0.10623180121183395,
-0.31431129574775696,
-0.168779194355011,
0.31644749641418457,
0.10098245739936829,
-0.12543612718582153,
-0.04860181361436844,
-0.0930449441075325,
0.09395165741443634,
0.7197134494781494,
-0.07137038558721542,
-0.015211999416351318,
-0.12502528727054596,
-0.19719992578029633,
-0.0972994789481163,
0.3395225703716278,
0.30134347081184387,
0.03140316531062126,
-0.17052584886550903,
0.10889371484518051,
0.24404282867908478,
0.3841169774532318,
0.3365631401538849,
-0.24863584339618683,
0.39696502685546875,
-0.23834168910980225,
0.5769899487495422,
0.2000478208065033,
-0.17024141550064087,
-0.5266010165214539,
-0.16842873394489288,
0.14034496247768402,
0.1756153106689453,
-0.11003107577562332,
-0.20458340644836426,
0.31924039125442505,
-0.17391030490398407,
-0.15093134343624115,
0.2575593590736389,
0.07798829674720764,
0.08271343261003494,
-0.3882085084915161,
-0.10974035412073135,
0.149745374917984,
-0.16254334151744843,
0.16575896739959717,
-0.09515774995088577,
-0.40373411774635315,
-0.07097026705741882,
-0.006642185151576996,
-0.042188432067632675,
0.21326948702335358,
-0.03192225098609924,
0.03422510623931885,
0.1121785044670105,
0.2811703383922577,
-0.07202591001987457,
0.0297250896692276,
0.25948435068130493,
0.03176102414727211,
-0.49067431688308716,
-0.05523231625556946,
-0.15572723746299744,
-0.08358932286500931,
-0.005429774522781372,
-0.3595770597457886,
-0.2243158519268036,
0.17416614294052124,
0.35713452100753784,
0.2904541492462158,
0.10372556746006012,
-0.13559231162071228,
0.2230234593153,
0.12641173601150513,
0.1398034393787384,
0.15943117439746857,
-0.07185271382331848,
0.07511208206415176,
-0.24819740653038025,
-0.2994674742221832,
0.06383734941482544,
0.3181176781654358,
0.006075003184378147,
-0.123712457716465,
0.2953546941280365,
0.23410388827323914,
0.09274116903543472,
-0.09762612730264664,
0.028856739401817322,
-0.01704542525112629,
0.09757362306118011,
-0.1376935988664627,
0.004901707172393799,
-0.056975170969963074,
-0.16131046414375305,
0.12353885918855667,
0.44457679986953735,
0.19178034365177155,
0.19459077715873718,
-0.19406381249427795,
0.007703967392444611,
0.10145038366317749,
-0.032938770949840546,
0.07246201485395432,
-0.2268184870481491,
-0.17092451453208923,
-0.05195925012230873,
0.38044628500938416,
-0.024840081110596657,
0.1302720010280609,
0.3573925495147705,
0.41062185168266296,
0.22867250442504883,
-0.07607901841402054,
-0.16734212636947632,
-0.45287781953811646,
-0.452088862657547,
0.05316345393657684,
0.008550498634576797,
0.11927086859941483,
0.0673014372587204,
0.3581724464893341,
-0.16742555797100067,
-0.036837927997112274,
-0.19626235961914062,
0.08782891184091568,
0.10075564682483673,
-0.10119225084781647,
0.24949860572814941,
0.06246768310666084,
0.09266646951436996,
-0.21232521533966064,
0.15060386061668396,
0.22491320967674255,
0.17544429004192352,
0.03862667456269264,
0.1983375996351242,
-0.3890710473060608,
0.3563162386417389,
0.12025136500597,
-0.22973616421222687,
0.12688079476356506,
-0.2751200497150421,
0.040058545768260956,
0.19124345481395721,
0.0842483788728714,
0.4509013593196869,
-0.15603062510490417,
0.2962474226951599,
0.04616179317235947,
0.015929916873574257,
-0.3722488284111023,
-0.2549334168434143,
-0.4433726668357849,
-0.0661950558423996,
0.14761783182621002,
-0.34134671092033386,
0.1285434067249298,
0.007970239967107773,
0.08155829459428787,
-0.3151891529560089,
-0.2607637047767639,
0.18776975572109222,
0.13595283031463623,
0.00443137064576149,
-0.3070690333843231,
-0.19614087045192719,
-0.1949353963136673,
-0.12268879264593124,
0.09965019673109055,
-0.3457026779651642,
-0.14642542600631714,
0.03512114658951759,
-0.01815992034971714,
-0.05752060189843178,
0.05000459775328636,
-0.020780012011528015,
0.03219614923000336,
0.13620860874652863,
-0.21246792376041412,
-0.08632458746433258,
-0.029950179159641266,
-0.04163298010826111,
-0.24339531362056732,
-0.1141294613480568,
-0.4619702100753784,
-0.07527901977300644,
-0.46924617886543274,
-0.3125651180744171,
0.4803679585456848,
-0.19248425960540771,
-0.152854323387146,
-0.07890316843986511,
-0.17976880073547363,
0.3970564305782318,
0.22153443098068237,
-0.2630384564399719,
0.07593858242034912,
-0.16971446573734283,
0.20634500682353973,
-0.09547846019268036,
-0.003962205722928047,
0.3785198926925659,
0.02850864827632904,
-0.031269948929548264,
-0.17370960116386414,
0.05048688128590584,
0.11190705001354218,
-0.3568444848060608,
0.09139057248830795,
-0.1721252202987671,
0.098530612885952,
0.2237790822982788,
0.9324136972427368,
0.33688634634017944,
-0.10434353351593018,
0.22720548510551453,
0.030092786997556686,
0.033857427537441254,
-0.2660754323005676,
-0.10055315494537354,
-0.0639694556593895,
-0.1434668004512787,
0.11845891177654266,
0.35685664415359497,
0.07389333844184875,
-0.35666337609291077,
0.10307559370994568,
0.21249960362911224,
-0.14107143878936768,
-0.3653873801231384,
-0.02135489694774151,
-0.3170211911201477,
0.4396619498729706,
0.27086278796195984,
0.34396684169769287,
-0.5734394192695618,
-0.061582040041685104,
0.06291565299034119,
-0.1353628784418106,
0.32346174120903015,
0.04808919131755829,
-0.5734484195709229,
0.24350163340568542,
-0.3559284806251526,
0.06945283710956573,
-0.02003541775047779,
0.5383992791175842,
0.20864073932170868,
-0.2548573911190033,
0.04630354791879654,
-0.15768685936927795,
0.18070948123931885,
-0.05327397584915161,
-0.12855608761310577,
0.21336571872234344,
-0.07502102106809616,
0.024305762723088264,
-0.3010789453983307,
0.1305956095457077,
0.24331526458263397,
0.18508315086364746,
0.2997668385505676,
-0.24073749780654907,
-0.24564911425113678,
-0.23219799995422363,
0.037790119647979736,
-0.13414080440998077,
-0.14621824026107788,
-0.13074567914009094,
0.17775148153305054,
-0.1939966231584549,
0.2519870102405548,
-0.05933940410614014,
0.1979379802942276,
-0.10107895731925964,
0.10944545269012451,
-0.4942244589328766,
-0.139845609664917,
-0.050816476345062256,
0.313616007566452,
0.5014792680740356,
-0.1797979176044464,
0.4422914385795593,
0.3337455093860626,
-0.16585829854011536,
-0.026466799899935722,
0.06549322605133057,
0.17604494094848633,
-0.2951467037200928,
0.1145889014005661,
-0.010827404446899891,
0.07262822985649109,
0.11607252061367035,
-0.37767767906188965,
0.2020566761493683,
-0.3422120213508606,
0.032305072993040085,
-0.2592197060585022,
0.2694407105445862,
0.18317586183547974,
0.03383917734026909,
-0.19328632950782776,
-0.3921535015106201,
0.18735703825950623,
0.25534096360206604,
-0.26194465160369873,
0.35654351115226746,
-0.020054124295711517,
-0.15029200911521912,
0.3541973829269409,
0.14191018044948578,
0.7753279209136963,
0.0307932049036026,
0.1937016248703003,
-0.04397565871477127,
0.08848404884338379,
0.42673832178115845,
-0.25452136993408203,
0.22659510374069214,
-0.32715514302253723,
0.1699247658252716,
0.05389384180307388,
-0.08064524084329605,
0.046642646193504333,
0.11571644246578217,
-0.01615302264690399,
0.14723467826843262,
-0.00960538536310196,
0.5234447121620178,
0.08760592341423035,
0.1429346203804016,
0.061192095279693604,
-0.2540099322795868,
0.34807634353637695,
0.14295439422130585,
0.10164611041545868,
0.05277426540851593,
-0.028726087883114815,
0.1698494702577591,
0.11453637480735779,
-0.04970703274011612,
-0.1820640116930008,
-0.04692107439041138,
-0.3507700264453888,
0.2085786610841751,
0.15426698327064514,
-0.23641285300254822,
-0.05992826446890831,
0.020566660910844803,
0.524948000907898,
0.083344966173172,
-0.197660893201828,
0.2823057770729065,
-0.05012381076812744,
0.08830319344997406,
-0.2609952688217163,
-0.32900217175483704,
0.23425167798995972,
0.09550028294324875,
-0.12109409272670746,
-0.09320872277021408,
0.04070521518588066,
-0.3132134675979614,
-0.294350802898407,
0.10691577196121216,
0.4297139048576355,
-0.18335306644439697,
0.26375314593315125,
0.26683109998703003,
0.1309247463941574,
-0.20837022364139557,
0.1559138000011444,
0.17511898279190063,
-0.17977158725261688,
0.2651641070842743,
-0.29690825939178467,
-0.015065900981426239,
-0.018975988030433655,
0.2421751618385315,
0.12582358717918396,
-0.14696261286735535,
0.6182882785797119,
-0.30694082379341125,
-0.18341512978076935,
-0.11401723325252533,
-0.1698966771364212,
0.12249062210321426,
-0.37290987372398376,
-0.028688974678516388,
-0.25030964612960815,
-0.0019046664237976074,
0.21878260374069214,
0.028468959033489227,
-0.13993823528289795,
-0.21027368307113647,
-0.23063266277313232,
-0.1087850034236908,
-0.2813563644886017,
-0.22863991558551788,
-0.07770290970802307,
0.14532868564128876,
0.011271089315414429,
0.16758303344249725,
-0.3358936607837677,
0.45158249139785767,
-0.2417822629213333,
0.09391777962446213,
0.16442281007766724,
0.2692916989326477,
-0.5540175437927246,
-0.31108957529067993,
-0.06189200282096863,
0.029177434742450714,
0.01871143840253353,
0.29172956943511963,
-0.22974544763565063,
-0.2014429271221161,
-0.24867966771125793,
0.14958180487155914,
0.16376039385795593,
-0.18368110060691833,
-0.09307296574115753,
0.23991511762142181,
0.02991136908531189,
-0.5353658199310303,
0.3034062385559082,
-0.09741166979074478,
0.0032128840684890747,
-0.00115989800542593,
0.5590553283691406,
0.13734830915927887,
-0.1287584900856018,
-0.14318451285362244,
-0.0510980486869812,
0.06851384043693542,
0.19838787615299225,
0.3061801493167877,
-0.018068596720695496,
0.03567013889551163,
0.0317271389067173,
0.11656650900840759,
0.32028433680534363,
-0.10277458280324936,
0.19076767563819885,
-0.4239744544029236,
-0.22280900180339813,
0.02138080634176731,
-0.04299726337194443,
0.3549046516418457,
0.04068155959248543,
-0.43554750084877014,
0.4862135946750641,
0.18011538684368134,
-0.06011055409908295,
-0.20233330130577087,
0.10220642387866974,
0.09557484835386276,
0.05830724164843559,
0.09581470489501953,
0.4240989089012146,
-0.07127571105957031,
0.13871292769908905,
0.0012363214045763016,
0.7376245856285095,
-0.4007177948951721,
0.19279880821704865,
-0.09858058393001556,
0.09599675238132477,
0.12136512994766235,
0.45670512318611145,
0.1582166850566864,
0.033995285630226135,
0.27413269877433777,
0.037415191531181335,
0.38262808322906494,
0.2543947100639343,
0.12691418826580048,
-0.21146440505981445,
-0.46027740836143494,
-0.22643284499645233,
0.09052050858736038,
0.03332122415304184,
0.16858239471912384,
-0.27089330554008484,
0.10143442451953888,
0.19974128901958466,
-0.18665049970149994,
-0.22808465361595154,
0.276576966047287,
-0.26632675528526306,
-0.4933558702468872,
-0.002213679254055023,
-0.08010172098875046,
-0.04113582521677017,
-0.0027946867048740387,
0.06769391894340515,
0.11465886235237122,
-0.016515225172042847,
-0.08681996166706085,
-0.19632823765277863,
-0.34741973876953125,
-0.13695108890533447,
0.14723604917526245,
0.45802390575408936,
-0.26144811511039734,
0.36149898171424866,
-0.15235768258571625,
-0.20426088571548462,
-0.20237277448177338,
0.1834903061389923,
0.3073211908340454,
0.2104032039642334,
-0.17614874243736267,
0.053786929696798325,
-0.3111732602119446,
0.06527404487133026,
-0.25554078817367554,
0.551189124584198,
-0.04740548133850098,
-0.45985499024391174,
-0.06003829464316368,
0.02537342719733715,
-0.08099579811096191,
-0.11612898111343384,
0.0456981435418129,
0.11769242584705353,
-0.13276554644107819,
0.2467549443244934,
0.0342533178627491,
-0.03412634879350662,
0.10900309681892395,
0.2653690576553345,
-0.08668890595436096,
0.25246354937553406,
0.3417986035346985,
0.08898715674877167,
0.16271665692329407,
-0.2551010549068451,
0.06363985687494278,
0.05305285006761551,
0.3453199565410614,
0.22293712198734283,
-0.118952177464962,
-0.2808324098587036,
-0.36391681432724,
-0.34408918023109436,
0.2752491533756256,
-0.21129584312438965,
0.23734942078590393,
-0.02799120917916298,
0.30530014634132385,
-0.15112370252609253,
0.05368150770664215,
0.021197304129600525,
0.18743202090263367,
0.02942366525530815,
0.1314460039138794,
-0.48375821113586426,
0.2020588219165802,
-0.04729507118463516,
-0.03415973484516144,
0.0780751183629036,
-0.3039313554763794,
0.26737043261528015,
0.04743798449635506,
0.09704308956861496,
0.11855491250753403,
-0.041782863438129425,
0.27501362562179565,
-0.030555807054042816,
0.572066068649292,
0.34316161274909973,
0.0775991678237915,
0.14785072207450867,
0.3189917802810669,
-0.5735743641853333,
0.10715167224407196,
-0.22052733600139618,
-0.210776686668396,
-0.013065438717603683,
0.20674380660057068,
-0.28820982575416565,
-0.11101697385311127,
-0.19358977675437927,
-0.20436163246631622,
0.29258304834365845,
-0.06415793299674988,
-0.07794137299060822,
-0.07122580707073212,
-0.0341530367732048,
0.31986290216445923,
0.03637515380978584,
0.418764591217041,
-0.07145488262176514,
0.4035063683986664,
-0.4014304280281067,
-0.2862528860569,
0.3484448790550232,
-0.588986873626709,
-0.3662734627723694,
-0.35529351234436035,
0.14817263185977936,
0.33183571696281433,
-0.10973364859819412,
-0.29498040676116943,
0.06535328179597855,
0.4135061204433441,
-0.08829258382320404,
-0.33167627453804016,
0.17902156710624695,
0.283562570810318,
0.15374618768692017,
-0.19218498468399048,
0.5792129039764404,
0.0979994609951973,
-0.03262424096465111,
-0.053011275827884674,
-0.12041405588388443
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Actually this is not because of the order of the splits, but most likely because the tokenizer used to process the second split is in a state that has been modified by the first split.
Therefore after reloading the first split from the cache, then the second split can't be reloaded since the tokenizer hasn't seen the first split (and therefore is considered a different tokenizer).
This is a bit trickier to fix, we can explore fixing this next week maybe | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 81 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Actually this is not because of the order of the splits, but most likely because the tokenizer used to process the second split is in a state that has been modified by the first split.
Therefore after reloading the first split from the cache, then the second split can't be reloaded since the tokenizer hasn't seen the first split (and therefore is considered a different tokenizer).
This is a bit trickier to fix, we can explore fixing this next week maybe | [
-0.19861415028572083,
0.2466835081577301,
0.06692971289157867,
0.1183692216873169,
0.08003734052181244,
0.012468487024307251,
0.2719796895980835,
0.21437114477157593,
-0.19359126687049866,
-0.10805374383926392,
0.08862198889255524,
0.416742742061615,
0.18097466230392456,
-0.537752091884613,
-0.09038794785737991,
-0.04275936633348465,
0.14128872752189636,
0.2917449176311493,
0.29598620533943176,
0.06404278427362442,
0.10971705615520477,
0.1906697303056717,
-0.40573322772979736,
0.07042109966278076,
-0.7545245289802551,
0.07398802787065506,
-0.14814427495002747,
-0.14626526832580566,
0.20472869277000427,
-0.5908921957015991,
0.16890567541122437,
0.25957778096199036,
0.20011742413043976,
0.2852044999599457,
-0.0001196654120576568,
-0.08674599230289459,
0.14117509126663208,
0.05262363702058792,
-0.17071488499641418,
0.12049569934606552,
0.21119067072868347,
-0.19100520014762878,
-0.03838256746530533,
-0.049845773726701736,
-0.03680621460080147,
-0.43316152691841125,
-0.07863207161426544,
-0.42084911465644836,
0.578001856803894,
-0.05815723165869713,
0.09694130718708038,
0.2591760456562042,
-0.11695590615272522,
0.12716388702392578,
0.10279976576566696,
-0.21547649800777435,
-0.1262720227241516,
-0.40166255831718445,
-0.021159328520298004,
-0.20567306876182556,
-0.21338599920272827,
0.3187600374221802,
-0.09638981521129608,
0.19095578789710999,
-0.03473100811243057,
0.19912314414978027,
-0.24440497159957886,
-0.03305710852146149,
0.20588794350624084,
0.04962778091430664,
0.4405307471752167,
-0.27419617772102356,
-0.24197882413864136,
-0.514912486076355,
-0.13308104872703552,
-0.37453046441078186,
0.22674095630645752,
-0.2042079120874405,
0.07307237386703491,
0.22131353616714478,
-0.1399078220129013,
0.08914092183113098,
0.09895153343677521,
-0.12873584032058716,
-0.034924328327178955,
0.5847358703613281,
0.00993645004928112,
0.1250520944595337,
-0.1420135647058487,
-0.07929173856973648,
0.3370875418186188,
-0.2682816684246063,
-0.21803510189056396,
0.41217124462127686,
-0.4101337492465973,
0.026590920984745026,
-0.011819228529930115,
0.012157533317804337,
-0.02625032141804695,
0.5511406660079956,
-0.06301700323820114,
0.2254931926727295,
0.13130269944667816,
-0.04159430414438248,
0.026641936972737312,
0.4568915069103241,
0.11613255739212036,
0.34886810183525085,
0.1168060302734375,
-0.2385696917772293,
-0.31462353467941284,
-0.2253875434398651,
-0.16149580478668213,
0.026987675577402115,
0.5888152718544006,
-0.005840731784701347,
-0.3118104338645935,
-0.0003040693700313568,
0.008486693724989891,
0.14130206406116486,
-0.242303729057312,
-0.03406261280179024,
0.18197014927864075,
0.13212253153324127,
-0.07003108412027359,
0.3185286819934845,
-0.35193145275115967,
0.045711614191532135,
-0.17806415259838104,
-0.23167715966701508,
-0.292589008808136,
-0.3107388913631439,
-0.18108154833316803,
0.4899429976940155,
0.1706734597682953,
0.13183769583702087,
0.30355018377304077,
0.165853813290596,
0.06064431741833687,
-0.2821773588657379,
0.3627638816833496,
-0.14475777745246887,
0.3338552415370941,
0.1605362892150879,
-0.1304640918970108,
0.5085902810096741,
0.15796999633312225,
0.024862900376319885,
-0.14132635295391083,
0.1234322190284729,
-0.3401709794998169,
-0.15054145455360413,
0.3115951716899872,
0.08817322552204132,
-0.13582845032215118,
-0.018206540495157242,
-0.09588582068681717,
0.07451440393924713,
0.7769216895103455,
-0.094514861702919,
-0.015847645699977875,
-0.12234307825565338,
-0.1744951456785202,
-0.09234267473220825,
0.28074440360069275,
0.3410453200340271,
0.01089988648891449,
-0.16258418560028076,
0.05170200765132904,
0.24609072506427765,
0.41393887996673584,
0.33407872915267944,
-0.24548417329788208,
0.3515411615371704,
-0.2834359407424927,
0.6606816053390503,
0.16146716475486755,
-0.16282778978347778,
-0.503725528717041,
-0.14442609250545502,
0.11363968253135681,
0.22995711863040924,
-0.09063183516263962,
-0.20825675129890442,
0.3524002730846405,
-0.1944238841533661,
-0.1165512353181839,
0.3068513870239258,
0.06701482087373734,
0.0767696425318718,
-0.3873150944709778,
-0.09579211473464966,
0.12631797790527344,
-0.18333058059215546,
0.15919670462608337,
-0.09878704696893692,
-0.40686044096946716,
-0.025245729833841324,
0.04678310453891754,
-0.04165688529610634,
0.1798514723777771,
-0.038861602544784546,
-0.005735393613576889,
0.1389542818069458,
0.2718569338321686,
-0.08790551126003265,
-0.003168255090713501,
0.26679888367652893,
0.02748918905854225,
-0.543376088142395,
-0.1068648248910904,
-0.17622748017311096,
-0.09154385328292847,
-0.027140380814671516,
-0.4331003427505493,
-0.2266073226928711,
0.13924334943294525,
0.3854077160358429,
0.24203383922576904,
0.058781374245882034,
-0.12091930210590363,
0.255243718624115,
0.16728751361370087,
0.1566621959209442,
0.15870894491672516,
-0.04450037702918053,
0.06270048022270203,
-0.2388300895690918,
-0.3361636698246002,
0.05957815796136856,
0.32352882623672485,
-0.007461709901690483,
-0.10558565706014633,
0.3222486078739166,
0.25845861434936523,
0.09050560742616653,
-0.11850924044847488,
-0.04265016317367554,
0.017314238473773003,
0.09082028269767761,
-0.19655629992485046,
-0.004904896020889282,
-0.13521508872509003,
-0.13925869762897491,
0.10431264340877533,
0.4631558060646057,
0.15334849059581757,
0.21875008940696716,
-0.200742706656456,
0.007300114259123802,
0.05274733155965805,
-0.05202903598546982,
0.06719876825809479,
-0.25508350133895874,
-0.10289676487445831,
-0.05842137709259987,
0.3732786178588867,
-0.04943060874938965,
0.15371312201023102,
0.4166162610054016,
0.4407031536102295,
0.22862878441810608,
-0.119870625436306,
-0.20137915015220642,
-0.3755589723587036,
-0.39499542117118835,
0.05018576979637146,
0.013280939310789108,
0.14983779191970825,
0.07444503903388977,
0.35074862837791443,
-0.19521115720272064,
-0.06765982508659363,
-0.19773085415363312,
0.040863409638404846,
0.10535173118114471,
-0.0561087466776371,
0.273373544216156,
0.11026807129383087,
0.11170822381973267,
-0.18332719802856445,
0.12290610373020172,
0.20977365970611572,
0.09824172407388687,
-0.006898544728755951,
0.2228337824344635,
-0.37559983134269714,
0.34564104676246643,
0.10194402933120728,
-0.2880042791366577,
0.11738155782222748,
-0.28367096185684204,
0.06360763311386108,
0.15418538451194763,
0.09293864667415619,
0.422282874584198,
-0.1402500867843628,
0.3008972108364105,
0.050787366926670074,
0.010456431657075882,
-0.37980619072914124,
-0.17686563730239868,
-0.37439438700675964,
-0.08140456676483154,
0.15890631079673767,
-0.3389070928096771,
0.08991198241710663,
0.002086145803332329,
0.01966535672545433,
-0.25081926584243774,
-0.2769836485385895,
0.15745535492897034,
0.12060566991567612,
0.043288104236125946,
-0.28620433807373047,
-0.21528561413288116,
-0.17909471690654755,
-0.18806618452072144,
0.05629340186715126,
-0.2978021204471588,
-0.1772974580526352,
0.04145611450076103,
-0.02615439146757126,
-0.022689566016197205,
0.02180175855755806,
-0.025852635502815247,
0.041014522314071655,
0.14347149431705475,
-0.2004842907190323,
-0.08101868629455566,
-0.04349449276924133,
-0.10120034962892532,
-0.3084023892879486,
-0.19471384584903717,
-0.46458956599235535,
-0.06753570586442947,
-0.4340675175189972,
-0.2563181519508362,
0.4615657329559326,
-0.24488304555416107,
-0.11746957898139954,
-0.14716248214244843,
-0.18746626377105713,
0.34364891052246094,
0.23762372136116028,
-0.25830206274986267,
0.12384297698736191,
-0.20321965217590332,
0.2383241355419159,
-0.16233274340629578,
-0.0352165549993515,
0.40375566482543945,
0.008452590554952621,
0.004683578386902809,
-0.17450228333473206,
0.06748086214065552,
0.11689569056034088,
-0.3396818935871124,
0.050707489252090454,
-0.23172542452812195,
0.09839299321174622,
0.2533627152442932,
0.9920879602432251,
0.3216716945171356,
-0.07685612142086029,
0.2035023421049118,
0.06441375613212585,
-0.024760980159044266,
-0.28759175539016724,
-0.08329473435878754,
-0.05890055000782013,
-0.12880480289459229,
0.13597846031188965,
0.35024383664131165,
0.06459958851337433,
-0.3575950860977173,
0.16217584908008575,
0.27564820647239685,
-0.17376399040222168,
-0.33009156584739685,
-0.07196790724992752,
-0.31317445635795593,
0.4344009757041931,
0.28796300292015076,
0.32787400484085083,
-0.5153261423110962,
-0.04681205749511719,
0.040211405605077744,
-0.10308089852333069,
0.36048761010169983,
0.08385183662176132,
-0.5521275997161865,
0.2612580358982086,
-0.33859166502952576,
0.05761423334479332,
0.00921010784804821,
0.46622735261917114,
0.20696108043193817,
-0.2730768620967865,
0.07091640681028366,
-0.18259793519973755,
0.2183973789215088,
0.0029402002692222595,
-0.09229618310928345,
0.22845081984996796,
-0.0333237498998642,
0.03136830031871796,
-0.3247676193714142,
0.15072467923164368,
0.24507470428943634,
0.232294499874115,
0.3104197382926941,
-0.2639334201812744,
-0.20093099772930145,
-0.1604720950126648,
0.034425534307956696,
-0.09642171859741211,
-0.1504185050725937,
-0.17818868160247803,
0.1734168529510498,
-0.16543936729431152,
0.2824764549732208,
-0.03745315223932266,
0.23547987639904022,
-0.18001452088356018,
0.0809507966041565,
-0.4922931492328644,
-0.18606653809547424,
-0.07676507532596588,
0.30368053913116455,
0.5220664143562317,
-0.18440909683704376,
0.43471401929855347,
0.352718710899353,
-0.1852632611989975,
-0.015967397019267082,
0.1004800871014595,
0.18755275011062622,
-0.28721675276756287,
0.13325630128383636,
-0.03349203243851662,
0.029650114476680756,
0.16570104658603668,
-0.3888898491859436,
0.2327268123626709,
-0.3384532928466797,
0.032885439693927765,
-0.22938428819179535,
0.2581194341182709,
0.2117278128862381,
-0.048468217253685,
-0.24467113614082336,
-0.3401869535446167,
0.19452157616615295,
0.26754772663116455,
-0.2969055771827698,
0.38136208057403564,
0.01415444165468216,
-0.16414043307304382,
0.37136775255203247,
0.13482172787189484,
0.7893370389938354,
-0.016290493309497833,
0.22206908464431763,
-0.016489975154399872,
0.058608584105968475,
0.4450755715370178,
-0.24441629648208618,
0.27985596656799316,
-0.3578076958656311,
0.12450836598873138,
0.049591176211833954,
-0.11316466331481934,
0.026826899498701096,
0.14038711786270142,
-0.014087662100791931,
0.09548413753509521,
-0.08327023684978485,
0.49843519926071167,
0.08500970155000687,
0.09771323204040527,
0.059061214327812195,
-0.23865154385566711,
0.32988622784614563,
0.08204571902751923,
0.12005645781755447,
0.04920358955860138,
-0.07408031821250916,
0.15011969208717346,
0.11846038699150085,
-0.038887832313776016,
-0.1959208995103836,
0.00671091303229332,
-0.37833598256111145,
0.18165461719036102,
0.11077497899532318,
-0.24050219357013702,
-0.0494728721678257,
0.0005552768707275391,
0.5132565498352051,
0.07572953402996063,
-0.1546868234872818,
0.27891111373901367,
-0.024554207921028137,
0.059658315032720566,
-0.251717209815979,
-0.3535143733024597,
0.19207164645195007,
0.10240129381418228,
-0.0835176408290863,
-0.1462295651435852,
0.05455602705478668,
-0.33411842584609985,
-0.3223525285720825,
0.16365280747413635,
0.4592326879501343,
-0.20449860394001007,
0.27215492725372314,
0.3076668381690979,
0.1968192309141159,
-0.23765094578266144,
0.12180006504058838,
0.14712253212928772,
-0.1775718778371811,
0.23552191257476807,
-0.36506566405296326,
-0.020973756909370422,
-0.026798836886882782,
0.25059381127357483,
0.11330554634332657,
-0.1407482922077179,
0.5895727872848511,
-0.29701292514801025,
-0.19948594272136688,
-0.09061768651008606,
-0.16881757974624634,
0.13002341985702515,
-0.4675251543521881,
-0.0001314384862780571,
-0.28991952538490295,
0.039983928203582764,
0.22741852700710297,
-0.021530073136091232,
-0.17049770057201385,
-0.2279546558856964,
-0.22087937593460083,
-0.14707410335540771,
-0.22328054904937744,
-0.23486442863941193,
-0.1055673211812973,
0.13121360540390015,
0.03122889995574951,
0.20519006252288818,
-0.3769453465938568,
0.4776645004749298,
-0.20595774054527283,
0.12182633578777313,
0.2080550491809845,
0.27032768726348877,
-0.5918806791305542,
-0.3094649314880371,
-0.058844685554504395,
0.05686173960566521,
-0.0046157632023096085,
0.2939755916595459,
-0.2202422171831131,
-0.17271515727043152,
-0.2691670358181,
0.16449503600597382,
0.10909146070480347,
-0.17580224573612213,
-0.04546593874692917,
0.20504271984100342,
0.042465485632419586,
-0.4913252592086792,
0.35329684615135193,
-0.09025220572948456,
0.017581723630428314,
-0.03736141696572304,
0.6024554371833801,
0.15668955445289612,
-0.1915222704410553,
-0.14553648233413696,
-0.08200301229953766,
0.020139724016189575,
0.21331284940242767,
0.3905097544193268,
-0.03321878984570503,
0.055923596024513245,
0.024226011708378792,
0.10205324739217758,
0.3284747004508972,
-0.08336605876684189,
0.1821627914905548,
-0.4715219736099243,
-0.21922284364700317,
-0.012152793817222118,
0.03787258639931679,
0.38604456186294556,
0.03890744224190712,
-0.44369909167289734,
0.3901057541370392,
0.1609930694103241,
-0.05303619056940079,
-0.2177446186542511,
0.11627176403999329,
0.12257404625415802,
0.01709158346056938,
0.1161905899643898,
0.4477255642414093,
-0.06113623082637787,
0.16999483108520508,
0.03126915171742439,
0.7304181456565857,
-0.38200193643569946,
0.25301024317741394,
-0.009681914001703262,
0.07525204122066498,
0.13416291773319244,
0.4675132930278778,
0.10903123021125793,
0.0340583398938179,
0.2971859872341156,
0.05935026705265045,
0.4209288954734802,
0.26454395055770874,
0.1017269641160965,
-0.20792266726493835,
-0.5174546837806702,
-0.26554587483406067,
0.09820642322301865,
0.08561345934867859,
0.15276864171028137,
-0.21810626983642578,
0.1287776231765747,
0.16799002885818481,
-0.24871928989887238,
-0.23419633507728577,
0.27357345819473267,
-0.26754263043403625,
-0.501628041267395,
0.011217474937438965,
-0.10227012634277344,
-0.07466749101877213,
-0.019627712666988373,
0.04180199280381203,
0.15964056551456451,
0.05618751794099808,
-0.09749945998191833,
-0.16290514171123505,
-0.3875575065612793,
-0.12228082865476608,
0.1330624222755432,
0.4843446612358093,
-0.26976263523101807,
0.39053359627723694,
-0.12814131379127502,
-0.21034929156303406,
-0.17952977120876312,
0.13915292918682098,
0.3073676526546478,
0.2227678894996643,
-0.17029911279678345,
-0.009268353693187237,
-0.3030277490615845,
0.08252286911010742,
-0.25278544425964355,
0.5337440371513367,
-0.017155133187770844,
-0.4121275246143341,
-0.016850214451551437,
0.007654225453734398,
-0.07127099484205246,
-0.09099237620830536,
0.1093578040599823,
0.1337568312883377,
-0.10440677404403687,
0.2596668004989624,
-0.007178973406553268,
-0.03231610357761383,
0.15812493860721588,
0.27113914489746094,
-0.04728330299258232,
0.2745072543621063,
0.3438733220100403,
0.0693400427699089,
0.1414223611354828,
-0.24091826379299164,
0.043224774301052094,
0.08915571868419647,
0.28254979848861694,
0.2561274766921997,
-0.08842406421899796,
-0.32283225655555725,
-0.3916659355163574,
-0.28785693645477295,
0.2613719701766968,
-0.21967202425003052,
0.24696052074432373,
0.0038335383869707584,
0.325266033411026,
-0.20057344436645508,
0.03549647703766823,
0.04774323105812073,
0.13686127960681915,
0.0446854792535305,
0.19571633636951447,
-0.48862290382385254,
0.2170257866382599,
-0.0464901477098465,
-0.0787397027015686,
0.030173875391483307,
-0.34101271629333496,
0.2344428449869156,
0.097527876496315,
0.07147740572690964,
0.15938366949558258,
-0.07515407353639603,
0.308659166097641,
-0.03894808143377304,
0.5412755012512207,
0.3648592531681061,
0.08801094442605972,
0.1530057191848755,
0.271176278591156,
-0.5692219734191895,
0.07434959709644318,
-0.2376505732536316,
-0.20483866333961487,
-0.02945156767964363,
0.25187060236930847,
-0.2887204587459564,
-0.08399775624275208,
-0.19774027168750763,
-0.20581947267055511,
0.29981279373168945,
0.0179587434977293,
-0.10920250415802002,
-0.05112694203853607,
-0.07460422813892365,
0.34958529472351074,
0.04976988211274147,
0.43753719329833984,
-0.0763433426618576,
0.4330522418022156,
-0.38170355558395386,
-0.31557002663612366,
0.3703792691230774,
-0.5713058114051819,
-0.35475075244903564,
-0.3520962595939636,
0.17230574786663055,
0.3613041043281555,
-0.09105048328638077,
-0.2735189199447632,
0.02066948264837265,
0.4401477873325348,
-0.13267192244529724,
-0.31713753938674927,
0.22337846457958221,
0.31161609292030334,
0.1016772985458374,
-0.18787218630313873,
0.5746762752532959,
0.1346687376499176,
-0.07726053893566132,
-0.05176544189453125,
-0.16572284698486328
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Sorry didn't have the bandwidth to take care of this yet - will re-assign when I'm diving into it again ! | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 21 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Sorry didn't have the bandwidth to take care of this yet - will re-assign when I'm diving into it again ! | [
-0.14964668452739716,
0.31472522020339966,
0.07166847586631775,
0.12905162572860718,
0.15737555921077728,
0.04769386351108551,
0.24011537432670593,
0.2392691671848297,
-0.17129309475421906,
-0.11870895326137543,
0.11492958664894104,
0.42375996708869934,
0.13289260864257812,
-0.54347163438797,
-0.038790397346019745,
0.02738523855805397,
0.1781148612499237,
0.2702394425868988,
0.2457360476255417,
0.01671411842107773,
0.12646064162254333,
0.1387684941291809,
-0.4036779999732971,
0.09674620628356934,
-0.7452349066734314,
0.09361982345581055,
-0.12569405138492584,
-0.19467544555664062,
0.19974446296691895,
-0.6271020770072937,
0.2501428723335266,
0.2255062311887741,
0.2573916018009186,
0.2890697121620178,
-0.00011729139077942818,
-0.08925064653158188,
0.18302960693836212,
0.01903957687318325,
-0.19302020967006683,
0.09280229359865189,
0.2822797894477844,
-0.21677251160144806,
0.04475758224725723,
-0.033349379897117615,
-0.0704752653837204,
-0.5096407532691956,
-0.07188569009304047,
-0.43250519037246704,
0.5098936557769775,
0.0179637111723423,
0.1252143681049347,
0.27163165807724,
-0.06474985182285309,
0.18298524618148804,
0.063633032143116,
-0.24847836792469025,
-0.12907707691192627,
-0.3206101059913635,
0.05755751207470894,
-0.2874327600002289,
-0.17959898710250854,
0.37931740283966064,
-0.08441875129938126,
0.21581758558750153,
0.025835417211055756,
0.18685691058635712,
-0.21746817231178284,
-0.04046317934989929,
0.2339968979358673,
0.04845624417066574,
0.5163532495498657,
-0.3183324933052063,
-0.22842751443386078,
-0.46885448694229126,
-0.1109306663274765,
-0.34674662351608276,
0.21451213955879211,
-0.26157328486442566,
0.04312002286314964,
0.22182027995586395,
-0.1561933010816574,
0.054857779294252396,
0.07217767834663391,
-0.1161554753780365,
0.04492908716201782,
0.5224858522415161,
0.003620520234107971,
0.12212051451206207,
-0.1712017059326172,
-0.14863263070583344,
0.31048721075057983,
-0.24512258172035217,
-0.2606157660484314,
0.43642374873161316,
-0.4303746819496155,
0.03796542435884476,
0.03052222728729248,
0.029890060424804688,
0.05376998335123062,
0.5458320379257202,
0.03828383609652519,
0.2496567666530609,
0.1242189109325409,
-0.02694164216518402,
-0.006763480603694916,
0.4577528238296509,
0.13583813607692719,
0.2337072491645813,
0.11738476157188416,
-0.2893108129501343,
-0.36820369958877563,
-0.25428590178489685,
-0.1975218504667282,
0.05379144474864006,
0.6866311430931091,
-0.06386715173721313,
-0.2569844722747803,
-0.05539647489786148,
0.06750832498073578,
0.24265232682228088,
-0.2581465244293213,
-0.009952311404049397,
0.17084626853466034,
0.11567304283380508,
-0.08906672894954681,
0.30789849162101746,
-0.2893315553665161,
0.06619051098823547,
-0.12313215434551239,
-0.22853970527648926,
-0.3091651201248169,
-0.3010595738887787,
-0.15082895755767822,
0.470104455947876,
0.22947002947330475,
0.13910315930843353,
0.3537517189979553,
0.11637533456087112,
0.0649450272321701,
-0.28977495431900024,
0.39402610063552856,
-0.15710894763469696,
0.3520016670227051,
0.1174798458814621,
-0.20100492238998413,
0.47815021872520447,
0.23963043093681335,
-0.033083584159612656,
-0.10263583809137344,
0.12198205292224884,
-0.3267689049243927,
-0.14335408806800842,
0.2797377109527588,
0.0795738473534584,
-0.12874123454093933,
-0.08419004082679749,
-0.1399328112602234,
0.08964373916387558,
0.695796012878418,
-0.007392209023237228,
0.020894140005111694,
-0.08882252871990204,
-0.15552985668182373,
-0.10247428715229034,
0.34438762068748474,
0.3368387520313263,
0.04221204295754433,
-0.14158090949058533,
0.14823906123638153,
0.2866523563861847,
0.3645550310611725,
0.27202022075653076,
-0.2845727503299713,
0.39679309725761414,
-0.23514524102210999,
0.5051148533821106,
0.20540829002857208,
-0.2336587756872177,
-0.5080645680427551,
-0.19620376825332642,
0.15921622514724731,
0.23153971135616302,
-0.14372920989990234,
-0.21496354043483734,
0.19708846509456635,
-0.13434825837612152,
-0.09149327874183655,
0.24210858345031738,
0.09654142707586288,
0.0560796856880188,
-0.38837730884552,
-0.09125040471553802,
0.17257140576839447,
-0.1453476846218109,
0.14652113616466522,
-0.09087266772985458,
-0.4464559555053711,
-0.17953473329544067,
0.03338739648461342,
-0.07670965790748596,
0.19399859011173248,
0.008899388834834099,
0.053406503051519394,
0.1170184388756752,
0.2671169340610504,
-0.07692214101552963,
0.04166717082262039,
0.2792668044567108,
0.07353856414556503,
-0.5027026534080505,
-0.05994388461112976,
-0.15436474978923798,
-0.07911893725395203,
0.012071160599589348,
-0.39700594544410706,
-0.24277916550636292,
0.16859681904315948,
0.34778204560279846,
0.24776753783226013,
0.08161953091621399,
-0.14968541264533997,
0.2536243200302124,
0.13985563814640045,
0.11968539655208588,
0.14916090667247772,
-0.09355553239583969,
0.07204525917768478,
-0.2579771876335144,
-0.29202696681022644,
0.04940306022763252,
0.30548402667045593,
0.04045065492391586,
-0.12042223662137985,
0.2741486132144928,
0.17600329220294952,
0.04138162359595299,
-0.02247534692287445,
0.06379640847444534,
-0.025123657658696175,
0.06633073091506958,
-0.19602151215076447,
-0.010345220565795898,
-0.05608347803354263,
-0.11269303411245346,
0.12241271138191223,
0.41771960258483887,
0.22202233970165253,
0.17761069536209106,
-0.22434794902801514,
0.014832207933068275,
0.11692562699317932,
-0.026655642315745354,
0.04916676878929138,
-0.17244333028793335,
-0.11858877539634705,
-0.04525691643357277,
0.35478854179382324,
-0.07185409963130951,
0.07958754897117615,
0.36934489011764526,
0.3027783930301666,
0.27407383918762207,
-0.07424735277891159,
-0.15059137344360352,
-0.45802807807922363,
-0.4412699341773987,
0.05573505163192749,
-0.055463142693042755,
0.0964137464761734,
0.06727307289838791,
0.3568423390388489,
-0.16054750978946686,
-0.05075649172067642,
-0.16206324100494385,
0.07890522480010986,
0.07758577167987823,
-0.045104362070560455,
0.21406874060630798,
0.12540143728256226,
0.14035896956920624,
-0.22275406122207642,
0.1156497448682785,
0.18017154932022095,
0.17212240397930145,
-0.03616449236869812,
0.1850106120109558,
-0.3932946026325226,
0.3735194206237793,
0.16173090040683746,
-0.2571478486061096,
0.13703857362270355,
-0.22911782562732697,
0.0004774332046508789,
0.20147407054901123,
0.11789554357528687,
0.4331187903881073,
-0.22081977128982544,
0.284745991230011,
0.03977276384830475,
-0.03278500586748123,
-0.4189472198486328,
-0.245915487408638,
-0.41584068536758423,
-0.07979659736156464,
0.13450363278388977,
-0.3992310166358948,
0.11835706233978271,
0.030422059819102287,
0.1510622352361679,
-0.3536341190338135,
-0.3006524443626404,
0.14080430567264557,
0.15991269052028656,
0.09779295325279236,
-0.3092907667160034,
-0.19059406220912933,
-0.2658298909664154,
-0.08549655973911285,
0.09922643005847931,
-0.29986706376075745,
-0.14076261222362518,
0.07253868132829666,
-0.05202817544341087,
-0.07081037014722824,
0.061974357813596725,
0.03373103216290474,
0.043763384222984314,
0.18856500089168549,
-0.21623168885707855,
-0.04746916890144348,
-0.06419267505407333,
-0.004724293947219849,
-0.22784976661205292,
-0.10475052893161774,
-0.45851776003837585,
-0.015920499339699745,
-0.4461234211921692,
-0.37067005038261414,
0.4806772768497467,
-0.21090523898601532,
-0.15714789927005768,
-0.10322262346744537,
-0.1517280489206314,
0.38508880138397217,
0.22403652966022491,
-0.30972564220428467,
0.039671629667282104,
-0.1685182899236679,
0.23877853155136108,
-0.13517001271247864,
-0.01878039352595806,
0.37137311697006226,
0.05880304053425789,
-0.01821254938840866,
-0.19077014923095703,
-0.016815798357129097,
0.10489670187234879,
-0.33291763067245483,
0.11521604657173157,
-0.17689836025238037,
0.05655898526310921,
0.1800132691860199,
0.8835822939872742,
0.30307674407958984,
-0.08768820762634277,
0.31666064262390137,
0.016414839774370193,
0.06541631370782852,
-0.281817227602005,
-0.11196114867925644,
-0.09288369119167328,
-0.15077528357505798,
0.1522854119539261,
0.28483086824417114,
0.05726165324449539,
-0.3074971139431,
0.0906665176153183,
0.26070791482925415,
-0.17383870482444763,
-0.3293609619140625,
-0.04847373068332672,
-0.39495524764060974,
0.41554754972457886,
0.2921672463417053,
0.30262526869773865,
-0.5683276653289795,
-0.07373742759227753,
0.07448804378509521,
-0.12003123760223389,
0.3379213809967041,
0.06420054286718369,
-0.5780256390571594,
0.20226432383060455,
-0.3777982294559479,
0.06651097536087036,
-0.057311203330755234,
0.5618974566459656,
0.2135441154241562,
-0.23271647095680237,
0.014093779027462006,
-0.1640665978193283,
0.16419537365436554,
-0.039484381675720215,
-0.12147766351699829,
0.23870867490768433,
-0.019522739574313164,
-0.043484605848789215,
-0.36139729619026184,
0.1375618427991867,
0.2124519795179367,
0.12769579887390137,
0.2797452211380005,
-0.18358005583286285,
-0.23732057213783264,
-0.23563280701637268,
0.035328835248947144,
-0.13282892107963562,
-0.10897526890039444,
-0.1756109744310379,
0.10689974576234818,
-0.18217165768146515,
0.2593705356121063,
-0.06038173288106918,
0.21988224983215332,
-0.10306262969970703,
0.10884857177734375,
-0.5350130796432495,
-0.06645344942808151,
-0.019317515194416046,
0.2916420102119446,
0.5262676477432251,
-0.1402483433485031,
0.445841521024704,
0.30763551592826843,
-0.17375892400741577,
0.0056377556174993515,
0.10005760192871094,
0.17240621149539948,
-0.2650020122528076,
0.09510760754346848,
-0.03957962244749069,
0.10413716733455658,
0.0811784490942955,
-0.43252602219581604,
0.1848158836364746,
-0.38151976466178894,
-0.038417235016822815,
-0.26636913418769836,
0.2759726643562317,
0.17731334269046783,
0.04020290449261665,
-0.20083966851234436,
-0.32235628366470337,
0.2259051501750946,
0.2753466069698334,
-0.28642934560775757,
0.41614580154418945,
-0.03414011746644974,
-0.16890490055084229,
0.34874922037124634,
0.16491401195526123,
0.7378828525543213,
-0.00944608449935913,
0.25244346261024475,
-0.042907461524009705,
0.06715606898069382,
0.40620917081832886,
-0.21372970938682556,
0.23375171422958374,
-0.3441559672355652,
0.13801640272140503,
0.05080866068601608,
-0.09848055988550186,
0.043044716119766235,
0.11389049887657166,
0.0026767514646053314,
0.12019729614257812,
-0.044149111956357956,
0.49310922622680664,
0.11778543889522552,
0.07591274380683899,
0.09956111013889313,
-0.21763479709625244,
0.316973477602005,
0.11910887062549591,
0.07876195013523102,
0.052953727543354034,
-0.06695355474948883,
0.14989310503005981,
0.08234092593193054,
-0.07915468513965607,
-0.20528548955917358,
-0.04332902655005455,
-0.4135439395904541,
0.1638137698173523,
0.17865975201129913,
-0.2680894732475281,
-0.05723490193486214,
0.0628894791007042,
0.5132480263710022,
0.08065610378980637,
-0.24245929718017578,
0.27821084856987,
-0.02378091961145401,
0.09618952125310898,
-0.23901353776454926,
-0.3213159441947937,
0.18032430112361908,
0.09435176104307175,
-0.11658015102148056,
-0.10725907236337662,
0.03303082659840584,
-0.3065806031227112,
-0.2994694709777832,
0.11186031997203827,
0.4513828158378601,
-0.16437667608261108,
0.21706537902355194,
0.273883581161499,
0.20784147083759308,
-0.22879202663898468,
0.149715855717659,
0.20938479900360107,
-0.16261520981788635,
0.2665517330169678,
-0.2902018129825592,
-0.04374875873327255,
0.01901494525372982,
0.25794294476509094,
0.097738116979599,
-0.19919805228710175,
0.6326388120651245,
-0.28450703620910645,
-0.1665549874305725,
-0.08812189847230911,
-0.17952337861061096,
0.19369657337665558,
-0.36138269305229187,
-0.04812515527009964,
-0.18337112665176392,
0.058353275060653687,
0.1849154680967331,
-0.031377483159303665,
-0.13377037644386292,
-0.25248226523399353,
-0.1289190649986267,
-0.12383437156677246,
-0.34604206681251526,
-0.23238931596279144,
-0.05804869905114174,
0.12279398739337921,
0.023050419986248016,
0.08493435382843018,
-0.27270302176475525,
0.39298945665359497,
-0.22050312161445618,
0.12448295205831528,
0.1798267364501953,
0.2595347762107849,
-0.530268669128418,
-0.241861492395401,
-0.025103259831666946,
0.035757143050432205,
0.013965768739581108,
0.2438116818666458,
-0.21778199076652527,
-0.1958756148815155,
-0.2893828749656677,
0.15878117084503174,
0.14393869042396545,
-0.21207141876220703,
-0.027306601405143738,
0.19512948393821716,
0.04442764073610306,
-0.5177792310714722,
0.2708550691604614,
-0.05759387090802193,
0.020352154970169067,
0.013196486048400402,
0.5033800601959229,
0.13152647018432617,
-0.14479875564575195,
-0.19682276248931885,
-0.05943666398525238,
0.07117699086666107,
0.23467762768268585,
0.26935237646102905,
-0.01838657259941101,
0.0074079036712646484,
0.04518149048089981,
0.09478508681058884,
0.23149119317531586,
-0.06040176749229431,
0.14927612245082855,
-0.4599708318710327,
-0.22819989919662476,
0.03032262809574604,
-0.06361381709575653,
0.3517604470252991,
-0.041558269411325455,
-0.4037973880767822,
0.43349552154541016,
0.17468875646591187,
-0.06291158497333527,
-0.20197191834449768,
0.10700303316116333,
0.13093167543411255,
0.004806093871593475,
0.05390400439500809,
0.43778881430625916,
-0.11850309371948242,
0.17369386553764343,
-0.006340908817946911,
0.6974003314971924,
-0.41544073820114136,
0.1573438197374344,
-0.14549724757671356,
0.08034132421016693,
0.06728129833936691,
0.44864389300346375,
0.2264159619808197,
-0.01850958913564682,
0.2831723093986511,
0.04990718886256218,
0.31428730487823486,
0.3167971968650818,
0.09075634181499481,
-0.29575115442276,
-0.49905452132225037,
-0.21272344887256622,
0.11885726451873779,
0.06412117183208466,
0.19276529550552368,
-0.25534945726394653,
0.10713408887386322,
0.2710861265659332,
-0.2303539514541626,
-0.18738631904125214,
0.24653412401676178,
-0.272033154964447,
-0.5263672471046448,
0.007792975753545761,
-0.08403261005878448,
-0.018197987228631973,
0.0024063028395175934,
0.055326201021671295,
0.08959876745939255,
0.0123109370470047,
-0.09186871349811554,
-0.23013775050640106,
-0.4301741421222687,
-0.12331154197454453,
0.20403960347175598,
0.42715272307395935,
-0.25433483719825745,
0.40153399109840393,
-0.13068827986717224,
-0.2442549169063568,
-0.21224620938301086,
0.19609542191028595,
0.3405885398387909,
0.22356286644935608,
-0.1643117368221283,
0.09838477522134781,
-0.32420021295547485,
0.07945334166288376,
-0.26008808612823486,
0.5433876514434814,
0.03607180714607239,
-0.4382261037826538,
-0.057057157158851624,
0.01207778975367546,
-0.04014287516474724,
-0.06074785813689232,
0.05938418209552765,
0.15594936907291412,
-0.14605751633644104,
0.20291230082511902,
0.035513922572135925,
-0.045286379754543304,
0.10955377668142319,
0.3006153702735901,
-0.05779241770505905,
0.26941558718681335,
0.4779255986213684,
0.1471049040555954,
0.15972444415092468,
-0.2725209891796112,
0.058197714388370514,
0.0926937460899353,
0.3004271388053894,
0.2922060489654541,
-0.06589442491531372,
-0.3236878514289856,
-0.35657477378845215,
-0.33877721428871155,
0.29078930616378784,
-0.19846591353416443,
0.2897382378578186,
0.021396569907665253,
0.28220415115356445,
-0.1632971167564392,
0.0080194603651762,
0.0462617501616478,
0.1021311804652214,
0.03338412940502167,
0.1518063098192215,
-0.47482070326805115,
0.21337923407554626,
-0.036031246185302734,
0.011394074186682701,
0.0778736099600792,
-0.2824006676673889,
0.2424856424331665,
0.03202152997255325,
0.08990166336297989,
0.06345666199922562,
-0.06995846331119537,
0.2568913996219635,
0.017615079879760742,
0.6879329681396484,
0.3122716248035431,
0.08683570474386215,
0.16125306487083435,
0.2616789638996124,
-0.5806758999824524,
0.0980483815073967,
-0.16685836017131805,
-0.19655698537826538,
-0.035744328051805496,
0.16107313334941864,
-0.28722909092903137,
-0.08345335721969604,
-0.16739465296268463,
-0.24018794298171997,
0.30970174074172974,
-0.09389541298151016,
-0.09464561939239502,
-0.1055777296423912,
-0.003233708441257477,
0.2992188632488251,
-0.024653442203998566,
0.40302321314811707,
-0.08530345559120178,
0.4659247100353241,
-0.4314427971839905,
-0.28545239567756653,
0.4118308424949646,
-0.575702965259552,
-0.38003695011138916,
-0.3162725567817688,
0.18082478642463684,
0.28122150897979736,
-0.1349351704120636,
-0.36873531341552734,
0.07595599442720413,
0.4503169357776642,
-0.07120802998542786,
-0.3825806975364685,
0.201975479722023,
0.23966090381145477,
0.19684332609176636,
-0.1832440346479416,
0.629191517829895,
0.04729749262332916,
0.017071479931473732,
-0.10933001339435577,
-0.1512112021446228
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I had this issue with `run_speech_recognition_ctc.py` for wa2vec2.0 fine-tuning. I made a small change and the hash for the function (which includes tokenisation) is now the same before and after pre-porocessing. With the hash being the same, the caching works as intended.
Before:
```
def prepare_dataset(batch):
# load audio
sample = batch[audio_column_name]
inputs = feature_extractor(sample["array"], sampling_rate=sample["sampling_rate"])
batch["input_values"] = inputs.input_values[0]
batch["input_length"] = len(batch["input_values"])
# encode targets
additional_kwargs = {}
if phoneme_language is not None:
additional_kwargs["phonemizer_lang"] = phoneme_language
batch["labels"] = tokenizer(batch["target_text"], **additional_kwargs).input_ids
return batch
with training_args.main_process_first(desc="dataset map preprocessing"):
vectorized_datasets = raw_datasets.map(
prepare_dataset,
remove_columns=next(iter(raw_datasets.values())).column_names,
num_proc=num_workers,
desc="preprocess datasets",
)
```
After:
```
def prepare_dataset(batch, feature_extractor, tokenizer):
# load audio
sample = batch[audio_column_name]
inputs = feature_extractor(sample["array"], sampling_rate=sample["sampling_rate"])
batch["input_values"] = inputs.input_values[0]
batch["input_length"] = len(batch["input_values"])
# encode targets
additional_kwargs = {}
if phoneme_language is not None:
additional_kwargs["phonemizer_lang"] = phoneme_language
batch["labels"] = tokenizer(batch["target_text"], **additional_kwargs).input_ids
return batch
pd = lambda batch: prepare_dataset(batch, feature_extractor, tokenizer)
with training_args.main_process_first(desc="dataset map preprocessing"):
vectorized_datasets = raw_datasets.map(
pd,
remove_columns=next(iter(raw_datasets.values())).column_names,
num_proc=num_workers,
desc="preprocess datasets",
)
``` | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 159 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I had this issue with `run_speech_recognition_ctc.py` for wa2vec2.0 fine-tuning. I made a small change and the hash for the function (which includes tokenisation) is now the same before and after pre-porocessing. With the hash being the same, the caching works as intended.
Before:
```
def prepare_dataset(batch):
# load audio
sample = batch[audio_column_name]
inputs = feature_extractor(sample["array"], sampling_rate=sample["sampling_rate"])
batch["input_values"] = inputs.input_values[0]
batch["input_length"] = len(batch["input_values"])
# encode targets
additional_kwargs = {}
if phoneme_language is not None:
additional_kwargs["phonemizer_lang"] = phoneme_language
batch["labels"] = tokenizer(batch["target_text"], **additional_kwargs).input_ids
return batch
with training_args.main_process_first(desc="dataset map preprocessing"):
vectorized_datasets = raw_datasets.map(
prepare_dataset,
remove_columns=next(iter(raw_datasets.values())).column_names,
num_proc=num_workers,
desc="preprocess datasets",
)
```
After:
```
def prepare_dataset(batch, feature_extractor, tokenizer):
# load audio
sample = batch[audio_column_name]
inputs = feature_extractor(sample["array"], sampling_rate=sample["sampling_rate"])
batch["input_values"] = inputs.input_values[0]
batch["input_length"] = len(batch["input_values"])
# encode targets
additional_kwargs = {}
if phoneme_language is not None:
additional_kwargs["phonemizer_lang"] = phoneme_language
batch["labels"] = tokenizer(batch["target_text"], **additional_kwargs).input_ids
return batch
pd = lambda batch: prepare_dataset(batch, feature_extractor, tokenizer)
with training_args.main_process_first(desc="dataset map preprocessing"):
vectorized_datasets = raw_datasets.map(
pd,
remove_columns=next(iter(raw_datasets.values())).column_names,
num_proc=num_workers,
desc="preprocess datasets",
)
``` | [
-0.11391608417034149,
0.29470327496528625,
0.10052910447120667,
0.10078100860118866,
0.1438295543193817,
0.009961254894733429,
0.17227628827095032,
0.29016435146331787,
-0.2569062411785126,
-0.16485436260700226,
0.13269072771072388,
0.4018785357475281,
0.11924242228269577,
-0.5614117383956909,
-0.05277795344591141,
0.06459738314151764,
0.17061907052993774,
0.25712716579437256,
0.3208693265914917,
0.045535191893577576,
0.09224656224250793,
0.14659200608730316,
-0.43887919187545776,
0.08554020524024963,
-0.6838970184326172,
0.050738222897052765,
-0.03335239738225937,
-0.16433840990066528,
0.24642689526081085,
-0.6461887359619141,
0.2560790181159973,
0.22350582480430603,
0.2249094843864441,
0.21087568998336792,
-0.00012115613935748115,
-0.10185927897691727,
0.1883489042520523,
-0.022519318386912346,
-0.16575025022029877,
0.1021798625588417,
0.2971314787864685,
-0.18096043169498444,
-0.01068904809653759,
0.02340039610862732,
-0.031162256374955177,
-0.4149348735809326,
-0.04190235584974289,
-0.3819039463996887,
0.5221361517906189,
0.015564038418233395,
0.08469937741756439,
0.23133249580860138,
-0.12301453948020935,
0.20335176587104797,
0.011573463678359985,
-0.3291371464729309,
-0.12513411045074463,
-0.2815570831298828,
0.0036055222153663635,
-0.30318471789360046,
-0.17147332429885864,
0.4097447395324707,
-0.12472075968980789,
0.18627755343914032,
-0.04129371792078018,
0.17374514043331146,
-0.22926655411720276,
-0.0723089873790741,
0.24398121237754822,
0.03601672500371933,
0.3816000521183014,
-0.3285238742828369,
-0.1953168660402298,
-0.4643302857875824,
-0.1246986910700798,
-0.47602036595344543,
0.2174595594406128,
-0.2940252423286438,
0.07216079533100128,
0.177913635969162,
-0.16896803677082062,
0.06727130711078644,
0.09698055684566498,
-0.09062178432941437,
0.09373156726360321,
0.3492557108402252,
0.009677844122052193,
0.12036397308111191,
-0.13482561707496643,
-0.1337607502937317,
0.24794264137744904,
-0.19658352434635162,
-0.30968040227890015,
0.45342692732810974,
-0.5052124261856079,
0.04297429323196411,
0.05439850687980652,
0.013536408543586731,
0.02824791893362999,
0.5092849135398865,
0.090887650847435,
0.2696993350982666,
0.06710492074489594,
-0.005908004939556122,
-0.07015177607536316,
0.4795474112033844,
0.12510614097118378,
0.2171463966369629,
0.10385510325431824,
-0.3608967959880829,
-0.4190526306629181,
-0.22636938095092773,
-0.1747920960187912,
0.021475840359926224,
0.6330611705780029,
0.012348960153758526,
-0.24817752838134766,
-0.08595820516347885,
0.034042879939079285,
0.23651601374149323,
-0.29838427901268005,
0.020409055054187775,
0.20731455087661743,
0.2213364839553833,
-0.040882404893636703,
0.31132742762565613,
-0.24427203834056854,
0.09028597176074982,
-0.1529364436864853,
-0.2205462008714676,
-0.2722179591655731,
-0.3068022131919861,
-0.12013834714889526,
0.4940689504146576,
0.2404857724905014,
0.03823640197515488,
0.3908282220363617,
0.07709390670061111,
0.19671127200126648,
-0.3000817596912384,
0.40798139572143555,
-0.17976078391075134,
0.4180375635623932,
0.09967546164989471,
-0.2236490249633789,
0.475898802280426,
0.18550832569599152,
0.12622351944446564,
-0.0982598140835762,
0.08557341992855072,
-0.39329585433006287,
-0.15983977913856506,
0.3228347897529602,
0.02461748942732811,
-0.12972977757453918,
0.003110058605670929,
-0.015432171523571014,
0.10053527355194092,
0.7268790602684021,
-0.13430523872375488,
-0.034922756254673004,
-0.1690002977848053,
-0.28213992714881897,
-0.143720805644989,
0.30828967690467834,
0.37703925371170044,
0.03825509920716286,
-0.1304509937763214,
0.2199060320854187,
0.38919124007225037,
0.37482449412345886,
0.31665509939193726,
-0.2581500709056854,
0.36493122577667236,
-0.2760172188282013,
0.5143457651138306,
0.1721450239419937,
-0.33354824781417847,
-0.4988531172275543,
-0.19057597219944,
0.21653948724269867,
0.23536543548107147,
-0.14356204867362976,
-0.2810018062591553,
0.17704030871391296,
-0.21044020354747772,
-0.11575686931610107,
0.13039928674697876,
0.10702282935380936,
0.04818916320800781,
-0.3553844392299652,
-0.09046917408704758,
0.24016554653644562,
-0.22248181700706482,
0.15729956328868866,
-0.07411513477563858,
-0.37652406096458435,
-0.10816559195518494,
-0.0017866641283035278,
-0.07902038097381592,
0.22743558883666992,
-0.07382091879844666,
0.05211571604013443,
0.04000581428408623,
0.3048889636993408,
-0.03340217471122742,
0.08621344715356827,
0.2905719578266144,
-0.013080283999443054,
-0.4287824332714081,
-0.031117647886276245,
-0.08399301767349243,
-0.03503074124455452,
-0.04526064544916153,
-0.36523565649986267,
-0.2554469704627991,
0.12375114858150482,
0.33775463700294495,
0.24291643500328064,
0.1025257557630539,
-0.12085407972335815,
0.30244192481040955,
0.10898850858211517,
0.06384166330099106,
0.12863554060459137,
-0.11875392496585846,
0.11360594630241394,
-0.26277732849121094,
-0.27664119005203247,
0.15750083327293396,
0.34630751609802246,
0.06217833608388901,
-0.13566938042640686,
0.2533330023288727,
0.15593194961547852,
0.059567179530858994,
-0.08159472793340683,
0.1479690670967102,
0.0013138782232999802,
0.05438544973731041,
-0.12971116602420807,
0.021944154053926468,
-0.04341140761971474,
-0.1387413591146469,
0.24964359402656555,
0.41129565238952637,
0.34552448987960815,
0.1955929547548294,
-0.21245189011096954,
-0.03014478273689747,
0.15941475331783295,
0.004277829080820084,
0.02765357308089733,
-0.15065956115722656,
-0.0876435935497284,
0.018668361008167267,
0.43945732712745667,
-0.0756302997469902,
0.13243523240089417,
0.3432815670967102,
0.3679097890853882,
0.27524036169052124,
-0.06814195960760117,
-0.08169222623109818,
-0.40912866592407227,
-0.4856766164302826,
-0.008176000788807869,
-0.19062863290309906,
0.08915580064058304,
0.004733732435852289,
0.30395999550819397,
-0.10865124315023422,
-0.07205390930175781,
-0.14702701568603516,
0.09900376945734024,
0.03106430545449257,
-0.07065138965845108,
0.2710300385951996,
0.12740661203861237,
0.1350109726190567,
-0.23360386490821838,
0.14699743688106537,
0.18377980589866638,
0.1690588742494583,
-0.09360355138778687,
0.1598353087902069,
-0.44241568446159363,
0.36915692687034607,
0.1558706909418106,
-0.11052199453115463,
0.12002377212047577,
-0.1811845451593399,
-0.01025436446070671,
0.24066384136676788,
0.1461394727230072,
0.44950351119041443,
-0.25677821040153503,
0.3553730249404907,
0.10033982992172241,
-0.00840866006910801,
-0.3524383008480072,
-0.16936776041984558,
-0.38982224464416504,
-0.12589606642723083,
0.08473721891641617,
-0.4488111138343811,
0.05462721735239029,
0.1268506497144699,
0.09665290266275406,
-0.2904682755470276,
-0.3490924537181854,
0.14873558282852173,
0.14997872710227966,
0.10153215378522873,
-0.30221226811408997,
-0.23791618645191193,
-0.24878114461898804,
-0.08555204421281815,
0.010520157404243946,
-0.22854699194431305,
-0.15134897828102112,
0.08971419185400009,
-0.12052086740732193,
-0.08720558136701584,
0.0858512669801712,
0.00011595338582992554,
0.060978591442108154,
0.17790253460407257,
-0.1837993860244751,
-0.06913700699806213,
-0.023258917033672333,
0.0522952638566494,
-0.2548659145832062,
-0.15422244369983673,
-0.5162522196769714,
-0.011704545468091965,
-0.5272829532623291,
-0.4194570481777191,
0.4644170105457306,
-0.19784855842590332,
-0.13600344955921173,
-0.10667344927787781,
-0.18801364302635193,
0.4375949501991272,
0.25291210412979126,
-0.23070284724235535,
0.045766640454530716,
-0.07328660786151886,
0.21366816759109497,
-0.08895531296730042,
-0.0640113353729248,
0.41378507018089294,
0.032519761472940445,
0.02764432691037655,
-0.21992406249046326,
-0.0674537867307663,
0.17794448137283325,
-0.13701790571212769,
0.12227610498666763,
-0.044541649520397186,
-0.03223107010126114,
0.18923328816890717,
0.9648825526237488,
0.41185805201530457,
-0.1148173063993454,
0.314125657081604,
0.055844347923994064,
0.05807696282863617,
-0.298309862613678,
-0.10053744912147522,
-0.05779092013835907,
-0.12080919742584229,
0.11540107429027557,
0.33813199400901794,
0.06095123663544655,
-0.29770466685295105,
0.06483036279678345,
0.20355702936649323,
-0.26808619499206543,
-0.3138158917427063,
-0.04267992079257965,
-0.44737982749938965,
0.46485987305641174,
0.28526902198791504,
0.37398049235343933,
-0.5050265789031982,
-0.09746330976486206,
0.07067841291427612,
-0.152906134724617,
0.3971654772758484,
0.02381783537566662,
-0.54020094871521,
0.2049735188484192,
-0.4061584770679474,
0.07087251543998718,
-0.02317029982805252,
0.6611164212226868,
0.1684815138578415,
-0.2748309075832367,
-0.001576736569404602,
-0.12363681942224503,
0.1719987690448761,
-0.10027725994586945,
-0.02148391306400299,
0.18491332232952118,
-0.006853580474853516,
0.14718468487262726,
-0.3622877299785614,
0.21294933557510376,
0.1721399575471878,
0.11119470000267029,
0.16892960667610168,
-0.12598855793476105,
-0.1869044154882431,
-0.30676451325416565,
-0.010815268382430077,
-0.10937311500310898,
-0.05491800978779793,
-0.1480204164981842,
0.14811351895332336,
-0.17284353077411652,
0.19936822354793549,
-0.10912452638149261,
0.18406812846660614,
-0.1664380133152008,
0.0898488312959671,
-0.4458750784397125,
-0.13794678449630737,
0.048612017184495926,
0.29303380846977234,
0.5014867782592773,
-0.08709358423948288,
0.475735068321228,
0.3234478831291199,
-0.20788344740867615,
-0.11865989863872528,
0.06491425633430481,
0.20409591495990753,
-0.31953567266464233,
0.08351670950651169,
-0.003402943257242441,
0.07319106161594391,
0.15179122984409332,
-0.5022042393684387,
0.24470281600952148,
-0.38060733675956726,
-0.053904637694358826,
-0.3408343195915222,
0.24444998800754547,
0.24104788899421692,
0.04475894197821617,
-0.1932794451713562,
-0.2789928615093231,
0.14868943393230438,
0.2179063856601715,
-0.34899067878723145,
0.43129169940948486,
-0.189548060297966,
-0.22251422703266144,
0.35889244079589844,
0.1493077427148819,
0.7595711946487427,
0.036811843514442444,
0.23464912176132202,
0.01302365306764841,
0.1506405621767044,
0.3658313751220703,
-0.25502246618270874,
0.25945159792900085,
-0.319450706243515,
0.14176340401172638,
0.031323663890361786,
-0.10157915949821472,
0.041179001331329346,
0.07646199315786362,
0.0329066626727581,
0.15992559492588043,
0.037955597043037415,
0.44461166858673096,
0.1189342588186264,
0.05061788856983185,
0.1776224821805954,
-0.23566070199012756,
0.3659210205078125,
0.08515690267086029,
0.048732880502939224,
0.08316246420145035,
-0.06380581110715866,
0.15412627160549164,
0.13117235898971558,
-0.14282798767089844,
-0.22952055931091309,
0.01962900534272194,
-0.43046221137046814,
0.08180923759937286,
0.13038869202136993,
-0.18048176169395447,
0.004805389791727066,
0.0013439841568470001,
0.48420238494873047,
0.1098528653383255,
-0.2464066445827484,
0.3040581941604614,
0.06723085790872574,
0.12959113717079163,
-0.17614546418190002,
-0.32192614674568176,
0.14685307443141937,
0.09476300328969955,
-0.05688682571053505,
-0.07897523790597916,
0.030977781862020493,
-0.3100557327270508,
-0.3115454614162445,
0.11488170921802521,
0.2776564955711365,
-0.10056407004594803,
0.21378587186336517,
0.3284924030303955,
0.20522749423980713,
-0.1912144422531128,
0.11175954341888428,
0.21395181119441986,
-0.25556087493896484,
0.29587090015411377,
-0.3038513660430908,
-0.085359588265419,
0.05876236408948898,
0.29105061292648315,
0.12164627015590668,
-0.2556649446487427,
0.6578562259674072,
-0.28239551186561584,
-0.12821708619594574,
-0.05415097624063492,
-0.24647504091262817,
0.041357461363077164,
-0.2921794354915619,
0.0006523039191961288,
-0.11511405557394028,
0.028671935200691223,
0.1576390564441681,
-0.023853782564401627,
-0.21608038246631622,
-0.18930727243423462,
-0.14460374414920807,
-0.15687131881713867,
-0.3223806321620941,
-0.264043927192688,
-0.10880938172340393,
0.0948452353477478,
-0.034376583993434906,
0.10942952334880829,
-0.2934560179710388,
0.4203137457370758,
-0.17584073543548584,
0.1324816793203354,
0.21397821605205536,
0.29916295409202576,
-0.4929521381855011,
-0.21526691317558289,
0.021383630111813545,
0.0496089942753315,
-0.0220577884465456,
0.23894943296909332,
-0.2858531177043915,
-0.13045762479305267,
-0.31978029012680054,
0.18431442975997925,
0.12944233417510986,
-0.23919512331485748,
-0.0274326391518116,
0.1644015610218048,
0.063975989818573,
-0.5017256736755371,
0.24984034895896912,
-0.0043880268931388855,
-0.010121934115886688,
0.06761196255683899,
0.36043956875801086,
0.12231775373220444,
-0.03964513540267944,
-0.11600576341152191,
-0.06859315931797028,
0.097885362803936,
0.29441651701927185,
0.2978268265724182,
-0.07102065533399582,
0.003025941550731659,
0.060596879571676254,
0.09745216369628906,
0.16762371361255646,
-0.07920146733522415,
0.19870471954345703,
-0.36367130279541016,
-0.24098847806453705,
-0.0090106762945652,
-0.1278434693813324,
0.31777423620224,
-0.056553181260824203,
-0.4060874581336975,
0.4409812390804291,
0.11535730212926865,
-0.09715714305639267,
-0.1473843902349472,
0.058287665247917175,
0.0864027738571167,
-0.025271249935030937,
0.05304763466119766,
0.47107383608818054,
-0.18939019739627838,
0.15329304337501526,
-0.06183331832289696,
0.6661567091941833,
-0.5085574388504028,
0.2096683531999588,
-0.11610618233680725,
0.12964121997356415,
0.09749743342399597,
0.4080941677093506,
0.16894087195396423,
-0.01700599491596222,
0.3329448699951172,
0.022456996142864227,
0.3092719316482544,
0.24245163798332214,
0.14468345046043396,
-0.2662796974182129,
-0.5330995917320251,
-0.2837274670600891,
0.21220272779464722,
-0.044798657298088074,
0.22286537289619446,
-0.25974157452583313,
0.12241801619529724,
0.32056787610054016,
-0.28698575496673584,
-0.235225111246109,
0.2636764347553253,
-0.24968817830085754,
-0.5243848562240601,
0.0017005503177642822,
-0.136898472905159,
-0.018275953829288483,
0.010523281991481781,
0.08812518417835236,
0.05963526666164398,
0.06684444844722748,
-0.003854312002658844,
-0.26001906394958496,
-0.31554073095321655,
-0.16635066270828247,
0.15613000094890594,
0.4556802213191986,
-0.26753172278404236,
0.43314096331596375,
-0.17405356466770172,
-0.281296968460083,
-0.13510502874851227,
0.1710948646068573,
0.40388259291648865,
0.24195706844329834,
-0.19846577942371368,
0.10858065634965897,
-0.23689325153827667,
0.13638922572135925,
-0.21123279631137848,
0.6369535326957703,
0.06702879071235657,
-0.34143608808517456,
-0.09505710005760193,
-0.046603988856077194,
0.001475190743803978,
-0.10655196011066437,
0.060245923697948456,
0.11332201957702637,
-0.1837216168642044,
0.29885780811309814,
-0.0002703145146369934,
0.040408991277217865,
0.0821751207113266,
0.3448767066001892,
-0.056517988443374634,
0.2932868003845215,
0.520897388458252,
0.1229012981057167,
0.19181513786315918,
-0.22386988997459412,
0.03906579688191414,
0.08344532549381256,
0.3102327883243561,
0.24575772881507874,
-0.06593892723321915,
-0.34056296944618225,
-0.29743117094039917,
-0.26304686069488525,
0.29811370372772217,
-0.17819227278232574,
0.42754942178726196,
-0.10063297301530838,
0.28363290429115295,
-0.11152354627847672,
-0.03406039625406265,
-0.03104463219642639,
-0.008788678795099258,
0.11837518960237503,
0.13829445838928223,
-0.39585041999816895,
0.2158753126859665,
-0.09940557181835175,
0.04149556905031204,
0.03653694689273834,
-0.3029581606388092,
0.17040425539016724,
0.08324681967496872,
0.02777966856956482,
0.08967012912034988,
-0.08504150062799454,
0.15405528247356415,
-0.017800629138946533,
0.7190244793891907,
0.37278518080711365,
0.07418674975633621,
0.09450647979974747,
0.28688162565231323,
-0.5589619874954224,
0.12811222672462463,
-0.08287356793880463,
-0.18771451711654663,
-0.06544400751590729,
0.14527934789657593,
-0.28917333483695984,
-0.0017196349799633026,
-0.21199342608451843,
-0.2562926113605499,
0.2744455933570862,
-0.14932328462600708,
-0.15113919973373413,
-0.08060204982757568,
-0.07198671251535416,
0.33116620779037476,
-0.037238601595163345,
0.3786107003688812,
-0.11953440308570862,
0.42570722103118896,
-0.43377041816711426,
-0.2560102045536041,
0.4208923280239105,
-0.6027739644050598,
-0.3350572884082794,
-0.316092848777771,
0.25025057792663574,
0.22474905848503113,
-0.0641263872385025,
-0.41493290662765503,
0.08094228059053421,
0.4442331790924072,
-0.061928339302539825,
-0.36128297448158264,
0.1593134105205536,
0.14468592405319214,
0.11470283567905426,
-0.16999898850917816,
0.6068307161331177,
0.10926633328199387,
-0.020386919379234314,
-0.04054423049092293,
-0.1912112534046173
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Not sure why the second one would work and not the first one - they're basically the same with respect to hashing. In both cases the function is hashed recursively, and therefore the feature_extractor and the tokenizer are hashed the same way.
With which tokenizer or feature extractor are you experiencing this behavior ?
Do you also experience this ?
> Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache. | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 83 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Not sure why the second one would work and not the first one - they're basically the same with respect to hashing. In both cases the function is hashed recursively, and therefore the feature_extractor and the tokenizer are hashed the same way.
With which tokenizer or feature extractor are you experiencing this behavior ?
Do you also experience this ?
> Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache. | [
-0.1007404625415802,
0.29389968514442444,
0.06404469907283783,
0.1311522126197815,
0.1323443502187729,
0.022840380668640137,
0.23811693489551544,
0.2275797724723816,
-0.20204666256904602,
-0.08689363300800323,
0.13989649713039398,
0.42688193917274475,
0.09699434041976929,
-0.532903790473938,
-0.023308683186769485,
0.041660699993371964,
0.1997542679309845,
0.2658554017543793,
0.25783804059028625,
0.004656992852687836,
0.09229554235935211,
0.12070561945438385,
-0.385636568069458,
0.09196300804615021,
-0.747771680355072,
0.14137567579746246,
-0.08460648357868195,
-0.212270587682724,
0.19117294251918793,
-0.6170759201049805,
0.22875820100307465,
0.1903046816587448,
0.2290121465921402,
0.303340882062912,
-0.0001175593351945281,
-0.0792917013168335,
0.17295235395431519,
0.004657575860619545,
-0.1299925148487091,
0.060014672577381134,
0.2591579556465149,
-0.2221318930387497,
0.007090479135513306,
-0.06012513488531113,
-0.018710607662796974,
-0.5145082473754883,
-0.05112893879413605,
-0.39282822608947754,
0.4756309986114502,
0.001217014156281948,
0.12482360005378723,
0.26605501770973206,
-0.08461172878742218,
0.17232827842235565,
0.14190900325775146,
-0.26893025636672974,
-0.14823375642299652,
-0.3190479278564453,
-0.016628630459308624,
-0.24080078303813934,
-0.1665762960910797,
0.37227675318717957,
-0.10397198796272278,
0.18360762298107147,
0.06770611554384232,
0.22043351829051971,
-0.22302019596099854,
-0.06738048046827316,
0.22384193539619446,
0.019707810133695602,
0.4301794767379761,
-0.2971915304660797,
-0.22273129224777222,
-0.42596569657325745,
-0.17219717800617218,
-0.34732508659362793,
0.25466418266296387,
-0.24959859251976013,
0.06918604671955109,
0.1807987242937088,
-0.18254685401916504,
0.10237830877304077,
0.1256750375032425,
-0.08400209248065948,
0.03507199138402939,
0.4606882631778717,
0.009866666980087757,
0.1283794343471527,
-0.14007700979709625,
-0.13257522881031036,
0.2913939952850342,
-0.27064430713653564,
-0.18724268674850464,
0.41806840896606445,
-0.3592891991138458,
0.05382759869098663,
0.07697921246290207,
-0.02529381960630417,
0.04715465009212494,
0.5671783685684204,
0.018300751224160194,
0.24454665184020996,
0.11073508858680725,
-0.015614092350006104,
-0.09164011478424072,
0.43794938921928406,
0.18529687821865082,
0.2082841396331787,
0.10607850551605225,
-0.30675816535949707,
-0.4138173758983612,
-0.24394989013671875,
-0.13535401225090027,
0.08525316417217255,
0.6706492900848389,
-0.05630521476268768,
-0.2604597210884094,
-0.04679493606090546,
0.10382633656263351,
0.2575179636478424,
-0.3055780827999115,
-0.04182356595993042,
0.15177728235721588,
0.13180221617221832,
-0.050540756434202194,
0.2565228343009949,
-0.36389225721359253,
0.030677391216158867,
-0.10414084792137146,
-0.183227077126503,
-0.32806721329689026,
-0.23946429789066315,
-0.16787311434745789,
0.46805453300476074,
0.2211122363805771,
0.083870530128479,
0.3843533992767334,
0.11979546397924423,
0.0578247606754303,
-0.27388036251068115,
0.38655945658683777,
-0.1875530183315277,
0.40915799140930176,
0.10153040289878845,
-0.20598140358924866,
0.4993496835231781,
0.20232215523719788,
0.017347291111946106,
-0.12169063091278076,
0.11272186040878296,
-0.30891484022140503,
-0.16053354740142822,
0.35136038064956665,
0.08325005322694778,
-0.173829585313797,
-0.05882210284471512,
-0.09683497995138168,
0.09588627517223358,
0.6640459299087524,
-0.05350026488304138,
0.010019496083259583,
-0.12658722698688507,
-0.16005726158618927,
-0.15138302743434906,
0.3321981728076935,
0.3072741627693176,
0.05562369152903557,
-0.14236962795257568,
0.17119696736335754,
0.282565712928772,
0.3697642385959625,
0.26459845900535583,
-0.2876845896244049,
0.39351794123649597,
-0.2533908784389496,
0.6263534426689148,
0.2427210509777069,
-0.23219966888427734,
-0.527328372001648,
-0.22341933846473694,
0.15960513055324554,
0.27187660336494446,
-0.12589499354362488,
-0.2511596381664276,
0.21492280066013336,
-0.17338518798351288,
-0.10631492733955383,
0.19026274979114532,
0.11008111387491226,
0.019480811432003975,
-0.36303776502609253,
-0.10026338696479797,
0.2178357094526291,
-0.2347414195537567,
0.19956813752651215,
-0.0825214758515358,
-0.4069470465183258,
-0.1423887014389038,
-0.0038737133145332336,
-0.08399482071399689,
0.18660354614257812,
-0.01287456601858139,
0.05629825219511986,
0.057192835956811905,
0.25700315833091736,
-0.08913891017436981,
0.0580575168132782,
0.2992064356803894,
0.02601385861635208,
-0.5013509392738342,
-0.10511144995689392,
-0.11446790397167206,
-0.05269322171807289,
0.0014703068882226944,
-0.39903268218040466,
-0.2756896913051605,
0.1613762378692627,
0.36392173171043396,
0.28536558151245117,
0.07067511975765228,
-0.17525403201580048,
0.23306410014629364,
0.10619580745697021,
0.12451452761888504,
0.14849665760993958,
-0.0750725045800209,
0.11154654622077942,
-0.29243841767311096,
-0.3227497637271881,
0.02232479304075241,
0.3243350684642792,
-0.0008761170320212841,
-0.11012673377990723,
0.22710004448890686,
0.18944494426250458,
0.031718909740448,
-0.06776580959558487,
0.14217527210712433,
-0.0629502534866333,
0.07479110360145569,
-0.1705460101366043,
-0.008292056620121002,
-0.0627732127904892,
-0.12700235843658447,
0.12801694869995117,
0.4292163848876953,
0.26128795742988586,
0.17541828751564026,
-0.19929702579975128,
-0.023205481469631195,
0.09236177057027817,
-0.02626749873161316,
0.037780217826366425,
-0.2135457843542099,
-0.16535018384456635,
-0.023864157497882843,
0.3557928502559662,
-0.04101966321468353,
0.11231987178325653,
0.37343811988830566,
0.4239206314086914,
0.25471118092536926,
-0.09245824068784714,
-0.1534377932548523,
-0.45854729413986206,
-0.4770490527153015,
0.05237270146608353,
-0.08873513340950012,
0.12522102892398834,
0.04724003002047539,
0.3584781587123871,
-0.148046612739563,
-0.05609363317489624,
-0.17317987978458405,
0.10522931069135666,
0.08099113404750824,
-0.0770808756351471,
0.23413124680519104,
0.13526281714439392,
0.15118499100208282,
-0.2397753894329071,
0.12738658487796783,
0.19495312869548798,
0.15131981670856476,
0.01564190164208412,
0.17171594500541687,
-0.4241981506347656,
0.3943042755126953,
0.178066685795784,
-0.23264957964420319,
0.12647148966789246,
-0.25193339586257935,
-0.0024911798536777496,
0.22488002479076385,
0.09184280037879944,
0.4316699802875519,
-0.23296190798282623,
0.23173776268959045,
0.013259032741189003,
-0.03360845148563385,
-0.38988688588142395,
-0.16158534586429596,
-0.40420863032341003,
-0.097715362906456,
0.1295333206653595,
-0.43770864605903625,
0.10263334214687347,
0.0353250727057457,
0.13634546101093292,
-0.3801742494106293,
-0.35176876187324524,
0.19189107418060303,
0.12023073434829712,
0.07196183502674103,
-0.2798844277858734,
-0.244338259100914,
-0.2641509175300598,
-0.13335508108139038,
0.13130930066108704,
-0.2968052625656128,
-0.1571543663740158,
0.0875537320971489,
-0.03397798538208008,
-0.048056140542030334,
0.06765981018543243,
0.01089942455291748,
0.08372431993484497,
0.17732752859592438,
-0.19160257279872894,
-0.03324292600154877,
-0.04453989118337631,
-0.01561873871833086,
-0.23654307425022125,
-0.12598265707492828,
-0.47965821623802185,
0.012202918529510498,
-0.4537079334259033,
-0.35855624079704285,
0.5003659129142761,
-0.21858914196491241,
-0.17008747160434723,
-0.08148973435163498,
-0.1754595786333084,
0.3479095697402954,
0.3000633120536804,
-0.2687087059020996,
-0.00859051663428545,
-0.1497085690498352,
0.23388835787773132,
-0.043181173503398895,
-0.016279498115181923,
0.37131235003471375,
0.06042444705963135,
-0.03405020758509636,
-0.19278696179389954,
-0.048268772661685944,
0.14197541773319244,
-0.29368624091148376,
0.10661426186561584,
-0.16464313864707947,
0.040012430399656296,
0.23090004920959473,
0.8697031140327454,
0.2979792356491089,
-0.0786241739988327,
0.30036476254463196,
0.014105192385613918,
0.014086496084928513,
-0.30216825008392334,
-0.11202854663133621,
-0.11538691073656082,
-0.1466388702392578,
0.13011851906776428,
0.3116854727268219,
0.034725964069366455,
-0.30931392312049866,
0.11933735013008118,
0.21279630064964294,
-0.19908007979393005,
-0.3542228937149048,
-0.02888505719602108,
-0.39243215322494507,
0.41215234994888306,
0.2978043258190155,
0.31292909383773804,
-0.5934095978736877,
-0.028208186849951744,
0.10243125259876251,
-0.1464146077632904,
0.36608898639678955,
0.07865875214338303,
-0.6041157245635986,
0.23078100383281708,
-0.3554505407810211,
0.09338684380054474,
-0.023973817005753517,
0.5418152809143066,
0.22956259548664093,
-0.3128063380718231,
-0.0006219968199729919,
-0.20015734434127808,
0.1532282680273056,
-0.05434896796941757,
-0.10872317850589752,
0.2264559119939804,
-0.1286543905735016,
0.01751633919775486,
-0.3988474905490875,
0.13642437756061554,
0.26061663031578064,
0.11127610504627228,
0.29284974932670593,
-0.20573660731315613,
-0.2596157193183899,
-0.2019018977880478,
0.039181169122457504,
-0.11324092745780945,
-0.0926814153790474,
-0.11696448922157288,
0.123772032558918,
-0.16608497500419617,
0.21945297718048096,
-0.10939708352088928,
0.22488896548748016,
-0.08553405851125717,
0.10800932347774506,
-0.5438809394836426,
-0.12437429279088974,
0.02649018168449402,
0.3125929832458496,
0.45919936895370483,
-0.1674972027540207,
0.4381328523159027,
0.25950759649276733,
-0.14818933606147766,
-0.04845812916755676,
0.0668908879160881,
0.1845526248216629,
-0.31377798318862915,
0.08466769754886627,
-0.020881468430161476,
0.10673833638429642,
0.09361808001995087,
-0.460190087556839,
0.22157013416290283,
-0.3849945068359375,
-0.0540459007024765,
-0.23285862803459167,
0.25612133741378784,
0.24216437339782715,
0.02685140073299408,
-0.18731872737407684,
-0.32036229968070984,
0.2124994397163391,
0.28154709935188293,
-0.3141898810863495,
0.38795650005340576,
-0.03531060367822647,
-0.14401765167713165,
0.347287654876709,
0.15964409708976746,
0.7773752808570862,
0.05916802957653999,
0.20220564305782318,
-0.0011966899037361145,
0.14876173436641693,
0.41652312874794006,
-0.2591094374656677,
0.22265557944774628,
-0.3314819037914276,
0.09260553121566772,
0.04815980792045593,
-0.12334802746772766,
0.03812415897846222,
0.12163539975881577,
0.0934399664402008,
0.12108378857374191,
-0.013764902949333191,
0.5934756994247437,
0.11978127062320709,
0.06535982340574265,
0.11413930356502533,
-0.20016053318977356,
0.282021164894104,
0.11410105228424072,
0.1467837393283844,
0.04540449380874634,
-0.07628873735666275,
0.14013658463954926,
0.08225277066230774,
-0.09591694921255112,
-0.1409493386745453,
-0.0031165797263383865,
-0.4284954071044922,
0.16457229852676392,
0.17424388229846954,
-0.2959408760070801,
-0.119188591837883,
0.009110696613788605,
0.4811224937438965,
0.03907041624188423,
-0.20819580554962158,
0.20927907526493073,
-0.028460495173931122,
0.12005949020385742,
-0.2308618128299713,
-0.35820385813713074,
0.23895864188671112,
0.07740022242069244,
-0.06614378094673157,
-0.08326563984155655,
0.03427700698375702,
-0.3261106014251709,
-0.25723952054977417,
0.12270861864089966,
0.38821035623550415,
-0.15834662318229675,
0.17582151293754578,
0.306599497795105,
0.17454834282398224,
-0.21499237418174744,
0.13428576290607452,
0.1611194759607315,
-0.174336239695549,
0.29802119731903076,
-0.3196908235549927,
-0.015062607824802399,
-0.005075816065073013,
0.2458687424659729,
0.11672606319189072,
-0.1882764995098114,
0.5991874933242798,
-0.33022624254226685,
-0.17536932229995728,
-0.07338932156562805,
-0.22868987917900085,
0.17847129702568054,
-0.34094780683517456,
0.00017794687300920486,
-0.23822180926799774,
0.03686685860157013,
0.1855650395154953,
-0.001702580600976944,
-0.13763029873371124,
-0.24600940942764282,
-0.17781579494476318,
-0.12170714139938354,
-0.3062591552734375,
-0.17703981697559357,
-0.040600892156362534,
0.11331313103437424,
-0.012173503637313843,
0.14714936912059784,
-0.3313995897769928,
0.3812265694141388,
-0.22083768248558044,
0.13165415823459625,
0.21490032970905304,
0.25021475553512573,
-0.5004004240036011,
-0.24115407466888428,
-0.020398832857608795,
0.059079449623823166,
0.016588861122727394,
0.28261715173721313,
-0.25865381956100464,
-0.1853758692741394,
-0.2729087173938751,
0.1642962396144867,
0.15668985247612,
-0.16546472907066345,
-0.02686648815870285,
0.2446039766073227,
0.0701925978064537,
-0.5308433771133423,
0.31310251355171204,
-0.030967723578214645,
0.015487238764762878,
0.0038004275411367416,
0.48838040232658386,
0.13896499574184418,
-0.15557223558425903,
-0.17245222628116608,
-0.08429287374019623,
0.09705547243356705,
0.24960167706012726,
0.2846902012825012,
-0.03947825729846954,
0.017602235078811646,
0.028927743434906006,
0.09592872858047485,
0.18807339668273926,
-0.054137930274009705,
0.19774043560028076,
-0.4060570001602173,
-0.22047370672225952,
0.008685566484928131,
-0.08938704431056976,
0.3946927487850189,
-0.011234262958168983,
-0.41171932220458984,
0.3919634521007538,
0.17047777771949768,
-0.07048262655735016,
-0.22193999588489532,
0.10668595135211945,
0.09861943125724792,
0.009598597884178162,
0.07902644574642181,
0.45928314328193665,
-0.06523023545742035,
0.15978211164474487,
-0.026766058057546616,
0.7047125101089478,
-0.40641647577285767,
0.17063768208026886,
-0.13961367309093475,
0.08622545003890991,
0.12074260413646698,
0.48210057616233826,
0.2156948447227478,
0.0367770791053772,
0.2729722261428833,
0.032860565930604935,
0.3239895701408386,
0.31797388195991516,
0.09747280180454254,
-0.23872989416122437,
-0.498755544424057,
-0.24748022854328156,
0.13864953815937042,
0.10555922240018845,
0.20635592937469482,
-0.2697458863258362,
0.046682361513376236,
0.3147318661212921,
-0.1956893652677536,
-0.21128426492214203,
0.30729007720947266,
-0.23725774884223938,
-0.5210689306259155,
0.008440088480710983,
-0.13148298859596252,
-0.04584306478500366,
0.024189118295907974,
0.03076275810599327,
0.08637979626655579,
0.06792879849672318,
-0.09939390420913696,
-0.22475047409534454,
-0.32886171340942383,
-0.08308923989534378,
0.1363631784915924,
0.45759323239326477,
-0.2551403045654297,
0.37178438901901245,
-0.13121789693832397,
-0.22470206022262573,
-0.22907546162605286,
0.20199963450431824,
0.3254210352897644,
0.21099615097045898,
-0.14366209506988525,
0.058127839118242264,
-0.32679909467697144,
0.08331268280744553,
-0.2910047173500061,
0.5655091404914856,
0.005982197821140289,
-0.3839521110057831,
-0.07983271777629852,
0.019119003787636757,
-0.06083157658576965,
-0.07838854193687439,
0.06428246945142746,
0.1233556866645813,
-0.14795464277267456,
0.2527579963207245,
0.0571826696395874,
-0.023739874362945557,
0.15248766541481018,
0.29754552245140076,
-0.01661061868071556,
0.2013169676065445,
0.49686700105667114,
0.16909942030906677,
0.18823903799057007,
-0.2372867614030838,
0.06297866255044937,
0.06512008607387543,
0.26827871799468994,
0.26627248525619507,
-0.10405353456735611,
-0.2902263104915619,
-0.29670748114585876,
-0.3028549253940582,
0.2960208058357239,
-0.16008742153644562,
0.29377439618110657,
-0.0065537793561816216,
0.31386125087738037,
-0.11721984297037125,
0.000502612441778183,
0.014758393168449402,
0.12338027358055115,
0.005736201070249081,
0.1588270515203476,
-0.44443440437316895,
0.21420589089393616,
-0.05024457722902298,
-0.012654738500714302,
0.06671170145273209,
-0.28388893604278564,
0.22586487233638763,
-0.02485695853829384,
0.095826156437397,
0.04801613837480545,
-0.10175761580467224,
0.27131035923957825,
-0.04740075021982193,
0.7582681775093079,
0.3728235960006714,
0.06359204649925232,
0.11857698112726212,
0.263082355260849,
-0.581235408782959,
0.1396593451499939,
-0.15857145190238953,
-0.14605656266212463,
-0.08385118842124939,
0.18801921606063843,
-0.26253435015678406,
-0.03222566470503807,
-0.16303794085979462,
-0.22725853323936462,
0.271429181098938,
-0.10028598457574844,
-0.09437209367752075,
-0.07088407129049301,
-0.03288084268569946,
0.27775439620018005,
0.0044418079778552055,
0.43734270334243774,
-0.09358064830303192,
0.44387388229370117,
-0.4479138255119324,
-0.2889910340309143,
0.4050567150115967,
-0.5981464982032776,
-0.3641880452632904,
-0.30875271558761597,
0.149747833609581,
0.28992098569869995,
-0.11430881172418594,
-0.35218876600265503,
0.03924662619829178,
0.44522377848625183,
-0.08517177402973175,
-0.40205278992652893,
0.1875794231891632,
0.2263096421957016,
0.15385478734970093,
-0.17504851520061493,
0.5447447299957275,
0.033399391919374466,
-0.02193809300661087,
-0.11553645133972168,
-0.1273273527622223
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks ! Hopefully this can be useful to others, and also to better understand and improve hashing/caching | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 17 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Thanks ! Hopefully this can be useful to others, and also to better understand and improve hashing/caching | [
-0.12665757536888123,
0.2988383173942566,
0.0831264853477478,
0.17981934547424316,
0.16854311525821686,
0.06762265413999557,
0.2584798038005829,
0.2325427532196045,
-0.20233340561389923,
-0.14918704330921173,
0.13579952716827393,
0.3831775188446045,
0.13598880171775818,
-0.5483026504516602,
-0.0156129514798522,
0.04895627126097679,
0.20190688967704773,
0.2323056161403656,
0.2515144348144531,
0.030390620231628418,
0.13553783297538757,
0.10251898318529129,
-0.3951624035835266,
0.06952870637178421,
-0.7477304339408875,
0.11094515770673752,
-0.1410483717918396,
-0.19138801097869873,
0.19914375245571136,
-0.6102737188339233,
0.264162540435791,
0.21892385184764862,
0.2383846640586853,
0.2775574028491974,
-0.0001193641874124296,
-0.07096229493618011,
0.2004101425409317,
0.01604522578418255,
-0.14272379875183105,
0.07863330096006393,
0.22410976886749268,
-0.24389642477035522,
0.011473024263978004,
-0.01790744811296463,
-0.05430297553539276,
-0.5000692009925842,
-0.06769807636737823,
-0.4405319094657898,
0.47438740730285645,
-0.018239520490169525,
0.10299146920442581,
0.2280445545911789,
-0.06852858513593674,
0.21004833281040192,
0.10876213014125824,
-0.27074384689331055,
-0.1503344625234604,
-0.27202799916267395,
0.022728674113750458,
-0.24167484045028687,
-0.18567019701004028,
0.36367809772491455,
-0.10350245237350464,
0.17722824215888977,
0.04456412419676781,
0.21640226244926453,
-0.20077550411224365,
-0.016063634306192398,
0.2161562144756317,
0.03306172788143158,
0.4920894503593445,
-0.33438941836357117,
-0.23472146689891815,
-0.4485444724559784,
-0.1524408608675003,
-0.3308367431163788,
0.2554599642753601,
-0.25876057147979736,
0.09035985171794891,
0.19832679629325867,
-0.21533742547035217,
0.044714365154504776,
0.09505896270275116,
-0.09547170996665955,
0.08109176158905029,
0.43646717071533203,
0.02075737714767456,
0.13153743743896484,
-0.1276421993970871,
-0.1416025608778,
0.30652478337287903,
-0.27802449464797974,
-0.27386248111724854,
0.40835148096084595,
-0.4288924038410187,
0.04506651312112808,
0.018264606595039368,
0.04261409863829613,
0.05931498855352402,
0.5460867285728455,
0.049151547253131866,
0.2620599567890167,
0.13081513345241547,
-0.01855289936065674,
-0.016260355710983276,
0.41034987568855286,
0.15230825543403625,
0.2250608652830124,
0.10558083653450012,
-0.30713507533073425,
-0.40049535036087036,
-0.23573100566864014,
-0.18126259744167328,
0.02933955192565918,
0.7109324336051941,
-0.05130620300769806,
-0.27965444326400757,
-0.06436759233474731,
0.12727154791355133,
0.24150697886943817,
-0.3176160156726837,
-0.05460333824157715,
0.17881400883197784,
0.1165478304028511,
-0.12278874963521957,
0.2387934923171997,
-0.3267427682876587,
0.05825568363070488,
-0.12538915872573853,
-0.1856670379638672,
-0.30254578590393066,
-0.28467729687690735,
-0.1879662424325943,
0.471373587846756,
0.2247048169374466,
0.06972043216228485,
0.3347747325897217,
0.13055171072483063,
0.06330356746912003,
-0.28862306475639343,
0.3657337427139282,
-0.15297234058380127,
0.3558662533760071,
0.09610529243946075,
-0.20912186801433563,
0.49734893441200256,
0.21113261580467224,
0.026578649878501892,
-0.10298676788806915,
0.1408044844865799,
-0.34579992294311523,
-0.15793415904045105,
0.3079422116279602,
0.05011482164263725,
-0.1521194875240326,
-0.060230135917663574,
-0.12361500412225723,
0.06011708453297615,
0.7174332141876221,
-0.023415852338075638,
-0.0021660253405570984,
-0.06630422174930573,
-0.1643894463777542,
-0.13674955070018768,
0.35885098576545715,
0.33915990591049194,
0.049449313431978226,
-0.14148302376270294,
0.1778603494167328,
0.2964963912963867,
0.36777520179748535,
0.29271841049194336,
-0.2760162949562073,
0.37045738101005554,
-0.23872949182987213,
0.5040668845176697,
0.2029106616973877,
-0.21550162136554718,
-0.5572744607925415,
-0.20323947072029114,
0.1972743421792984,
0.22377781569957733,
-0.12779465317726135,
-0.1603502780199051,
0.19151510298252106,
-0.13354526460170746,
-0.09461703896522522,
0.20972809195518494,
0.0801733061671257,
0.03624705225229263,
-0.39924556016921997,
-0.09389551728963852,
0.17726433277130127,
-0.14983096718788147,
0.14719773828983307,
-0.09089378267526627,
-0.40104252099990845,
-0.12896206974983215,
-0.018853791058063507,
-0.058106232434511185,
0.200829416513443,
0.025594055652618408,
0.0476495623588562,
0.07471703737974167,
0.2832987606525421,
-0.057363733649253845,
0.03810994327068329,
0.28911080956459045,
0.05173776298761368,
-0.522482693195343,
-0.09946173429489136,
-0.12861347198486328,
-0.04805261641740799,
-0.02010715752840042,
-0.3767921030521393,
-0.22977307438850403,
0.13272258639335632,
0.3029642105102539,
0.228641539812088,
0.08340229094028473,
-0.13064350187778473,
0.2538907825946808,
0.13824042677879333,
0.12045774608850479,
0.13562344014644623,
-0.07777836173772812,
0.0681004673242569,
-0.2599049508571625,
-0.3048821985721588,
0.04738999158143997,
0.32025474309921265,
0.006681316532194614,
-0.09592713415622711,
0.23449093103408813,
0.15359412133693695,
0.03589955344796181,
-0.025896020233631134,
0.1503324806690216,
0.002708660438656807,
0.028321217745542526,
-0.16560383141040802,
-0.06847268342971802,
-0.0945538729429245,
-0.1459764540195465,
0.14294463396072388,
0.4291653037071228,
0.18819434940814972,
0.16318492591381073,
-0.2414078563451767,
-0.008858934976160526,
0.1315675973892212,
-0.04434081166982651,
0.07764404267072678,
-0.17212051153182983,
-0.12568554282188416,
-0.04918554052710533,
0.3581019341945648,
-0.019783252850174904,
0.13003744184970856,
0.35811540484428406,
0.3622477650642395,
0.2787984609603882,
-0.09394491463899612,
-0.13413742184638977,
-0.4497634172439575,
-0.46070414781570435,
0.02372271753847599,
-0.09189070761203766,
0.07442279905080795,
0.038275498896837234,
0.38138943910598755,
-0.13709135353565216,
-0.0407504178583622,
-0.16125689446926117,
0.08026573061943054,
0.0627848282456398,
-0.05736866965889931,
0.19798099994659424,
0.10485175997018814,
0.1441151201725006,
-0.194420725107193,
0.1358756422996521,
0.22326363623142242,
0.18653404712677002,
-0.0713936984539032,
0.17384545505046844,
-0.4367515444755554,
0.3809509873390198,
0.18029966950416565,
-0.2528284788131714,
0.128872811794281,
-0.23362962901592255,
-0.012170843780040741,
0.22533267736434937,
0.11663462221622467,
0.4507300853729248,
-0.22083719074726105,
0.264186829328537,
0.04864370822906494,
-0.027871625497937202,
-0.41226914525032043,
-0.2382555454969406,
-0.4180907607078552,
-0.0979301929473877,
0.18128441274166107,
-0.46434539556503296,
0.10731645673513412,
0.03194937855005264,
0.13384410738945007,
-0.38251110911369324,
-0.31928563117980957,
0.14305737614631653,
0.15223494172096252,
0.10908465832471848,
-0.3308367431163788,
-0.2139589637517929,
-0.3326765298843384,
-0.0861315056681633,
0.12001993507146835,
-0.27362483739852905,
-0.14590004086494446,
0.10699576139450073,
-0.05223379284143448,
-0.07931103557348251,
0.062304552644491196,
0.018868111073970795,
0.05905266851186752,
0.217201828956604,
-0.21469001471996307,
-0.07079871743917465,
-0.06135817617177963,
-0.013985932804644108,
-0.21439577639102936,
-0.14266373217105865,
-0.516859233379364,
-0.0267223808914423,
-0.4288855493068695,
-0.44338473677635193,
0.5098112225532532,
-0.17994797229766846,
-0.15703292191028595,
-0.0841781497001648,
-0.14570298790931702,
0.3461301624774933,
0.2843002676963806,
-0.3169964551925659,
0.05004371330142021,
-0.12461376190185547,
0.22247055172920227,
-0.08507589995861053,
-0.014326648786664009,
0.3627455234527588,
0.05621138587594032,
-0.00720415823161602,
-0.1958065927028656,
-0.02635364606976509,
0.12746909260749817,
-0.333795964717865,
0.17217445373535156,
-0.1320326328277588,
0.09662047028541565,
0.21923795342445374,
0.9353861212730408,
0.326809287071228,
-0.11629873514175415,
0.31568270921707153,
0.003535481169819832,
0.029870325699448586,
-0.26236581802368164,
-0.13237160444259644,
-0.11795017123222351,
-0.15820208191871643,
0.1460220366716385,
0.27032071352005005,
0.07345583289861679,
-0.27398809790611267,
0.09090563654899597,
0.21565453708171844,
-0.22748255729675293,
-0.33923885226249695,
-0.027548668906092644,
-0.4882656931877136,
0.42312395572662354,
0.2992832362651825,
0.2841985523700714,
-0.5528656244277954,
-0.11012246459722519,
0.1030372679233551,
-0.12690679728984833,
0.3485519587993622,
0.08312375843524933,
-0.5445036292076111,
0.21027135848999023,
-0.3396450877189636,
0.07086260616779327,
-0.02650030143558979,
0.5997268557548523,
0.20655615627765656,
-0.2113361358642578,
0.02644379436969757,
-0.14931905269622803,
0.19747814536094666,
-0.0695226863026619,
-0.10739332437515259,
0.1991557478904724,
-0.06721039861440659,
0.022618448361754417,
-0.3764881491661072,
0.152695894241333,
0.24314777553081512,
0.11684957146644592,
0.27176201343536377,
-0.2074805498123169,
-0.22583967447280884,
-0.23765844106674194,
0.0008285643416456878,
-0.12804493308067322,
-0.11050298064947128,
-0.15854384005069733,
0.12083978205919266,
-0.17844200134277344,
0.2516033947467804,
-0.10127057880163193,
0.20078472793102264,
-0.08675513416528702,
0.08933676779270172,
-0.5252453088760376,
-0.08943663537502289,
0.009799130260944366,
0.28417399525642395,
0.5181085467338562,
-0.1494103968143463,
0.504989504814148,
0.28500038385391235,
-0.18388372659683228,
0.01757683791220188,
0.1063772439956665,
0.20946650207042694,
-0.26384440064430237,
0.07667697221040726,
-0.048242587596178055,
0.10545966774225235,
0.04964486509561539,
-0.4469968378543854,
0.1901063621044159,
-0.31802892684936523,
-0.07407008111476898,
-0.25907039642333984,
0.24975533783435822,
0.1919625699520111,
0.04223177209496498,
-0.24632598459720612,
-0.3190215528011322,
0.2452687919139862,
0.28719067573547363,
-0.28628048300743103,
0.4367031455039978,
-0.048575177788734436,
-0.16678448021411896,
0.31801843643188477,
0.18120333552360535,
0.747228741645813,
-0.03909820318222046,
0.2378629744052887,
-0.07657088339328766,
0.09184734523296356,
0.3941844701766968,
-0.22715267539024353,
0.2289387732744217,
-0.3704001307487488,
0.10970105230808258,
0.02745482511818409,
-0.13159094750881195,
0.052383020520210266,
0.14559033513069153,
0.05158134922385216,
0.11853020638227463,
-0.034719862043857574,
0.5566911697387695,
0.107122041285038,
0.04479333013296127,
0.11800028383731842,
-0.1804085373878479,
0.3231618404388428,
0.0978131890296936,
0.09387394785881042,
0.039289798587560654,
-0.0716409683227539,
0.12167926132678986,
0.06939858198165894,
-0.08092948794364929,
-0.1943587064743042,
-0.0400250107049942,
-0.38024282455444336,
0.16268059611320496,
0.19087907671928406,
-0.24841028451919556,
-0.045065805315971375,
0.010092955082654953,
0.5446359515190125,
0.0829763263463974,
-0.23936772346496582,
0.26019009947776794,
-0.046005986630916595,
0.1090545654296875,
-0.19352076947689056,
-0.3211376965045929,
0.18381765484809875,
0.0909639224410057,
-0.11273635923862457,
-0.11866775900125504,
0.051235124468803406,
-0.3528931140899658,
-0.311460018157959,
0.11392652988433838,
0.409623920917511,
-0.1488090455532074,
0.21074965596199036,
0.24465900659561157,
0.20563645660877228,
-0.22399787604808807,
0.12786953151226044,
0.23900294303894043,
-0.15680652856826782,
0.29858115315437317,
-0.2939956784248352,
-0.018847256898880005,
0.019472528249025345,
0.2937970757484436,
0.13010981678962708,
-0.22378142178058624,
0.6011301279067993,
-0.2952989339828491,
-0.1889430284500122,
-0.04715960472822189,
-0.18227386474609375,
0.1801014393568039,
-0.33068880438804626,
-0.05821417644619942,
-0.21849416196346283,
0.09097035229206085,
0.17932812869548798,
-0.05131673440337181,
-0.13055004179477692,
-0.23526111245155334,
-0.1160278171300888,
-0.15209969878196716,
-0.31631797552108765,
-0.1886271983385086,
-0.07898648083209991,
0.13895995914936066,
0.012134995311498642,
0.09279662370681763,
-0.2914826571941376,
0.39864763617515564,
-0.19254979491233826,
0.12313564121723175,
0.18471434712409973,
0.27162742614746094,
-0.5380887985229492,
-0.2096911370754242,
-0.009450369514524937,
0.008962882682681084,
-0.008894426748156548,
0.2317969799041748,
-0.23647211492061615,
-0.16200172901153564,
-0.2687702775001526,
0.17624570429325104,
0.1553557813167572,
-0.20141610503196716,
-0.04883464053273201,
0.18209247291088104,
0.05147138237953186,
-0.4966934025287628,
0.2520155608654022,
-0.02940215915441513,
0.032175663858652115,
0.018931947648525238,
0.5105112195014954,
0.1253829300403595,
-0.15988552570343018,
-0.19277437031269073,
-0.08188726007938385,
0.10160263627767563,
0.2673041522502899,
0.27318239212036133,
-0.0017362891230732203,
0.00033136457204818726,
0.020707789808511734,
0.09375602751970291,
0.2472735345363617,
-0.07170067727565765,
0.20251455903053284,
-0.4331398606300354,
-0.20537589490413666,
0.054357606917619705,
-0.06025417894124985,
0.3480221629142761,
-0.022167032584547997,
-0.43400904536247253,
0.4331337809562683,
0.14378932118415833,
-0.05088895186781883,
-0.2168329507112503,
0.14949005842208862,
0.12697765231132507,
-0.0416562519967556,
0.04566853493452072,
0.46244844794273376,
-0.10921061038970947,
0.12885624170303345,
-0.016491763293743134,
0.7199053168296814,
-0.4588260054588318,
0.15257102251052856,
-0.1515113264322281,
0.0587117038667202,
0.08407989144325256,
0.48538967967033386,
0.20971611142158508,
-0.03763619810342789,
0.33898842334747314,
0.0443095788359642,
0.33645352721214294,
0.3138273060321808,
0.1092761978507042,
-0.32375407218933105,
-0.503410816192627,
-0.21904416382312775,
0.1389739215373993,
0.08409717679023743,
0.17232725024223328,
-0.27458828687667847,
0.12113741040229797,
0.35210758447647095,
-0.19468878209590912,
-0.18191805481910706,
0.2462438941001892,
-0.2619498074054718,
-0.5217926502227783,
0.032327935099601746,
-0.11247134208679199,
-0.006784267723560333,
0.01833830028772354,
0.06387984752655029,
0.0791744589805603,
0.0854596272110939,
-0.07159735262393951,
-0.20808885991573334,
-0.40154188871383667,
-0.077206552028656,
0.22166988253593445,
0.44050413370132446,
-0.27553117275238037,
0.4048364460468292,
-0.15108688175678253,
-0.268942266702652,
-0.20696797966957092,
0.1685369610786438,
0.33741605281829834,
0.21107915043830872,
-0.13709582388401031,
0.08318488299846649,
-0.29799002408981323,
0.08716171234846115,
-0.2576051950454712,
0.5895463824272156,
0.037929873913526535,
-0.42202672362327576,
-0.09716124832630157,
-0.008723096922039986,
-0.013454316183924675,
-0.04620778188109398,
0.054362643510103226,
0.16571679711341858,
-0.12784619629383087,
0.21441031992435455,
0.02366982027888298,
-0.051178108900785446,
0.1682385504245758,
0.31992703676223755,
-0.015800870954990387,
0.18395890295505524,
0.5317260026931763,
0.15102791786193848,
0.1642344892024994,
-0.2744449973106384,
0.046898238360881805,
0.10326351225376129,
0.3159486651420593,
0.29962158203125,
-0.08985301107168198,
-0.33690181374549866,
-0.2994128465652466,
-0.3240576982498169,
0.3018306791782379,
-0.1917829066514969,
0.34678205847740173,
0.020156260579824448,
0.2970922589302063,
-0.14642277359962463,
-0.007118754088878632,
0.0450950562953949,
0.09965822100639343,
0.028945952653884888,
0.17479632794857025,
-0.45015764236450195,
0.20937730371952057,
-0.07772588729858398,
0.013750812038779259,
0.045525677502155304,
-0.2589528262615204,
0.2721796929836273,
0.0004428355023264885,
0.06534665077924728,
0.04692419618368149,
-0.11060546338558197,
0.2676592469215393,
-0.025324083864688873,
0.7252185344696045,
0.3362996280193329,
0.10281753540039062,
0.18185898661613464,
0.27406376600265503,
-0.5831477046012878,
0.07658680528402328,
-0.11297819763422012,
-0.15358099341392517,
-0.05854610726237297,
0.1589881032705307,
-0.30071455240249634,
-0.07691919803619385,
-0.18407504260540009,
-0.2342129945755005,
0.26163721084594727,
-0.11971011757850647,
-0.08079920709133148,
-0.11211266368627548,
0.016796991229057312,
0.29412126541137695,
-0.03155802935361862,
0.38935136795043945,
-0.07328315079212189,
0.45326805114746094,
-0.4270784854888916,
-0.2685818374156952,
0.3915502429008484,
-0.5792118310928345,
-0.3429175317287445,
-0.304320365190506,
0.1656949818134308,
0.28176844120025635,
-0.11786056309938431,
-0.38602209091186523,
0.05299132317304611,
0.4669329524040222,
-0.08368363231420517,
-0.3651077449321747,
0.18738721311092377,
0.2580316662788391,
0.209725484251976,
-0.17281222343444824,
0.5442157983779907,
0.014381743967533112,
0.029583731666207314,
-0.10669854283332825,
-0.14858756959438324
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | `tokenizer.save_pretrained(training_args.output_dir)` produces a different tokenizer hash when loaded on restart of the script. When I was debugging before I was terminating the script prior to this command, then rerunning.
I compared the tokenizer items on the first and second runs, there are two different items:
1st:
```
('_additional_special_tokens', [AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True)])
...
('tokens_trie', <transformers.tokenization_utils.Trie object at 0x7f4d6d0ddb38>)
```
2nd:
```
('_additional_special_tokens', [AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True)])
...
('tokens_trie', <transformers.tokenization_utils.Trie object at 0x7efc23dcce80>)
```
On every run of this the special tokens are being added on, and the hash is different on the `tokens_trie`. The increase in the special tokens category could be cleaned, but not sure about the hash for the `tokens_trie`. What might work is that the call for the tokenizer encoding can be translated into a function that strips any unnecessary information out, but that's a guess.
| ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 321 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
`tokenizer.save_pretrained(training_args.output_dir)` produces a different tokenizer hash when loaded on restart of the script. When I was debugging before I was terminating the script prior to this command, then rerunning.
I compared the tokenizer items on the first and second runs, there are two different items:
1st:
```
('_additional_special_tokens', [AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True)])
...
('tokens_trie', <transformers.tokenization_utils.Trie object at 0x7f4d6d0ddb38>)
```
2nd:
```
('_additional_special_tokens', [AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("<s>", rstrip=False, lstrip=False, single_word=False, normalized=True), AddedToken("</s>", rstrip=False, lstrip=False, single_word=False, normalized=True)])
...
('tokens_trie', <transformers.tokenization_utils.Trie object at 0x7efc23dcce80>)
```
On every run of this the special tokens are being added on, and the hash is different on the `tokens_trie`. The increase in the special tokens category could be cleaned, but not sure about the hash for the `tokens_trie`. What might work is that the call for the tokenizer encoding can be translated into a function that strips any unnecessary information out, but that's a guess.
| [
-0.16589891910552979,
0.3236856758594513,
0.08280591666698456,
0.12946419417858124,
0.185725599527359,
0.032221630215644836,
0.29114076495170593,
0.24498701095581055,
-0.19679789245128632,
-0.09392347931861877,
0.12795336544513702,
0.3986140191555023,
0.07593562453985214,
-0.5573384165763855,
0.019009485840797424,
0.11465951800346375,
0.19350531697273254,
0.21875396370887756,
0.23955215513706207,
0.014494359493255615,
0.12095621228218079,
0.15127328038215637,
-0.37168270349502563,
0.0380711629986763,
-0.7384801506996155,
0.16808964312076569,
-0.06181088835000992,
-0.17559731006622314,
0.21924400329589844,
-0.6510284543037415,
0.2318125218153,
0.2036202996969223,
0.2283676564693451,
0.2885880172252655,
-0.00011955433728871867,
-0.049789197742938995,
0.19020254909992218,
-0.005467111244797707,
-0.16127604246139526,
0.047744132578372955,
0.27925509214401245,
-0.1865425705909729,
0.03334537893533707,
-0.052466511726379395,
-0.03304789587855339,
-0.49148914217948914,
-0.043801479041576385,
-0.4363354444503784,
0.43558162450790405,
0.045500461012125015,
0.10437333583831787,
0.2580161988735199,
-0.17036713659763336,
0.15337640047073364,
0.07743164896965027,
-0.25565844774246216,
-0.16395203769207,
-0.2940485179424286,
-0.021149761974811554,
-0.2735123038291931,
-0.19996511936187744,
0.3273658752441406,
-0.10709413886070251,
0.1515750139951706,
0.049279630184173584,
0.22373530268669128,
-0.2166580855846405,
-0.016798507422208786,
0.2653505206108093,
0.059252213686704636,
0.4041330814361572,
-0.31619343161582947,
-0.2161714881658554,
-0.45588555932044983,
-0.13221408426761627,
-0.30830156803131104,
0.25970259308815,
-0.2391354739665985,
0.06074876710772514,
0.16723836958408356,
-0.25432997941970825,
0.10403862595558167,
0.097969651222229,
-0.12355747818946838,
0.044187597930431366,
0.4361377954483032,
0.022237714380025864,
0.14440888166427612,
-0.160682812333107,
-0.13113023340702057,
0.3330899178981781,
-0.29407286643981934,
-0.20057640969753265,
0.3986417353153229,
-0.3845922350883484,
0.030604667961597443,
0.08967498689889908,
-0.042744845151901245,
0.038820065557956696,
0.5432933568954468,
0.096207395195961,
0.26814162731170654,
0.13653528690338135,
-0.04991038143634796,
-0.04515058919787407,
0.4544403851032257,
0.15358807146549225,
0.220389261841774,
0.12639592587947845,
-0.2214483916759491,
-0.38307541608810425,
-0.22769522666931152,
-0.16488055884838104,
0.03305097669363022,
0.7472572326660156,
-0.047029048204422,
-0.24159853160381317,
-0.03765752911567688,
0.04489952325820923,
0.3131874203681946,
-0.29722294211387634,
-0.0343705452978611,
0.1678222119808197,
0.1525556892156601,
-0.08783906698226929,
0.2873467206954956,
-0.28335896134376526,
0.09094218909740448,
-0.15158537030220032,
-0.1661120504140854,
-0.2952148914337158,
-0.27020028233528137,
-0.16902613639831543,
0.4729422926902771,
0.25400158762931824,
0.08651378750801086,
0.38011980056762695,
0.15991567075252533,
0.074418805539608,
-0.28524544835090637,
0.38891884684562683,
-0.12853306531906128,
0.4174565374851227,
0.07318205386400223,
-0.13524121046066284,
0.47167882323265076,
0.19840650260448456,
0.005244262516498566,
-0.09018154442310333,
0.14283396303653717,
-0.28343936800956726,
-0.13761255145072937,
0.3354324996471405,
0.07006782293319702,
-0.17769795656204224,
-0.053872622549533844,
-0.11613345891237259,
0.06570074707269669,
0.6812472343444824,
-0.007482767105102539,
-0.006874881684780121,
-0.15084536373615265,
-0.1959633231163025,
-0.151258647441864,
0.36714640259742737,
0.3455658555030823,
0.0162520594894886,
-0.14949172735214233,
0.18948324024677277,
0.2691894769668579,
0.31422722339630127,
0.2740328907966614,
-0.27757689356803894,
0.4259667694568634,
-0.2706149220466614,
0.5178298950195312,
0.1855381429195404,
-0.2737434506416321,
-0.5069046020507812,
-0.19151753187179565,
0.17827533185482025,
0.27892032265663147,
-0.1243220791220665,
-0.2064010202884674,
0.23338855803012848,
-0.15428665280342102,
-0.08330634236335754,
0.19083857536315918,
0.07333891838788986,
0.055454351007938385,
-0.38209307193756104,
-0.060942113399505615,
0.14249712228775024,
-0.18224135041236877,
0.19845889508724213,
-0.11872050911188126,
-0.38417407870292664,
-0.14285007119178772,
0.01999727264046669,
-0.06349417567253113,
0.1893371045589447,
-0.005915068089962006,
-0.004399247467517853,
0.0872674509882927,
0.2426723837852478,
-0.056430794298648834,
0.019879236817359924,
0.29453417658805847,
0.035859860479831696,
-0.5039282441139221,
-0.12575843930244446,
-0.13302871584892273,
-0.04220527410507202,
-0.024555915966629982,
-0.4020245671272278,
-0.2403596043586731,
0.13257096707820892,
0.3629838824272156,
0.21418321132659912,
0.08044199645519257,
-0.14694644510746002,
0.2339903861284256,
0.1293160617351532,
0.09086444228887558,
0.08991232514381409,
-0.10148324817419052,
0.08486147224903107,
-0.290314257144928,
-0.3231904208660126,
0.08268378674983978,
0.32787105441093445,
-0.0190418753772974,
-0.10645359754562378,
0.269521564245224,
0.16730280220508575,
0.028967656195163727,
-0.08619273453950882,
0.11091768741607666,
-0.042450934648513794,
0.08585621416568756,
-0.14905868470668793,
-0.024969451129436493,
-0.08911789953708649,
-0.11755269765853882,
0.1535072922706604,
0.46245312690734863,
0.2614487111568451,
0.16144004464149475,
-0.18089428544044495,
-0.02764420583844185,
0.12292298674583435,
-0.06904230266809464,
0.009938612580299377,
-0.2601851522922516,
-0.12250855565071106,
0.039489030838012695,
0.34053558111190796,
-0.0373263955116272,
0.14966309070587158,
0.38800930976867676,
0.43146899342536926,
0.19974401593208313,
-0.13605859875679016,
-0.15534844994544983,
-0.4132227301597595,
-0.4527446925640106,
-0.025940602645277977,
-0.03363126516342163,
0.14959964156150818,
0.018576595932245255,
0.3329150080680847,
-0.1036815270781517,
-0.07238999754190445,
-0.19048450887203217,
0.09837313741445541,
0.0932374894618988,
-0.07335478812456131,
0.2873310446739197,
0.10523612797260284,
0.1348952203989029,
-0.1990032196044922,
0.14482590556144714,
0.17296616733074188,
0.14279794692993164,
-0.061321571469306946,
0.21596167981624603,
-0.4297506809234619,
0.42899253964424133,
0.10623347759246826,
-0.19406087696552277,
0.17954279482364655,
-0.24414683878421783,
-0.003522660583257675,
0.2319002002477646,
0.10626651346683502,
0.4235483705997467,
-0.21074385941028595,
0.2673501670360565,
0.005575267598032951,
-0.04141367971897125,
-0.3635317385196686,
-0.17398090660572052,
-0.4296051561832428,
-0.1056881695985794,
0.16215665638446808,
-0.45410817861557007,
0.12072882801294327,
0.008735382929444313,
0.09466484934091568,
-0.38667479157447815,
-0.32863545417785645,
0.1690390706062317,
0.14689967036247253,
0.13689705729484558,
-0.27527132630348206,
-0.253878116607666,
-0.19392012059688568,
-0.09945768117904663,
0.10000169277191162,
-0.30750301480293274,
-0.16108550131320953,
0.09293569624423981,
-0.054749879986047745,
-0.12253357470035553,
0.06069503352046013,
-0.02110590785741806,
0.09498275071382523,
0.18981102108955383,
-0.2646864652633667,
-0.02284640073776245,
-0.06426060944795609,
-0.002168232575058937,
-0.24302348494529724,
-0.10587535798549652,
-0.4662034511566162,
-0.012227684259414673,
-0.44105035066604614,
-0.41538915038108826,
0.4755552113056183,
-0.2321617752313614,
-0.14407621324062347,
-0.06197202205657959,
-0.18582090735435486,
0.4115370213985443,
0.29399120807647705,
-0.302448034286499,
0.07180856913328171,
-0.11683833599090576,
0.2533856928348541,
-0.1149323582649231,
-0.06208339333534241,
0.36890366673469543,
0.047967154532670975,
-0.003794543445110321,
-0.2119821310043335,
-0.04012107476592064,
0.10772886127233505,
-0.3528028130531311,
0.11793377250432968,
-0.1719207465648651,
0.11749324202537537,
0.19895687699317932,
0.946414589881897,
0.32234981656074524,
-0.14238771796226501,
0.2833249866962433,
-0.03500960022211075,
0.0989188700914383,
-0.2744271457195282,
-0.1043316051363945,
-0.1184074729681015,
-0.11212730407714844,
0.1406324952840805,
0.28832411766052246,
0.022661106660962105,
-0.27038857340812683,
0.13100874423980713,
0.24669966101646423,
-0.18572524189949036,
-0.3571964204311371,
-0.009443758055567741,
-0.4317842721939087,
0.39529937505722046,
0.2887783348560333,
0.34619930386543274,
-0.5386705994606018,
-0.05512359365820885,
0.04063105210661888,
-0.1035226434469223,
0.3291091322898865,
0.03739612177014351,
-0.5789947509765625,
0.2526247203350067,
-0.3595649003982544,
0.06125906854867935,
-0.03647363558411598,
0.5959705710411072,
0.2042839676141739,
-0.2785651385784149,
0.004720896482467651,
-0.16672611236572266,
0.1973004788160324,
-0.09527886658906937,
-0.07692578434944153,
0.2198721319437027,
-0.07664166390895844,
-0.03490001708269119,
-0.4173959791660309,
0.1412041336297989,
0.2688552439212799,
0.16122883558273315,
0.30873334407806396,
-0.15596356987953186,
-0.24546188116073608,
-0.18384666740894318,
0.004314008634537458,
-0.12076662480831146,
-0.09877453744411469,
-0.17337720096111298,
0.10663426667451859,
-0.18227718770503998,
0.2004653811454773,
-0.09320882707834244,
0.19568340480327606,
-0.12952691316604614,
0.0616430826485157,
-0.46866801381111145,
-0.09477318078279495,
-0.013481326401233673,
0.3269954025745392,
0.48794111609458923,
-0.1583656370639801,
0.4862363338470459,
0.2971690893173218,
-0.22282275557518005,
0.025902099907398224,
0.08662431687116623,
0.2005538046360016,
-0.3017203211784363,
0.12195334583520889,
-0.02598777785897255,
0.09319080412387848,
0.11818599700927734,
-0.45628616213798523,
0.16183091700077057,
-0.32512369751930237,
-0.054223209619522095,
-0.24769625067710876,
0.2684221863746643,
0.24364756047725677,
0.014466225169599056,
-0.2735491096973419,
-0.34951481223106384,
0.17812424898147583,
0.2813188433647156,
-0.28749215602874756,
0.3755268156528473,
-0.1361759454011917,
-0.19543308019638062,
0.37562471628189087,
0.1349576711654663,
0.7277227640151978,
-0.00046575069427490234,
0.28029176592826843,
-0.009258322417736053,
0.10699211061000824,
0.35391661524772644,
-0.24353069067001343,
0.2028358280658722,
-0.3705108165740967,
0.13053762912750244,
0.049358077347278595,
-0.13867652416229248,
0.010176703333854675,
0.09492607414722443,
0.06859366595745087,
0.13012711703777313,
-0.04905391111969948,
0.532338559627533,
0.08450806885957718,
0.09091494977474213,
0.07981669157743454,
-0.17729274928569794,
0.36804625391960144,
0.10522511601448059,
0.13323107361793518,
0.04210054129362106,
-0.08254583925008774,
0.1698053628206253,
0.05214739963412285,
-0.1056264191865921,
-0.219901904463768,
0.009145084768533707,
-0.3757932782173157,
0.1559995859861374,
0.18712054193019867,
-0.2649570405483246,
-0.09462930262088776,
0.05003364756703377,
0.49107426404953003,
0.07959187030792236,
-0.1982305347919464,
0.25301113724708557,
-0.03298766911029816,
0.13750353455543518,
-0.1541280746459961,
-0.3714899718761444,
0.2323862463235855,
0.11058679968118668,
-0.11115772277116776,
-0.15096691250801086,
0.05596024543046951,
-0.309933066368103,
-0.3016352653503418,
0.12403914332389832,
0.3924543857574463,
-0.22411686182022095,
0.18997521698474884,
0.2168273627758026,
0.15319807827472687,
-0.2240128368139267,
0.12224091589450836,
0.16547372937202454,
-0.1490914225578308,
0.2915917932987213,
-0.30985236167907715,
-0.054930973798036575,
0.028599686920642853,
0.2914127707481384,
0.0978299155831337,
-0.18091237545013428,
0.5932043790817261,
-0.32607996463775635,
-0.167332723736763,
-0.05674021691083908,
-0.19955012202262878,
0.21823422610759735,
-0.3340086340904236,
-0.006446606479585171,
-0.18882469832897186,
0.07338480651378632,
0.20362645387649536,
-0.06911684572696686,
-0.15159648656845093,
-0.23695018887519836,
-0.15384706854820251,
-0.13125841319561005,
-0.31233933568000793,
-0.22345410287380219,
-0.04095756635069847,
0.14753341674804688,
0.04126405715942383,
0.15335631370544434,
-0.3318003714084625,
0.3396419882774353,
-0.19940851628780365,
0.10688743740320206,
0.20996277034282684,
0.2523736357688904,
-0.5375096797943115,
-0.2574387192726135,
-0.009039225056767464,
0.008049597963690758,
0.011522633954882622,
0.24185062944889069,
-0.23889309167861938,
-0.16245430707931519,
-0.3087378144264221,
0.16803425550460815,
0.18324479460716248,
-0.21745654940605164,
-0.03341444209218025,
0.176608145236969,
0.07880522310733795,
-0.5256948471069336,
0.32101330161094666,
0.030496768653392792,
0.03996169567108154,
-0.003301383927464485,
0.4797652065753937,
0.1412079930305481,
-0.10937931388616562,
-0.21281419694423676,
-0.11878238618373871,
0.12120283395051956,
0.22788448631763458,
0.29476869106292725,
-0.05407000333070755,
0.01023855060338974,
-0.026581423357129097,
0.08378773182630539,
0.2500799298286438,
0.022845281288027763,
0.16031280159950256,
-0.4016873240470886,
-0.20689024031162262,
0.04056614264845848,
-0.045231640338897705,
0.365242600440979,
-0.10758248716592789,
-0.4488712549209595,
0.4016907811164856,
0.13553045690059662,
-0.028243375942111015,
-0.20828935503959656,
0.0945989340543747,
0.10753268748521805,
0.002818014472723007,
0.08305710554122925,
0.4365788400173187,
-0.1250293254852295,
0.2131434828042984,
-0.02447986789047718,
0.7499581575393677,
-0.45489656925201416,
0.2348959743976593,
-0.17296677827835083,
0.08664891123771667,
0.11771160364151001,
0.48712632060050964,
0.1623607575893402,
-0.0437735989689827,
0.3344818353652954,
0.02402707189321518,
0.354947030544281,
0.2893795967102051,
0.07035651803016663,
-0.3020213544368744,
-0.4920733571052551,
-0.22321154177188873,
0.1373763233423233,
0.02860894799232483,
0.20933380722999573,
-0.2273169755935669,
0.06548401713371277,
0.28645986318588257,
-0.16412512958049774,
-0.22919520735740662,
0.24511896073818207,
-0.29259446263313293,
-0.49892789125442505,
-0.019690632820129395,
-0.11477971076965332,
-0.005797669291496277,
0.06399345397949219,
0.029323171824216843,
0.12016236782073975,
0.013854503631591797,
-0.04240933805704117,
-0.282789945602417,
-0.3271297216415405,
-0.06259351223707199,
0.10526218265295029,
0.41100701689720154,
-0.22949853539466858,
0.42622509598731995,
-0.12002985179424286,
-0.18561217188835144,
-0.19977982342243195,
0.18696346879005432,
0.40847161412239075,
0.2707250118255615,
-0.09484133124351501,
0.0668078064918518,
-0.2583933174610138,
0.10413885116577148,
-0.25344541668891907,
0.5758145451545715,
0.015020497143268585,
-0.386778861284256,
-0.1134878396987915,
0.009262915700674057,
-0.03431350737810135,
-0.027997296303510666,
0.10324016213417053,
0.09506265819072723,
-0.11935591697692871,
0.258273720741272,
0.04594774544239044,
0.0047525689005851746,
0.07811722159385681,
0.3295115530490875,
-0.049512699246406555,
0.19040894508361816,
0.49364936351776123,
0.21766874194145203,
0.21682870388031006,
-0.2767142951488495,
0.05035313963890076,
0.12229306995868683,
0.2665776312351227,
0.24873879551887512,
-0.1403791308403015,
-0.3478972911834717,
-0.26123279333114624,
-0.34425607323646545,
0.2921063005924225,
-0.17809081077575684,
0.3695191442966461,
-0.022164398804306984,
0.32074490189552307,
-0.17581325769424438,
-0.04255683720111847,
0.07366237789392471,
0.08634466677904129,
0.060444481670856476,
0.1457972526550293,
-0.4241517186164856,
0.1970154494047165,
-0.03746537119150162,
-0.04360945522785187,
0.0674043595790863,
-0.2826478183269501,
0.22277013957500458,
-0.0008779186755418777,
0.07560762763023376,
0.037563569843769073,
-0.11094142496585846,
0.26153564453125,
-0.011485107243061066,
0.7176797389984131,
0.3133087456226349,
0.104939304292202,
0.10679814964532852,
0.219869464635849,
-0.6076449155807495,
0.10188427567481995,
-0.18597421050071716,
-0.12878009676933289,
-0.039577219635248184,
0.1642971932888031,
-0.2808595895767212,
-0.08384352922439575,
-0.18544693291187286,
-0.2834594249725342,
0.2371717244386673,
-0.10526756197214127,
-0.12643329799175262,
-0.0770619586110115,
-0.039265792816877365,
0.3253862261772156,
-0.023978635668754578,
0.4241381585597992,
-0.10267937183380127,
0.496256947517395,
-0.4521874189376831,
-0.3106379508972168,
0.41226696968078613,
-0.5491851568222046,
-0.3414365351200104,
-0.3092232346534729,
0.1896388679742813,
0.19994699954986572,
-0.10235470533370972,
-0.35394009947776794,
0.06937814503908157,
0.4458220601081848,
-0.0969090685248375,
-0.3390914797782898,
0.21806906163692474,
0.1850406676530838,
0.17086747288703918,
-0.18186062574386597,
0.5761370658874512,
0.0829220563173294,
-0.040016159415245056,
-0.03740249201655388,
-0.14489303529262543
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks for investigating ! Does that mean that `save_pretrained`() produces non-deterministic tokenizers on disk ? Or is it `from_pretrained()` which is not deterministic given the same files on disk ?
I think one way to fix this would be to make save/from_pretrained deterministic, or make the pickling of `transformers.tokenization_utils.Trie` objects deterministic (this could be implemented in `transformers`, but maybe let's discuss in an issue in `transformers` before opening a PR) | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 70 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Thanks for investigating ! Does that mean that `save_pretrained`() produces non-deterministic tokenizers on disk ? Or is it `from_pretrained()` which is not deterministic given the same files on disk ?
I think one way to fix this would be to make save/from_pretrained deterministic, or make the pickling of `transformers.tokenization_utils.Trie` objects deterministic (this could be implemented in `transformers`, but maybe let's discuss in an issue in `transformers` before opening a PR) | [
-0.10411079227924347,
0.20114880800247192,
0.0622522346675396,
0.16448874771595,
0.2018711119890213,
0.07767526060342789,
0.3279968798160553,
0.10047189891338348,
-0.20836536586284637,
-0.14351268112659454,
0.08319961279630661,
0.39779675006866455,
0.03241714835166931,
-0.5989449620246887,
0.016021758317947388,
0.15712976455688477,
0.2921552062034607,
0.16688567399978638,
0.32468920946121216,
-0.05250474810600281,
-0.009027760475873947,
0.14506813883781433,
-0.37487441301345825,
0.09678004682064056,
-0.7258141040802002,
0.016851406544446945,
-0.19519749283790588,
-0.19872796535491943,
0.20001399517059326,
-0.5577662587165833,
0.31222203373908997,
0.2789821922779083,
0.2629924714565277,
0.2660837769508362,
-0.00012536533176898956,
-0.0671345666050911,
0.11907649785280228,
-0.08812567591667175,
-0.1209135353565216,
0.08711862564086914,
0.3240688145160675,
-0.12079742550849915,
0.03495459258556366,
-0.14371061325073242,
-0.07841102033853531,
-0.5082079172134399,
-0.01942119188606739,
-0.49417561292648315,
0.556158185005188,
0.021388430148363113,
0.051954083144664764,
0.23571673035621643,
-0.19071215391159058,
0.1729220449924469,
-0.024756036698818207,
-0.16190671920776367,
-0.14981214702129364,
-0.29220402240753174,
-0.06413127481937408,
-0.1799635887145996,
-0.060255520045757294,
0.22493571043014526,
-0.10718856751918793,
0.10222940146923065,
0.1623140126466751,
0.2360093742609024,
-0.16437819600105286,
-0.1923942267894745,
0.14800208806991577,
0.06315520405769348,
0.5037446022033691,
-0.32605165243148804,
-0.2651640474796295,
-0.5772972106933594,
-0.052724458277225494,
-0.2833779454231262,
0.22009733319282532,
-0.2029963582754135,
-0.05518873780965805,
0.14169619977474213,
-0.20275409519672394,
0.033022813498973846,
0.03625234216451645,
-0.22987611591815948,
0.11557361483573914,
0.4053680896759033,
0.029775574803352356,
0.1436193883419037,
-0.14036794006824493,
-0.04318391531705856,
0.372864693403244,
-0.3974756896495819,
-0.15951724350452423,
0.3316449224948883,
-0.31486302614212036,
-0.027741465717554092,
-0.0961398258805275,
-0.03245359659194946,
0.017332740128040314,
0.538641095161438,
0.13290071487426758,
0.18582376837730408,
0.05924174562096596,
-0.03978674113750458,
0.06127991899847984,
0.4186733365058899,
0.08835980296134949,
0.26911866664886475,
0.13771718740463257,
-0.29820531606674194,
-0.2674488127231598,
-0.19003817439079285,
-0.2297692447900772,
0.07194481045007706,
0.7863520383834839,
-0.13838985562324524,
-0.25009405612945557,
-0.00791218876838684,
-0.02954288385808468,
0.23990435898303986,
-0.2849039137363434,
-0.06319466233253479,
0.10447538644075394,
0.058927133679389954,
-0.11447230726480484,
0.2874317169189453,
-0.31714171171188354,
0.13761502504348755,
-0.13454021513462067,
-0.21438178420066833,
-0.22448699176311493,
-0.29307878017425537,
-0.12513789534568787,
0.3339904844760895,
0.05847955122590065,
0.14884905517101288,
0.3033077120780945,
0.11930329352617264,
0.0012489110231399536,
-0.23748119175434113,
0.3283035457134247,
-0.20701411366462708,
0.4027732014656067,
0.11775612831115723,
-0.12628935277462006,
0.4094705879688263,
0.15441037714481354,
-0.0967232882976532,
-0.13793925940990448,
0.19766563177108765,
-0.27716007828712463,
-0.12455388903617859,
0.3312913477420807,
0.014516215771436691,
-0.1907971352338791,
-0.05148738622665405,
-0.26218563318252563,
0.12108203768730164,
0.7938564419746399,
0.09517619013786316,
0.03856939822435379,
-0.23367570340633392,
-0.18356287479400635,
-0.18590308725833893,
0.3479164242744446,
0.3591732084751129,
-0.007550802081823349,
-0.14293557405471802,
0.1874946504831314,
0.15529412031173706,
0.42188313603401184,
0.35793834924697876,
-0.22955065965652466,
0.5477120876312256,
-0.27727940678596497,
0.5088130235671997,
0.23528629541397095,
-0.16007649898529053,
-0.36608871817588806,
-0.19179169833660126,
0.2235230654478073,
0.3282318413257599,
-0.13044652342796326,
-0.13176178932189941,
0.1782945692539215,
-0.17161467671394348,
-0.07637391984462738,
0.1963345855474472,
0.09704934060573578,
-0.05190550535917282,
-0.37965601682662964,
-0.13663186132907867,
0.12573468685150146,
-0.17365480959415436,
0.2808225750923157,
-0.05220583826303482,
-0.34857138991355896,
-0.07703407853841782,
0.0262276791036129,
0.011529210954904556,
0.145741268992424,
-0.00716637447476387,
0.05222354829311371,
0.09827315807342529,
0.16779229044914246,
-0.06426297128200531,
-0.015621587634086609,
0.2701873183250427,
0.03319525718688965,
-0.4977966547012329,
0.03328888863325119,
-0.1357300877571106,
0.04320967197418213,
0.01227559708058834,
-0.5010078549385071,
-0.23246228694915771,
0.06836268305778503,
0.39853164553642273,
0.1620813012123108,
0.17139174044132233,
-0.1466841697692871,
0.29414063692092896,
0.14617235958576202,
0.06175443157553673,
0.025948792695999146,
0.026298953220248222,
0.08391968905925751,
-0.2724885940551758,
-0.4156527519226074,
0.055725663900375366,
0.21466785669326782,
-0.027626385912299156,
-0.1088728979229927,
0.2891092300415039,
0.267566055059433,
0.07424844056367874,
-0.09922037273645401,
0.08377058058977127,
0.04383210092782974,
0.12184637784957886,
-0.19996072351932526,
0.01782640814781189,
-0.06736467033624649,
-0.1529020071029663,
0.21735987067222595,
0.5196108818054199,
0.31876659393310547,
0.15179719030857086,
-0.20843066275119781,
-0.01941908337175846,
0.16346900165081024,
0.07129059731960297,
-0.016053039580583572,
-0.17061041295528412,
-0.14055810868740082,
0.07220467925071716,
0.38121870160102844,
-0.023304516449570656,
-0.032216064631938934,
0.3567308485507965,
0.3021104037761688,
0.13594141602516174,
-0.13782399892807007,
-0.14494359493255615,
-0.32593628764152527,
-0.4785462021827698,
0.014681771397590637,
0.03948486968874931,
0.22871989011764526,
-0.039115820080041885,
0.3537310063838959,
-0.07185903191566467,
-0.13041605055332184,
-0.18380892276763916,
0.12299062311649323,
0.20615364611148834,
-0.06985736638307571,
0.3089126646518707,
0.00008902233093976974,
0.20602838695049286,
-0.2645595669746399,
0.12409783899784088,
0.1930347979068756,
0.07881515473127365,
-0.05830036476254463,
0.24815882742404938,
-0.3513535261154175,
0.43843474984169006,
0.08268797397613525,
-0.1618289351463318,
0.12194304168224335,
-0.16610828042030334,
0.00023355334997177124,
0.28233054280281067,
0.13497023284435272,
0.3519952595233917,
-0.15396519005298615,
0.43179965019226074,
-0.036796797066926956,
-0.0029774289578199387,
-0.3575160503387451,
-0.1038404181599617,
-0.4306063950061798,
-0.1399436891078949,
0.18970987200737,
-0.4434932470321655,
0.14529798924922943,
-0.04987793043255806,
0.14074109494686127,
-0.3868759870529175,
-0.19706058502197266,
0.1627059131860733,
0.16408632695674896,
0.20993660390377045,
-0.2920725643634796,
-0.28778767585754395,
-0.29931408166885376,
-0.03212637081742287,
0.09219318628311157,
-0.22252988815307617,
-0.1553337275981903,
-0.028954098001122475,
-0.006033214740455151,
-0.12205879390239716,
0.11122234165668488,
0.08351856470108032,
-0.053852811455726624,
0.26879969239234924,
-0.21964199841022491,
-0.000014152377843856812,
-0.0516793429851532,
0.0009954310953617096,
-0.2693134546279907,
-0.10606834292411804,
-0.37196874618530273,
-0.09095080196857452,
-0.45691797137260437,
-0.47676223516464233,
0.5335426330566406,
-0.17913325130939484,
-0.1337067037820816,
-0.12607891857624054,
-0.17310921847820282,
0.3288712203502655,
0.30755752325057983,
-0.30587372183799744,
0.10278300195932388,
-0.042721912264823914,
0.2911960780620575,
-0.1626390814781189,
-0.08642655611038208,
0.4497080445289612,
0.07920215278863907,
0.05085831880569458,
-0.11480062454938889,
0.00020298920571804047,
0.1915624737739563,
-0.341105192899704,
0.20659272372722626,
-0.16270437836647034,
0.04573163390159607,
0.15811067819595337,
0.9742664694786072,
0.25559884309768677,
-0.1193036288022995,
0.2832154333591461,
0.04917532205581665,
0.23558510839939117,
-0.28139641880989075,
-0.03851107880473137,
-0.13712678849697113,
-0.10228914022445679,
-0.006169388070702553,
0.3423101305961609,
-0.00569121353328228,
-0.2910136580467224,
0.10762351751327515,
0.26157477498054504,
-0.14917194843292236,
-0.3008595108985901,
-0.11850443482398987,
-0.42849305272102356,
0.35210713744163513,
0.243895024061203,
0.4196639955043793,
-0.4580186903476715,
-0.043444737792015076,
-0.05584811419248581,
0.008847475051879883,
0.3810279965400696,
0.060586560517549515,
-0.5818673968315125,
0.1787632554769516,
-0.3862682282924652,
-0.019048765301704407,
-0.0768982470035553,
0.58681321144104,
0.233167365193367,
-0.2184303104877472,
0.13162016868591309,
-0.16855089366436005,
0.15822634100914001,
-0.10320580005645752,
-0.09999281167984009,
0.21167515218257904,
-0.1096869483590126,
0.049950286746025085,
-0.4548863172531128,
0.13643625378608704,
0.035630013793706894,
0.23761975765228271,
0.3358016908168793,
-0.1501992642879486,
-0.23432308435440063,
-0.4382252097129822,
0.06949605792760849,
-0.24000184237957,
-0.1401989907026291,
-0.17541927099227905,
0.06449152529239655,
-0.15981708467006683,
0.2758079171180725,
0.005375336855649948,
0.103687584400177,
-0.14608556032180786,
0.06527139246463776,
-0.5984753370285034,
-0.036130089312791824,
0.04953986406326294,
0.26319485902786255,
0.5074790120124817,
-0.1974107325077057,
0.44060274958610535,
0.38893139362335205,
-0.13883112370967865,
0.08576793968677521,
0.023477358743548393,
0.12638616561889648,
-0.20337599515914917,
0.152070552110672,
-0.08778142929077148,
0.06560318171977997,
0.10265856981277466,
-0.4364253282546997,
0.07457131147384644,
-0.3446577787399292,
-0.04558531194925308,
-0.27741435170173645,
0.27734553813934326,
0.28075072169303894,
-0.01686817780137062,
-0.29106003046035767,
-0.42517250776290894,
0.12881825864315033,
0.24367056787014008,
-0.31330356001853943,
0.27273160219192505,
-0.17246682941913605,
-0.23340870440006256,
0.43607985973358154,
0.33111345767974854,
0.7819966077804565,
-0.008013151586055756,
0.35761716961860657,
-0.018665287643671036,
0.1143227070569992,
0.2865917384624481,
-0.21378082036972046,
0.18882951140403748,
-0.2716437578201294,
0.12495318055152893,
-0.019905494526028633,
-0.13764376938343048,
0.09860165417194366,
0.17263740301132202,
0.13024961948394775,
0.1540958732366562,
0.015228264033794403,
0.5064198970794678,
0.10221772640943527,
-0.003537941724061966,
0.19882263243198395,
-0.19342313706874847,
0.4068968594074249,
0.021293211728334427,
0.15942566096782684,
0.15376682579517365,
-0.10625893622636795,
0.09562820196151733,
0.15948858857154846,
-0.04983139410614967,
-0.20338211953639984,
-0.05169624835252762,
-0.3417348861694336,
0.2024359405040741,
0.1196991354227066,
-0.3184301257133484,
-0.11031962931156158,
0.2153398096561432,
0.6127192974090576,
0.053643111139535904,
-0.1846982091665268,
0.18864591419696808,
0.09635183215141296,
0.08783566206693649,
-0.22226500511169434,
-0.407770574092865,
0.23032698035240173,
0.051493674516677856,
-0.018162555992603302,
-0.20175284147262573,
-0.0462491549551487,
-0.39658743143081665,
-0.3959522247314453,
0.08737621456384659,
0.4657840132713318,
-0.05279470980167389,
0.14129219949245453,
0.21600539982318878,
0.14368371665477753,
-0.22410334646701813,
0.053708869963884354,
0.1547567993402481,
-0.07724254578351974,
0.3592570424079895,
-0.40496882796287537,
-0.08011934906244278,
-0.04156952723860741,
0.280229389667511,
0.11979040503501892,
-0.14625200629234314,
0.6138573884963989,
-0.5309232473373413,
-0.23125337064266205,
-0.06358526647090912,
-0.06904800236225128,
0.1233440712094307,
-0.2342228889465332,
0.03848817199468613,
-0.23048323392868042,
0.07164245843887329,
0.13144242763519287,
-0.029364127665758133,
0.04837225005030632,
-0.2191113829612732,
-0.15345710515975952,
-0.1436983048915863,
-0.30824920535087585,
-0.2668343186378479,
0.020612351596355438,
0.15610305964946747,
0.10291262716054916,
0.18103177845478058,
-0.2049150913953781,
0.2056928128004074,
-0.13310573995113373,
0.09006136655807495,
0.2292882204055786,
0.18186920881271362,
-0.5375245809555054,
-0.22665098309516907,
-0.1359604299068451,
0.00004714448004961014,
-0.07313793897628784,
0.20873293280601501,
-0.2140483260154724,
-0.08588407933712006,
-0.26907989382743835,
0.22150713205337524,
0.17376235127449036,
-0.21639962494373322,
0.029974594712257385,
0.10037729144096375,
-0.01413426548242569,
-0.4437890350818634,
0.21827881038188934,
0.0648706778883934,
0.08300222456455231,
-0.03233230113983154,
0.525882363319397,
0.27214404940605164,
-0.20486795902252197,
-0.14393165707588196,
-0.0752761960029602,
0.12971867620944977,
0.1713165044784546,
0.25936561822891235,
-0.10001616925001144,
-0.01324278861284256,
-0.1579728126525879,
0.0754956603050232,
0.25027620792388916,
0.026032859459519386,
0.16119229793548584,
-0.40990912914276123,
-0.1316559761762619,
0.09836417436599731,
-0.022021906450390816,
0.48347100615501404,
-0.07396858185529709,
-0.5168841481208801,
0.5398805141448975,
0.07042118161916733,
-0.06391929090023041,
-0.19012115895748138,
-0.030716057866811752,
0.07535962760448456,
-0.09840208292007446,
0.17497029900550842,
0.5990492105484009,
-0.12894339859485626,
0.07526087760925293,
-0.03894946724176407,
0.7381598353385925,
-0.39812368154525757,
0.2960171103477478,
-0.03649305924773216,
0.14134502410888672,
0.1727696657180786,
0.43947792053222656,
0.13779450953006744,
-0.06346014887094498,
0.37637126445770264,
0.021958015859127045,
0.3797277510166168,
0.35933011770248413,
0.046788498759269714,
-0.25881725549697876,
-0.5449957847595215,
-0.16687463223934174,
0.24945083260536194,
0.04802187532186508,
0.2544865906238556,
-0.23817282915115356,
0.1205320730805397,
0.07411115616559982,
-0.2753573954105377,
-0.29881614446640015,
0.26172932982444763,
-0.30634209513664246,
-0.49020451307296753,
0.02192649245262146,
-0.11751590669155121,
0.00878993421792984,
0.05191367492079735,
-0.022000137716531754,
0.0674869492650032,
-0.0726325511932373,
-0.07516157627105713,
-0.20257706940174103,
-0.27723920345306396,
0.023281129077076912,
0.03896527737379074,
0.36147627234458923,
-0.2936895191669464,
0.42113494873046875,
-0.20633099973201752,
-0.26338258385658264,
-0.21901828050613403,
0.12952442467212677,
0.3237980008125305,
0.38416987657546997,
-0.12144652009010315,
0.015605954453349113,
-0.3098432719707489,
0.1771145910024643,
-0.16684964299201965,
0.5150396823883057,
0.021227583289146423,
-0.47087931632995605,
0.0409124493598938,
-0.06030487269163132,
0.006146206520497799,
0.07660160958766937,
0.12686733901500702,
0.17388339340686798,
-0.19978009164333344,
0.37871798872947693,
0.0006460659205913544,
0.014234252274036407,
0.1801721453666687,
0.2855197787284851,
-0.038326263427734375,
0.33169814944267273,
0.4269483685493469,
0.12489507347345352,
0.19182392954826355,
-0.2423878163099289,
0.010673459619283676,
0.04381696134805679,
0.24798928201198578,
0.22070690989494324,
-0.20293062925338745,
-0.2777000963687897,
-0.2421591877937317,
-0.45797547698020935,
0.2516441345214844,
-0.1360955685377121,
0.3185281753540039,
-0.003387429751455784,
0.33950307965278625,
-0.21704846620559692,
0.0038599446415901184,
0.043581463396549225,
0.11266306787729263,
-0.009223775006830692,
0.2122264951467514,
-0.4548354148864746,
0.2879323959350586,
-0.10557889938354492,
0.01691287010908127,
0.13245487213134766,
-0.35711508989334106,
0.22002460062503815,
0.089129738509655,
-0.02529282309114933,
0.2026069015264511,
-0.037988170981407166,
0.16158348321914673,
0.13285216689109802,
0.6327530145645142,
0.2360074669122696,
0.06438824534416199,
0.13716524839401245,
0.21459175646305084,
-0.45749861001968384,
0.12866780161857605,
-0.15773136913776398,
-0.04787095636129379,
-0.016587167978286743,
0.140438511967659,
-0.3725718557834625,
0.11646692454814911,
-0.17572782933712006,
-0.23625771701335907,
0.33721858263015747,
-0.1738968789577484,
-0.261822372674942,
-0.12397877126932144,
-0.05599717050790787,
0.26864784955978394,
0.10577478259801865,
0.3908589482307434,
-0.08645699918270111,
0.4444119334220886,
-0.47830384969711304,
-0.22307270765304565,
0.49169182777404785,
-0.4684985876083374,
-0.30941829085350037,
-0.4228046238422394,
0.1742900311946869,
0.4203580915927887,
-0.14711399376392365,
-0.30729979276657104,
0.021205373108386993,
0.5456798672676086,
-0.11306614428758621,
-0.2228141576051712,
0.18180344998836517,
0.09128434956073761,
0.09010596573352814,
-0.2024776190519333,
0.692863941192627,
-0.03076888620853424,
-0.0580095574259758,
0.07503631711006165,
-0.24905794858932495
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Late to the party but everything should be deterministic (afaik at least).
But `Trie` is a simple class object, so afaik it's hash function is linked to its `id(self)` so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ? | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 47 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Late to the party but everything should be deterministic (afaik at least).
But `Trie` is a simple class object, so afaik it's hash function is linked to its `id(self)` so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ? | [
-0.08411287516355515,
0.23371070623397827,
0.07575027644634247,
0.16677740216255188,
0.19347412884235382,
0.026867389678955078,
0.2410019338130951,
0.21442578732967377,
-0.18492089211940765,
-0.11996002495288849,
0.07489222288131714,
0.470111608505249,
0.15747763216495514,
-0.5647398233413696,
-0.03081756830215454,
0.016479726880788803,
0.1651776134967804,
0.2430218905210495,
0.22878137230873108,
0.009415581822395325,
0.10566920042037964,
0.14448608458042145,
-0.38228362798690796,
0.09901824593544006,
-0.7009211778640747,
0.09206072241067886,
-0.12917223572731018,
-0.14937883615493774,
0.214243084192276,
-0.5786471962928772,
0.2260727733373642,
0.23505890369415283,
0.24656563997268677,
0.30971089005470276,
-0.00011772614379879087,
-0.052990078926086426,
0.1442255973815918,
-0.015701351687312126,
-0.15910525619983673,
0.13242481648921967,
0.23564231395721436,
-0.13126693665981293,
0.017932811751961708,
-0.08627104014158249,
-0.049482621252536774,
-0.4466453492641449,
-0.09538823366165161,
-0.46001261472702026,
0.5137534141540527,
0.027896836400032043,
0.12301771342754364,
0.29548728466033936,
-0.09268832206726074,
0.19925256073474884,
0.07493086159229279,
-0.24943356215953827,
-0.1803935468196869,
-0.3067098557949066,
-0.0006179437041282654,
-0.19351142644882202,
-0.17708411812782288,
0.39683282375335693,
-0.05879765748977661,
0.20153836905956268,
0.033514298498630524,
0.22901257872581482,
-0.22892096638679504,
-0.032411374151706696,
0.2748865783214569,
0.017774783074855804,
0.4381267726421356,
-0.3456000089645386,
-0.22391563653945923,
-0.40049102902412415,
-0.1257980465888977,
-0.3011930286884308,
0.24457663297653198,
-0.3117012083530426,
0.07099452614784241,
0.2202768176794052,
-0.10601694136857986,
0.007941882126033306,
0.06894947588443756,
-0.10535664856433868,
0.06867942214012146,
0.45667538046836853,
-0.004132102243602276,
0.12920457124710083,
-0.17657621204853058,
-0.12967143952846527,
0.3368058204650879,
-0.25576335191726685,
-0.27612361311912537,
0.43085846304893494,
-0.409544974565506,
0.014876700937747955,
0.03013109788298607,
-0.02362372726202011,
0.0069112628698349,
0.5714071989059448,
0.10730508714914322,
0.2959844768047333,
0.059140052646398544,
-0.007686413824558258,
-0.035706132650375366,
0.43426501750946045,
0.14637351036071777,
0.2453891485929489,
0.12668024003505707,
-0.26350516080856323,
-0.3795809745788574,
-0.2448934018611908,
-0.20630913972854614,
0.08616452664136887,
0.7537350058555603,
-0.07851317524909973,
-0.24529968202114105,
-0.0547788180410862,
0.09182718396186829,
0.23200006783008575,
-0.23759448528289795,
0.03924188390374184,
0.19598229229450226,
0.13188739120960236,
-0.0993409976363182,
0.335536926984787,
-0.302814245223999,
-0.014963176101446152,
-0.14631269872188568,
-0.22164137661457062,
-0.32076331973075867,
-0.25444522500038147,
-0.17547333240509033,
0.4744296371936798,
0.20161081850528717,
0.07617173343896866,
0.33876317739486694,
0.0701984167098999,
0.07326138019561768,
-0.30074700713157654,
0.41874298453330994,
-0.2235993593931198,
0.39253583550453186,
0.10196429491043091,
-0.23184840381145477,
0.4615563750267029,
0.2174653857946396,
-0.05311360955238342,
-0.1069101095199585,
0.10542059689760208,
-0.32178667187690735,
-0.16080674529075623,
0.2684181034564972,
0.06734056025743484,
-0.14030185341835022,
-0.049768708646297455,
-0.10262776166200638,
0.043419692665338516,
0.72945237159729,
-0.004827264696359634,
0.047417495399713516,
-0.14104630053043365,
-0.24772123992443085,
-0.15911705791950226,
0.3796915113925934,
0.3440685272216797,
0.05125940218567848,
-0.13834898173809052,
0.107176274061203,
0.2738899290561676,
0.36849352717399597,
0.2858898341655731,
-0.22893431782722473,
0.4366440773010254,
-0.2619423270225525,
0.49476420879364014,
0.2467072457075119,
-0.2410983294248581,
-0.5205334424972534,
-0.2093605250120163,
0.17000024020671844,
0.24824143946170807,
-0.15797290205955505,
-0.1470014750957489,
0.18170097470283508,
-0.1303965002298355,
-0.026640482246875763,
0.21106141805648804,
0.09002474695444107,
0.04598219692707062,
-0.3725091814994812,
-0.06823580712080002,
0.082486592233181,
-0.17050278186798096,
0.17952652275562286,
-0.09713064879179001,
-0.40916091203689575,
-0.08158746361732483,
0.005403190851211548,
-0.06353753805160522,
0.198870450258255,
0.0005512610077857971,
0.09718555212020874,
0.09121549129486084,
0.24300462007522583,
-0.0792337954044342,
-0.019856013357639313,
0.28764814138412476,
0.1707749217748642,
-0.5001879930496216,
-0.12390245497226715,
-0.14392432570457458,
-0.0666341781616211,
0.04354184865951538,
-0.37364691495895386,
-0.22120028734207153,
0.14690940082073212,
0.36778414249420166,
0.2631172835826874,
0.070359006524086,
-0.12696392834186554,
0.3106781244277954,
0.05335859954357147,
0.08449803292751312,
0.12301477789878845,
-0.12195374816656113,
0.07106684148311615,
-0.2577541470527649,
-0.3476189970970154,
0.03764430060982704,
0.28139379620552063,
-0.013934716582298279,
-0.1274104118347168,
0.24463188648223877,
0.21649353206157684,
-0.005905158817768097,
-0.035421572625637054,
0.12043863534927368,
-0.01497516967356205,
0.06267508864402771,
-0.18627505004405975,
0.008507097139954567,
-0.021531954407691956,
-0.14828574657440186,
0.13275831937789917,
0.45880603790283203,
0.14556336402893066,
0.15165072679519653,
-0.19876256585121155,
-0.03168453648686409,
0.11425124108791351,
-0.0060792043805122375,
0.03175830841064453,
-0.2097882777452469,
-0.17439809441566467,
-0.038482826203107834,
0.3013705313205719,
-0.03501662611961365,
0.036573395133018494,
0.383737713098526,
0.3641963303089142,
0.3111068308353424,
-0.057535357773303986,
-0.165130615234375,
-0.4333575367927551,
-0.40402737259864807,
0.05529989302158356,
-0.01974617689847946,
0.19009660184383392,
0.027975644916296005,
0.3718818426132202,
-0.12511809170246124,
-0.05374526232481003,
-0.14347422122955322,
0.08026810735464096,
0.0928589254617691,
-0.05426301434636116,
0.2175281047821045,
0.1338786631822586,
0.13576219975948334,
-0.2179880440235138,
0.07994328439235687,
0.20483878254890442,
0.19403740763664246,
-0.047464609146118164,
0.21984630823135376,
-0.39167144894599915,
0.3677622675895691,
0.14804232120513916,
-0.1914510428905487,
0.20461195707321167,
-0.22475594282150269,
0.005959887057542801,
0.2558031976222992,
0.12020274996757507,
0.3960005044937134,
-0.31136354804039,
0.294755220413208,
0.07064473628997803,
-0.07100319117307663,
-0.43510597944259644,
-0.2456783801317215,
-0.42109155654907227,
-0.09519003331661224,
0.14342047274112701,
-0.45454561710357666,
0.11796873062849045,
-0.01473315991461277,
0.13168354332447052,
-0.34095650911331177,
-0.3243080675601959,
0.16141580045223236,
0.1342068314552307,
0.10133954882621765,
-0.3232845067977905,
-0.21623440086841583,
-0.2925007939338684,
-0.05406209081411362,
0.13445188105106354,
-0.3346434533596039,
-0.1715027242898941,
0.08526358753442764,
-0.040530454367399216,
-0.0577373206615448,
0.0293487049639225,
-0.017369084060192108,
0.09180149435997009,
0.19237102568149567,
-0.25033414363861084,
-0.03791094943881035,
-0.03930004686117172,
0.03694766014814377,
-0.20297871530056,
-0.1169816255569458,
-0.4459380805492401,
0.002378435805439949,
-0.4534620940685272,
-0.40474408864974976,
0.5041356682777405,
-0.18764939904212952,
-0.172903910279274,
-0.06970809400081635,
-0.16554459929466248,
0.4377672076225281,
0.24707485735416412,
-0.33397382497787476,
-0.06326103210449219,
-0.16222745180130005,
0.27738896012306213,
-0.20520278811454773,
-0.04049775004386902,
0.30382537841796875,
0.07043394446372986,
-0.03888193517923355,
-0.18362528085708618,
0.0027759820222854614,
0.10607243329286575,
-0.3150794506072998,
0.12618522346019745,
-0.16233134269714355,
0.04566504806280136,
0.21904867887496948,
0.892445981502533,
0.31360360980033875,
-0.17039547860622406,
0.26791107654571533,
0.028772039338946342,
0.05872703716158867,
-0.28012242913246155,
-0.14076755940914154,
-0.08415106683969498,
-0.1772092878818512,
0.17255964875221252,
0.2962968349456787,
0.0740085244178772,
-0.2101919949054718,
0.10040399432182312,
0.2914276421070099,
-0.1736050844192505,
-0.36028721928596497,
-0.01525491289794445,
-0.40262895822525024,
0.39218780398368835,
0.2545472979545593,
0.28971636295318604,
-0.597148060798645,
-0.07940470427274704,
0.10074935853481293,
-0.10177099704742432,
0.25660207867622375,
0.06889070570468903,
-0.5162177681922913,
0.22285661101341248,
-0.3372865915298462,
0.06079902499914169,
-0.019023746252059937,
0.6393587589263916,
0.2087888866662979,
-0.25892558693885803,
0.06533338129520416,
-0.1652524769306183,
0.15927207469940186,
-0.05026505887508392,
-0.1092567890882492,
0.25039249658584595,
-0.08266021311283112,
-0.04109678044915199,
-0.33403897285461426,
0.10084858536720276,
0.25782620906829834,
0.17632220685482025,
0.2637242376804352,
-0.14897975325584412,
-0.24642100930213928,
-0.21335484087467194,
0.01108870655298233,
-0.16734272241592407,
-0.11020952463150024,
-0.204595685005188,
0.03634799271821976,
-0.16678962111473083,
0.2768148183822632,
-0.06571660935878754,
0.18457338213920593,
-0.05959024280309677,
0.10834541916847229,
-0.5372158288955688,
-0.10429447144269943,
-0.04489351809024811,
0.33620938658714294,
0.4537402093410492,
-0.12494394928216934,
0.4540046751499176,
0.23382368683815002,
-0.208754301071167,
-0.04629035294055939,
0.12280872464179993,
0.22160999476909637,
-0.302111953496933,
0.09018615633249283,
-0.017782296985387802,
0.049132827669382095,
0.07221929728984833,
-0.44686514139175415,
0.2145470678806305,
-0.3904370665550232,
-0.06867630779743195,
-0.20156466960906982,
0.32064104080200195,
0.15886515378952026,
0.0471295565366745,
-0.17365695536136627,
-0.33085036277770996,
0.1752619445323944,
0.30085521936416626,
-0.29937756061553955,
0.47960975766181946,
-0.09406247735023499,
-0.1719382405281067,
0.32483088970184326,
0.19982850551605225,
0.7861729860305786,
-0.0401492565870285,
0.240718275308609,
-0.043922193348407745,
0.06782837212085724,
0.44069474935531616,
-0.23727813363075256,
0.2287851870059967,
-0.31326720118522644,
0.11138583719730377,
0.06329967826604843,
-0.08866609632968903,
0.0629596933722496,
0.057702016085386276,
0.01817677542567253,
0.11378826946020126,
0.011576205492019653,
0.5357128977775574,
0.14392036199569702,
0.08803346753120422,
0.11802972108125687,
-0.2158125340938568,
0.32471245527267456,
0.1134893000125885,
0.05326608940958977,
0.02413303218781948,
-0.06728628277778625,
0.17996548116207123,
0.07304960489273071,
-0.022839143872261047,
-0.18213771283626556,
-0.03384748846292496,
-0.4065002501010895,
0.21403545141220093,
0.22040535509586334,
-0.2805286645889282,
-0.057450052350759506,
-0.03664986416697502,
0.5532254576683044,
0.07526790350675583,
-0.21080327033996582,
0.25036177039146423,
0.031411174684762955,
0.10274448990821838,
-0.26414021849632263,
-0.344316303730011,
0.21151591837406158,
0.12474919110536575,
-0.12328047305345535,
-0.06307844072580338,
0.07443474233150482,
-0.3183788061141968,
-0.32175177335739136,
0.12987065315246582,
0.42765045166015625,
-0.11706904321908951,
0.22182169556617737,
0.2711392641067505,
0.151967853307724,
-0.23816445469856262,
0.1413062959909439,
0.2123170793056488,
-0.1582392007112503,
0.2937178909778595,
-0.2792356014251709,
-0.07192074507474899,
0.05309966951608658,
0.26831337809562683,
0.15299150347709656,
-0.16227543354034424,
0.6026344299316406,
-0.27364808320999146,
-0.15391582250595093,
-0.09324584901332855,
-0.19232913851737976,
0.04734422266483307,
-0.3430534303188324,
-0.03469591215252876,
-0.20100532472133636,
0.05916474759578705,
0.16215679049491882,
-0.009580407291650772,
-0.1209881603717804,
-0.24654340744018555,
-0.17433246970176697,
-0.13306377828121185,
-0.34855982661247253,
-0.24586929380893707,
-0.06532962620258331,
0.14784368872642517,
0.02434564381837845,
0.10445667803287506,
-0.3178688883781433,
0.42587220668792725,
-0.2171078771352768,
0.07636483013629913,
0.11321455985307693,
0.24150407314300537,
-0.4563094973564148,
-0.1934742033481598,
-0.05608513578772545,
0.030187353491783142,
0.0006069224327802658,
0.27883100509643555,
-0.25938287377357483,
-0.17869257926940918,
-0.26656046509742737,
0.16989171504974365,
0.14730891585350037,
-0.16689087450504303,
-0.08535385876893997,
0.20010530948638916,
0.07955604791641235,
-0.5046113729476929,
0.28929683566093445,
-0.04661612585186958,
0.03414413332939148,
0.05691104754805565,
0.43792256712913513,
0.11450985074043274,
-0.12160507589578629,
-0.14820443093776703,
-0.05253727734088898,
0.11546427756547928,
0.2665366530418396,
0.2884396016597748,
0.006469903513789177,
-0.008899584412574768,
0.024428904056549072,
0.09338156133890152,
0.2131524235010147,
-0.08846236020326614,
0.11462906002998352,
-0.4164960980415344,
-0.21083959937095642,
-0.059706248342990875,
-0.1512206792831421,
0.33589887619018555,
-0.033917758613824844,
-0.46574854850769043,
0.3755554258823395,
0.15236109495162964,
-0.06409189105033875,
-0.19909502565860748,
0.06167567893862724,
0.11958938091993332,
0.010144993662834167,
0.08601084351539612,
0.36417531967163086,
-0.0940573439002037,
0.20462816953659058,
-0.023523647338151932,
0.6886237263679504,
-0.4346057176589966,
0.13962037861347198,
-0.2030300498008728,
0.07439740002155304,
0.06410029530525208,
0.46783706545829773,
0.18627825379371643,
-0.01938413828611374,
0.3259069323539734,
0.0627487450838089,
0.33086737990379333,
0.2808278203010559,
0.1460636407136917,
-0.2947894334793091,
-0.4936375021934509,
-0.22256110608577728,
0.12242776900529861,
0.05959189310669899,
0.15750259160995483,
-0.224656343460083,
0.0532182976603508,
0.35203734040260315,
-0.2219446748495102,
-0.20761151611804962,
0.2148592174053192,
-0.25420254468917847,
-0.5425356030464172,
-0.052232809364795685,
-0.08809681236743927,
-0.028865057975053787,
0.010495852679014206,
0.07501105964183807,
0.10164910554885864,
0.09803038835525513,
-0.0446123406291008,
-0.2320568710565567,
-0.42239198088645935,
-0.11094491928815842,
0.19915521144866943,
0.4054184556007385,
-0.2611987590789795,
0.416664719581604,
-0.1277608871459961,
-0.2379016876220703,
-0.28321805596351624,
0.17461560666561127,
0.31964197754859924,
0.18817655742168427,
-0.11213193833827972,
0.12971843779087067,
-0.31066030263900757,
0.08574208617210388,
-0.27089884877204895,
0.5493064522743225,
0.026568181812763214,
-0.4533531367778778,
-0.05009432137012482,
0.007110530510544777,
-0.035898659378290176,
-0.0663367211818695,
0.08369757235050201,
0.10604351758956909,
-0.14024846255779266,
0.3185562789440155,
0.03866327181458473,
-0.055045779794454575,
0.1496492624282837,
0.3500638008117676,
-0.027468673884868622,
0.21437996625900269,
0.5104048252105713,
0.07979929447174072,
0.17024818062782288,
-0.2773817479610443,
0.05503290146589279,
0.09345969557762146,
0.35400134325027466,
0.2815166711807251,
-0.04620921611785889,
-0.32670995593070984,
-0.3248034119606018,
-0.33637818694114685,
0.35124289989471436,
-0.17042867839336395,
0.26274728775024414,
0.00334543501958251,
0.33986058831214905,
-0.1380714774131775,
0.0266447514295578,
0.044694460928440094,
0.15264634788036346,
0.07141528278589249,
0.168977752327919,
-0.5038868188858032,
0.19696688652038574,
-0.0827627032995224,
-0.056082069873809814,
0.07830724865198135,
-0.3532995879650116,
0.21702302992343903,
-0.0049377367831766605,
0.08233054727315903,
0.05896270275115967,
-0.11568523943424225,
0.2838817834854126,
0.06235649064183235,
0.7475950717926025,
0.31064262986183167,
0.07281391322612762,
0.14874139428138733,
0.3013220429420471,
-0.5373902320861816,
0.08932587504386902,
-0.12272573262453079,
-0.13613903522491455,
-0.04497034475207329,
0.10819259285926819,
-0.2843809425830841,
-0.09011209011077881,
-0.15862751007080078,
-0.2170286327600479,
0.27870994806289673,
-0.10902005434036255,
-0.04914215952157974,
-0.05124537646770477,
-0.058421723544597626,
0.27679017186164856,
-0.03341839835047722,
0.4063365161418915,
-0.09682376682758331,
0.4472576677799225,
-0.42107707262039185,
-0.2993886172771454,
0.43007323145866394,
-0.5536364912986755,
-0.38072362542152405,
-0.29081469774246216,
0.20399482548236847,
0.2039930522441864,
-0.13251496851444244,
-0.41009411215782166,
0.09363394230604172,
0.44300389289855957,
-0.09114150702953339,
-0.39786797761917114,
0.22411325573921204,
0.22628280520439148,
0.21687836945056915,
-0.20595595240592957,
0.6160304546356201,
-0.04020474851131439,
0.02597074769437313,
-0.10298049449920654,
-0.16491486132144928
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | > But Trie is a simple class object, so afaik it's hash function is linked to its id(self) so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ?
We're computing the hash of the pickle dump of the class so it should be fine, as long as the pickle dump is deterministic | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 60 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
> But Trie is a simple class object, so afaik it's hash function is linked to its id(self) so basically where it's stored in memory, so super highly non deterministic. Could that be the issue ?
We're computing the hash of the pickle dump of the class so it should be fine, as long as the pickle dump is deterministic | [
-0.05189927667379379,
0.20742100477218628,
0.09117506444454193,
0.18832483887672424,
0.22655463218688965,
0.022534362971782684,
0.2612113058567047,
0.21120989322662354,
-0.1954529881477356,
-0.13296283781528473,
0.1067902073264122,
0.44565528631210327,
0.16125671565532684,
-0.5669116377830505,
-0.05697864294052124,
0.003279358148574829,
0.1651783585548401,
0.23158225417137146,
0.2596176862716675,
-0.004998300224542618,
0.10698921978473663,
0.1212177574634552,
-0.3627128601074219,
0.06914084404706955,
-0.7065646052360535,
0.12830175459384918,
-0.14887191355228424,
-0.13311797380447388,
0.21210399270057678,
-0.5304059982299805,
0.2658364772796631,
0.24647215008735657,
0.24328115582466125,
0.32351142168045044,
-0.00012110588431823999,
-0.06425723433494568,
0.15564075112342834,
-0.036268845200538635,
-0.12869739532470703,
0.14670325815677643,
0.20873132348060608,
-0.10352164506912231,
0.009283710271120071,
-0.089730404317379,
-0.05611021816730499,
-0.3744659125804901,
-0.09876100718975067,
-0.4620145857334137,
0.46992701292037964,
-0.023519929498434067,
0.09065740555524826,
0.30857038497924805,
-0.13583806157112122,
0.20012763142585754,
0.08448953181505203,
-0.25390732288360596,
-0.2286454737186432,
-0.24680769443511963,
-0.004833407700061798,
-0.17353463172912598,
-0.1795419156551361,
0.37168166041374207,
-0.03832487761974335,
0.21673418581485748,
0.061118707060813904,
0.24652959406375885,
-0.2252788543701172,
-0.02786102145910263,
0.27543672919273376,
0.012759793549776077,
0.4265647828578949,
-0.30948033928871155,
-0.23245584964752197,
-0.39166393876075745,
-0.1335906684398651,
-0.26021435856819153,
0.27052783966064453,
-0.35600998997688293,
0.09551553428173065,
0.190761998295784,
-0.12470488995313644,
-0.0005984019953757524,
0.06761160492897034,
-0.08070959150791168,
0.08135269582271576,
0.393381804227829,
0.012738359160721302,
0.14422768354415894,
-0.19320978224277496,
-0.08118891716003418,
0.35852259397506714,
-0.2701984643936157,
-0.28043028712272644,
0.4097216725349426,
-0.36960962414741516,
0.02787400782108307,
0.022960688918828964,
0.0017170161008834839,
-0.022007038816809654,
0.6046872735023499,
0.12375301122665405,
0.30755415558815,
0.02764464169740677,
-0.018043458461761475,
-0.025621775537729263,
0.4123823344707489,
0.163364976644516,
0.21817408502101898,
0.1301172971725464,
-0.24894794821739197,
-0.40947145223617554,
-0.19778373837471008,
-0.22332587838172913,
0.08002796024084091,
0.7818918228149414,
-0.0770115852355957,
-0.22278746962547302,
-0.08949051797389984,
0.12363380938768387,
0.22511087357997894,
-0.31109535694122314,
0.03523428738117218,
0.19471481442451477,
0.10219951719045639,
-0.09234646707773209,
0.3399507701396942,
-0.3261309862136841,
-0.018884334713220596,
-0.16092118620872498,
-0.23564575612545013,
-0.29377904534339905,
-0.2551279664039612,
-0.208262100815773,
0.46817976236343384,
0.20285294950008392,
0.03641745448112488,
0.3139992356300354,
0.036349888890981674,
0.10425906628370285,
-0.3199799358844757,
0.39261576533317566,
-0.23432737588882446,
0.3772861659526825,
0.08299434930086136,
-0.22792549431324005,
0.49978670477867126,
0.22625374794006348,
-0.06308744847774506,
-0.1155581921339035,
0.08987703919410706,
-0.29461345076560974,
-0.13485579192638397,
0.30940890312194824,
0.01987222209572792,
-0.1760503500699997,
-0.045439235866069794,
-0.07724844664335251,
0.01304781623184681,
0.7639155387878418,
0.018895674496889114,
0.04262165352702141,
-0.15114863216876984,
-0.3036690652370453,
-0.16108784079551697,
0.35786956548690796,
0.3872116208076477,
0.021314900368452072,
-0.12022888660430908,
0.09800353646278381,
0.2964479923248291,
0.3594043254852295,
0.30810466408729553,
-0.1959109753370285,
0.4857529401779175,
-0.28197699785232544,
0.4549028277397156,
0.19742880761623383,
-0.2301560491323471,
-0.51521235704422,
-0.1783289760351181,
0.1791856288909912,
0.2807503044605255,
-0.15238547325134277,
-0.10142946988344193,
0.15161292254924774,
-0.1555059850215912,
0.004286631941795349,
0.19324205815792084,
0.06385098397731781,
0.01927962340414524,
-0.3553863763809204,
-0.06010223925113678,
0.06738206744194031,
-0.1635514497756958,
0.2203184813261032,
-0.05264242738485336,
-0.3882295787334442,
-0.07042150944471359,
-0.011847838759422302,
-0.050566043704748154,
0.19352717697620392,
0.009231200441718102,
0.1395580917596817,
0.06869805604219437,
0.23547770082950592,
-0.05866046994924545,
-0.03966687619686127,
0.29732799530029297,
0.2124752253293991,
-0.4706977605819702,
-0.11940942704677582,
-0.12251872569322586,
-0.060519054532051086,
0.03379468619823456,
-0.37313055992126465,
-0.1787879467010498,
0.09629304707050323,
0.3674493432044983,
0.24364379048347473,
0.05334393307566643,
-0.07753512263298035,
0.33397814631462097,
0.0406830757856369,
0.07031643390655518,
0.10856467485427856,
-0.12192506343126297,
0.08856894075870514,
-0.26904571056365967,
-0.36297380924224854,
0.02892637625336647,
0.281680166721344,
-0.07614344358444214,
-0.13468441367149353,
0.20949512720108032,
0.23400898277759552,
-0.042254090309143066,
-0.010152444243431091,
0.15878386795520782,
-0.034370698034763336,
0.06037713214755058,
-0.16994984447956085,
0.014533812180161476,
-0.0333569310605526,
-0.20911836624145508,
0.1542719602584839,
0.5009641051292419,
0.11247532069683075,
0.17363451421260834,
-0.21833114326000214,
-0.03563971072435379,
0.11158786714076996,
-0.0217563658952713,
0.007777700200676918,
-0.20601452887058258,
-0.1484500914812088,
-0.05150025710463524,
0.2860386371612549,
-0.008161401376128197,
0.04675754904747009,
0.36466196179389954,
0.3622071146965027,
0.3224487900733948,
-0.10210154205560684,
-0.17260482907295227,
-0.3946625590324402,
-0.36940640211105347,
0.039155956357717514,
0.016101043671369553,
0.2090459167957306,
-0.03041819855570793,
0.37335121631622314,
-0.09138862043619156,
-0.06298427283763885,
-0.1259813755750656,
0.059865448623895645,
0.12032510340213776,
-0.04504059627652168,
0.2154657244682312,
0.13641518354415894,
0.14994344115257263,
-0.21453949809074402,
0.09671804308891296,
0.2384524941444397,
0.1818104088306427,
-0.06900884956121445,
0.25920864939689636,
-0.385728120803833,
0.3975616991519928,
0.15605902671813965,
-0.16770395636558533,
0.19674645364284515,
-0.22694244980812073,
-0.002179238945245743,
0.2957804799079895,
0.14199236035346985,
0.37759673595428467,
-0.3509848713874817,
0.30005407333374023,
0.08974078297615051,
-0.13340501487255096,
-0.4052121937274933,
-0.23112884163856506,
-0.4343359172344208,
-0.13218921422958374,
0.17997631430625916,
-0.4946797490119934,
0.10229335725307465,
-0.054174572229385376,
0.12104375660419464,
-0.35179033875465393,
-0.3331645727157593,
0.16307362914085388,
0.10983309149742126,
0.1213274896144867,
-0.35478439927101135,
-0.25901949405670166,
-0.32311761379241943,
-0.029372908174991608,
0.16326837241649628,
-0.33645492792129517,
-0.16438697278499603,
0.10267507284879684,
-0.03528120741248131,
-0.09997536242008209,
0.03766988590359688,
-0.024916313588619232,
0.15009380877017975,
0.22572174668312073,
-0.2717503309249878,
-0.02691548317670822,
-0.04275394231081009,
0.04316621273756027,
-0.18150635063648224,
-0.16118867695331573,
-0.44940492510795593,
-0.052173905074596405,
-0.4597610533237457,
-0.442263126373291,
0.5467937588691711,
-0.15412890911102295,
-0.18187861144542694,
-0.052560508251190186,
-0.16741850972175598,
0.4478079378604889,
0.30305778980255127,
-0.340181827545166,
-0.07448175549507141,
-0.14213936030864716,
0.29694318771362305,
-0.21737363934516907,
-0.0626278817653656,
0.28434890508651733,
0.052905574440956116,
-0.0010943692177534103,
-0.18966633081436157,
-0.013022485189139843,
0.1357756108045578,
-0.2994862198829651,
0.1812460869550705,
-0.15856057405471802,
0.07609622925519943,
0.22268173098564148,
0.9392314553260803,
0.31538310647010803,
-0.21479062736034393,
0.28516796231269836,
0.042757630348205566,
0.044223666191101074,
-0.2744644582271576,
-0.15618617832660675,
-0.07770330458879471,
-0.2192678153514862,
0.13433806598186493,
0.3043110966682434,
0.09493991732597351,
-0.1754334419965744,
0.08167625963687897,
0.3202768564224243,
-0.1742832362651825,
-0.3795694410800934,
-0.01480613462626934,
-0.4517332911491394,
0.37822744250297546,
0.2667451500892639,
0.32811278104782104,
-0.5986449718475342,
-0.10161381214857101,
0.1085256040096283,
-0.0928221195936203,
0.2685285210609436,
0.06697539985179901,
-0.49437326192855835,
0.2626313865184784,
-0.3076004683971405,
0.052288420498371124,
-0.015161875635385513,
0.6919909119606018,
0.20664657652378082,
-0.23310458660125732,
0.123925119638443,
-0.15382401645183563,
0.2035224884748459,
-0.07289187610149384,
-0.06825710833072662,
0.2349959909915924,
-0.12933211028575897,
-0.007698370143771172,
-0.3686414361000061,
0.08160299062728882,
0.31267082691192627,
0.22288694977760315,
0.249810591340065,
-0.14943936467170715,
-0.21088601648807526,
-0.22654354572296143,
-0.0016433908604085445,
-0.1760450154542923,
-0.13622692227363586,
-0.2136860489845276,
0.04298076033592224,
-0.13471895456314087,
0.2546828091144562,
-0.06970929354429245,
0.15738625824451447,
-0.05730044096708298,
0.11628164350986481,
-0.5537931323051453,
-0.09324410557746887,
-0.0104154571890831,
0.3240826725959778,
0.4035288989543915,
-0.11914636194705963,
0.5000572204589844,
0.20877835154533386,
-0.2191263735294342,
-0.06814485788345337,
0.13942648470401764,
0.24597230553627014,
-0.31010180711746216,
0.1048717275261879,
-0.03789117559790611,
0.041893161833286285,
0.09305652976036072,
-0.4365449845790863,
0.17325890064239502,
-0.35458889603614807,
-0.09559117257595062,
-0.18182148039340973,
0.3099585473537445,
0.1867896318435669,
0.03569217398762703,
-0.1855856329202652,
-0.3173612952232361,
0.16117149591445923,
0.3090423345565796,
-0.2929147779941559,
0.4900946617126465,
-0.12370938062667847,
-0.15681147575378418,
0.32531630992889404,
0.18676409125328064,
0.7865943312644958,
-0.08131556212902069,
0.21771827340126038,
-0.05944561958312988,
0.10046708583831787,
0.42319032549858093,
-0.210842564702034,
0.2235371619462967,
-0.3109399080276489,
0.09245847165584564,
0.05065338313579559,
-0.10792680829763412,
0.060691844671964645,
0.06064518913626671,
0.06845107674598694,
0.14106421172618866,
0.0022730976343154907,
0.570498526096344,
0.16485248506069183,
0.06478922814130783,
0.13562238216400146,
-0.19819879531860352,
0.36899247765541077,
0.08320458978414536,
0.030220629647374153,
0.07009200751781464,
-0.08047521859407425,
0.17240925133228302,
0.02757219597697258,
-0.01226808875799179,
-0.17895221710205078,
-0.020828712731599808,
-0.35784485936164856,
0.19302868843078613,
0.2626151144504547,
-0.2976725995540619,
-0.025999847799539566,
-0.10859502851963043,
0.5799317955970764,
0.0711834728717804,
-0.20779545605182648,
0.25074994564056396,
0.05315661057829857,
0.1006707176566124,
-0.24520225822925568,
-0.3708416521549225,
0.20640794932842255,
0.15818512439727783,
-0.09562169760465622,
-0.10534591227769852,
0.08120577782392502,
-0.3458731770515442,
-0.36441153287887573,
0.12513424456119537,
0.37789297103881836,
-0.09393399208784103,
0.19620557129383087,
0.2556231915950775,
0.1614653617143631,
-0.24885739386081696,
0.10119059681892395,
0.20285630226135254,
-0.12803898751735687,
0.3052852153778076,
-0.2704262137413025,
-0.07917487621307373,
0.08961920440196991,
0.3077000081539154,
0.15612174570560455,
-0.19191430509090424,
0.587468147277832,
-0.2767954170703888,
-0.14087283611297607,
-0.059450916945934296,
-0.18942371010780334,
-0.018042469397187233,
-0.3404752314090729,
-0.024311061948537827,
-0.2312999665737152,
0.08938881754875183,
0.13904650509357452,
-0.03313300386071205,
-0.11775307357311249,
-0.25556546449661255,
-0.17812199890613556,
-0.14016422629356384,
-0.3179078698158264,
-0.26200711727142334,
-0.05161607638001442,
0.13322818279266357,
-0.04177763685584068,
0.131269633769989,
-0.30345389246940613,
0.4207591116428375,
-0.16894029080867767,
0.0715779960155487,
0.12278569489717484,
0.2274690419435501,
-0.45561888813972473,
-0.16995668411254883,
-0.06361962109804153,
0.016126960515975952,
-0.03963884711265564,
0.2612183690071106,
-0.28462842106819153,
-0.12826457619667053,
-0.26836246252059937,
0.1997653841972351,
0.1922331154346466,
-0.13623061776161194,
-0.06649494916200638,
0.18387548625469208,
0.07518284022808075,
-0.49710407853126526,
0.24251458048820496,
-0.00248611718416214,
0.050445400178432465,
0.022301174700260162,
0.42921122908592224,
0.13796210289001465,
-0.1152551919221878,
-0.13123686611652374,
-0.07528497278690338,
0.15063464641571045,
0.29744505882263184,
0.27121424674987793,
0.03019886091351509,
0.00038539618253707886,
-0.0018480477156117558,
0.059704869985580444,
0.1872236728668213,
-0.09709916263818741,
0.10886107385158539,
-0.40640419721603394,
-0.17878861725330353,
-0.05781367048621178,
-0.13858938217163086,
0.3545556962490082,
-0.0314372181892395,
-0.5059739351272583,
0.35410937666893005,
0.10357734560966492,
-0.0626235157251358,
-0.20098455250263214,
0.07440346479415894,
0.14905500411987305,
-0.01677951216697693,
0.10432308912277222,
0.3568339943885803,
-0.1302853226661682,
0.16108381748199463,
-0.05358351767063141,
0.6789044737815857,
-0.434964120388031,
0.1543174684047699,
-0.21308767795562744,
0.0665261298418045,
0.08979469537734985,
0.5021483898162842,
0.14452506601810455,
-0.06781645864248276,
0.3744506239891052,
0.08054137974977493,
0.32512009143829346,
0.2525855600833893,
0.1583860218524933,
-0.2991311848163605,
-0.48579275608062744,
-0.24714811146259308,
0.13440798223018646,
0.09932497143745422,
0.1509874165058136,
-0.21157240867614746,
0.04589539021253586,
0.36008328199386597,
-0.20225155353546143,
-0.2612346112728119,
0.15614967048168182,
-0.21157288551330566,
-0.5483273863792419,
-0.062423981726169586,
-0.08532427996397018,
-0.026974987238645554,
0.029583286494016647,
0.05850651115179062,
0.11117331683635712,
0.14326706528663635,
-0.025162577629089355,
-0.22258810698986053,
-0.42481279373168945,
-0.10262983292341232,
0.14034779369831085,
0.41368404030799866,
-0.25648850202560425,
0.4201885461807251,
-0.17111758887767792,
-0.23624968528747559,
-0.2928145229816437,
0.12567968666553497,
0.29554224014282227,
0.20677480101585388,
-0.08513711392879486,
0.12548623979091644,
-0.3106226325035095,
0.10094736516475677,
-0.25081902742385864,
0.5699103474617004,
0.017272524535655975,
-0.4455057382583618,
-0.0426466166973114,
-0.03200878947973251,
-0.006324888207018375,
-0.037032682448625565,
0.09096914529800415,
0.1049787700176239,
-0.14985422790050507,
0.3840899169445038,
0.015789244323968887,
-0.04369192570447922,
0.17792478203773499,
0.36724406480789185,
-0.003418266773223877,
0.17924903333187103,
0.516469419002533,
0.06810551136732101,
0.17522671818733215,
-0.2633397579193115,
0.03083137422800064,
0.06253359466791153,
0.352994441986084,
0.2891395688056946,
-0.034167930483818054,
-0.3427850008010864,
-0.2789086699485779,
-0.37045982480049133,
0.389265775680542,
-0.19916070997714996,
0.295658677816391,
0.0002575991675257683,
0.35659298300743103,
-0.12067238241434097,
0.02752588503062725,
0.05405602604150772,
0.16068533062934875,
0.08338770270347595,
0.18909375369548798,
-0.5268807411193848,
0.18458278477191925,
-0.11813277006149292,
-0.09007662534713745,
0.07190489768981934,
-0.3779362142086029,
0.21127913892269135,
-0.016970708966255188,
0.040557920932769775,
0.07241873443126678,
-0.1605335772037506,
0.26242759823799133,
0.07893530279397964,
0.794421374797821,
0.3106131851673126,
0.0901418924331665,
0.19205448031425476,
0.2812294363975525,
-0.5696285367012024,
0.07252302020788193,
-0.08804064989089966,
-0.08099337667226791,
-0.06610478460788727,
0.07339870929718018,
-0.30391883850097656,
-0.02372763678431511,
-0.13984361290931702,
-0.19387692213058472,
0.27402234077453613,
-0.08371821790933609,
-0.06953389197587967,
-0.03731842339038849,
-0.10154590010643005,
0.29129499197006226,
-0.020704973489046097,
0.3749103248119354,
-0.12113405764102936,
0.448181688785553,
-0.42611783742904663,
-0.27510979771614075,
0.46917563676834106,
-0.5436623096466064,
-0.3851500153541565,
-0.29090604186058044,
0.19718429446220398,
0.1935529112815857,
-0.13721169531345367,
-0.3919913172721863,
0.081435926258564,
0.4406304657459259,
-0.09610489010810852,
-0.3736470937728882,
0.22825388610363007,
0.21223148703575134,
0.21379052102565765,
-0.2038305699825287,
0.5930088758468628,
-0.09621120244264603,
0.027926454320549965,
-0.09225645661354065,
-0.15705019235610962
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I've ported wav2vec2.0 fine-tuning into Optimum-Graphcore which is where I found the issue. The majority of the script was copied from the Transformers version to keep it similar, [here is the tokenizer loading section from the source](https://github.com/huggingface/transformers/blob/f0982682bd6fd0b438dda79ec45f3a8fac83a985/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py#L531).
In the last comment I have two loaded tokenizers, one from run 'N' of the script and one from 'N+1'. I think what's happening is that when you add special tokens (e.g. PAD and UNK) another AddedToken object is appended when tokenizer is saved regardless of whether special tokens are there already.
If there is a AddedTokens cleanup at load/save this could solve the issue, but then is Trie going to cause hash to be different? I'm not sure. | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 116 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I've ported wav2vec2.0 fine-tuning into Optimum-Graphcore which is where I found the issue. The majority of the script was copied from the Transformers version to keep it similar, [here is the tokenizer loading section from the source](https://github.com/huggingface/transformers/blob/f0982682bd6fd0b438dda79ec45f3a8fac83a985/examples/pytorch/speech-recognition/run_speech_recognition_ctc.py#L531).
In the last comment I have two loaded tokenizers, one from run 'N' of the script and one from 'N+1'. I think what's happening is that when you add special tokens (e.g. PAD and UNK) another AddedToken object is appended when tokenizer is saved regardless of whether special tokens are there already.
If there is a AddedTokens cleanup at load/save this could solve the issue, but then is Trie going to cause hash to be different? I'm not sure. | [
-0.08006990700960159,
0.25827646255493164,
0.10429300367832184,
0.11781193315982819,
0.13655918836593628,
-0.07179195433855057,
0.11799350380897522,
0.23306405544281006,
-0.1783328801393509,
-0.1590852290391922,
0.12981249392032623,
0.41637495160102844,
0.10382123291492462,
-0.513702929019928,
-0.061097756028175354,
0.04817122220993042,
0.2034377008676529,
0.29107922315597534,
0.26798558235168457,
0.05594450235366821,
0.1278855800628662,
0.23226673901081085,
-0.38638919591903687,
0.07808444648981094,
-0.7437315583229065,
0.17916584014892578,
-0.0764010101556778,
-0.08971657603979111,
0.22981694340705872,
-0.6652759909629822,
0.2865850031375885,
0.17914214730262756,
0.25562068819999695,
0.24189957976341248,
-0.00012209602573420852,
-0.0668121725320816,
0.1416584551334381,
-0.037857115268707275,
-0.1259562373161316,
0.13745026290416718,
0.31825557351112366,
-0.22633038461208344,
-0.0004581232788041234,
0.03324846178293228,
-0.07534761726856232,
-0.45592108368873596,
-0.06414108723402023,
-0.425559937953949,
0.5805097222328186,
-0.021995458751916885,
0.0711890459060669,
0.2978920042514801,
-0.10984383523464203,
0.19408123195171356,
-0.05519690364599228,
-0.268230676651001,
-0.1466706246137619,
-0.2421582043170929,
0.05169472470879555,
-0.31455904245376587,
-0.2444705367088318,
0.44043585658073425,
-0.12676286697387695,
0.21735171973705292,
0.09994511306285858,
0.16720333695411682,
-0.211171954870224,
-0.05945790559053421,
0.22371798753738403,
0.05448034405708313,
0.4329598546028137,
-0.260686993598938,
-0.20841364562511444,
-0.457679808139801,
-0.1146240234375,
-0.3802022337913513,
0.19276714324951172,
-0.3059675395488739,
0.04091464728116989,
0.19602905213832855,
-0.20708706974983215,
0.02084776572883129,
0.08934608101844788,
-0.17160098254680634,
0.13416101038455963,
0.524551510810852,
-0.009232030250132084,
0.12622246146202087,
-0.10823066532611847,
-0.11748747527599335,
0.2492668777704239,
-0.22618022561073303,
-0.32988592982292175,
0.4784752130508423,
-0.5409095883369446,
0.03326926380395889,
0.047621168196201324,
-0.03758157789707184,
-0.012457747012376785,
0.49824875593185425,
0.1961228847503662,
0.17258992791175842,
0.12010088562965393,
-0.052395984530448914,
0.007961362600326538,
0.46264520287513733,
0.12238344550132751,
0.202250137925148,
0.09093599021434784,
-0.34764564037323,
-0.3232761323451996,
-0.2151956558227539,
-0.18256141245365143,
0.028072133660316467,
0.5905099511146545,
-0.027916856110095978,
-0.24481874704360962,
-0.06658828258514404,
0.0013636834919452667,
0.2622072100639343,
-0.25437161326408386,
0.018736088648438454,
0.23674538731575012,
0.17878443002700806,
-0.015753429383039474,
0.4147460162639618,
-0.26766520738601685,
0.1410009115934372,
-0.17565086483955383,
-0.15117983520030975,
-0.24977350234985352,
-0.3107844591140747,
-0.05167306959629059,
0.48495304584503174,
0.27689334750175476,
0.10549604892730713,
0.4002296030521393,
0.11229963600635529,
0.11786563694477081,
-0.29104477167129517,
0.38186880946159363,
-0.16597066819667816,
0.363164484500885,
0.15744955837726593,
-0.2425270974636078,
0.5116235017776489,
0.1838425099849701,
0.06356451660394669,
-0.0909917950630188,
0.059935711324214935,
-0.3503614664077759,
-0.18856927752494812,
0.28100600838661194,
0.03694484755396843,
-0.13355284929275513,
-0.06536570936441422,
-0.12529608607292175,
0.10960203409194946,
0.6172810792922974,
-0.11412353813648224,
-0.07007748633623123,
-0.1256895661354065,
-0.23138464987277985,
-0.07585994899272919,
0.34444335103034973,
0.34183645248413086,
-0.013495970517396927,
-0.1805940717458725,
0.12875130772590637,
0.31107860803604126,
0.3902434706687927,
0.38631266355514526,
-0.23212864995002747,
0.37199580669403076,
-0.1864604502916336,
0.40619319677352905,
0.14109359681606293,
-0.40568187832832336,
-0.47850215435028076,
-0.14682091772556305,
0.16111910343170166,
0.27268874645233154,
-0.10920103639364243,
-0.2112707495689392,
0.2627033293247223,
-0.2220122218132019,
-0.1330791711807251,
0.12201869487762451,
0.17269267141819,
0.08215269446372986,
-0.36534586548805237,
-0.11009068787097931,
0.2695353627204895,
-0.18849492073059082,
0.11303187906742096,
-0.04293609410524368,
-0.47318005561828613,
-0.13556750118732452,
-0.003846868872642517,
-0.03821879252791405,
0.24298055469989777,
0.02236076071858406,
0.03611953556537628,
0.0009622499346733093,
0.3113216459751129,
0.08429569751024246,
-0.0017537698149681091,
0.28965088725090027,
0.03396008908748627,
-0.5018057823181152,
0.05405385419726372,
-0.08476650714874268,
-0.08407023549079895,
-0.015032023191452026,
-0.38886594772338867,
-0.3201253414154053,
0.11079573631286621,
0.33911287784576416,
0.2745213806629181,
-0.022822432219982147,
-0.1309460699558258,
0.18465641140937805,
0.06772936880588531,
0.05151945725083351,
0.1841563880443573,
-0.06766324490308762,
0.10917240381240845,
-0.2724494934082031,
-0.26125943660736084,
0.09860465675592422,
0.3133065402507782,
0.0814916267991066,
-0.14130982756614685,
0.25140857696533203,
0.1754748523235321,
0.08114205300807953,
0.019912607967853546,
0.12353019416332245,
-0.01813562400639057,
0.0027290359139442444,
-0.14133299887180328,
0.0194074846804142,
-0.01520442683249712,
-0.11108850687742233,
0.11067072302103043,
0.37981075048446655,
0.2311738133430481,
0.24651506543159485,
-0.23350192606449127,
-0.02811821922659874,
0.1846807599067688,
0.03809557482600212,
0.04940583556890488,
-0.1664023995399475,
-0.07605665922164917,
-0.0355977788567543,
0.3442814350128174,
-0.06081011891365051,
0.10548166930675507,
0.3432065546512604,
0.3173635005950928,
0.3040129244327545,
-0.12273853272199631,
-0.09126318246126175,
-0.379512757062912,
-0.48106518387794495,
0.10795470327138901,
-0.10840416699647903,
0.15806728601455688,
-0.001980271190404892,
0.3356950879096985,
-0.19949015974998474,
-0.03821626678109169,
-0.13506647944450378,
0.09802520275115967,
0.01186738908290863,
-0.04618034511804581,
0.2633504569530487,
0.13562531769275665,
0.12056439369916916,
-0.23280149698257446,
0.13841186463832855,
0.17763781547546387,
0.14665058255195618,
-0.06870998442173004,
0.1932455599308014,
-0.35302698612213135,
0.49336758255958557,
0.1403961330652237,
-0.15531806647777557,
0.10047504305839539,
-0.18228454887866974,
-0.008664939552545547,
0.2772003710269928,
0.06430020928382874,
0.46735039353370667,
-0.16449983417987823,
0.3450103998184204,
0.0719718188047409,
-0.01659097708761692,
-0.3854743242263794,
-0.19736936688423157,
-0.3551698923110962,
-0.12996305525302887,
0.05168354883790016,
-0.4089682400226593,
-0.040638938546180725,
0.1523468941450119,
0.11026401817798615,
-0.3540326654911041,
-0.30180618166923523,
0.16659371554851532,
0.16909939050674438,
0.09664025157690048,
-0.35479289293289185,
-0.2157895714044571,
-0.24135036766529083,
-0.13808667659759521,
-0.0017959726974368095,
-0.27797675132751465,
-0.11168073117733002,
0.10666243731975555,
-0.15652945637702942,
-0.10988663882017136,
0.05328438803553581,
0.02319115400314331,
-0.0338670089840889,
0.14387066662311554,
-0.198500856757164,
-0.01539517566561699,
-0.05871490389108658,
-0.02730737254023552,
-0.24220824241638184,
-0.19320178031921387,
-0.44518786668777466,
-0.018509672954678535,
-0.46532145142555237,
-0.37739047408103943,
0.549916684627533,
-0.21145126223564148,
-0.1288193166255951,
-0.08979327976703644,
-0.20503978431224823,
0.5352652072906494,
0.17250551283359528,
-0.25738590955734253,
0.10319150239229202,
-0.11823675036430359,
0.15313728153705597,
-0.11481870710849762,
-0.07847822457551956,
0.34099987149238586,
-0.01998176798224449,
0.061691753566265106,
-0.24336209893226624,
0.029761269688606262,
0.21063968539237976,
-0.17763584852218628,
0.1133393868803978,
-0.15604844689369202,
-0.05672629177570343,
0.1595756560564041,
0.9312013387680054,
0.36456236243247986,
-0.04256373271346092,
0.30061396956443787,
0.03168681263923645,
0.0797748863697052,
-0.279670387506485,
-0.09944058954715729,
-0.06733446568250656,
-0.12788677215576172,
0.2187211960554123,
0.26317882537841797,
0.0717657059431076,
-0.32360121607780457,
0.10202811658382416,
0.3190767467021942,
-0.22279787063598633,
-0.29363304376602173,
-0.019142286852002144,
-0.3611198365688324,
0.50057053565979,
0.35558173060417175,
0.4401431381702423,
-0.4934348464012146,
-0.08488237112760544,
-0.012734092772006989,
-0.15442748367786407,
0.43320533633232117,
0.07720313221216202,
-0.46684902906417847,
0.2311716377735138,
-0.4107033610343933,
0.06187745928764343,
-0.07702119648456573,
0.6368464827537537,
0.14904960989952087,
-0.2310158908367157,
0.03627161309123039,
-0.19990330934524536,
0.20200341939926147,
-0.0018361229449510574,
-0.03290651738643646,
0.19855204224586487,
-0.0025537461042404175,
0.048836104571819305,
-0.35523858666419983,
0.2124933898448944,
0.17405815422534943,
0.20136092603206635,
0.2119126170873642,
-0.14989665150642395,
-0.27053412795066833,
-0.27604690194129944,
-0.017019227147102356,
-0.1320226937532425,
-0.04421607777476311,
-0.19494453072547913,
0.21479013562202454,
-0.20739251375198364,
0.20364978909492493,
-0.08698108792304993,
0.21689558029174805,
-0.22034920752048492,
0.12215343117713928,
-0.43134310841560364,
-0.10183745622634888,
-0.03573785722255707,
0.3628009259700775,
0.5451799631118774,
-0.1307029277086258,
0.47661566734313965,
0.39878520369529724,
-0.3096015751361847,
-0.1658860146999359,
0.08962860703468323,
0.27764061093330383,
-0.29185017943382263,
0.19406935572624207,
0.0012932764366269112,
0.028607450425624847,
0.1428745537996292,
-0.42427387833595276,
0.22068920731544495,
-0.3227705955505371,
-0.08403395116329193,
-0.40908703207969666,
0.28001007437705994,
0.23911380767822266,
0.02055998146533966,
-0.12799279391765594,
-0.33472511172294617,
0.20789873600006104,
0.21245287358760834,
-0.3058953285217285,
0.34358280897140503,
-0.024082645773887634,
-0.19939494132995605,
0.30542153120040894,
0.13412144780158997,
0.696349561214447,
0.11818970739841461,
0.23738770186901093,
0.004922475665807724,
0.048237189650535583,
0.4088042676448822,
-0.24643218517303467,
0.2490544319152832,
-0.3416174352169037,
0.1692424863576889,
0.02930082567036152,
-0.05409446358680725,
0.008930359035730362,
0.12586407363414764,
0.015530120581388474,
0.19889768958091736,
0.08993786573410034,
0.4531211256980896,
0.08921113610267639,
0.04366854578256607,
0.10014154016971588,
-0.2842256724834442,
0.3135441243648529,
0.08368047326803207,
-0.02809067815542221,
0.09850797802209854,
-0.04889671877026558,
0.12075560539960861,
0.09625014662742615,
-0.17756858468055725,
-0.2387625128030777,
0.011904560029506683,
-0.3267330527305603,
0.19060097634792328,
0.23005644977092743,
-0.2419147491455078,
-0.009498652070760727,
0.022599417716264725,
0.37038397789001465,
0.09028081595897675,
-0.2639789879322052,
0.3609043061733246,
-0.02289099246263504,
0.2081761509180069,
-0.21684786677360535,
-0.2913247048854828,
0.038572799414396286,
0.11061332374811172,
-0.0915997326374054,
-0.13346132636070251,
-0.013656123541295528,
-0.3131703734397888,
-0.22838139533996582,
0.13306531310081482,
0.30256378650665283,
-0.04134216532111168,
0.23286019265651703,
0.39329230785369873,
0.14942151308059692,
-0.17647555470466614,
0.10687236487865448,
0.2581050992012024,
-0.27361008524894714,
0.23151439428329468,
-0.31672295928001404,
-0.03267130255699158,
0.053097184747457504,
0.2921735942363739,
0.02325339801609516,
-0.2221813052892685,
0.6419636011123657,
-0.3032802641391754,
-0.1152055561542511,
-0.06828299909830093,
-0.17138949036598206,
0.1125924289226532,
-0.3839528560638428,
-0.0003940016031265259,
-0.10783258825540543,
-0.06921645998954773,
0.18855464458465576,
0.009998999536037445,
-0.1691097915172577,
-0.26993733644485474,
-0.167244553565979,
-0.12938380241394043,
-0.3628925085067749,
-0.22321416437625885,
-0.12237177789211273,
0.06876545399427414,
-0.07705134153366089,
0.024688124656677246,
-0.3592468500137329,
0.4054544270038605,
-0.17333045601844788,
0.08895713835954666,
0.18115457892417908,
0.272295743227005,
-0.4713919162750244,
-0.28734272718429565,
-0.005767331458628178,
0.02997690439224243,
-0.0534578338265419,
0.21325889229774475,
-0.29907241463661194,
-0.12755092978477478,
-0.34329620003700256,
0.1839074045419693,
0.12076561152935028,
-0.2444261610507965,
-0.07955463230609894,
0.2337622195482254,
0.01116504892706871,
-0.5309861898422241,
0.2928882837295532,
-0.08216241747140884,
0.022301949560642242,
0.03185252472758293,
0.269611656665802,
0.14744345843791962,
-0.03521177917718887,
-0.17494182288646698,
-0.0014206841588020325,
0.10877525061368942,
0.27784112095832825,
0.29926562309265137,
-0.008334300480782986,
0.028845086693763733,
0.07315373420715332,
0.09658534079790115,
0.1450182944536209,
-0.07435540109872818,
0.20961490273475647,
-0.3969242572784424,
-0.15504111349582672,
-0.026544785127043724,
-0.10198801010847092,
0.3778192698955536,
0.018909011036157608,
-0.3786160349845886,
0.3918006420135498,
0.10496748238801956,
-0.04739337041974068,
-0.2104799598455429,
0.08789239823818207,
0.15723848342895508,
-0.03841206431388855,
0.0006400719285011292,
0.46928778290748596,
-0.1698472797870636,
0.18500155210494995,
0.03388361260294914,
0.688717246055603,
-0.49681681394577026,
0.21453730762004852,
-0.14695428311824799,
0.11921392381191254,
0.14902067184448242,
0.3476729393005371,
0.12411490082740784,
0.009159356355667114,
0.38225919008255005,
0.0006189346313476562,
0.2913218140602112,
0.22131773829460144,
0.15148672461509705,
-0.2289661467075348,
-0.5582058429718018,
-0.3829401433467865,
0.07762210816144943,
-0.06161630153656006,
0.31846874952316284,
-0.17420253157615662,
0.008124008774757385,
0.18559551239013672,
-0.29180461168289185,
-0.2678586542606354,
0.25964677333831787,
-0.2701292634010315,
-0.5625094175338745,
-0.04174788296222687,
-0.061186518520116806,
-0.04811134934425354,
0.08881135284900665,
0.07674145698547363,
0.13561078906059265,
-0.013315707445144653,
-0.04437725991010666,
-0.27484244108200073,
-0.34031692147254944,
-0.1441822648048401,
0.18216440081596375,
0.4282701909542084,
-0.25565996766090393,
0.4184994697570801,
-0.037820786237716675,
-0.2501962184906006,
-0.18829283118247986,
0.15537630021572113,
0.3868466913700104,
0.235109344124794,
-0.2131073921918869,
0.1354617476463318,
-0.21917051076889038,
0.09603656083345413,
-0.23091387748718262,
0.5749340653419495,
0.025273799896240234,
-0.3601718544960022,
-0.11551201343536377,
-0.05083560198545456,
0.002903723157942295,
-0.12591765820980072,
0.11186790466308594,
0.16949325799942017,
-0.13988642394542694,
0.286177396774292,
-0.027071509510278702,
0.06470464915037155,
0.0830664411187172,
0.3576878011226654,
-0.07953715324401855,
0.3397742807865143,
0.3538952171802521,
0.21126580238342285,
0.1817968785762787,
-0.23789574205875397,
0.02228119969367981,
0.14001600444316864,
0.34532105922698975,
0.17719966173171997,
-0.006910331547260284,
-0.3145924210548401,
-0.2912992238998413,
-0.3649836480617523,
0.22314724326133728,
-0.1553170084953308,
0.3953954577445984,
-0.03284280002117157,
0.31011906266212463,
-0.13676047325134277,
-0.005110748112201691,
-0.0013465508818626404,
0.052545808255672455,
0.14093388617038727,
0.12906990945339203,
-0.45398566126823425,
0.1924421787261963,
0.01096394658088684,
-0.004731917753815651,
0.053196877241134644,
-0.3017444312572479,
0.14829501509666443,
0.08895128965377808,
0.013887420296669006,
0.13213784992694855,
-0.12219813466072083,
0.1199864000082016,
0.02037201263010502,
0.5955068469047546,
0.35226818919181824,
0.06756646931171417,
0.1048317477107048,
0.23715713620185852,
-0.6573119759559631,
0.06982988119125366,
-0.10829028487205505,
-0.3124878704547882,
-0.04566682502627373,
0.2955046594142914,
-0.3203592598438263,
0.012288860976696014,
-0.22460581362247467,
-0.23072336614131927,
0.25079935789108276,
-0.07846256345510483,
-0.1643020063638687,
0.0030349083244800568,
-0.08830546587705612,
0.3692062795162201,
-0.057907573878765106,
0.34942811727523804,
-0.08151249587535858,
0.43089693784713745,
-0.4480850100517273,
-0.1902453750371933,
0.44882792234420776,
-0.5715246200561523,
-0.31214720010757446,
-0.34822893142700195,
0.1807016283273697,
0.4034040570259094,
-0.10217150300741196,
-0.33735281229019165,
0.11233995109796524,
0.35931044816970825,
-0.07173588126897812,
-0.35539302229881287,
0.17450805008411407,
0.21465562283992767,
0.06579923629760742,
-0.18554368615150452,
0.5748682022094727,
0.16013696789741516,
-0.043922554701566696,
-0.0431341826915741,
-0.20285958051681519
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Which Python version are you using ?
The trie is basically a big dict of dics, so deterministic nature depends on python version:
https://stackoverflow.com/questions/2053021/is-the-order-of-a-python-dictionary-guaranteed-over-iterations
Maybe the investigation is actually not finding the right culprit though (the memory id is changed, but `datasets` is not using that to compare, so maybe we need to be looking within `datasets` so see where the comparison fails) | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 63 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Which Python version are you using ?
The trie is basically a big dict of dics, so deterministic nature depends on python version:
https://stackoverflow.com/questions/2053021/is-the-order-of-a-python-dictionary-guaranteed-over-iterations
Maybe the investigation is actually not finding the right culprit though (the memory id is changed, but `datasets` is not using that to compare, so maybe we need to be looking within `datasets` so see where the comparison fails) | [
-0.0993911474943161,
0.1641966700553894,
0.05952904000878334,
0.11624369025230408,
0.13546240329742432,
-0.008831031620502472,
0.20630836486816406,
0.20055995881557465,
-0.16751505434513092,
-0.0839851051568985,
0.10367290675640106,
0.48232343792915344,
0.17413388192653656,
-0.5205734968185425,
-0.10206189751625061,
0.01608053222298622,
0.1574675440788269,
0.2519811689853668,
0.2453308254480362,
-0.010631237179040909,
0.07575863599777222,
0.13990436494350433,
-0.41549718379974365,
0.026316527277231216,
-0.690109133720398,
0.04113753139972687,
-0.15000097453594208,
-0.11130320280790329,
0.21150538325309753,
-0.5830158591270447,
0.17165188491344452,
0.2658299207687378,
0.26978015899658203,
0.2992623746395111,
-0.00011615901894401759,
-0.0851898118853569,
0.13424184918403625,
-0.03653706610202789,
-0.19533802568912506,
0.07714244723320007,
0.2406432032585144,
-0.11135298758745193,
0.022182393819093704,
-0.12505286931991577,
-0.08726759254932404,
-0.4200587272644043,
-0.08575420826673508,
-0.4456871747970581,
0.5645421147346497,
0.06115350499749184,
0.15379966795444489,
0.3122434914112091,
-0.06499014794826508,
0.2115180641412735,
0.034064266830682755,
-0.22336821258068085,
-0.18703122437000275,
-0.28253433108329773,
-0.0007672682404518127,
-0.1631460338830948,
-0.20480889081954956,
0.3950069546699524,
-0.05110027641057968,
0.27778366208076477,
0.011333208531141281,
0.23747795820236206,
-0.22609782218933105,
-0.06844687461853027,
0.2582443356513977,
0.016843609511852264,
0.49880167841911316,
-0.3291051685810089,
-0.2806260287761688,
-0.38723984360694885,
-0.11568384617567062,
-0.30471736192703247,
0.2282843291759491,
-0.333795428276062,
0.022293154150247574,
0.15595054626464844,
-0.028635144233703613,
0.023947760462760925,
0.03944721817970276,
-0.08036449551582336,
-0.05057613179087639,
0.5638031959533691,
-0.021024152636528015,
0.07645407319068909,
-0.17731799185276031,
-0.12580041587352753,
0.36276519298553467,
-0.2383997142314911,
-0.24495288729667664,
0.39440128207206726,
-0.42221155762672424,
-0.01494264230132103,
0.03215808421373367,
-0.04050426930189133,
-0.062438663095235825,
0.5782176852226257,
0.06678256392478943,
0.2797892689704895,
0.02691560611128807,
-0.01882033795118332,
-0.08142420649528503,
0.5065051317214966,
0.17258748412132263,
0.2770189046859741,
0.1461448073387146,
-0.24526526033878326,
-0.32712578773498535,
-0.222066730260849,
-0.1919979602098465,
0.07852911204099655,
0.679758608341217,
-0.06416782736778259,
-0.20863282680511475,
-0.07650891691446304,
0.021516883745789528,
0.20109395682811737,
-0.18736878037452698,
0.07802529633045197,
0.14848242700099945,
0.1316954493522644,
-0.09877414256334305,
0.3699256181716919,
-0.31682467460632324,
0.01622649095952511,
-0.15696920454502106,
-0.20838157832622528,
-0.30961698293685913,
-0.25007641315460205,
-0.14111903309822083,
0.4726443886756897,
0.1857692301273346,
0.10533632338047028,
0.33850282430648804,
0.04079802706837654,
0.12295474112033844,
-0.28343454003334045,
0.40137189626693726,
-0.2521621286869049,
0.3619300127029419,
0.09995263814926147,
-0.2013230174779892,
0.4414064884185791,
0.22976723313331604,
-0.1422952115535736,
-0.13086888194084167,
0.044415347278118134,
-0.2781693935394287,
-0.13590766489505768,
0.19663627445697784,
0.10891283303499222,
-0.1071411743760109,
-0.11993028223514557,
-0.11281272023916245,
0.051098600029945374,
0.7425691485404968,
0.028434161096811295,
0.04931696504354477,
-0.1407056599855423,
-0.3008851706981659,
-0.17114007472991943,
0.3217560946941376,
0.3595868945121765,
0.005726948380470276,
-0.07312912493944168,
0.12443072348833084,
0.34997016191482544,
0.40081867575645447,
0.3000161349773407,
-0.19938859343528748,
0.44569236040115356,
-0.23027698695659637,
0.5252017974853516,
0.2534012794494629,
-0.3004496395587921,
-0.4953438341617584,
-0.17795225977897644,
0.13868550956249237,
0.23687706887722015,
-0.12231350690126419,
-0.19119895994663239,
0.3085101544857025,
-0.1253991574048996,
-0.02473391592502594,
0.22810833156108856,
0.12875652313232422,
0.08117359131574631,
-0.386136919260025,
-0.07993970811367035,
0.0946359783411026,
-0.1418847292661667,
0.1563035398721695,
-0.12485253065824509,
-0.40684619545936584,
-0.09215942025184631,
0.030245758593082428,
-0.06023096665740013,
0.17892129719257355,
0.006572173908352852,
0.12387992441654205,
0.13779035210609436,
0.25434014201164246,
-0.07495242357254028,
-0.08155586570501328,
0.2936711013317108,
0.1922149956226349,
-0.43133315443992615,
-0.15557236969470978,
-0.2024199664592743,
-0.12431788444519043,
0.03171410411596298,
-0.4092325270175934,
-0.22702118754386902,
0.17281009256839752,
0.375984787940979,
0.30046024918556213,
0.08888134360313416,
-0.13338255882263184,
0.3213157057762146,
0.027809401974081993,
0.08321215212345123,
0.1279980093240738,
-0.08897828310728073,
0.04932636767625809,
-0.24566006660461426,
-0.29876843094825745,
0.07675357908010483,
0.256559818983078,
-0.015320634469389915,
-0.1660962998867035,
0.25399142503738403,
0.25097915530204773,
-0.0281224325299263,
-0.023934654891490936,
0.0847763866186142,
-0.020529260858893394,
0.09603562951087952,
-0.166391059756279,
0.11690333485603333,
-0.011014156974852085,
-0.15578673779964447,
0.0968657061457634,
0.47480446100234985,
0.20151720941066742,
0.17024627327919006,
-0.2195030152797699,
-0.01838495582342148,
0.12071046233177185,
0.01222221925854683,
0.04809509217739105,
-0.2772352695465088,
-0.16110660135746002,
-0.07771323621273041,
0.28811293840408325,
-0.09551743417978287,
0.012132316827774048,
0.4188765585422516,
0.3227068781852722,
0.3246309459209442,
-0.03883279114961624,
-0.15428975224494934,
-0.3844287693500519,
-0.37076783180236816,
0.09131375700235367,
0.033425603061914444,
0.21145585179328918,
0.07148897647857666,
0.339155375957489,
-0.13868436217308044,
-0.06625606119632721,
-0.16820409893989563,
0.08080292493104935,
0.09295514971017838,
-0.03945343196392059,
0.23994120955467224,
0.1729329228401184,
0.13347908854484558,
-0.2595231831073761,
0.011706747114658356,
0.18874426186084747,
0.1880864053964615,
-0.01938707008957863,
0.22950418293476105,
-0.3685726523399353,
0.25087034702301025,
0.14462698996067047,
-0.23155610263347626,
0.17434008419513702,
-0.23704056441783905,
0.051205553114414215,
0.2426222711801529,
0.12317824363708496,
0.3722131848335266,
-0.32660365104675293,
0.28975117206573486,
0.11652100086212158,
-0.0798039361834526,
-0.43735218048095703,
-0.27039834856987,
-0.4237813651561737,
-0.06890010833740234,
0.11358174681663513,
-0.38922926783561707,
0.2050369381904602,
-0.06134232133626938,
0.1155422180891037,
-0.3056601285934448,
-0.31020593643188477,
0.12680228054523468,
0.10880783200263977,
0.05185119807720184,
-0.3105364739894867,
-0.16907019913196564,
-0.24520276486873627,
-0.11088236421346664,
0.10765735805034637,
-0.2827269732952118,
-0.1941169798374176,
0.051972128450870514,
-0.02146991528570652,
-0.05474301427602768,
0.049889516085386276,
-0.0843987688422203,
0.07838553935289383,
0.13900481164455414,
-0.3040243983268738,
0.023887913674116135,
-0.03160823881626129,
0.044671401381492615,
-0.24186770617961884,
-0.1480088233947754,
-0.37951549887657166,
0.01695544645190239,
-0.46847254037857056,
-0.2711009085178375,
0.5284548997879028,
-0.19939333200454712,
-0.18102151155471802,
-0.11079224199056625,
-0.1793723702430725,
0.4592239558696747,
0.18819691240787506,
-0.30436670780181885,
-0.09119919687509537,
-0.24150718748569489,
0.35190272331237793,
-0.2604579031467438,
-0.0481354221701622,
0.326706200838089,
0.06951849907636642,
-0.07045558840036392,
-0.13721951842308044,
0.06608657538890839,
0.0866103246808052,
-0.2665907144546509,
0.11016788333654404,
-0.17067408561706543,
0.06002919003367424,
0.1827700138092041,
0.8936033248901367,
0.32504916191101074,
-0.2173299938440323,
0.24076959490776062,
0.03552193567156792,
0.057914603501558304,
-0.32052746415138245,
-0.12963248789310455,
-0.07336355745792389,
-0.1712976098060608,
0.21047931909561157,
0.3514290452003479,
0.08095546811819077,
-0.17639844119548798,
0.08801713585853577,
0.3240935206413269,
-0.18374043703079224,
-0.3502819240093231,
-0.07607407122850418,
-0.4549039602279663,
0.37030231952667236,
0.22654330730438232,
0.32053491473197937,
-0.5656880140304565,
-0.0885561853647232,
0.0844707190990448,
-0.08395656943321228,
0.18363675475120544,
0.027585001662373543,
-0.4418327510356903,
0.2693258821964264,
-0.3658312261104584,
0.10115823894739151,
0.013648174703121185,
0.6241317987442017,
0.24092821776866913,
-0.2352905571460724,
0.09015865623950958,
-0.1987570822238922,
0.18597212433815002,
-0.05585554242134094,
-0.13583877682685852,
0.2516755163669586,
-0.07560195028781891,
-0.05927903950214386,
-0.3222757577896118,
0.041553955525159836,
0.2523893117904663,
0.19121573865413666,
0.29385703802108765,
-0.18111282587051392,
-0.2356385886669159,
-0.24328136444091797,
0.04900212958455086,
-0.15526287257671356,
-0.14965112507343292,
-0.22315232455730438,
0.046763673424720764,
-0.19208957254886627,
0.30220818519592285,
-0.03720712289214134,
0.20793095231056213,
-0.10576139390468597,
0.10346296429634094,
-0.5235515236854553,
-0.1153343915939331,
-0.08709675073623657,
0.34637612104415894,
0.43626680970191956,
-0.10463923960924149,
0.3975912630558014,
0.2577185034751892,
-0.18278852105140686,
-0.07005634158849716,
0.0794360339641571,
0.2523804306983948,
-0.3400712013244629,
0.039955154061317444,
-0.038576651364564896,
-0.025716446340084076,
0.07986905425786972,
-0.4078217148780823,
0.284995973110199,
-0.4029254913330078,
-0.0373363271355629,
-0.16999471187591553,
0.29682856798171997,
0.16852745413780212,
0.05889536440372467,
-0.12851525843143463,
-0.3401428759098053,
0.18208062648773193,
0.2763504087924957,
-0.2877906560897827,
0.4689750373363495,
-0.07553772628307343,
-0.18537019193172455,
0.3654628396034241,
0.2088976502418518,
0.8034307360649109,
0.027189727872610092,
0.23493127524852753,
-0.011618491262197495,
0.04585789889097214,
0.46612489223480225,
-0.2367781102657318,
0.2275671362876892,
-0.28608888387680054,
0.1305612474679947,
0.07329117506742477,
-0.029213925823569298,
0.02878444269299507,
0.040062300860881805,
-0.05830308422446251,
0.1439903825521469,
-0.014770328998565674,
0.5131465196609497,
0.12850141525268555,
0.10748174786567688,
0.07258161902427673,
-0.24479326605796814,
0.2936336100101471,
0.12620805203914642,
0.07275620847940445,
0.04572782292962074,
-0.08409370481967926,
0.23062409460544586,
0.08223003149032593,
-0.03590695187449455,
-0.1862286627292633,
-0.03352287411689758,
-0.393990159034729,
0.27373790740966797,
0.22712449729442596,
-0.2950958013534546,
-0.02574387937784195,
0.02670775167644024,
0.5884386301040649,
0.10135558992624283,
-0.23427394032478333,
0.22329819202423096,
0.144260972738266,
0.0719938725233078,
-0.27420535683631897,
-0.3743191361427307,
0.21556870639324188,
0.10810940712690353,
-0.14329558610916138,
-0.04818808287382126,
0.08505316078662872,
-0.2612949013710022,
-0.3427547812461853,
0.13956928253173828,
0.4353833794593811,
-0.1106988713145256,
0.260456383228302,
0.2896798253059387,
0.14512304961681366,
-0.25370100140571594,
0.1588972806930542,
0.14548492431640625,
-0.12936751544475555,
0.30317169427871704,
-0.2463357001543045,
-0.08484067767858505,
0.058991171419620514,
0.281532883644104,
0.17200398445129395,
-0.17277517914772034,
0.6069101095199585,
-0.26190221309661865,
-0.23835735023021698,
-0.13215091824531555,
-0.2054201364517212,
-0.11624964326620102,
-0.3540503680706024,
0.0157468281686306,
-0.13185642659664154,
0.04265506565570831,
0.15349987149238586,
0.0996246486902237,
-0.1064658910036087,
-0.24961766600608826,
-0.18790461122989655,
-0.11483273655176163,
-0.3096412718296051,
-0.28471100330352783,
-0.09619207680225372,
0.12512660026550293,
0.024197429418563843,
0.1288159340620041,
-0.3403048813343048,
0.4191713333129883,
-0.24917684495449066,
0.051623791456222534,
0.07596825063228607,
0.22837774455547333,
-0.46308737993240356,
-0.2166028618812561,
-0.06701978296041489,
0.06975379586219788,
0.03160662204027176,
0.2622750401496887,
-0.21376365423202515,
-0.20794790983200073,
-0.2433047890663147,
0.15678240358829498,
0.1622736155986786,
-0.15962925553321838,
-0.0674365982413292,
0.18095795810222626,
0.043709635734558105,
-0.5014886856079102,
0.2865051329135895,
-0.03850957751274109,
0.027574803680181503,
0.06332387030124664,
0.442139208316803,
0.1440921127796173,
-0.1198008581995964,
-0.0980849415063858,
-0.08950175344944,
0.07171805948019028,
0.21590296924114227,
0.31776270270347595,
-0.015622428618371487,
0.0033359527587890625,
0.03819172456860542,
0.13440853357315063,
0.2347201257944107,
-0.12736225128173828,
0.08656318485736847,
-0.43535315990448,
-0.2204553633928299,
-0.08489418774843216,
-0.11616469919681549,
0.33330637216567993,
-0.02061787247657776,
-0.544858992099762,
0.40207162499427795,
0.17819851636886597,
-0.13124331831932068,
-0.18108977377414703,
-0.03766549378633499,
0.11869995296001434,
0.07954192161560059,
0.11691198498010635,
0.3223615884780884,
-0.14561724662780762,
0.18016394972801208,
-0.011046902276575565,
0.619149923324585,
-0.4282274842262268,
0.12821856141090393,
-0.2235373854637146,
0.09668430685997009,
0.061081890016794205,
0.458688884973526,
0.1109888106584549,
-0.011597953736782074,
0.2939618229866028,
0.12762823700904846,
0.36322399973869324,
0.2550630569458008,
0.09830784797668457,
-0.2908321022987366,
-0.4561406075954437,
-0.13203580677509308,
0.06887546181678772,
0.05359020456671715,
0.1279657781124115,
-0.1512075513601303,
0.020607545971870422,
0.3339911997318268,
-0.19704921543598175,
-0.2722477316856384,
0.18333350121974945,
-0.22319066524505615,
-0.5143384337425232,
-0.07242335379123688,
-0.07609517872333527,
-0.011115916073322296,
-0.027786945924162865,
0.04986460506916046,
0.12257542461156845,
0.032196857035160065,
-0.05066075921058655,
-0.21102117002010345,
-0.46299847960472107,
-0.012734480202198029,
0.14305782318115234,
0.42311763763427734,
-0.2343529909849167,
0.4164617657661438,
-0.07868622243404388,
-0.16631700098514557,
-0.3114568591117859,
0.16404488682746887,
0.33314111828804016,
0.19674894213676453,
-0.14255861937999725,
0.11041489988565445,
-0.3187570869922638,
0.06370369344949722,
-0.2376333773136139,
0.5345470905303955,
-0.029772385954856873,
-0.48507577180862427,
0.02052110806107521,
0.039035819470882416,
-0.08061757683753967,
-0.07498078048229218,
0.1224682629108429,
0.04533809423446655,
-0.07824103534221649,
0.3293202817440033,
0.05922878533601761,
-0.026890944689512253,
0.1452019065618515,
0.3439715802669525,
-0.07265812158584595,
0.22581680119037628,
0.4152854382991791,
0.07056458294391632,
0.15179672837257385,
-0.2784253656864166,
0.07227884232997894,
0.09699706733226776,
0.3582775890827179,
0.3095623254776001,
0.08238103240728378,
-0.30614981055259705,
-0.3453386425971985,
-0.32080671191215515,
0.33137500286102295,
-0.1644400656223297,
0.16013871133327484,
-0.03915439918637276,
0.3424904942512512,
-0.12606868147850037,
0.04877982288599014,
0.021834149956703186,
0.2219776213169098,
0.026292644441127777,
0.1585499346256256,
-0.5653843283653259,
0.1955222189426422,
-0.11010165512561798,
-0.09269645065069199,
0.07257449626922607,
-0.41284266114234924,
0.15981265902519226,
0.04431706666946411,
0.11349191516637802,
0.057997122406959534,
-0.04940085485577583,
0.298210471868515,
0.03530425205826759,
0.6568524241447449,
0.2602437138557434,
0.12003669142723083,
0.10385500639677048,
0.3032952845096588,
-0.4996841549873352,
0.08571378886699677,
-0.19295267760753632,
-0.13875404000282288,
0.00849858857691288,
0.09746674448251724,
-0.2512454688549042,
-0.1108526736497879,
-0.12089898437261581,
-0.1184234544634819,
0.32864105701446533,
-0.10590910911560059,
-0.06046323478221893,
0.007509680464863777,
-0.07686929404735565,
0.23946918547153473,
-0.04394681751728058,
0.36053037643432617,
-0.09591096639633179,
0.453972190618515,
-0.37319302558898926,
-0.3765528202056885,
0.4715815782546997,
-0.4795800745487213,
-0.37619930505752563,
-0.30476459860801697,
0.24584798514842987,
0.233477383852005,
-0.1289823204278946,
-0.3449690043926239,
0.0963163897395134,
0.4448212683200836,
-0.06466810405254364,
-0.39154088497161865,
0.2594527304172516,
0.2237144410610199,
0.16338281333446503,
-0.25533169507980347,
0.6432667970657349,
-0.07063854485750198,
0.04770304262638092,
-0.11887568235397339,
-0.1908414363861084
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Similar issue found on `BartTokenizer`. You can bypass the bug by loading a fresh new tokenizer everytime.
```
dataset = dataset.map(lambda x: tokenize_func(x, BartTokenizer.from_pretrained(xxx)),
num_proc=num_proc, desc='Tokenize')
``` | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 27 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Similar issue found on `BartTokenizer`. You can bypass the bug by loading a fresh new tokenizer everytime.
```
dataset = dataset.map(lambda x: tokenize_func(x, BartTokenizer.from_pretrained(xxx)),
num_proc=num_proc, desc='Tokenize')
``` | [
-0.1668781340122223,
0.3383185863494873,
0.06849202513694763,
0.13488155603408813,
0.16055886447429657,
0.025884851813316345,
0.24182690680027008,
0.23366466164588928,
-0.17249521613121033,
-0.10836011171340942,
0.09585649520158768,
0.43086203932762146,
0.13630253076553345,
-0.5648564100265503,
-0.07217419147491455,
0.012992016971111298,
0.1733490228652954,
0.27636489272117615,
0.24225233495235443,
0.00904790312051773,
0.1326947808265686,
0.141227126121521,
-0.4015098214149475,
0.0662887915968895,
-0.7129583954811096,
0.10815119743347168,
-0.11633147299289703,
-0.24297642707824707,
0.19260931015014648,
-0.6301170587539673,
0.23456813395023346,
0.23323076963424683,
0.23288212716579437,
0.30869996547698975,
-0.0001165918365586549,
-0.08763076364994049,
0.15118134021759033,
0.011426182463765144,
-0.22460807859897614,
0.06991849839687347,
0.3103148341178894,
-0.20983724296092987,
0.058361344039440155,
-0.049853626638650894,
-0.08790134638547897,
-0.4996626675128937,
-0.07054273039102554,
-0.42781856656074524,
0.5227867364883423,
0.013906708918511868,
0.13038769364356995,
0.26113393902778625,
-0.07141968607902527,
0.1956382691860199,
0.10119897872209549,
-0.2732311487197876,
-0.12604735791683197,
-0.3242645859718323,
0.04212689399719238,
-0.23140284419059753,
-0.17059949040412903,
0.3728562891483307,
-0.08268195390701294,
0.23209267854690552,
0.022349413484334946,
0.1847718358039856,
-0.18764257431030273,
-0.045132867991924286,
0.25514861941337585,
0.037477657198905945,
0.5043767094612122,
-0.31092479825019836,
-0.23668178915977478,
-0.4587896764278412,
-0.09963231533765793,
-0.33212873339653015,
0.20850402116775513,
-0.2475738823413849,
0.02612476795911789,
0.16521650552749634,
-0.16434994339942932,
0.0740860179066658,
0.0942704975605011,
-0.10442674160003662,
0.05477753281593323,
0.5699751973152161,
-0.008875775150954723,
0.14312249422073364,
-0.151911199092865,
-0.13802674412727356,
0.2958294749259949,
-0.27471065521240234,
-0.24738794565200806,
0.46533435583114624,
-0.4209701418876648,
0.028714589774608612,
0.0014474168419837952,
-0.05084773898124695,
0.02569081261754036,
0.49768441915512085,
0.014863223768770695,
0.24735823273658752,
0.16287150979042053,
-0.036288827657699585,
-0.03241419792175293,
0.4562546908855438,
0.15359972417354584,
0.21753084659576416,
0.09770019352436066,
-0.31728118658065796,
-0.3734690248966217,
-0.26728397607803345,
-0.20036648213863373,
0.06771592050790787,
0.6603527665138245,
-0.046820126473903656,
-0.2880396246910095,
-0.03988412022590637,
0.09633149951696396,
0.19434848427772522,
-0.27017417550086975,
-0.008639557287096977,
0.1858108937740326,
0.11020360887050629,
-0.09771516919136047,
0.3009355068206787,
-0.3166316747665405,
0.03160058334469795,
-0.11435575783252716,
-0.1696385145187378,
-0.30970194935798645,
-0.30251553654670715,
-0.14991313219070435,
0.4649735391139984,
0.2236371487379074,
0.116325244307518,
0.3526551127433777,
0.1501428484916687,
0.042613882571458817,
-0.30119267106056213,
0.4132610559463501,
-0.17132095992565155,
0.3268479108810425,
0.11147958785295486,
-0.18163615465164185,
0.4637564420700073,
0.21340905129909515,
-0.03237273171544075,
-0.11256344616413116,
0.11056965589523315,
-0.32460594177246094,
-0.13239343464374542,
0.2533378005027771,
0.0913982093334198,
-0.12431170791387558,
-0.06906675547361374,
-0.15571334958076477,
0.09870144724845886,
0.6840470433235168,
-0.011426281183958054,
0.020113632082939148,
-0.10437643527984619,
-0.17881356179714203,
-0.09213970601558685,
0.31696757674217224,
0.314132422208786,
0.07865005731582642,
-0.17305533587932587,
0.18337729573249817,
0.27025482058525085,
0.39175063371658325,
0.26628735661506653,
-0.32443803548812866,
0.3878178298473358,
-0.2245650440454483,
0.5075409412384033,
0.23680314421653748,
-0.2334773689508438,
-0.506890594959259,
-0.19700634479522705,
0.17359471321105957,
0.2182559370994568,
-0.13347312808036804,
-0.22232630848884583,
0.19088073074817657,
-0.1299167275428772,
-0.141238272190094,
0.224701389670372,
0.10187361389398575,
0.07663881778717041,
-0.3648720681667328,
-0.08174575120210648,
0.19650082290172577,
-0.16321025788784027,
0.15580810606479645,
-0.10065343230962753,
-0.42093151807785034,
-0.09716042131185532,
0.018766455352306366,
-0.09194354712963104,
0.17289617657661438,
0.021590154618024826,
0.035849571228027344,
0.11354947835206985,
0.257637619972229,
-0.043208882212638855,
0.06503001600503922,
0.27944663166999817,
0.06738624721765518,
-0.45769375562667847,
-0.05204394459724426,
-0.15216529369354248,
-0.05523395538330078,
0.0020793918520212173,
-0.3842566907405853,
-0.24079430103302002,
0.17355096340179443,
0.3623889088630676,
0.268558144569397,
0.06434288620948792,
-0.13125978410243988,
0.25606974959373474,
0.11945000290870667,
0.11835873872041702,
0.14842088520526886,
-0.0790759027004242,
0.08207239210605621,
-0.25990134477615356,
-0.29096174240112305,
0.020205307751893997,
0.32090964913368225,
0.044828079640865326,
-0.13858091831207275,
0.26952415704727173,
0.1759786754846573,
0.049680985510349274,
-0.04957253485918045,
0.0714406967163086,
-0.01665239967405796,
0.12046357989311218,
-0.1925451159477234,
-0.012487396597862244,
-0.05505538359284401,
-0.09610019624233246,
0.13213688135147095,
0.422871470451355,
0.24672599136829376,
0.1736966073513031,
-0.20841364562511444,
-0.02258945070207119,
0.1412060409784317,
-0.013772126287221909,
0.04772092401981354,
-0.19316092133522034,
-0.12618444859981537,
-0.021835308521986008,
0.3741348087787628,
-0.0451786071062088,
0.11976684629917145,
0.3485064208507538,
0.32313087582588196,
0.28810834884643555,
-0.06484387069940567,
-0.1560695767402649,
-0.4537757635116577,
-0.4676668047904968,
0.056952618062496185,
-0.05698917433619499,
0.10127096623182297,
0.06690660119056702,
0.33293184638023376,
-0.16166861355304718,
-0.01619233563542366,
-0.16460531949996948,
0.08616703748703003,
0.08510291576385498,
-0.019475247710943222,
0.21336308121681213,
0.12220212817192078,
0.14759522676467896,
-0.24218344688415527,
0.11446972191333771,
0.20858420431613922,
0.1788337677717209,
0.03310530260205269,
0.19355110824108124,
-0.3880775272846222,
0.3379884660243988,
0.1384958177804947,
-0.2048751413822174,
0.13182196021080017,
-0.22555945813655853,
-0.005402166396379471,
0.2194111943244934,
0.12990708649158478,
0.45749425888061523,
-0.18553046882152557,
0.2863512635231018,
0.04639093577861786,
-0.004838345572352409,
-0.4427931606769562,
-0.23731066286563873,
-0.42184334993362427,
-0.0758603885769844,
0.1278948187828064,
-0.40680941939353943,
0.10485214740037918,
0.009202588349580765,
0.15704487264156342,
-0.37605229020118713,
-0.3324466645717621,
0.17042937874794006,
0.17095713317394257,
0.09460709244012833,
-0.3052172362804413,
-0.21305270493030548,
-0.27519509196281433,
-0.11301514506340027,
0.08044552057981491,
-0.30923715233802795,
-0.1522112488746643,
0.0842079371213913,
-0.08198888599872589,
-0.07368764281272888,
0.06147380545735359,
0.03070419281721115,
0.03769812732934952,
0.1952885240316391,
-0.2161385864019394,
-0.04867847263813019,
-0.05882173031568527,
0.008747844025492668,
-0.24558520317077637,
-0.10235704481601715,
-0.46364980936050415,
0.0012078545987606049,
-0.4510524868965149,
-0.3482780456542969,
0.4656161963939667,
-0.2087385356426239,
-0.13243788480758667,
-0.10278799384832382,
-0.15118281543254852,
0.39471858739852905,
0.2263396978378296,
-0.30108925700187683,
0.050943244248628616,
-0.1558559387922287,
0.22193247079849243,
-0.12539060413837433,
-0.03452534228563309,
0.36626917123794556,
0.039180561900138855,
-0.027506856247782707,
-0.1761206090450287,
0.0011357255280017853,
0.07566952705383301,
-0.34892165660858154,
0.12179328501224518,
-0.19684231281280518,
0.04367255046963692,
0.20512141287326813,
0.8701752424240112,
0.3045676648616791,
-0.1189112514257431,
0.2832299470901489,
-0.000007890164852142334,
0.06703142821788788,
-0.28598615527153015,
-0.10947887599468231,
-0.09114129841327667,
-0.13346704840660095,
0.1623750776052475,
0.29951316118240356,
0.029662184417247772,
-0.3189046382904053,
0.09325908124446869,
0.22501018643379211,
-0.13118627667427063,
-0.337237685918808,
-0.0482320562005043,
-0.4014328420162201,
0.42600128054618835,
0.28235217928886414,
0.3140468895435333,
-0.585910439491272,
-0.08490247279405594,
0.05756445601582527,
-0.12753398716449738,
0.32474279403686523,
0.06844662129878998,
-0.5698391199111938,
0.23404569923877716,
-0.381643146276474,
0.06828759610652924,
-0.03440648689866066,
0.569445788860321,
0.23303060233592987,
-0.21263572573661804,
0.0030688047409057617,
-0.16430597007274628,
0.13566641509532928,
-0.03581295907497406,
-0.12928494811058044,
0.2283427119255066,
-0.04422326013445854,
-0.037325434386730194,
-0.3627198040485382,
0.11964723467826843,
0.22250549495220184,
0.15131649374961853,
0.3466045558452606,
-0.1732185035943985,
-0.2448476254940033,
-0.24751606583595276,
0.03607356548309326,
-0.1273805797100067,
-0.1329336315393448,
-0.1780807226896286,
0.12003197520971298,
-0.20276257395744324,
0.2642337679862976,
-0.09106170386075974,
0.23707763850688934,
-0.07558532804250717,
0.10317617654800415,
-0.535688042640686,
-0.08629833161830902,
-0.0378238707780838,
0.311659038066864,
0.49751681089401245,
-0.09102962911128998,
0.4282720983028412,
0.2477177083492279,
-0.20454776287078857,
-0.012426858767867088,
0.07189352810382843,
0.18946203589439392,
-0.28109508752822876,
0.12978863716125488,
-0.02066471427679062,
0.06881970912218094,
0.07321000099182129,
-0.4417092800140381,
0.2230018973350525,
-0.3829246163368225,
-0.03238832950592041,
-0.2303875982761383,
0.31428200006484985,
0.172235906124115,
0.04656866192817688,
-0.1518716812133789,
-0.32284224033355713,
0.1943209320306778,
0.27540454268455505,
-0.2833198308944702,
0.3960486948490143,
-0.07217182219028473,
-0.15030288696289062,
0.3308793902397156,
0.2104150652885437,
0.7231219410896301,
0.004495970904827118,
0.22405795753002167,
-0.055776432156562805,
0.04192935675382614,
0.421705424785614,
-0.20352822542190552,
0.243773952126503,
-0.3222310543060303,
0.1571207046508789,
0.05633380264043808,
-0.11005808413028717,
0.05564117059111595,
0.09215645492076874,
0.011593017727136612,
0.11702349781990051,
-0.009744174778461456,
0.5041841864585876,
0.10006668418645859,
0.11630897223949432,
0.07504890859127045,
-0.24617356061935425,
0.3108876645565033,
0.12464554607868195,
0.057284802198410034,
0.07305470108985901,
-0.0686909481883049,
0.1657956838607788,
0.14119058847427368,
-0.07891291379928589,
-0.19144290685653687,
-0.020533330738544464,
-0.4312393069267273,
0.17863063514232635,
0.15781855583190918,
-0.2740061283111572,
-0.09415094554424286,
0.053105272352695465,
0.5291531085968018,
0.10429561138153076,
-0.20836228132247925,
0.2852250039577484,
-0.011687785387039185,
0.0939975380897522,
-0.26369577646255493,
-0.3338179588317871,
0.19832822680473328,
0.07359719276428223,
-0.0883704423904419,
-0.10675995796918869,
0.02203676849603653,
-0.3229248523712158,
-0.2766704559326172,
0.07966409623622894,
0.4426878094673157,
-0.1384589672088623,
0.2621068060398102,
0.2874487638473511,
0.18717065453529358,
-0.22492100298404694,
0.15062139928340912,
0.16364356875419617,
-0.18690165877342224,
0.22457119822502136,
-0.30590200424194336,
-0.05638115853071213,
0.014047629199922085,
0.2714400291442871,
0.15117906033992767,
-0.21593210101127625,
0.6343517303466797,
-0.2873290181159973,
-0.15542712807655334,
-0.08794271945953369,
-0.19935625791549683,
0.200648695230484,
-0.35636258125305176,
-0.04184255748987198,
-0.21993501484394073,
0.05708090960979462,
0.19858093559741974,
0.017534289509058,
-0.14044566452503204,
-0.246299147605896,
-0.13879412412643433,
-0.10645867884159088,
-0.33681249618530273,
-0.25328540802001953,
-0.058397773653268814,
0.13598890602588654,
0.06596183776855469,
0.10117611289024353,
-0.29086655378341675,
0.3835125267505646,
-0.2245531976222992,
0.10966107249259949,
0.17796528339385986,
0.2502850294113159,
-0.5413334369659424,
-0.2628452777862549,
-0.04564885422587395,
0.055689286440610886,
0.024731935933232307,
0.27732348442077637,
-0.21016475558280945,
-0.1993587613105774,
-0.28658515214920044,
0.14615237712860107,
0.15061965584754944,
-0.1876496523618698,
-0.047896891832351685,
0.21706058084964752,
0.04420473426580429,
-0.5167398452758789,
0.29185575246810913,
-0.05806247144937515,
0.02246841788291931,
0.020874764770269394,
0.48869121074676514,
0.14156320691108704,
-0.15263867378234863,
-0.20618677139282227,
-0.053687259554862976,
0.06463871896266937,
0.2458236962556839,
0.2941727340221405,
-0.001235210569575429,
0.0029585063457489014,
0.0012204803060740232,
0.06865569949150085,
0.23450449109077454,
-0.04577166587114334,
0.13383811712265015,
-0.44623470306396484,
-0.22202764451503754,
0.03612574562430382,
-0.10688218474388123,
0.3542453646659851,
-0.031147798523306847,
-0.4204164147377014,
0.4303809106349945,
0.16937829554080963,
-0.07152318954467773,
-0.22842970490455627,
0.04712599143385887,
0.12316758930683136,
0.017154540866613388,
0.06878964602947235,
0.43880757689476013,
-0.08893626183271408,
0.20882917940616608,
-0.011455387808382511,
0.6817671656608582,
-0.39165985584259033,
0.17027029395103455,
-0.12741458415985107,
0.0652916431427002,
0.05990844964981079,
0.44703349471092224,
0.24141789972782135,
-0.014891661703586578,
0.25079041719436646,
0.030087821185588837,
0.3507782816886902,
0.27404096722602844,
0.07258463650941849,
-0.26868847012519836,
-0.4480224549770355,
-0.21846814453601837,
0.10078387707471848,
0.07193595170974731,
0.20115262269973755,
-0.25747421383857727,
0.0695774257183075,
0.2632952034473419,
-0.25261935591697693,
-0.2028139978647232,
0.27257341146469116,
-0.29408013820648193,
-0.5133525729179382,
-0.03061150200664997,
-0.08536634594202042,
-0.035723213106393814,
0.015615325421094894,
0.04834919795393944,
0.11053869128227234,
-0.02899930626153946,
-0.08575962483882904,
-0.22563953697681427,
-0.392953485250473,
-0.13865506649017334,
0.21370437741279602,
0.41344887018203735,
-0.25108587741851807,
0.42758098244667053,
-0.15258263051509857,
-0.22670796513557434,
-0.24667680263519287,
0.22026973962783813,
0.31276026368141174,
0.21499180793762207,
-0.13156865537166595,
0.07463505119085312,
-0.27147266268730164,
0.07536327838897705,
-0.24352672696113586,
0.531930148601532,
0.0694388747215271,
-0.37644535303115845,
-0.0723453015089035,
0.020857403054833412,
-0.05008085444569588,
-0.03951836749911308,
0.02400633692741394,
0.1323148012161255,
-0.14084629714488983,
0.19421297311782837,
0.058225732296705246,
-0.004795584827661514,
0.11533711850643158,
0.335920512676239,
-0.05712542310357094,
0.2670162320137024,
0.4481196701526642,
0.14411978423595428,
0.1586947739124298,
-0.2885785698890686,
0.06675179302692413,
0.09893862903118134,
0.3233740031719208,
0.2639901340007782,
-0.07430111616849899,
-0.3080575168132782,
-0.3462764620780945,
-0.3129344880580902,
0.2965642213821411,
-0.1822236180305481,
0.3006429374217987,
-0.014863833785057068,
0.27934789657592773,
-0.14224353432655334,
0.032354649156332016,
0.04207071661949158,
0.06458688527345657,
0.006013975478708744,
0.10812373459339142,
-0.47005417943000793,
0.19920504093170166,
-0.02455996721982956,
-0.009542407467961311,
0.0864797979593277,
-0.26673489809036255,
0.2378564476966858,
0.03744560852646828,
0.10178621858358383,
0.07358729094266891,
-0.10819151997566223,
0.26247647404670715,
-0.03534366190433502,
0.6816827058792114,
0.3203890919685364,
0.06382597237825394,
0.12901180982589722,
0.27797234058380127,
-0.5529506206512451,
0.09602430462837219,
-0.1641537845134735,
-0.208928644657135,
-0.041493970900774,
0.16073013842105865,
-0.2642373740673065,
-0.03744955733418465,
-0.1918976753950119,
-0.27931299805641174,
0.3087660074234009,
-0.10681309551000595,
-0.0947294756770134,
-0.11474888771772385,
0.001691676676273346,
0.28985193371772766,
-0.014662525616586208,
0.42855900526046753,
-0.061039410531520844,
0.43399688601493835,
-0.4322173595428467,
-0.2647210955619812,
0.41133958101272583,
-0.5954781770706177,
-0.37217316031455994,
-0.33455345034599304,
0.1460413634777069,
0.3100224733352661,
-0.12366987019777298,
-0.372970312833786,
0.10962044447660446,
0.4463720917701721,
-0.07128076255321503,
-0.3666570484638214,
0.17900694906711578,
0.24104857444763184,
0.19582441449165344,
-0.1938866376876831,
0.6074092388153076,
0.039654284715652466,
-0.0022548697888851166,
-0.11205996572971344,
-0.15064017474651337
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I got the same problem while using Wav2Vec2CTCTokenizer in a distributed experiment (many processes), and found that the problem was localized in the serialization (pickle dump) of the field `tokenizer.tokens_trie._tokens` (just a python set). I focussed into the set serialization and found it is not deterministic:
```
from datasets.fingerprint import Hasher
from pickle import dumps,loads
# used just once to get a serialized literal
#print(dumps(set("abc")))
serialized = b'\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00\x8f\x94(\x8c\x01a\x94\x8c\x01c\x94\x8c\x01b\x94\x90.'
myset = loads(serialized)
print(f'{myset=} {Hasher.hash(myset)}')
print(serialized == dumps(myset))
```
Every time you run the python script (different processes) you get a random result. @lhoestq does it make any sense? | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 97 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I got the same problem while using Wav2Vec2CTCTokenizer in a distributed experiment (many processes), and found that the problem was localized in the serialization (pickle dump) of the field `tokenizer.tokens_trie._tokens` (just a python set). I focussed into the set serialization and found it is not deterministic:
```
from datasets.fingerprint import Hasher
from pickle import dumps,loads
# used just once to get a serialized literal
#print(dumps(set("abc")))
serialized = b'\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00\x8f\x94(\x8c\x01a\x94\x8c\x01c\x94\x8c\x01b\x94\x90.'
myset = loads(serialized)
print(f'{myset=} {Hasher.hash(myset)}')
print(serialized == dumps(myset))
```
Every time you run the python script (different processes) you get a random result. @lhoestq does it make any sense? | [
-0.1142747700214386,
0.3124811351299286,
0.09323938190937042,
0.12759807705879211,
0.13084101676940918,
-0.0025872960686683655,
0.20931139588356018,
0.2543277442455292,
-0.22315868735313416,
-0.14100150763988495,
0.14856231212615967,
0.48311734199523926,
0.12295309454202652,
-0.5814904570579529,
-0.10884536057710648,
0.07570457458496094,
0.16460685431957245,
0.25903648138046265,
0.2649557590484619,
0.06044807285070419,
0.12031476199626923,
0.17610739171504974,
-0.41776031255722046,
0.0780239850282669,
-0.7257154583930969,
0.12804675102233887,
-0.09198896586894989,
-0.168430358171463,
0.20906126499176025,
-0.6621226668357849,
0.2378123253583908,
0.18830081820487976,
0.22394028306007385,
0.22682124376296997,
-0.00011888929293490946,
-0.0902160182595253,
0.17792284488677979,
0.0008586067706346512,
-0.20814387500286102,
0.13904374837875366,
0.2539597749710083,
-0.23028716444969177,
0.040094345808029175,
-0.010721862316131592,
-0.031019236892461777,
-0.41761311888694763,
-0.040703341364860535,
-0.425365149974823,
0.5578967332839966,
0.016961365938186646,
0.11264333128929138,
0.28127580881118774,
-0.061158183962106705,
0.18325401842594147,
0.03333289176225662,
-0.2533251643180847,
-0.14047077298164368,
-0.28940364718437195,
0.03903516009449959,
-0.2122354805469513,
-0.18868213891983032,
0.39516961574554443,
-0.09785941988229752,
0.1924024373292923,
-0.028336718678474426,
0.1715679168701172,
-0.2509728670120239,
-0.03891944885253906,
0.27183136343955994,
0.03315119445323944,
0.48076656460762024,
-0.3128472864627838,
-0.23037201166152954,
-0.4646506607532501,
-0.11388988047838211,
-0.34973496198654175,
0.21195563673973083,
-0.26976367831230164,
0.07484138011932373,
0.19569909572601318,
-0.10091757774353027,
0.05040154606103897,
0.08623921871185303,
-0.1387033313512802,
0.04130897670984268,
0.46207812428474426,
-0.028372835367918015,
0.13667899370193481,
-0.17510582506656647,
-0.12345723807811737,
0.2842878997325897,
-0.23611724376678467,
-0.28165203332901,
0.4693097174167633,
-0.5024953484535217,
0.0162142813205719,
0.026605114340782166,
-0.07381603866815567,
0.001150336116552353,
0.5024872422218323,
0.08928648382425308,
0.25178539752960205,
0.07371878623962402,
-0.004771441221237183,
-0.03758035972714424,
0.4086689352989197,
0.1621287763118744,
0.20659951865673065,
0.13143007457256317,
-0.3306373357772827,
-0.3764815926551819,
-0.24064332246780396,
-0.22089263796806335,
0.044351574033498764,
0.6170726418495178,
-0.02920495718717575,
-0.23846229910850525,
-0.06771618872880936,
0.026514282450079918,
0.2753899097442627,
-0.29546815156936646,
0.016727887094020844,
0.19684343039989471,
0.10732263326644897,
-0.03085166960954666,
0.34406089782714844,
-0.2860422134399414,
0.06578300893306732,
-0.1339060515165329,
-0.2300480306148529,
-0.2756519317626953,
-0.32276737689971924,
-0.1004786491394043,
0.5168646574020386,
0.23225180804729462,
0.11205306649208069,
0.3750046491622925,
0.12884260714054108,
0.042306773364543915,
-0.3111023008823395,
0.4322874844074249,
-0.1853020340204239,
0.32010418176651,
0.10966424643993378,
-0.20553183555603027,
0.4884684979915619,
0.24576541781425476,
0.04716421663761139,
-0.0933845043182373,
0.09448394179344177,
-0.33849650621414185,
-0.12837642431259155,
0.27198052406311035,
0.05907869338989258,
-0.11353221535682678,
-0.024786941707134247,
-0.07671452313661575,
0.06611287593841553,
0.7017661333084106,
-0.0592028945684433,
-0.011172950267791748,
-0.11592039465904236,
-0.24517305195331573,
-0.10216952115297318,
0.318708598613739,
0.3344392776489258,
0.029021751135587692,
-0.14562565088272095,
0.15652966499328613,
0.3349043130874634,
0.37795162200927734,
0.29957109689712524,
-0.2485034167766571,
0.38533303141593933,
-0.2443983554840088,
0.5263037085533142,
0.15470223128795624,
-0.275499552488327,
-0.4639776647090912,
-0.1879250407218933,
0.16666892170906067,
0.25062838196754456,
-0.1256045699119568,
-0.2348867952823639,
0.181693896651268,
-0.16863621771335602,
-0.11730241775512695,
0.16635949909687042,
0.1254677176475525,
0.043269604444503784,
-0.3717464804649353,
-0.11025750637054443,
0.185165137052536,
-0.19008590281009674,
0.14729633927345276,
-0.07555609196424484,
-0.39614176750183105,
-0.1573052853345871,
0.0006575658917427063,
-0.06220404431223869,
0.21022433042526245,
0.037612058222293854,
0.10111096501350403,
0.056723739951848984,
0.27505770325660706,
-0.02551577240228653,
0.05366169288754463,
0.2993616759777069,
0.04253169894218445,
-0.4865913987159729,
-0.015053048729896545,
-0.11362624168395996,
-0.020758574828505516,
0.03386658430099487,
-0.3807867765426636,
-0.23235884308815002,
0.15562225878238678,
0.37396240234375,
0.2638133764266968,
0.08843451738357544,
-0.09889359027147293,
0.2461995780467987,
0.1106136292219162,
0.09212419390678406,
0.08432190120220184,
-0.12875476479530334,
0.07911417633295059,
-0.25397202372550964,
-0.2953420877456665,
0.07544518262147903,
0.33332714438438416,
0.05910518020391464,
-0.11593250185251236,
0.2504059672355652,
0.22005893290042877,
0.04270974174141884,
-0.016491569578647614,
0.10018542408943176,
-0.04137968271970749,
0.08733059465885162,
-0.17228347063064575,
-0.00322546623647213,
-0.016262060031294823,
-0.1231607049703598,
0.15683570504188538,
0.42919665575027466,
0.2566838562488556,
0.1974136233329773,
-0.21470560133457184,
-0.00853017158806324,
0.18448293209075928,
0.014460686594247818,
0.03329050540924072,
-0.1558307707309723,
-0.11909903585910797,
0.0023577380925416946,
0.3783215880393982,
-0.03347400575876236,
0.0810076892375946,
0.36798354983329773,
0.291081964969635,
0.31584420800209045,
-0.10002609342336655,
-0.08378740400075912,
-0.43561047315597534,
-0.4736790060997009,
0.03522142022848129,
-0.09983737766742706,
0.13044732809066772,
0.021546952426433563,
0.34283196926116943,
-0.19903632998466492,
-0.012911519967019558,
-0.16778181493282318,
0.1129998043179512,
0.06032012403011322,
-0.0449986569583416,
0.288286954164505,
0.13961045444011688,
0.1341131031513214,
-0.21731480956077576,
0.15544207394123077,
0.2182368040084839,
0.15193293988704681,
-0.0203261598944664,
0.18949978053569794,
-0.416795015335083,
0.40770548582077026,
0.11339367926120758,
-0.1653299182653427,
0.13510608673095703,
-0.23042067885398865,
-0.01226438581943512,
0.2520917057991028,
0.09742599725723267,
0.4424814283847809,
-0.23086866736412048,
0.32984697818756104,
0.08978446573019028,
0.07179746776819229,
-0.41006702184677124,
-0.22669492661952972,
-0.39243704080581665,
-0.09771990776062012,
0.12539489567279816,
-0.4507400393486023,
0.07078929990530014,
0.0852692648768425,
0.10492632538080215,
-0.3682463467121124,
-0.30240780115127563,
0.16485589742660522,
0.19203659892082214,
0.10417590290307999,
-0.3101714551448822,
-0.19979648292064667,
-0.22661468386650085,
-0.10832247883081436,
0.07883108407258987,
-0.22849592566490173,
-0.14371921122074127,
0.09918662160634995,
-0.09129659831523895,
-0.09572530537843704,
0.07790392637252808,
0.05875634402036667,
0.03470500558614731,
0.17341893911361694,
-0.20680861175060272,
-0.06355597078800201,
-0.0552593395113945,
0.051819756627082825,
-0.25871196389198303,
-0.1263248771429062,
-0.4532953202724457,
-0.014496153220534325,
-0.48466646671295166,
-0.34216153621673584,
0.4762916564941406,
-0.2146463841199875,
-0.12486378848552704,
-0.11064418405294418,
-0.15658149123191833,
0.42307451367378235,
0.20484031736850739,
-0.29553914070129395,
0.06672501564025879,
-0.13755406439304352,
0.21490225195884705,
-0.1283038854598999,
-0.07235334813594818,
0.3420473635196686,
0.043608952313661575,
-0.00019802898168563843,
-0.21630540490150452,
0.02423069253563881,
0.12844762206077576,
-0.27255457639694214,
0.09567279368638992,
-0.13076329231262207,
0.034826356917619705,
0.2061433047056198,
0.9060460925102234,
0.34718507528305054,
-0.1081322729587555,
0.3189789950847626,
0.029972096905112267,
0.05389576032757759,
-0.2905798554420471,
-0.10774103552103043,
-0.08061826974153519,
-0.17301583290100098,
0.1412978321313858,
0.3274594247341156,
0.027006229385733604,
-0.2727717161178589,
0.11873887479305267,
0.2917216122150421,
-0.16159480810165405,
-0.3419341742992401,
-0.017604520544409752,
-0.42048677802085876,
0.45693516731262207,
0.2885623574256897,
0.32543399930000305,
-0.5235427618026733,
-0.0618654265999794,
0.057422805577516556,
-0.19139425456523895,
0.380501389503479,
0.03756316378712654,
-0.5229429006576538,
0.18687666952610016,
-0.4300376772880554,
0.053190913051366806,
-0.05776795372366905,
0.6667110919952393,
0.18052101135253906,
-0.24522796273231506,
0.044724781066179276,
-0.15223915874958038,
0.19488808512687683,
-0.003866352140903473,
-0.0736071765422821,
0.23922884464263916,
-0.022384481504559517,
0.05796121805906296,
-0.39233633875846863,
0.17017057538032532,
0.24500177800655365,
0.13023558259010315,
0.2611977458000183,
-0.1663334220647812,
-0.20997105538845062,
-0.2785596549510956,
0.019233422353863716,
-0.1535578966140747,
-0.0783282220363617,
-0.17840693891048431,
0.174046128988266,
-0.18000292778015137,
0.20448195934295654,
-0.10421690344810486,
0.22589899599552155,
-0.1481863558292389,
0.13380923867225647,
-0.5068749189376831,
-0.08293402194976807,
-0.06415903568267822,
0.30170148611068726,
0.49332013726234436,
-0.11679866164922714,
0.501529335975647,
0.31720665097236633,
-0.20901519060134888,
-0.06835098564624786,
0.07511957734823227,
0.24594563245773315,
-0.2940537631511688,
0.14639389514923096,
-0.0406452976167202,
0.05786344036459923,
0.11988621950149536,
-0.4403145909309387,
0.2838385999202728,
-0.39386019110679626,
-0.0625372976064682,
-0.3248555362224579,
0.26154661178588867,
0.20566727221012115,
0.025671739131212234,
-0.10972154140472412,
-0.3013842701911926,
0.21817603707313538,
0.24516670405864716,
-0.2935606837272644,
0.4081308841705322,
-0.08625094592571259,
-0.1531348079442978,
0.3432962894439697,
0.17833678424358368,
0.7168886661529541,
0.02482903003692627,
0.20801404118537903,
-0.020516078919172287,
0.07268825173377991,
0.4097387194633484,
-0.21726764738559723,
0.24179357290267944,
-0.3563025891780853,
0.1683739721775055,
0.06395965069532394,
-0.09258398413658142,
0.04978209733963013,
0.06008201837539673,
0.005881480872631073,
0.11490009725093842,
0.034888409078121185,
0.4618622958660126,
0.1132558211684227,
0.050365544855594635,
0.1169830709695816,
-0.24232086539268494,
0.3932415843009949,
0.11174815893173218,
0.027776774019002914,
0.04537653177976608,
-0.06851932406425476,
0.17961160838603973,
0.09512856602668762,
-0.10787852108478546,
-0.2355341613292694,
-0.015186203643679619,
-0.408557653427124,
0.2258644700050354,
0.18559470772743225,
-0.24433596432209015,
-0.04684660583734512,
0.01802217587828636,
0.4775421619415283,
0.06749603152275085,
-0.2349611520767212,
0.3017228841781616,
0.020411495119333267,
0.12706497311592102,
-0.25927096605300903,
-0.3207990229129791,
0.14331495761871338,
0.12575745582580566,
-0.04028419405221939,
-0.09811655431985855,
0.02794923633337021,
-0.2790182828903198,
-0.25906574726104736,
0.13563337922096252,
0.3849979043006897,
-0.11991429328918457,
0.14437833428382874,
0.28581827878952026,
0.18335549533367157,
-0.21892625093460083,
0.13466256856918335,
0.23929369449615479,
-0.21407873928546906,
0.2514325678348541,
-0.34162601828575134,
-0.026609834283590317,
0.07711689174175262,
0.2573085129261017,
0.06540001928806305,
-0.18111012876033783,
0.6448172330856323,
-0.27319690585136414,
-0.1461116075515747,
-0.0663076713681221,
-0.14580896496772766,
0.07074371725320816,
-0.3392018675804138,
-0.028368297964334488,
-0.14996905624866486,
0.012972816824913025,
0.1415400356054306,
-0.05312492325901985,
-0.17707479000091553,
-0.2829272150993347,
-0.15475201606750488,
-0.14377361536026,
-0.29521068930625916,
-0.25802862644195557,
-0.08521498739719391,
0.10653945803642273,
-0.008936990052461624,
0.054359305649995804,
-0.35979557037353516,
0.39452290534973145,
-0.19491401314735413,
0.1080825999379158,
0.14867977797985077,
0.28306490182876587,
-0.5276526212692261,
-0.2487664520740509,
-0.0686311423778534,
0.01783262938261032,
-0.006343372166156769,
0.2661854922771454,
-0.22481752932071686,
-0.1718369722366333,
-0.2988806366920471,
0.16363345086574554,
0.16309642791748047,
-0.2148108184337616,
-0.053624123334884644,
0.21302127838134766,
0.0564257837831974,
-0.5117232799530029,
0.2207559049129486,
-0.06656944751739502,
0.008981123566627502,
0.030491072684526443,
0.3695361912250519,
0.13571731746196747,
-0.09304621815681458,
-0.13776682317256927,
-0.04706259071826935,
0.07816863805055618,
0.26369690895080566,
0.3402705192565918,
-0.044533781707286835,
0.02749134600162506,
0.021381046622991562,
0.09905858337879181,
0.18021252751350403,
-0.12301484495401382,
0.1645500510931015,
-0.4330378770828247,
-0.20919018983840942,
0.0007328684441745281,
-0.11090680211782455,
0.3488677740097046,
-0.05083838477730751,
-0.40910452604293823,
0.43593600392341614,
0.14687490463256836,
-0.06322389841079712,
-0.20650409162044525,
0.07983360439538956,
0.08529672771692276,
-0.02794952318072319,
0.002714678645133972,
0.4448520839214325,
-0.1626577377319336,
0.1538013219833374,
-0.004417236894369125,
0.7085219025611877,
-0.41853779554367065,
0.16825450956821442,
-0.1543046236038208,
0.13672810792922974,
0.09858757257461548,
0.38198626041412354,
0.20356576144695282,
0.01059480756521225,
0.3270336389541626,
0.034757766872644424,
0.3089306652545929,
0.2551875710487366,
0.07803092896938324,
-0.27940356731414795,
-0.5181844234466553,
-0.2571132183074951,
0.13273483514785767,
-0.010120987892150879,
0.24075186252593994,
-0.24987918138504028,
0.07098737359046936,
0.22506070137023926,
-0.2567858397960663,
-0.21079228818416595,
0.2682393491268158,
-0.30114468932151794,
-0.5539916157722473,
-0.05923442915081978,
-0.07315006107091904,
-0.045790672302246094,
0.03912206366658211,
0.07603774964809418,
0.13864344358444214,
0.004252977669239044,
-0.052212297916412354,
-0.25182855129241943,
-0.39090457558631897,
-0.12657016515731812,
0.18061265349388123,
0.4121980369091034,
-0.29001903533935547,
0.39655801653862,
-0.13080060482025146,
-0.25196871161460876,
-0.21073850989341736,
0.19632919132709503,
0.36036980152130127,
0.22683246433734894,
-0.20012888312339783,
0.10957115143537521,
-0.30561506748199463,
0.07655167579650879,
-0.25182998180389404,
0.5478180050849915,
0.004054851830005646,
-0.42505478858947754,
-0.0726744532585144,
-0.01793445646762848,
-0.01960880495607853,
-0.11119531095027924,
0.12041064351797104,
0.12730279564857483,
-0.12832273542881012,
0.18375158309936523,
0.0017691142857074738,
-0.010999534279108047,
0.16338394582271576,
0.33946654200553894,
-0.060025107115507126,
0.32427048683166504,
0.4282362759113312,
0.14513403177261353,
0.19046342372894287,
-0.22767524421215057,
0.051141783595085144,
0.0835457295179367,
0.31506532430648804,
0.2544294595718384,
-0.07737245410680771,
-0.31439492106437683,
-0.3194698095321655,
-0.3393884003162384,
0.28753626346588135,
-0.17281441390514374,
0.3053103983402252,
-0.01589098945260048,
0.2888680398464203,
-0.11921455711126328,
-0.024438880383968353,
-0.03819076716899872,
0.049839410930871964,
0.08850927650928497,
0.1755586862564087,
-0.4533925950527191,
0.18048107624053955,
-0.006170131266117096,
-0.039815254509449005,
0.02241743728518486,
-0.30083250999450684,
0.2270432412624359,
0.06142173334956169,
0.058595165610313416,
0.0794932171702385,
-0.12264251708984375,
0.19441546499729156,
0.0005690157413482666,
0.6239970326423645,
0.35301217436790466,
0.08516111224889755,
0.09399683028459549,
0.27215680480003357,
-0.5592353343963623,
0.10251502692699432,
-0.11422251164913177,
-0.24812236428260803,
-0.041542474180459976,
0.17172832787036896,
-0.2994183897972107,
-0.03875895217061043,
-0.18632926046848297,
-0.21582753956317902,
0.2643151879310608,
-0.08837450295686722,
-0.15819360315799713,
-0.08641202747821808,
-0.06991182267665863,
0.33287400007247925,
-0.045995425432920456,
0.38019123673439026,
-0.08882732689380646,
0.46763303875923157,
-0.43720507621765137,
-0.26561060547828674,
0.408699631690979,
-0.6019744277000427,
-0.3559529185295105,
-0.315000981092453,
0.17805585265159607,
0.2611016035079956,
-0.09077850729227066,
-0.3571307361125946,
0.0836583599448204,
0.4274459779262543,
-0.0804051011800766,
-0.3611656725406647,
0.1541355401277542,
0.2615078091621399,
0.11448223888874054,
-0.19453439116477966,
0.6700658798217773,
0.07378953695297241,
0.016950787976384163,
-0.05340811237692833,
-0.17925159633159637
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | OK, I assume python's set is just a hash table implementation that uses internally the hash() function. The problem is that python's hash() is not deterministic. I believe that setting the environment variable PYTHONHASHSEED to a fixed value, you can force it to be deterministic. I tried it (file `set_pickle_dump.py`):
```
#!/usr/bin/python3
from datasets.fingerprint import Hasher
from pickle import dumps,loads
# used just once to get a serialized literal (with environment variable PYTHONHASHSEED set to 42)
#print(dumps(set("abc")))
serialized = b'\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00\x8f\x94(\x8c\x01b\x94\x8c\x01c\x94\x8c\x01a\x94\x90.'
myset = loads(serialized)
print(f'{myset=} {Hasher.hash(myset)}')
print(serialized == dumps(myset))
```
and now every run (`PYTHONHASHSEED=42 ./set_pickle_dump.py`) gets tthe same result. I tried then to test it with the tokenizer (file `test_tokenizer.py`):
```
#!/usr/bin/python3
from transformers import AutoTokenizer
from datasets.fingerprint import Hasher
tokenizer = AutoTokenizer.from_pretrained('model')
print(f'{type(tokenizer)=}')
print(f'{Hasher.hash(tokenizer)=}')
```
executed as `PYTHONHASHSEED=42 ./test_tokenizer.py` and now the tokenizer fingerprint is allways the same!
| ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 139 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
OK, I assume python's set is just a hash table implementation that uses internally the hash() function. The problem is that python's hash() is not deterministic. I believe that setting the environment variable PYTHONHASHSEED to a fixed value, you can force it to be deterministic. I tried it (file `set_pickle_dump.py`):
```
#!/usr/bin/python3
from datasets.fingerprint import Hasher
from pickle import dumps,loads
# used just once to get a serialized literal (with environment variable PYTHONHASHSEED set to 42)
#print(dumps(set("abc")))
serialized = b'\x80\x04\x95\x11\x00\x00\x00\x00\x00\x00\x00\x8f\x94(\x8c\x01b\x94\x8c\x01c\x94\x8c\x01a\x94\x90.'
myset = loads(serialized)
print(f'{myset=} {Hasher.hash(myset)}')
print(serialized == dumps(myset))
```
and now every run (`PYTHONHASHSEED=42 ./set_pickle_dump.py`) gets tthe same result. I tried then to test it with the tokenizer (file `test_tokenizer.py`):
```
#!/usr/bin/python3
from transformers import AutoTokenizer
from datasets.fingerprint import Hasher
tokenizer = AutoTokenizer.from_pretrained('model')
print(f'{type(tokenizer)=}')
print(f'{Hasher.hash(tokenizer)=}')
```
executed as `PYTHONHASHSEED=42 ./test_tokenizer.py` and now the tokenizer fingerprint is allways the same!
| [
-0.18044227361679077,
0.27948740124702454,
0.06247140094637871,
0.12339384853839874,
0.16611169278621674,
0.07879500836133957,
0.2757984399795532,
0.2529336214065552,
-0.17466869950294495,
-0.0734771192073822,
0.14858844876289368,
0.4318680167198181,
0.09926311671733856,
-0.507308304309845,
-0.018135663121938705,
0.08497914671897888,
0.15235884487628937,
0.23474329710006714,
0.24186789989471436,
0.020172789692878723,
0.06508387625217438,
0.05404697358608246,
-0.36292964220046997,
0.012365393340587616,
-0.7100871205329895,
0.07061270624399185,
-0.10578516125679016,
-0.16969415545463562,
0.18613746762275696,
-0.6379188299179077,
0.21489183604717255,
0.28410351276397705,
0.2032368928194046,
0.29038286209106445,
-0.00011883198021678254,
-0.07441703975200653,
0.14637687802314758,
-0.026454538106918335,
-0.10076877474784851,
0.043458014726638794,
0.1726653277873993,
-0.23350659012794495,
0.0005052941851317883,
-0.11913840472698212,
-0.10005231946706772,
-0.44600725173950195,
-0.04626502841711044,
-0.4415920078754425,
0.4904564619064331,
0.015865124762058258,
0.11821158230304718,
0.2823322117328644,
-0.1322709023952484,
0.22045981884002686,
0.13400620222091675,
-0.29017525911331177,
-0.16233029961585999,
-0.19915612041950226,
-0.11723725497722626,
-0.2389642745256424,
-0.2137492597103119,
0.3436659574508667,
-0.11978785693645477,
0.22874715924263,
0.16360828280448914,
0.22568482160568237,
-0.15328094363212585,
-0.029217585921287537,
0.24069786071777344,
0.047152820974588394,
0.39795351028442383,
-0.37183037400245667,
-0.25548890233039856,
-0.437773197889328,
-0.18141110241413116,
-0.3402051627635956,
0.2503049969673157,
-0.16660302877426147,
0.020696107298135757,
0.2193058431148529,
-0.2001510113477707,
0.09533609449863434,
0.08587907254695892,
-0.11216987669467926,
0.1286563277244568,
0.5015678405761719,
0.05884194374084473,
0.13041993975639343,
-0.14401137828826904,
-0.05356932431459427,
0.302800714969635,
-0.23349156975746155,
-0.22734761238098145,
0.38100534677505493,
-0.34540098905563354,
0.04101582616567612,
0.10397711396217346,
0.06808044761419296,
0.043913334608078,
0.49460357427597046,
0.1135622039437294,
0.294882208108902,
0.12458504736423492,
-0.010799393057823181,
-0.042936135083436966,
0.3477783501148224,
0.1487392783164978,
0.23545728623867035,
0.14295610785484314,
-0.25825411081314087,
-0.3684162199497223,
-0.15055608749389648,
-0.09305524080991745,
-0.01036096177995205,
0.7589994072914124,
-0.018132969737052917,
-0.17950303852558136,
0.0224076546728611,
0.08559286594390869,
0.2819197177886963,
-0.36629608273506165,
-0.08239727467298508,
0.12310798466205597,
0.12496966123580933,
-0.18236738443374634,
0.20404589176177979,
-0.32810598611831665,
0.004417909309267998,
-0.1815488040447235,
-0.08275143057107925,
-0.31721732020378113,
-0.24125845730304718,
-0.19367553293704987,
0.43897056579589844,
0.17542478442192078,
0.04178431257605553,
0.3627775013446808,
0.19455775618553162,
0.02648688480257988,
-0.24121157824993134,
0.3793601095676422,
-0.1566259115934372,
0.4078672230243683,
0.12437494099140167,
-0.1774737536907196,
0.4479697346687317,
0.1974480152130127,
-0.0230407677590847,
-0.17618557810783386,
0.13593341410160065,
-0.2454630732536316,
-0.1223507672548294,
0.3702870309352875,
0.05784878507256508,
-0.16404232382774353,
-0.013313092291355133,
-0.05535397678613663,
0.058311477303504944,
0.7104744911193848,
0.020836401730775833,
0.02830493450164795,
-0.13107667863368988,
-0.22158995270729065,
-0.18363960087299347,
0.32101747393608093,
0.402767539024353,
-0.005083557218313217,
-0.15800435841083527,
0.27783769369125366,
0.2803402543067932,
0.29774484038352966,
0.28135132789611816,
-0.2622186839580536,
0.4293249845504761,
-0.2665846347808838,
0.39562684297561646,
0.15012583136558533,
-0.21677526831626892,
-0.5603501796722412,
-0.2433304339647293,
0.1624613255262375,
0.26113244891166687,
-0.10752355307340622,
-0.15587984025478363,
0.19483909010887146,
-0.1498931646347046,
0.012600965797901154,
0.22856412827968597,
0.08965761959552765,
0.05849464237689972,
-0.3981803059577942,
-0.09323729574680328,
0.18882131576538086,
-0.22112804651260376,
0.20427106320858002,
-0.06402372568845749,
-0.33561423420906067,
-0.12297935783863068,
0.03819746896624565,
-0.020491648465394974,
0.16495081782341003,
0.022615235298871994,
0.09320508688688278,
0.09310255944728851,
0.22946739196777344,
-0.0324089378118515,
0.05052953585982323,
0.2986546754837036,
0.026315275579690933,
-0.4491729140281677,
-0.15697218477725983,
-0.13202765583992004,
-0.06860173493623734,
0.0012192726135253906,
-0.412143349647522,
-0.17311015725135803,
0.14465050399303436,
0.32069504261016846,
0.26964932680130005,
0.12582124769687653,
-0.07867304980754852,
0.2710455060005188,
0.09445992112159729,
0.06311564892530441,
0.017138678580522537,
-0.0707765594124794,
0.10989362746477127,
-0.2752529978752136,
-0.2786451578140259,
0.053457774221897125,
0.29237523674964905,
-0.0009614224545657635,
-0.13213515281677246,
0.2105959951877594,
0.172424778342247,
-0.024834297597408295,
-0.08243898302316666,
0.22384494543075562,
-0.03371632844209671,
0.05357908084988594,
-0.12292534857988358,
-0.010190026834607124,
-0.06107668578624725,
-0.09173862636089325,
0.14648014307022095,
0.5204541087150574,
0.1307768076658249,
0.09902796149253845,
-0.23522086441516876,
-0.0074100494384765625,
0.20272879302501678,
-0.03879165276885033,
-0.013692231848835945,
-0.22206924855709076,
-0.23118038475513458,
0.04276343435049057,
0.4339994490146637,
0.03829411417245865,
0.1394105851650238,
0.34058091044425964,
0.39730408787727356,
0.2311030924320221,
-0.06822038441896439,
-0.11703751236200333,
-0.38948482275009155,
-0.5036762356758118,
0.010705824941396713,
-0.01589002087712288,
0.18365034461021423,
0.04454924166202545,
0.33315137028694153,
-0.0645628571510315,
-0.12366250902414322,
-0.1718214452266693,
0.08799871802330017,
0.07595306634902954,
-0.09410495311021805,
0.20171183347702026,
0.11451387405395508,
0.12532082200050354,
-0.24773219227790833,
0.11858093738555908,
0.21808770298957825,
0.1931511014699936,
-0.06450185924768448,
0.21398207545280457,
-0.45225977897644043,
0.4460952579975128,
0.16385497152805328,
-0.25825420022010803,
0.12710857391357422,
-0.2502267062664032,
-0.00876755639910698,
0.21682743728160858,
0.04119518771767616,
0.45044225454330444,
-0.1899438351392746,
0.20302197337150574,
0.1286642849445343,
-0.1404975950717926,
-0.3471113443374634,
-0.2476663440465927,
-0.3923470675945282,
-0.1248164027929306,
0.16297763586044312,
-0.4266873002052307,
0.1950528770685196,
-0.06081046164035797,
0.0002722349017858505,
-0.4442400336265564,
-0.30676397681236267,
0.16918934881687164,
0.058871567249298096,
0.19294209778308868,
-0.2585511803627014,
-0.1931258589029312,
-0.27170073986053467,
-0.08304784446954727,
0.16268867254257202,
-0.29346466064453125,
-0.12758533656597137,
0.07169759273529053,
-0.019672803580760956,
-0.06982177495956421,
0.10511814057826996,
-0.036113202571868896,
0.07591823488473892,
0.18314599990844727,
-0.22705663740634918,
-0.007076792418956757,
-0.031150028109550476,
0.07764113694429398,
-0.140215203166008,
-0.16880609095096588,
-0.47657510638237,
-0.04534899443387985,
-0.45969367027282715,
-0.44523051381111145,
0.5345036387443542,
-0.1753353476524353,
-0.20102959871292114,
-0.07519921660423279,
-0.18727494776248932,
0.37498292326927185,
0.3313119411468506,
-0.2739943861961365,
-0.0010695410892367363,
-0.1603115350008011,
0.29950734972953796,
-0.10541588068008423,
0.02899499610066414,
0.4091518521308899,
0.06538348644971848,
-0.01860768534243107,
-0.17022797465324402,
-0.05593537539243698,
0.22874274849891663,
-0.3064025342464447,
0.09025469422340393,
-0.07168968766927719,
0.15040332078933716,
0.22177141904830933,
0.9321674704551697,
0.2733003795146942,
-0.16915960609912872,
0.36493590474128723,
-0.0022676903754472733,
0.10870547592639923,
-0.3056420683860779,
-0.10960791260004044,
-0.1792602837085724,
-0.09417040646076202,
0.10708262026309967,
0.3182834982872009,
-0.020321492105722427,
-0.24290601909160614,
0.1140638142824173,
0.1161034107208252,
-0.24809026718139648,
-0.40978512167930603,
-0.03988645225763321,
-0.5322341918945312,
0.39851146936416626,
0.31985530257225037,
0.30840784311294556,
-0.602649986743927,
-0.0808689147233963,
0.09283752739429474,
-0.11688292026519775,
0.29471737146377563,
0.10220090299844742,
-0.563239574432373,
0.2906687557697296,
-0.3518056571483612,
0.07757098972797394,
-0.010925677604973316,
0.6694038510322571,
0.2505343556404114,
-0.2894759178161621,
0.024348251521587372,
-0.15877097845077515,
0.18055292963981628,
-0.06247669458389282,
0.006849154829978943,
0.17140276730060577,
-0.11775867640972137,
0.01722794957458973,
-0.41607093811035156,
0.11123178899288177,
0.21685612201690674,
0.1036948412656784,
0.19603540003299713,
-0.221295565366745,
-0.25025227665901184,
-0.23494240641593933,
0.02043124847114086,
-0.1493353694677353,
-0.11996960639953613,
-0.222464457154274,
0.06440989673137665,
-0.21338941156864166,
0.2491186261177063,
-0.04808201268315315,
0.17573662102222443,
-0.06081588566303253,
0.01975802704691887,
-0.5214670896530151,
-0.14086323976516724,
0.049742668867111206,
0.2885015904903412,
0.49990394711494446,
-0.17247317731380463,
0.47622692584991455,
0.2510985732078552,
-0.20528137683868408,
-0.045749232172966,
0.0825415849685669,
0.19271664321422577,
-0.2858108878135681,
0.08567236363887787,
-0.03420977666974068,
0.044564202427864075,
0.12221682816743851,
-0.4666725993156433,
0.18669304251670837,
-0.3454400897026062,
-0.0020466670393943787,
-0.26126083731651306,
0.2230651080608368,
0.20056243240833282,
0.033698007464408875,
-0.21331177651882172,
-0.4140356481075287,
0.1972506195306778,
0.23697398602962494,
-0.3097201883792877,
0.436635285615921,
-0.027679502964019775,
-0.14801380038261414,
0.4130253195762634,
0.25048545002937317,
0.793125331401825,
-0.01675407588481903,
0.2540941834449768,
-0.006253629922866821,
0.13018834590911865,
0.31054529547691345,
-0.20534682273864746,
0.19643530249595642,
-0.38527747988700867,
0.1280067265033722,
0.034246571362018585,
-0.12570567429065704,
0.09810112416744232,
0.1434885561466217,
0.06062212958931923,
0.15558753907680511,
0.026416286826133728,
0.5206130743026733,
0.1276913434267044,
0.08772061765193939,
0.02695397287607193,
-0.18007485568523407,
0.18536923825740814,
0.10715995728969574,
0.12924295663833618,
0.02179829031229019,
-0.08513463288545609,
0.13779370486736298,
0.0666285902261734,
-0.11438079178333282,
-0.20483936369419098,
-0.08229346573352814,
-0.41387298703193665,
0.1959330141544342,
0.17317421734333038,
-0.2264627069234848,
-0.1512635350227356,
0.016087613999843597,
0.5069254040718079,
0.19004829227924347,
-0.21968214213848114,
0.20607319474220276,
-0.09825453907251358,
0.12604667246341705,
-0.16089072823524475,
-0.3198140859603882,
0.24648864567279816,
0.10876601189374924,
-0.14288315176963806,
-0.09324870258569717,
0.030375845730304718,
-0.409371018409729,
-0.32424211502075195,
0.1323183923959732,
0.3413153886795044,
-0.12464416772127151,
0.16243904829025269,
0.16037529706954956,
0.18875280022621155,
-0.23646527528762817,
0.11994728446006775,
0.22316421568393707,
-0.14479082822799683,
0.35074883699417114,
-0.32949644327163696,
-0.1290505975484848,
0.003812262788414955,
0.3221989572048187,
0.10164578258991241,
-0.1307840645313263,
0.5676828622817993,
-0.3188422620296478,
-0.18584120273590088,
-0.06521453708410263,
-0.1601443588733673,
0.08451983332633972,
-0.27526751160621643,
-0.03239113464951515,
-0.19172881543636322,
0.07423828542232513,
0.16062289476394653,
-0.014925103634595871,
-0.11853957176208496,
-0.20539259910583496,
-0.1392246037721634,
-0.18607670068740845,
-0.2583896517753601,
-0.2347470074892044,
-0.0684814304113388,
0.16808456182479858,
0.10687459260225296,
0.10500113666057587,
-0.30620697140693665,
0.43370184302330017,
-0.2158338725566864,
0.08009631931781769,
0.18430645763874054,
0.25757744908332825,
-0.5111263990402222,
-0.21447616815567017,
-0.050359293818473816,
0.01614638976752758,
0.015429778024554253,
0.23911400139331818,
-0.261277973651886,
-0.1769704818725586,
-0.28661078214645386,
0.1710861325263977,
0.13115911185741425,
-0.10224295407533646,
-0.04306458681821823,
0.14612425863742828,
0.03243153542280197,
-0.5451925992965698,
0.312844455242157,
0.07436186075210571,
0.033320315182209015,
0.022924184799194336,
0.5813474655151367,
0.10629214346408844,
-0.0800216868519783,
-0.2230672836303711,
-0.1690654158592224,
0.0682070255279541,
0.25034791231155396,
0.2544049620628357,
-0.03220478817820549,
0.0022015422582626343,
-0.01823676936328411,
0.10771326720714569,
0.2703275978565216,
-0.07027227431535721,
0.17851622402668,
-0.3481737971305847,
-0.22029909491539001,
0.027531331405043602,
-0.062414638698101044,
0.3460583984851837,
0.012159252539277077,
-0.5015425682067871,
0.45377084612846375,
0.1515076607465744,
-0.12835079431533813,
-0.2522643506526947,
0.11538679897785187,
0.09580182284116745,
0.05043856427073479,
0.11373117566108704,
0.47888854146003723,
-0.08737848699092865,
0.08838742226362228,
-0.030352097004652023,
0.6737712621688843,
-0.4603536128997803,
0.14027144014835358,
-0.0966559499502182,
0.08284443616867065,
0.08645397424697876,
0.4824450612068176,
0.12931828200817108,
0.03095032274723053,
0.37630629539489746,
0.06340581178665161,
0.3699226379394531,
0.2534121572971344,
0.10162096470594406,
-0.3580133616924286,
-0.5388938784599304,
-0.2062412053346634,
0.10383941233158112,
0.05969133600592613,
0.1766328364610672,
-0.1936812698841095,
0.13897015154361725,
0.372884064912796,
-0.10078207403421402,
-0.25874680280685425,
0.22774213552474976,
-0.20491188764572144,
-0.5451076626777649,
0.06774048507213593,
-0.1458926498889923,
-0.03629278764128685,
0.027437280863523483,
0.0762450322508812,
0.06865200400352478,
0.1374027132987976,
-0.04643843322992325,
-0.16475088894367218,
-0.346268892288208,
0.06761816143989563,
0.1333075761795044,
0.3815835118293762,
-0.26833999156951904,
0.312417596578598,
-0.15116874873638153,
-0.28788483142852783,
-0.29252463579177856,
0.12689846754074097,
0.311495840549469,
0.2611239552497864,
-0.1319831758737564,
0.10548564791679382,
-0.282162606716156,
0.08743903040885925,
-0.3129637539386749,
0.559812605381012,
-0.020105458796024323,
-0.36996299028396606,
-0.08592402935028076,
0.01904352940618992,
-0.06059417128562927,
-0.09377564489841461,
0.037576302886009216,
0.1627642661333084,
-0.12412454187870026,
0.3386736810207367,
0.10120081156492233,
-0.006497763097286224,
0.22107456624507904,
0.3446883261203766,
-0.07875770330429077,
0.09151274710893631,
0.48438403010368347,
0.13244403898715973,
0.1705758273601532,
-0.3277674913406372,
0.058262526988983154,
0.05213052034378052,
0.330509752035141,
0.25126540660858154,
-0.08841327577829361,
-0.33138251304626465,
-0.17953646183013916,
-0.41432949900627136,
0.2891652286052704,
-0.20078186690807343,
0.23997142910957336,
0.007354102097451687,
0.32290491461753845,
-0.09781677275896072,
0.029537037014961243,
0.06682022660970688,
0.14696747064590454,
0.005124558694660664,
0.2086898386478424,
-0.43790820240974426,
0.23617471754550934,
-0.1389472484588623,
0.024695994332432747,
0.02887141704559326,
-0.3572712540626526,
0.24894249439239502,
-0.0031729075126349926,
0.08946701139211655,
-0.018387045711278915,
-0.08988920599222183,
0.3196508288383484,
-0.049759894609451294,
0.751342236995697,
0.3502083122730255,
0.04409996047616005,
0.08339447528123856,
0.2725001275539398,
-0.6104915738105774,
0.2005152553319931,
-0.15167798101902008,
-0.12980294227600098,
-0.07699432969093323,
0.20794758200645447,
-0.2929319441318512,
-0.11755216121673584,
-0.1912754327058792,
-0.09655818343162537,
0.21697865426540375,
-0.10972583293914795,
-0.1031603217124939,
-0.04015320539474487,
-0.02940315753221512,
0.35265231132507324,
-0.07909931242465973,
0.39855238795280457,
-0.06497923284769058,
0.51469886302948,
-0.4229504466056824,
-0.2746747136116028,
0.38815027475357056,
-0.6159239411354065,
-0.3851091265678406,
-0.27916932106018066,
0.15481537580490112,
0.25074613094329834,
-0.17336983978748322,
-0.3520274758338928,
0.07836977392435074,
0.4343827962875366,
-0.04811347275972366,
-0.3788604140281677,
0.21338540315628052,
0.20537954568862915,
0.2372090071439743,
-0.1807098686695099,
0.5001575946807861,
0.008277328684926033,
-0.007396463304758072,
-0.14160338044166565,
-0.19892272353172302
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Thanks for reporting. I opened a PR here to propose a fix: https://github.com/huggingface/datasets/pull/6318 and doesn't require setting `PYTHONHASHSEED`
Can you try to install `datasets` from this branch and tell me if it fixes the issue ? | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 36 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Thanks for reporting. I opened a PR here to propose a fix: https://github.com/huggingface/datasets/pull/6318 and doesn't require setting `PYTHONHASHSEED`
Can you try to install `datasets` from this branch and tell me if it fixes the issue ? | [
-0.1683933287858963,
0.27890872955322266,
0.07585208117961884,
0.1623344123363495,
0.1720113307237625,
0.0590759739279747,
0.22213894128799438,
0.25853949785232544,
-0.17556548118591309,
-0.14856202900409698,
0.08232134580612183,
0.4202488660812378,
0.16028746962547302,
-0.48026981949806213,
-0.02335665002465248,
0.03136136382818222,
0.1709485948085785,
0.28590816259384155,
0.263237863779068,
0.053476981818675995,
0.12687043845653534,
0.17078392207622528,
-0.40912312269210815,
0.10358068346977234,
-0.7186365723609924,
0.08926765620708466,
-0.09247773140668869,
-0.22004592418670654,
0.17276030778884888,
-0.6572268009185791,
0.2727682888507843,
0.24264298379421234,
0.2735918164253235,
0.325836181640625,
-0.00011819256178569049,
-0.07632480561733246,
0.1873592734336853,
0.026615282520651817,
-0.17377321422100067,
0.05136939883232117,
0.27416759729385376,
-0.23802047967910767,
0.04923328757286072,
-0.0707743763923645,
-0.08321334421634674,
-0.5356841087341309,
-0.0921405479311943,
-0.45040589570999146,
0.4988611340522766,
-0.004250360187143087,
0.11728502810001373,
0.2746812403202057,
-0.03843451291322708,
0.19117629528045654,
0.057904716581106186,
-0.23943550884723663,
-0.14150914549827576,
-0.2871244549751282,
0.06244838982820511,
-0.2503598928451538,
-0.13103926181793213,
0.3800039291381836,
-0.08855044096708298,
0.2281349003314972,
0.046808984130620956,
0.19687339663505554,
-0.2036115527153015,
-0.05968000739812851,
0.22558191418647766,
0.060347482562065125,
0.5258103013038635,
-0.34383106231689453,
-0.26479652523994446,
-0.47170934081077576,
-0.10519621521234512,
-0.35381144285202026,
0.22444748878479004,
-0.23721979558467865,
0.03923078626394272,
0.20454050600528717,
-0.17763085663318634,
-0.013800262473523617,
0.059885457158088684,
-0.11944279074668884,
0.045175500214099884,
0.47989293932914734,
-0.017292790114879608,
0.11342020332813263,
-0.14869290590286255,
-0.13357943296432495,
0.3334433436393738,
-0.25578054785728455,
-0.25425925850868225,
0.4434807598590851,
-0.4700557589530945,
0.022059954702854156,
0.03480249270796776,
0.03372718021273613,
0.05996709316968918,
0.49721723794937134,
0.0031195031479001045,
0.23238703608512878,
0.06947788596153259,
-0.03657969832420349,
-0.016512412577867508,
0.42468395829200745,
0.17288948595523834,
0.2543906271457672,
0.1393032968044281,
-0.21561044454574585,
-0.3093406856060028,
-0.24211150407791138,
-0.16646891832351685,
0.04245678335428238,
0.6389315128326416,
-0.050032272934913635,
-0.2480040192604065,
-0.07323572039604187,
0.06718415021896362,
0.23399855196475983,
-0.2543524205684662,
-0.03258560970425606,
0.1850406676530838,
0.11493135243654251,
-0.12142818421125412,
0.31865164637565613,
-0.243929922580719,
0.05009162425994873,
-0.12362292408943176,
-0.21511989831924438,
-0.29826951026916504,
-0.2785269320011139,
-0.1359405815601349,
0.47959378361701965,
0.21368692815303802,
0.06739300489425659,
0.3674275577068329,
0.14904530346393585,
0.05971791595220566,
-0.2570132613182068,
0.3988218903541565,
-0.16060680150985718,
0.2745167016983032,
0.12267561256885529,
-0.17080049216747284,
0.5021859407424927,
0.22105464339256287,
0.004856359213590622,
-0.11521856486797333,
0.10799749195575714,
-0.3426491618156433,
-0.16093342006206512,
0.26722535490989685,
0.06974734365940094,
-0.14375905692577362,
-0.08065903931856155,
-0.1991998851299286,
0.09126381576061249,
0.6685619950294495,
-0.021580461412668228,
-0.006065703928470612,
-0.079287588596344,
-0.20596764981746674,
-0.09452728927135468,
0.3551401197910309,
0.359205037355423,
0.012974966317415237,
-0.1754796802997589,
0.16006901860237122,
0.2501196563243866,
0.3695879578590393,
0.3052634298801422,
-0.2907794117927551,
0.43242186307907104,
-0.2656569182872772,
0.47751158475875854,
0.21590456366539001,
-0.24802802503108978,
-0.5271784067153931,
-0.1613023281097412,
0.18528680503368378,
0.18636822700500488,
-0.15265816450119019,
-0.23197123408317566,
0.20847585797309875,
-0.14371153712272644,
-0.10423515737056732,
0.24562934041023254,
0.10586215555667877,
0.06267406046390533,
-0.379503071308136,
-0.13535800576210022,
0.1789516657590866,
-0.11750772595405579,
0.15409043431282043,
-0.07809112221002579,
-0.4374977946281433,
-0.17118774354457855,
0.03717914968729019,
-0.0853089690208435,
0.21028852462768555,
0.03630083054304123,
0.091255322098732,
0.15573394298553467,
0.26459160447120667,
-0.09543072432279587,
0.01917053759098053,
0.2827233374118805,
0.007782094180583954,
-0.49706220626831055,
-0.09051081538200378,
-0.17011205852031708,
-0.06875316053628922,
-0.0250236913561821,
-0.3889009654521942,
-0.205592080950737,
0.15292496979236603,
0.3118194043636322,
0.2406436800956726,
0.09839881956577301,
-0.1439935714006424,
0.2667746841907501,
0.11273293197154999,
0.12518946826457977,
0.10765218734741211,
-0.05854283273220062,
0.0641019269824028,
-0.2536495625972748,
-0.2449813038110733,
0.039420537650585175,
0.31346410512924194,
0.0037702100817114115,
-0.13512980937957764,
0.2818908095359802,
0.15259145200252533,
0.0444779135286808,
-0.029274694621562958,
0.08352880924940109,
0.0009095408022403717,
0.08181244134902954,
-0.20181913673877716,
-0.01985381543636322,
-0.03559168055653572,
-0.09782691299915314,
0.13638705015182495,
0.4211840033531189,
0.2197873294353485,
0.1595090627670288,
-0.21529501676559448,
0.024485910311341286,
0.14945264160633087,
-0.038843296468257904,
0.06564352661371231,
-0.17555439472198486,
-0.09959684312343597,
-0.015577394515275955,
0.3409019410610199,
-0.06418588757514954,
0.0703585147857666,
0.3419528007507324,
0.3191295862197876,
0.25108781456947327,
-0.06886868923902512,
-0.13571643829345703,
-0.41967934370040894,
-0.45393258333206177,
0.05400822311639786,
-0.045550622045993805,
0.1389152556657791,
0.05717045068740845,
0.31960198283195496,
-0.135324165225029,
-0.026826784014701843,
-0.14475156366825104,
0.10707567632198334,
0.0630912110209465,
-0.053593773394823074,
0.22682920098304749,
0.1021483987569809,
0.14518149197101593,
-0.23581913113594055,
0.10635878145694733,
0.22818776965141296,
0.19700004160404205,
-0.056351080536842346,
0.15545837581157684,
-0.41783300042152405,
0.3652193248271942,
0.14395444095134735,
-0.23426969349384308,
0.1280239373445511,
-0.21743115782737732,
-0.013561390340328217,
0.1910509318113327,
0.1488836258649826,
0.47947070002555847,
-0.20102816820144653,
0.3095669150352478,
0.058377012610435486,
-0.02749619074165821,
-0.42211535573005676,
-0.2105405628681183,
-0.39615997672080994,
-0.09975914657115936,
0.14013256132602692,
-0.389015793800354,
0.14346101880073547,
0.0029615480452775955,
0.11981236934661865,
-0.42466533184051514,
-0.3114045262336731,
0.150521919131279,
0.1411648392677307,
0.11407921463251114,
-0.2853315472602844,
-0.17438451945781708,
-0.25823530554771423,
-0.07650148868560791,
0.11176195740699768,
-0.32140830159187317,
-0.1547587662935257,
0.020949359983205795,
-0.08478330075740814,
-0.0765644982457161,
0.0600404255092144,
0.0019630491733551025,
0.04827803373336792,
0.16618163883686066,
-0.21855930984020233,
-0.049691092222929,
-0.050254084169864655,
-0.005577840842306614,
-0.24097570776939392,
-0.1036076620221138,
-0.45635342597961426,
0.0007230415940284729,
-0.4809756278991699,
-0.41734763979911804,
0.5100908875465393,
-0.1997912973165512,
-0.16387829184532166,
-0.06728646904230118,
-0.13223393261432648,
0.39136913418769836,
0.24147094786167145,
-0.3379245400428772,
-0.011232453398406506,
-0.17368023097515106,
0.23958590626716614,
-0.1337577998638153,
0.032408419996500015,
0.38000166416168213,
0.0305568166077137,
0.003629317507147789,
-0.17558962106704712,
-0.042211923748254776,
0.08435176312923431,
-0.34446901082992554,
0.1274544894695282,
-0.12556684017181396,
0.13514479994773865,
0.1986357718706131,
0.9075707793235779,
0.35551854968070984,
-0.08890238404273987,
0.32047349214553833,
0.002038087695837021,
0.09240351617336273,
-0.2620997726917267,
-0.14341771602630615,
-0.09493616968393326,
-0.153786301612854,
0.2092897742986679,
0.26354891061782837,
0.025815753266215324,
-0.2863011956214905,
0.08559466898441315,
0.24315831065177917,
-0.17804807424545288,
-0.3205399513244629,
-0.09914138168096542,
-0.37220293283462524,
0.46366316080093384,
0.27070048451423645,
0.2867682874202728,
-0.557681143283844,
-0.06658484041690826,
0.12519943714141846,
-0.08058148622512817,
0.3186013698577881,
0.08958613872528076,
-0.5942288637161255,
0.23197248578071594,
-0.36744260787963867,
0.08767890930175781,
-0.05559631809592247,
0.6052640676498413,
0.20343758165836334,
-0.16116294264793396,
0.044335462152957916,
-0.14988145232200623,
0.21758028864860535,
-0.05286790430545807,
-0.1272219717502594,
0.1858321726322174,
-0.05544433742761612,
-0.031576454639434814,
-0.3599342107772827,
0.15519924461841583,
0.22107821702957153,
0.16647754609584808,
0.29070883989334106,
-0.22277003526687622,
-0.26305216550827026,
-0.19271232187747955,
0.021639227867126465,
-0.142212375998497,
-0.14184655249118805,
-0.17290902137756348,
0.08923149853944778,
-0.23587915301322937,
0.2177864909172058,
-0.051913388073444366,
0.24412722885608673,
-0.05059048533439636,
0.08377642929553986,
-0.5290701985359192,
-0.09500427544116974,
-0.031031787395477295,
0.26793524622917175,
0.5180516839027405,
-0.11346828937530518,
0.47216182947158813,
0.33250340819358826,
-0.22139549255371094,
0.011478903703391552,
0.13042372465133667,
0.17387288808822632,
-0.31876882910728455,
0.10632581263780594,
-0.019766636192798615,
0.07507937401533127,
0.07668353617191315,
-0.4501454532146454,
0.20444659888744354,
-0.3547278046607971,
-0.037728168070316315,
-0.27293500304222107,
0.25834229588508606,
0.19713272154331207,
0.05229456350207329,
-0.20436079800128937,
-0.3722735345363617,
0.2286461889743805,
0.3104609549045563,
-0.2635701894760132,
0.39026087522506714,
0.0044020190834999084,
-0.16795247793197632,
0.2869302034378052,
0.13444702327251434,
0.7388313412666321,
-0.00655471533536911,
0.22476595640182495,
-0.01568073406815529,
0.05941792577505112,
0.423745334148407,
-0.2037663608789444,
0.20533393323421478,
-0.3594878017902374,
0.12077265977859497,
0.026911748573184013,
-0.10178837180137634,
0.08873391151428223,
0.1011822372674942,
0.01735767349600792,
0.17358504235744476,
0.03173242509365082,
0.46706706285476685,
0.10274667292833328,
0.11150005459785461,
0.07654529809951782,
-0.23447617888450623,
0.25990498065948486,
0.11183865368366241,
0.07551388442516327,
0.06901085376739502,
-0.07331245392560959,
0.1485147327184677,
0.1078580766916275,
-0.08778990060091019,
-0.2284766137599945,
-0.06616804003715515,
-0.41481491923332214,
0.2030763328075409,
0.2071000337600708,
-0.2623485326766968,
0.018906597048044205,
0.06688007712364197,
0.5333697199821472,
0.12666605412960052,
-0.253583163022995,
0.2616741359233856,
-0.08284898847341537,
0.06028730422258377,
-0.23798348009586334,
-0.3086685538291931,
0.1837053894996643,
0.08854200690984726,
-0.11526117473840714,
-0.10275312513113022,
0.054741114377975464,
-0.3157891035079956,
-0.2809024453163147,
0.07641502469778061,
0.4001656770706177,
-0.17621935904026031,
0.17801496386528015,
0.23951342701911926,
0.2661875784397125,
-0.2208186835050583,
0.13718004524707794,
0.23658041656017303,
-0.18923284113407135,
0.2573067247867584,
-0.3134821951389313,
-0.030661016702651978,
0.010187719017267227,
0.2697709798812866,
0.11013605445623398,
-0.21065063774585724,
0.6229809522628784,
-0.23906192183494568,
-0.18074239790439606,
-0.07435554265975952,
-0.1786212921142578,
0.17481869459152222,
-0.3727859556674957,
-0.03568657487630844,
-0.148666113615036,
0.07026442885398865,
0.17036673426628113,
-0.014649126678705215,
-0.13738569617271423,
-0.25589242577552795,
-0.0938911885023117,
-0.1506769061088562,
-0.3412294089794159,
-0.24556617438793182,
-0.11128257215023041,
0.17191344499588013,
0.0744403600692749,
0.0866328775882721,
-0.2901328504085541,
0.39090806245803833,
-0.21452343463897705,
0.1764427125453949,
0.1842605471611023,
0.24025100469589233,
-0.5047123432159424,
-0.24673905968666077,
-0.053837236016988754,
0.003398173488676548,
0.00046978332102298737,
0.25122782588005066,
-0.20609162747859955,
-0.17878171801567078,
-0.29843589663505554,
0.1661139726638794,
0.15837585926055908,
-0.1981913298368454,
-0.015691805630922318,
0.1668362021446228,
0.007415918633341789,
-0.4956483542919159,
0.29225409030914307,
-0.02629677951335907,
0.03816124051809311,
0.04357195273041725,
0.519192099571228,
0.0677001103758812,
-0.14795076847076416,
-0.16061906516551971,
-0.0645032674074173,
0.06641441583633423,
0.25276002287864685,
0.2939036190509796,
-0.019627604633569717,
0.01614583283662796,
0.01012769527733326,
0.10085836052894592,
0.2860329747200012,
-0.06155184656381607,
0.1790698766708374,
-0.46384698152542114,
-0.21388977766036987,
0.11219185590744019,
-0.05205589905381203,
0.3573501408100128,
-0.07819776982069016,
-0.39221900701522827,
0.4633781611919403,
0.15860959887504578,
-0.1085604652762413,
-0.2356725037097931,
0.12492723762989044,
0.12506407499313354,
-0.0007817745208740234,
0.05478024482727051,
0.46965786814689636,
-0.08719251304864883,
0.16527703404426575,
0.0009727030992507935,
0.7022875547409058,
-0.3969496488571167,
0.19182078540325165,
-0.1684143841266632,
0.1005694568157196,
0.060903482139110565,
0.483511745929718,
0.2490871399641037,
-0.03533431142568588,
0.2892063558101654,
0.02966245636343956,
0.2821151316165924,
0.26390907168388367,
0.1137356162071228,
-0.27844101190567017,
-0.5331226587295532,
-0.2153138667345047,
0.09366278350353241,
0.027613677084445953,
0.17516544461250305,
-0.251199334859848,
0.10180412232875824,
0.25995683670043945,
-0.21211294829845428,
-0.20036280155181885,
0.23768532276153564,
-0.2703205943107605,
-0.5150703191757202,
0.0237446092069149,
-0.0733426883816719,
-0.017407484352588654,
0.024093199521303177,
0.07427459955215454,
0.0642165020108223,
0.021112963557243347,
-0.08059017360210419,
-0.24459122121334076,
-0.45818766951560974,
-0.09592271596193314,
0.23908203840255737,
0.4155346155166626,
-0.24132908880710602,
0.3802957832813263,
-0.17596618831157684,
-0.29334211349487305,
-0.25041577219963074,
0.26307764649391174,
0.34001514315605164,
0.22115391492843628,
-0.12996302545070648,
0.0744120180606842,
-0.2966807186603546,
0.10258039832115173,
-0.22419984638690948,
0.5552710890769958,
0.004263967275619507,
-0.3984394967556,
-0.07867661118507385,
0.00444687157869339,
-0.03721272200345993,
-0.08405831456184387,
0.027326412498950958,
0.15521752834320068,
-0.17976386845111847,
0.2668968439102173,
0.0005743689835071564,
-0.018345016986131668,
0.09763503074645996,
0.3090479075908661,
-0.0633876845240593,
0.2406228631734848,
0.4955574572086334,
0.14410418272018433,
0.16139593720436096,
-0.32275310158729553,
0.058179862797260284,
0.06651946902275085,
0.3086674213409424,
0.3132842779159546,
-0.09013275057077408,
-0.3277856707572937,
-0.3158658742904663,
-0.3856250047683716,
0.2652730941772461,
-0.1631971299648285,
0.276544451713562,
0.05078702047467232,
0.27691981196403503,
-0.16713285446166992,
0.00713614746928215,
0.05644170194864273,
0.10132066160440445,
0.061976611614227295,
0.12429644912481308,
-0.46676281094551086,
0.2122109830379486,
-0.051814258098602295,
0.011050323955714703,
0.07221637666225433,
-0.27823665738105774,
0.24063965678215027,
0.020039677619934082,
0.049059607088565826,
0.03783268481492996,
-0.042433127760887146,
0.23717358708381653,
-0.0701613649725914,
0.6554165482521057,
0.3421004116535187,
0.06616821885108948,
0.14810335636138916,
0.26646462082862854,
-0.574600875377655,
0.07168495655059814,
-0.17151878774166107,
-0.15882566571235657,
-0.036025527864694595,
0.1585296094417572,
-0.30094972252845764,
-0.11356869339942932,
-0.23196618258953094,
-0.20756100118160248,
0.27268606424331665,
-0.11122549325227737,
-0.12294478714466095,
-0.059817828238010406,
-0.035162732005119324,
0.29721954464912415,
0.015518118627369404,
0.3963385820388794,
-0.10237780213356018,
0.47967052459716797,
-0.42725372314453125,
-0.29308071732521057,
0.4164844751358032,
-0.5786841511726379,
-0.3505994975566864,
-0.3196928799152374,
0.17665429413318634,
0.3021533787250519,
-0.15116263926029205,
-0.400214821100235,
0.09419626742601395,
0.4703807234764099,
-0.06896615028381348,
-0.37866225838661194,
0.2395395189523697,
0.2201118767261505,
0.20429880917072296,
-0.1952560395002365,
0.6308996677398682,
0.05196055769920349,
0.0025741979479789734,
-0.07129590213298798,
-0.15430188179016113
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I patched (*) the file `datasets/utils/py_utils.py` and cache is working propperly now. Thanks!
(*): I am running my experiments inside a docker container that depends on `huggingface/transformers-pytorch-gpu:latest`, so pattched the file instead of rebuilding the container from scratch | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 38 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I patched (*) the file `datasets/utils/py_utils.py` and cache is working propperly now. Thanks!
(*): I am running my experiments inside a docker container that depends on `huggingface/transformers-pytorch-gpu:latest`, so pattched the file instead of rebuilding the container from scratch | [
-0.15966123342514038,
0.23978778719902039,
0.10841074585914612,
0.19765757024288177,
0.19014602899551392,
0.0037380605936050415,
0.28697216510772705,
0.21497052907943726,
-0.14684142172336578,
-0.1517273634672165,
0.05328996479511261,
0.3844521939754486,
0.19240562617778778,
-0.5660733580589294,
-0.026145853102207184,
0.030677950009703636,
0.17629607021808624,
0.25380104780197144,
0.2216452956199646,
0.06105223298072815,
0.13269905745983124,
0.16020196676254272,
-0.35670745372772217,
0.06402665376663208,
-0.736025333404541,
0.15713009238243103,
-0.07249166071414948,
-0.2356986403465271,
0.2351594865322113,
-0.6009680032730103,
0.36787575483322144,
0.26133501529693604,
0.27337363362312317,
0.40480077266693115,
-0.0001223480940097943,
-0.011903122067451477,
0.19978059828281403,
-0.012961185537278652,
-0.16921277344226837,
0.07814745604991913,
0.3222396671772003,
-0.24219855666160583,
0.06766483187675476,
-0.035080768167972565,
-0.10914601385593414,
-0.48716700077056885,
-0.06909894198179245,
-0.43535739183425903,
0.5984261631965637,
0.004549725912511349,
0.07812312990427017,
0.3301624655723572,
-0.11269380897283554,
0.22854648530483246,
0.026159238070249557,
-0.20338578522205353,
-0.17204485833644867,
-0.31256648898124695,
0.08188833296298981,
-0.22371457517147064,
-0.18602827191352844,
0.39713066816329956,
-0.12534812092781067,
0.21658214926719666,
0.04460688680410385,
0.2075565755367279,
-0.21538740396499634,
-0.029277987778186798,
0.2228662073612213,
0.08828547596931458,
0.5402876138687134,
-0.32787415385246277,
-0.2639174461364746,
-0.5222182869911194,
-0.16313308477401733,
-0.30195075273513794,
0.228531152009964,
-0.28089165687561035,
0.09007768332958221,
0.20728909969329834,
-0.19554942846298218,
0.018885362893342972,
0.011807896196842194,
-0.14930015802383423,
0.05042945593595505,
0.5339064598083496,
-0.04288637265563011,
0.16714896261692047,
-0.1590019017457962,
-0.13122929632663727,
0.3439967930316925,
-0.2650955021381378,
-0.2643280625343323,
0.3961377739906311,
-0.4575163722038269,
0.041444018483161926,
0.0351758636534214,
-0.027900993824005127,
0.062242522835731506,
0.5597741007804871,
0.04641339182853699,
0.240278959274292,
0.06684046238660812,
-0.03133989870548248,
0.010519458912312984,
0.48703107237815857,
0.12216994166374207,
0.30996173620224,
0.18765750527381897,
-0.19268140196800232,
-0.3292539417743683,
-0.25330355763435364,
-0.18842163681983948,
0.09971077740192413,
0.6443904638290405,
-0.06174146384000778,
-0.2187941074371338,
-0.060437899082899094,
0.1380452811717987,
0.1606062352657318,
-0.15021070837974548,
-0.015265537425875664,
0.21168705821037292,
0.146148681640625,
-0.10328438133001328,
0.3278495967388153,
-0.25721657276153564,
0.06352479010820389,
-0.11471431702375412,
-0.2080947756767273,
-0.26862218976020813,
-0.3035094439983368,
-0.13195401430130005,
0.42942097783088684,
0.22237326204776764,
0.07668666541576385,
0.3481019139289856,
0.08957038819789886,
0.08984829485416412,
-0.3121865391731262,
0.3632994592189789,
-0.16333770751953125,
0.31943920254707336,
0.15911997854709625,
-0.2478335052728653,
0.4696158468723297,
0.24163873493671417,
-0.0034203864634037018,
-0.11030388623476028,
0.09973718971014023,
-0.3224051892757416,
-0.13517430424690247,
0.31398913264274597,
0.01704132929444313,
-0.171782448887825,
-0.02366974949836731,
-0.20373782515525818,
0.07479880750179291,
0.7268756031990051,
-0.048247288912534714,
0.041729219257831573,
-0.10882832109928131,
-0.21263879537582397,
-0.08353829383850098,
0.37362000346183777,
0.4379305839538574,
0.08571457862854004,
-0.2350246161222458,
0.16779159009456635,
0.2590852677822113,
0.40326404571533203,
0.33437615633010864,
-0.25111809372901917,
0.35907304286956787,
-0.25978127121925354,
0.3991115689277649,
0.109800785779953,
-0.28358834981918335,
-0.5426088571548462,
-0.1783047914505005,
0.17499692738056183,
0.2522483468055725,
-0.061152853071689606,
-0.18007692694664001,
0.20700223743915558,
-0.14023923873901367,
-0.13556143641471863,
0.24701490998268127,
0.10129155963659286,
0.05335108935832977,
-0.33412840962409973,
-0.11192290484905243,
0.15250995755195618,
-0.13043224811553955,
0.1720948964357376,
-0.0486442968249321,
-0.4654906392097473,
-0.11958514899015427,
-0.021754465997219086,
-0.09622180461883545,
0.20490452647209167,
0.03303425759077072,
0.07112843543291092,
0.10533532500267029,
0.31839874386787415,
-0.050675131380558014,
-0.05030926316976547,
0.30677884817123413,
0.0005915891379117966,
-0.5062766075134277,
-0.10912856459617615,
-0.13349390029907227,
-0.03299793228507042,
0.014125989750027657,
-0.40524402260780334,
-0.29010090231895447,
0.10778510570526123,
0.3496019244194031,
0.24016660451889038,
0.05916183814406395,
-0.11994236707687378,
0.2953532338142395,
0.1558491587638855,
0.1582283228635788,
0.08550101518630981,
-0.058994658291339874,
0.08858578652143478,
-0.24039195477962494,
-0.30421507358551025,
0.024767514318227768,
0.33216866850852966,
-0.06194102391600609,
-0.10142597556114197,
0.2260977029800415,
0.18041440844535828,
0.11350958794355392,
-0.04280476272106171,
0.10381398350000381,
0.04265441745519638,
0.11201083660125732,
-0.21872669458389282,
0.03575792536139488,
-0.06069261580705643,
-0.13226239383220673,
0.0954691618680954,
0.39141178131103516,
0.16218383610248566,
0.2596534490585327,
-0.213802769780159,
0.0021508019417524338,
0.14649103581905365,
-0.0464598648250103,
0.03088519535958767,
-0.14263561367988586,
-0.04072880372405052,
-0.06197414919734001,
0.36537712812423706,
-0.051260970532894135,
0.11305353045463562,
0.3216002285480499,
0.2614958882331848,
0.28481706976890564,
-0.07504669576883316,
-0.08114107698202133,
-0.4178538918495178,
-0.4535522758960724,
0.08185234665870667,
-0.03045206144452095,
0.1140943393111229,
0.010966253466904163,
0.3437430262565613,
-0.17092302441596985,
0.02145993337035179,
-0.1470763236284256,
0.06819859147071838,
0.06661531329154968,
-0.05237782746553421,
0.24404045939445496,
0.12713785469532013,
0.1497228741645813,
-0.21075204014778137,
0.08971916139125824,
0.18147538602352142,
0.13484804332256317,
-0.028903257101774216,
0.25410154461860657,
-0.3727119266986847,
0.4134226143360138,
0.14620105922222137,
-0.18014134466648102,
0.09038656949996948,
-0.21659450232982635,
-0.06163819879293442,
0.2692924439907074,
0.11412225663661957,
0.4501742720603943,
-0.18678998947143555,
0.3396710753440857,
0.05596211552619934,
-0.05148833990097046,
-0.4633338749408722,
-0.2212352454662323,
-0.34766557812690735,
-0.1375207155942917,
0.08038182556629181,
-0.47418248653411865,
0.06683029979467392,
0.03711184114217758,
0.13530495762825012,
-0.39030537009239197,
-0.3371230959892273,
0.17247691750526428,
0.189227893948555,
0.17586523294448853,
-0.29328399896621704,
-0.19260857999324799,
-0.22301256656646729,
-0.016758721321821213,
0.08807332068681717,
-0.31979358196258545,
-0.0971330851316452,
0.03902645409107208,
-0.10928089916706085,
-0.05272075533866882,
0.04746321216225624,
0.06726208329200745,
0.0321870855987072,
0.16721996665000916,
-0.16666828095912933,
-0.0923323929309845,
-0.06785361468791962,
0.03921451047062874,
-0.2581080496311188,
-0.10119068622589111,
-0.4666568338871002,
0.007110403385013342,
-0.42130550742149353,
-0.35539960861206055,
0.5022841095924377,
-0.1350211650133133,
-0.12541015446186066,
-0.16418884694576263,
-0.180101215839386,
0.41154929995536804,
0.23638492822647095,
-0.3678399920463562,
0.01034813467413187,
-0.15967150032520294,
0.19127582013607025,
-0.15439462661743164,
0.006245700642466545,
0.3751738965511322,
-0.0113375224173069,
0.04647906869649887,
-0.20793089270591736,
-0.027093878015875816,
0.08043769001960754,
-0.32869797945022583,
0.13346336781978607,
-0.08441777527332306,
0.045019663870334625,
0.17812253534793854,
0.9103217720985413,
0.31544172763824463,
-0.07094176113605499,
0.3026735782623291,
0.03806890919804573,
0.11251135170459747,
-0.2388346791267395,
-0.14437422156333923,
-0.11127676069736481,
-0.16665825247764587,
0.10441316664218903,
0.21536356210708618,
0.10685733705759048,
-0.21243086457252502,
0.0706571713089943,
0.24727949500083923,
-0.10771507769823074,
-0.3202891945838928,
-0.05260394513607025,
-0.31280308961868286,
0.441471666097641,
0.30072516202926636,
0.3074372112751007,
-0.5471479296684265,
-0.07311829179525375,
0.06508593261241913,
-0.0076453834772109985,
0.4317884147167206,
0.08030418306589127,
-0.5696598887443542,
0.1933252215385437,
-0.4301125407218933,
0.04131181538105011,
-0.08384140580892563,
0.6033003330230713,
0.1748233288526535,
-0.12304230034351349,
0.023276053369045258,
-0.1639588326215744,
0.2769952416419983,
0.005012005567550659,
-0.09817197918891907,
0.18473438918590546,
-0.1210382953286171,
-0.06142570823431015,
-0.31787025928497314,
0.15383851528167725,
0.18777211010456085,
0.1444246768951416,
0.3108561038970947,
-0.2058304101228714,
-0.2392829954624176,
-0.26903706789016724,
0.04288087040185928,
-0.1456916332244873,
-0.16289979219436646,
-0.1829921007156372,
0.1010974869132042,
-0.20398320257663727,
0.19962820410728455,
-0.061593711376190186,
0.126750186085701,
-0.05635856091976166,
0.10768942534923553,
-0.5160505175590515,
-0.12111532688140869,
-0.050599440932273865,
0.2685233950614929,
0.5306879878044128,
-0.1764674037694931,
0.44916480779647827,
0.36551326513290405,
-0.27624067664146423,
-0.012199191376566887,
0.14668957889080048,
0.1347712278366089,
-0.30684608221054077,
0.10732238739728928,
0.007937955670058727,
0.02797294408082962,
0.08266782760620117,
-0.46390220522880554,
0.20862272381782532,
-0.3326156735420227,
-0.023657239973545074,
-0.30261939764022827,
0.2575521171092987,
0.15296463668346405,
0.12239410728216171,
-0.1811908781528473,
-0.34696727991104126,
0.2377268671989441,
0.2760658264160156,
-0.26550203561782837,
0.4104962646961212,
-0.05113792419433594,
-0.21142072975635529,
0.34844350814819336,
0.08401978760957718,
0.6970911622047424,
-0.0009460672736167908,
0.25041675567626953,
-0.037049904465675354,
0.065998874604702,
0.5123728513717651,
-0.22711120545864105,
0.26896315813064575,
-0.3335099518299103,
0.09742267429828644,
0.014762276783585548,
-0.14618737995624542,
0.030264031141996384,
0.08961693197488785,
-0.0004346035420894623,
0.20459215342998505,
-0.01767754554748535,
0.48300838470458984,
0.11788719147443771,
0.07316890358924866,
0.16559629142284393,
-0.2544357478618622,
0.27641215920448303,
0.0737118124961853,
-0.004578016698360443,
0.15353898704051971,
-0.05660011246800423,
0.1527935415506363,
0.07992629706859589,
-0.07529641687870026,
-0.2085818648338318,
-0.036501530557870865,
-0.3785298466682434,
0.19435718655586243,
0.28538864850997925,
-0.2643601894378662,
-0.004786120727658272,
0.007813926786184311,
0.5031673312187195,
0.08731281757354736,
-0.233483225107193,
0.27817049622535706,
-0.0816650465130806,
0.08707734942436218,
-0.27897313237190247,
-0.3087122142314911,
0.15931345522403717,
0.1225927546620369,
-0.10740654915571213,
-0.18084746599197388,
-0.003642742056399584,
-0.34738290309906006,
-0.21169134974479675,
0.11086537688970566,
0.4023903012275696,
-0.12255433946847916,
0.20540794730186462,
0.23487865924835205,
0.1828426718711853,
-0.23316793143749237,
0.09755046665668488,
0.23383629322052002,
-0.19457103312015533,
0.2204229235649109,
-0.2731635868549347,
-0.04318505898118019,
0.019234906882047653,
0.28503721952438354,
0.1273597925901413,
-0.27257394790649414,
0.6275593042373657,
-0.23604772984981537,
-0.14780369400978088,
-0.04292907938361168,
-0.1912389099597931,
0.17691956460475922,
-0.4074978828430176,
-0.00688531156629324,
-0.24833576381206512,
0.010363832116127014,
0.13323058187961578,
-0.09543295204639435,
-0.07637489587068558,
-0.24907705187797546,
-0.16082321107387543,
-0.171762615442276,
-0.39360442757606506,
-0.25824540853500366,
-0.10054881870746613,
0.1186177134513855,
0.041890934109687805,
0.024869322776794434,
-0.2813374996185303,
0.4327894449234009,
-0.15739606320858002,
0.12081857025623322,
0.139158695936203,
0.2602302134037018,
-0.42556947469711304,
-0.28173866868019104,
0.009605975821614265,
0.008113985881209373,
-0.057720847427845,
0.24955956637859344,
-0.2550699710845947,
-0.12725183367729187,
-0.3384242057800293,
0.19241081178188324,
0.1309766173362732,
-0.2244991958141327,
-0.07420516759157181,
0.19326157867908478,
0.0382794588804245,
-0.5129348039627075,
0.3183286786079407,
-0.018797440454363823,
0.05510391294956207,
-0.027731813490390778,
0.45541247725486755,
0.12684518098831177,
-0.19526349008083344,
-0.13678096234798431,
-0.035578541457653046,
0.07984037697315216,
0.2898215353488922,
0.3061656057834625,
-0.03397185727953911,
0.03496834635734558,
-0.04750942811369896,
0.09224522113800049,
0.2428772747516632,
-0.07925977557897568,
0.20508530735969543,
-0.4515444040298462,
-0.17938970029354095,
0.05640045553445816,
-0.05907753109931946,
0.3134608864784241,
-0.06614387035369873,
-0.36320558190345764,
0.3515610098838806,
0.106317438185215,
-0.04093778133392334,
-0.22424444556236267,
0.11668586730957031,
0.16439644992351532,
-0.0015911422669887543,
0.11246202886104584,
0.4881657660007477,
-0.08786511421203613,
0.24127967655658722,
0.027171097695827484,
0.809066653251648,
-0.4344403147697449,
0.22232867777347565,
-0.23636412620544434,
0.07171989977359772,
0.12352219223976135,
0.49020716547966003,
0.22637182474136353,
-0.01889919489622116,
0.26089781522750854,
0.06857278943061829,
0.2795385420322418,
0.2263784408569336,
0.12204954028129578,
-0.23241263628005981,
-0.5132220983505249,
-0.21821750700473785,
0.1331643909215927,
0.008811935782432556,
0.19925209879875183,
-0.2768363952636719,
0.10783831775188446,
0.15704801678657532,
-0.17116495966911316,
-0.17046277225017548,
0.22456221282482147,
-0.27869459986686707,
-0.5679135322570801,
0.12166716158390045,
-0.08002045750617981,
0.002333231270313263,
-0.0070935990661382675,
0.09527702629566193,
0.08451145142316818,
-0.03676295280456543,
-0.0719408392906189,
-0.25116461515426636,
-0.3839385211467743,
-0.14532509446144104,
0.24305066466331482,
0.40924614667892456,
-0.2578604519367218,
0.4037467837333679,
-0.09528587758541107,
-0.2576472759246826,
-0.23995107412338257,
0.1900649219751358,
0.3930123746395111,
0.20183111727237701,
-0.11922721564769745,
0.10571470111608505,
-0.2996448874473572,
0.10493305325508118,
-0.24823559820652008,
0.5384951233863831,
-0.014425680041313171,
-0.4611642360687256,
-0.11532658338546753,
-0.03771316632628441,
-0.015260659158229828,
-0.03902396187186241,
0.03794063627719879,
0.16099601984024048,
-0.175787091255188,
0.26746103167533875,
-0.04622630774974823,
-0.03739861398935318,
0.09821964800357819,
0.30697324872016907,
-0.0512705035507679,
0.28857049345970154,
0.5224558711051941,
0.08496474474668503,
0.17446079850196838,
-0.2336689978837967,
0.027735095471143723,
0.07094606012105942,
0.3113841712474823,
0.26469531655311584,
-0.09780965000391006,
-0.31062376499176025,
-0.2684803605079651,
-0.35624799132347107,
0.295615017414093,
-0.16336391866207123,
0.3124440014362335,
0.07603666186332703,
0.25790056586265564,
-0.1943633258342743,
0.008673163130879402,
0.04473347216844559,
0.06562088429927826,
0.10067397356033325,
0.03219711035490036,
-0.45319777727127075,
0.13832594454288483,
-0.04901864379644394,
0.03083028830587864,
0.08337265998125076,
-0.28973492980003357,
0.23427391052246094,
0.08167755603790283,
0.017937280237674713,
0.0532982237637043,
-0.06355468928813934,
0.2265881597995758,
0.04426247254014015,
0.5903435945510864,
0.3860076665878296,
0.08648215234279633,
0.16111969947814941,
0.21971842646598816,
-0.5699948668479919,
0.03435990959405899,
-0.12587139010429382,
-0.20087331533432007,
-0.03732485696673393,
0.19856691360473633,
-0.33755624294281006,
-0.17537419497966766,
-0.2821252644062042,
-0.2308424711227417,
0.30292439460754395,
-0.16935935616493225,
-0.1154569759964943,
-0.0737605169415474,
-0.05037888512015343,
0.3093538284301758,
0.02461753785610199,
0.3771807551383972,
-0.07307524979114532,
0.4258609712123871,
-0.41687440872192383,
-0.2800188958644867,
0.47069352865219116,
-0.5802204608917236,
-0.3834278881549835,
-0.3100135922431946,
0.14777304232120514,
0.23244163393974304,
-0.13010302186012268,
-0.4317140281200409,
0.10133153945207596,
0.43528643250465393,
-0.10797446221113205,
-0.3821483552455902,
0.16011138260364532,
0.2261907458305359,
0.20911045372486115,
-0.19225767254829407,
0.6402955055236816,
0.10621441900730133,
-0.0018770117312669754,
-0.05376022681593895,
-0.13153624534606934
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I think the Trie()._tokens of PreTrainedTokenizer need to be a sorted set So that the results of `hash_bytes(dumps(tokenizer))` are consistent every time | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 22 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I think the Trie()._tokens of PreTrainedTokenizer need to be a sorted set So that the results of `hash_bytes(dumps(tokenizer))` are consistent every time | [
-0.12439453601837158,
0.2568768858909607,
0.06220518425107002,
0.14954796433448792,
0.18100571632385254,
0.03493114560842514,
0.23500090837478638,
0.23690678179264069,
-0.23388171195983887,
-0.11041352152824402,
0.09626323729753494,
0.4244631826877594,
0.11752798408269882,
-0.5522885918617249,
-0.02771501988172531,
0.032347336411476135,
0.18384847044944763,
0.24760238826274872,
0.2743982672691345,
0.008564934134483337,
0.1093016266822815,
0.1240864023566246,
-0.4146729111671448,
0.05984150618314743,
-0.7290756702423096,
0.10023054480552673,
-0.11517313867807388,
-0.1584530472755432,
0.1813160926103592,
-0.6082479357719421,
0.2331596463918686,
0.23215994238853455,
0.23999834060668945,
0.30121949315071106,
-0.0001175744182546623,
-0.06967440992593765,
0.14786303043365479,
-0.016005083918571472,
-0.1845196932554245,
0.08570235222578049,
0.25743725895881653,
-0.16424024105072021,
0.004973927047103643,
-0.07930923253297806,
-0.04466738551855087,
-0.4937690198421478,
-0.05603061616420746,
-0.4246777892112732,
0.5453044176101685,
0.03221867233514786,
0.12571662664413452,
0.2929127514362335,
-0.07494726032018661,
0.19826050102710724,
0.06664169579744339,
-0.25403231382369995,
-0.16369417309761047,
-0.29014408588409424,
0.006523661315441132,
-0.2156251221895218,
-0.17831173539161682,
0.35790765285491943,
-0.06822153180837631,
0.21640601754188538,
0.017809603363275528,
0.22815485298633575,
-0.24154749512672424,
-0.0467943474650383,
0.21640384197235107,
0.04981750249862671,
0.4245249927043915,
-0.3280438780784607,
-0.2510882318019867,
-0.45287585258483887,
-0.14372187852859497,
-0.3290967345237732,
0.236063152551651,
-0.2621631622314453,
0.05129716917872429,
0.17575380206108093,
-0.1613890528678894,
0.06301295012235641,
0.059102341532707214,
-0.11018925905227661,
0.03171958029270172,
0.5132848620414734,
-0.008224233984947205,
0.10566621273756027,
-0.1783459633588791,
-0.11362317204475403,
0.3535269796848297,
-0.2576482594013214,
-0.2372644543647766,
0.4350241720676422,
-0.4365353584289551,
0.011681094765663147,
0.012156348675489426,
-0.018734678626060486,
0.026857849210500717,
0.5587422251701355,
0.0623650960624218,
0.2836950719356537,
0.0719127506017685,
-0.032787688076496124,
-0.04981758072972298,
0.4498807191848755,
0.14025868475437164,
0.24539069831371307,
0.10672444105148315,
-0.2547338008880615,
-0.35949385166168213,
-0.2451101541519165,
-0.21411915123462677,
0.05692761018872261,
0.7097641229629517,
-0.061259590089321136,
-0.26252973079681396,
-0.06472539156675339,
0.07491512596607208,
0.22818522155284882,
-0.245329350233078,
-0.002506455173715949,
0.16566959023475647,
0.12063480913639069,
-0.12841439247131348,
0.29932451248168945,
-0.3035263419151306,
0.04237706959247589,
-0.14671063423156738,
-0.189384326338768,
-0.30266258120536804,
-0.3120361864566803,
-0.16150875389575958,
0.48890987038612366,
0.19601505994796753,
0.07818097621202469,
0.36465683579444885,
0.1056237667798996,
0.06838691234588623,
-0.2818780541419983,
0.426825612783432,
-0.17482273280620575,
0.3519006371498108,
0.08030827343463898,
-0.1789141446352005,
0.4826296269893646,
0.20774346590042114,
0.004902642220258713,
-0.10648410022258759,
0.10777205228805542,
-0.35919538140296936,
-0.19633159041404724,
0.2550976574420929,
0.08697082847356796,
-0.14469203352928162,
-0.07077845185995102,
-0.09956283122301102,
0.053171202540397644,
0.730207085609436,
-0.011636797338724136,
0.01698555052280426,
-0.12770730257034302,
-0.228377565741539,
-0.1290726214647293,
0.36824050545692444,
0.2940083146095276,
0.08225174248218536,
-0.13012824952602386,
0.10832878202199936,
0.30089619755744934,
0.36443760991096497,
0.27878209948539734,
-0.2611342668533325,
0.4378988444805145,
-0.25095847249031067,
0.5167333483695984,
0.238880455493927,
-0.22330541908740997,
-0.4877423346042633,
-0.22647950053215027,
0.17780545353889465,
0.24371178448200226,
-0.15512201189994812,
-0.19929523766040802,
0.22270943224430084,
-0.13628993928432465,
-0.0731191337108612,
0.2137652039527893,
0.07315000146627426,
0.03815660625696182,
-0.36816510558128357,
-0.1061798483133316,
0.13095131516456604,
-0.13055288791656494,
0.17116817831993103,
-0.11818113178014755,
-0.38737785816192627,
-0.07031390070915222,
0.026187092065811157,
-0.06629933416843414,
0.1910402476787567,
0.0036654099822044373,
0.0633867159485817,
0.10459917783737183,
0.25510740280151367,
-0.07956475019454956,
0.0243961401283741,
0.2939400374889374,
0.1078641414642334,
-0.4684743285179138,
-0.1159060150384903,
-0.15578347444534302,
-0.0675409734249115,
0.0041981469839811325,
-0.402908056974411,
-0.22815510630607605,
0.1578216552734375,
0.34650978446006775,
0.25349366664886475,
0.09656627476215363,
-0.1210310310125351,
0.2719847857952118,
0.0870123952627182,
0.08873197436332703,
0.12552177906036377,
-0.07987064868211746,
0.059937432408332825,
-0.2592366337776184,
-0.3163573443889618,
0.041592370718717575,
0.3000253736972809,
0.02134777046740055,
-0.13528048992156982,
0.2427021563053131,
0.17261020839214325,
0.011888369917869568,
-0.044846318662166595,
0.12245737761259079,
-0.004722392186522484,
0.06621643900871277,
-0.18249918520450592,
-0.012170210480690002,
-0.05817146226763725,
-0.14752700924873352,
0.13733181357383728,
0.4739219546318054,
0.2144598811864853,
0.17542558908462524,
-0.21043534576892853,
-0.02301112376153469,
0.11966754496097565,
-0.00366862490773201,
0.06902004778385162,
-0.21597476303577423,
-0.12940824031829834,
-0.025952115654945374,
0.3032304048538208,
-0.03982405364513397,
0.05736874043941498,
0.38833174109458923,
0.37438130378723145,
0.30780839920043945,
-0.10100392252206802,
-0.130720317363739,
-0.4125302731990814,
-0.43077245354652405,
0.05414257198572159,
-0.05816090852022171,
0.132708340883255,
0.047177039086818695,
0.3571428656578064,
-0.12104053050279617,
-0.04447513818740845,
-0.16443602740764618,
0.06486640870571136,
0.08605515956878662,
-0.056437909603118896,
0.2545154392719269,
0.10160242766141891,
0.13528503477573395,
-0.2277107834815979,
0.10649117827415466,
0.19218167662620544,
0.16665934026241302,
-0.031545571982860565,
0.19533629715442657,
-0.3847223222255707,
0.37389692664146423,
0.10154929012060165,
-0.22254154086112976,
0.138767808675766,
-0.23696430027484894,
0.024876995012164116,
0.24155254662036896,
0.12738855183124542,
0.4361918568611145,
-0.26914018392562866,
0.28781670331954956,
0.08882400393486023,
-0.02402886562049389,
-0.42883509397506714,
-0.22122594714164734,
-0.4353773593902588,
-0.07211264967918396,
0.13526016473770142,
-0.42287054657936096,
0.12246658653020859,
-0.030366169288754463,
0.13653349876403809,
-0.3504624366760254,
-0.31369659304618835,
0.13437189161777496,
0.13824692368507385,
0.11771754175424576,
-0.315015971660614,
-0.18896375596523285,
-0.26986292004585266,
-0.10616512596607208,
0.12521862983703613,
-0.31272098422050476,
-0.17205893993377686,
0.07391419261693954,
-0.04815731570124626,
-0.07290714979171753,
0.05256974324584007,
-0.03188163787126541,
0.04849032312631607,
0.19145597517490387,
-0.2767993211746216,
-0.014573082327842712,
-0.03172279894351959,
0.0182682853192091,
-0.21786975860595703,
-0.11744707822799683,
-0.46566569805145264,
-0.02021276392042637,
-0.425761342048645,
-0.3982052206993103,
0.527320921421051,
-0.1987391710281372,
-0.13614270091056824,
-0.0965375006198883,
-0.17859163880348206,
0.3805382251739502,
0.230355903506279,
-0.3205412030220032,
0.016887448728084564,
-0.13733871281147003,
0.2654670774936676,
-0.16613778471946716,
-0.01971270702779293,
0.3479512929916382,
0.061157722026109695,
-0.019929077476263046,
-0.17783209681510925,
0.02394288405776024,
0.09653182327747345,
-0.30618932843208313,
0.15451548993587494,
-0.1683889627456665,
0.0561513677239418,
0.2278737723827362,
0.931924045085907,
0.3202713429927826,
-0.14125680923461914,
0.29106229543685913,
0.023053381592035294,
0.06424220651388168,
-0.2749056816101074,
-0.12184607982635498,
-0.07687890529632568,
-0.1526164710521698,
0.16837264597415924,
0.3170403838157654,
0.06955815106630325,
-0.23183389008045197,
0.11212830245494843,
0.27911198139190674,
-0.18950867652893066,
-0.3268163800239563,
-0.028687743470072746,
-0.43046241998672485,
0.40878477692604065,
0.24016976356506348,
0.2847033441066742,
-0.5587649345397949,
-0.10712539404630661,
0.07839740812778473,
-0.11354567110538483,
0.2556508481502533,
0.08697829395532608,
-0.5332048535346985,
0.24762672185897827,
-0.3574642837047577,
0.06373967230319977,
-0.005396926775574684,
0.5990439057350159,
0.2286706417798996,
-0.22157418727874756,
0.027790963649749756,
-0.1641147881746292,
0.15423855185508728,
-0.0295895766466856,
-0.10344941914081573,
0.22680412232875824,
-0.05191931128501892,
0.004145525395870209,
-0.35486534237861633,
0.1177261471748352,
0.24522657692432404,
0.1472097486257553,
0.3035004436969757,
-0.17107775807380676,
-0.21587607264518738,
-0.23438048362731934,
0.01694367825984955,
-0.1498052030801773,
-0.10962136089801788,
-0.17870081961154938,
0.08586307615041733,
-0.1639523208141327,
0.2573031187057495,
-0.07301785051822662,
0.22806954383850098,
-0.129503071308136,
0.08214050531387329,
-0.5311468839645386,
-0.06534464657306671,
-0.05380000174045563,
0.3149709403514862,
0.49240100383758545,
-0.14186212420463562,
0.455085813999176,
0.29415419697761536,
-0.21153420209884644,
-0.004945918917655945,
0.11018560826778412,
0.21111226081848145,
-0.27309495210647583,
0.05903537943959236,
-0.015466130338609219,
0.047865115106105804,
0.07061934471130371,
-0.4260181784629822,
0.22439807653427124,
-0.30757537484169006,
-0.04389891028404236,
-0.21568481624126434,
0.3154178857803345,
0.19047637283802032,
0.04784516245126724,
-0.2239042967557907,
-0.3535953164100647,
0.1790672391653061,
0.2707350552082062,
-0.2559140920639038,
0.4371929466724396,
-0.0815688818693161,
-0.17378951609134674,
0.3432735800743103,
0.2058197259902954,
0.7808954119682312,
-0.019196942448616028,
0.2423965334892273,
-0.04395008087158203,
0.09309718012809753,
0.38416504859924316,
-0.2594285309314728,
0.23235832154750824,
-0.3226507604122162,
0.10609906911849976,
0.04510754346847534,
-0.09710274636745453,
0.03693187236785889,
0.0992698073387146,
0.020754385739564896,
0.11403194814920425,
-0.0037124454975128174,
0.5221368074417114,
0.10735678672790527,
0.09779304265975952,
0.12550973892211914,
-0.2130395621061325,
0.32239413261413574,
0.11944344639778137,
0.07527080923318863,
0.027358053252100945,
-0.08117146790027618,
0.1540999710559845,
0.10487188398838043,
-0.06125465780496597,
-0.1701391637325287,
-0.03535402566194534,
-0.4213310182094574,
0.183285653591156,
0.18378406763076782,
-0.2541373670101166,
-0.08297859132289886,
0.026772407814860344,
0.5372619032859802,
0.07754882425069809,
-0.22197967767715454,
0.25459203124046326,
0.02677292749285698,
0.09160136431455612,
-0.21628238260746002,
-0.35184869170188904,
0.18908415734767914,
0.10015694051980972,
-0.11283090710639954,
-0.08916888386011124,
0.06916752457618713,
-0.3371921181678772,
-0.2981293797492981,
0.10133251547813416,
0.4093363285064697,
-0.12948092818260193,
0.21974165737628937,
0.26136475801467896,
0.1956578493118286,
-0.237388476729393,
0.14814607799053192,
0.20042231678962708,
-0.16848328709602356,
0.2872207462787628,
-0.299448162317276,
-0.04382811486721039,
0.0206783264875412,
0.2833264470100403,
0.14519339799880981,
-0.18050214648246765,
0.586255669593811,
-0.28716522455215454,
-0.16948793828487396,
-0.07830516248941422,
-0.17412570118904114,
0.08187292516231537,
-0.34711599349975586,
-0.027234841138124466,
-0.21932093799114227,
0.08493873476982117,
0.17439770698547363,
0.0010487325489521027,
-0.08780162036418915,
-0.257988840341568,
-0.14054542779922485,
-0.12584328651428223,
-0.3181590735912323,
-0.24305228888988495,
-0.07670359313488007,
0.1596192717552185,
0.01622723415493965,
0.10380129516124725,
-0.3097270429134369,
0.40225499868392944,
-0.22085599601268768,
0.08489073067903519,
0.13261137902736664,
0.2751777768135071,
-0.5318557024002075,
-0.24025848507881165,
-0.03284135088324547,
0.04689089581370354,
0.00946701131761074,
0.25617456436157227,
-0.25733891129493713,
-0.18803492188453674,
-0.28237760066986084,
0.16236501932144165,
0.1686706244945526,
-0.21046362817287445,
-0.056430742144584656,
0.19179929792881012,
0.05952909216284752,
-0.5089850425720215,
0.2743358314037323,
-0.04281136393547058,
0.030377406626939774,
0.035899654030799866,
0.49153101444244385,
0.11842428892850876,
-0.14270274341106415,
-0.17106297612190247,
-0.060537680983543396,
0.09158290177583694,
0.22884872555732727,
0.29401302337646484,
0.0058233775198459625,
0.009719155728816986,
0.06293107569217682,
0.09193754941225052,
0.2551116943359375,
-0.09058157354593277,
0.13470669090747833,
-0.45139044523239136,
-0.2237573117017746,
0.007146521005779505,
-0.07357722520828247,
0.3824672996997833,
-0.045099157840013504,
-0.45367375016212463,
0.43058979511260986,
0.16561175882816315,
-0.069621741771698,
-0.19891977310180664,
0.06313765048980713,
0.10567117482423782,
-0.004787188023328781,
0.07249344140291214,
0.41039982438087463,
-0.13162681460380554,
0.2007518708705902,
0.0052754245698452,
0.6710255742073059,
-0.4361512064933777,
0.19886250793933868,
-0.18710070848464966,
0.08090528845787048,
0.08357644826173782,
0.4631020724773407,
0.1660401076078415,
-0.015662528574466705,
0.3279489278793335,
0.043966371566057205,
0.33744534850120544,
0.29878929257392883,
0.08701582252979279,
-0.29328426718711853,
-0.47989630699157715,
-0.25384217500686646,
0.09204526245594025,
0.05249946191906929,
0.1821773499250412,
-0.22750389575958252,
0.0950639396905899,
0.301153302192688,
-0.25120794773101807,
-0.2271907776594162,
0.19030679762363434,
-0.27533158659935,
-0.4952847361564636,
-0.011905252933502197,
-0.10068316012620926,
-0.04337654635310173,
-0.0048793405294418335,
0.07468703389167786,
0.08675489574670792,
0.04515526443719864,
-0.0568980872631073,
-0.2447092980146408,
-0.4513898193836212,
-0.09705667942762375,
0.21657899022102356,
0.4089725613594055,
-0.26138147711753845,
0.43138712644577026,
-0.12918630242347717,
-0.2515149712562561,
-0.24393752217292786,
0.18564870953559875,
0.3421017825603485,
0.23178212344646454,
-0.12228342890739441,
0.1038108840584755,
-0.2817055881023407,
0.09320971369743347,
-0.25057750940322876,
0.5370878577232361,
0.0038800761103630066,
-0.44058167934417725,
-0.06475721299648285,
0.02308127097785473,
-0.057889748364686966,
-0.048276666551828384,
0.04835446923971176,
0.11495316028594971,
-0.13010428845882416,
0.2488730251789093,
0.04872344434261322,
-0.015369441360235214,
0.1450183093547821,
0.3180038332939148,
-0.06242503598332405,
0.2584078013896942,
0.4893864095211029,
0.12395449727773666,
0.1707284152507782,
-0.28107768297195435,
0.0572819858789444,
0.09418721497058868,
0.32413414120674133,
0.2809978425502777,
-0.061613231897354126,
-0.32195186614990234,
-0.3363177478313446,
-0.34527885913848877,
0.3145337700843811,
-0.17570780217647552,
0.3066042959690094,
-0.0035699959844350815,
0.311183363199234,
-0.16483137011528015,
0.011856721714138985,
0.049711309373378754,
0.0932772308588028,
0.07025756686925888,
0.17409202456474304,
-0.5070623755455017,
0.1894460916519165,
-0.06566949188709259,
-0.030558401718735695,
0.05440433323383331,
-0.3314242959022522,
0.2408071905374527,
-0.007199226878583431,
0.0895465537905693,
0.06564109027385712,
-0.10707815736532211,
0.294178307056427,
0.02988041564822197,
0.7209966778755188,
0.293535977602005,
0.0888645201921463,
0.1317412555217743,
0.3042091131210327,
-0.548701822757721,
0.0762096717953682,
-0.1649807095527649,
-0.1841190755367279,
-0.04143814370036125,
0.15415531396865845,
-0.2835792601108551,
-0.0712534636259079,
-0.18026529252529144,
-0.23034276068210602,
0.310696542263031,
-0.11114376783370972,
-0.07320773601531982,
-0.0607096403837204,
-0.03738909587264061,
0.2839980721473694,
-0.023465760052204132,
0.3972890377044678,
-0.06308215856552124,
0.44235193729400635,
-0.4112650156021118,
-0.29877838492393494,
0.409384548664093,
-0.5527538657188416,
-0.36263346672058105,
-0.31270071864128113,
0.15698876976966858,
0.2660110592842102,
-0.10565782338380814,
-0.3927341103553772,
0.09003929048776627,
0.4744349718093872,
-0.082176573574543,
-0.35164135694503784,
0.2216847687959671,
0.23014874756336212,
0.1828235387802124,
-0.2066803276538849,
0.6078959703445435,
-0.015452709048986435,
0.004952909424901009,
-0.07338517904281616,
-0.16562046110630035
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | I believe the issue may be linked to [tokenization_utils.py#L507](https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils.py#L507),specifically in the line where self.tokens_trie.add(token.content) is called. The function _update_trie appears to modify an unordered set. Consequently, this line:
`value = hash_bytes(dumps(tokenizer.tokens_trie._tokens))`
can lead to inconsistencies when rerunning the code.
This, in turn, results in inconsistent outputs for both `hash_bytes(dumps(function))` at [arrow_dataset.py#L3053](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L3053) and
`hasher.update(transform_args[key])` at [fingerprint.py#L323](https://github.com/huggingface/datasets/blob/main/src/datasets/fingerprint.py#L323)
```
dataset_kwargs = {
"shard": raw_datasets,
"function": tokenize_function,
}
transform = format_transform_for_fingerprint(Dataset._map_single)
kwargs_for_fingerprint = format_kwargs_for_fingerprint(Dataset._map_single, (), dataset_kwargs)
kwargs_for_fingerprint["fingerprint_name"] = "new_fingerprint"
new_fingerprint = update_fingerprint(raw_datasets._fingerprint, transform, kwargs_for_fingerprint)
```
| ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 81 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
I believe the issue may be linked to [tokenization_utils.py#L507](https://github.com/huggingface/transformers/blob/main/src/transformers/tokenization_utils.py#L507),specifically in the line where self.tokens_trie.add(token.content) is called. The function _update_trie appears to modify an unordered set. Consequently, this line:
`value = hash_bytes(dumps(tokenizer.tokens_trie._tokens))`
can lead to inconsistencies when rerunning the code.
This, in turn, results in inconsistent outputs for both `hash_bytes(dumps(function))` at [arrow_dataset.py#L3053](https://github.com/huggingface/datasets/blob/main/src/datasets/arrow_dataset.py#L3053) and
`hasher.update(transform_args[key])` at [fingerprint.py#L323](https://github.com/huggingface/datasets/blob/main/src/datasets/fingerprint.py#L323)
```
dataset_kwargs = {
"shard": raw_datasets,
"function": tokenize_function,
}
transform = format_transform_for_fingerprint(Dataset._map_single)
kwargs_for_fingerprint = format_kwargs_for_fingerprint(Dataset._map_single, (), dataset_kwargs)
kwargs_for_fingerprint["fingerprint_name"] = "new_fingerprint"
new_fingerprint = update_fingerprint(raw_datasets._fingerprint, transform, kwargs_for_fingerprint)
```
| [
-0.13172732293605804,
0.22908514738082886,
0.10993602871894836,
0.1633952558040619,
0.1857450008392334,
0.017778359353542328,
0.2914981245994568,
0.1949392855167389,
-0.2111256867647171,
-0.162961944937706,
0.057256557047367096,
0.3851916193962097,
0.1822362244129181,
-0.5701578259468079,
-0.04581161588430405,
-0.011315397918224335,
0.18370307981967926,
0.2709217667579651,
0.2020087093114853,
0.03391614556312561,
0.14035604894161224,
0.17539435625076294,
-0.38070249557495117,
0.07957875728607178,
-0.7745329737663269,
0.15920083224773407,
-0.09581749141216278,
-0.2329336404800415,
0.2529517710208893,
-0.620199978351593,
0.3059067130088806,
0.2541758418083191,
0.2484181821346283,
0.30947068333625793,
-0.00011991611972916871,
-0.06715652346611023,
0.1775994896888733,
-0.0070250388234853745,
-0.20318886637687683,
0.10988624393939972,
0.3280109167098999,
-0.2145828753709793,
0.06156613677740097,
-0.03038950264453888,
-0.08487212657928467,
-0.4635296165943146,
-0.07556745409965515,
-0.3511624038219452,
0.5723047256469727,
-0.06397309899330139,
0.09652237594127655,
0.3366665542125702,
-0.10433720052242279,
0.2118377983570099,
0.013277843594551086,
-0.16859546303749084,
-0.1482713520526886,
-0.32693952322006226,
0.052788008004426956,
-0.21813476085662842,
-0.17796969413757324,
0.37833932042121887,
-0.08280652016401291,
0.21192528307437897,
0.0238618403673172,
0.19815759360790253,
-0.2234005630016327,
-0.01718110591173172,
0.19495323300361633,
0.0573902353644371,
0.483134388923645,
-0.29832595586776733,
-0.26878228783607483,
-0.49263647198677063,
-0.17253521084785461,
-0.3142591714859009,
0.21893379092216492,
-0.2723086178302765,
0.08541792631149292,
0.1846109926700592,
-0.1724359691143036,
0.04565616697072983,
0.06980904936790466,
-0.11249132454395294,
0.03440863639116287,
0.5561843514442444,
-0.02816108614206314,
0.1362963616847992,
-0.15753531455993652,
-0.12938448786735535,
0.3145937919616699,
-0.3020302951335907,
-0.24949541687965393,
0.4671676754951477,
-0.44709551334381104,
0.004298347979784012,
0.0013540014624595642,
-0.04607202112674713,
0.035788483917713165,
0.5090720653533936,
-0.01944086328148842,
0.2510228157043457,
0.08973286300897598,
-0.050199076533317566,
0.015329691581428051,
0.47647395730018616,
0.12144342064857483,
0.307505339384079,
0.123918317258358,
-0.24603566527366638,
-0.312801718711853,
-0.254457026720047,
-0.1971559375524521,
0.09852752089500427,
0.655276894569397,
-0.024956177920103073,
-0.2497640997171402,
-0.052577756345272064,
0.13727708160877228,
0.1846129447221756,
-0.23202389478683472,
-0.015079693868756294,
0.2025379240512848,
0.10809499025344849,
-0.08239292353391647,
0.34286782145500183,
-0.29828059673309326,
0.03637302294373512,
-0.13705630600452423,
-0.2100767344236374,
-0.2837255597114563,
-0.32843032479286194,
-0.15340398252010345,
0.46209830045700073,
0.2512741684913635,
0.12599699199199677,
0.3528907299041748,
0.11877953261137009,
0.08935961127281189,
-0.32812145352363586,
0.39308443665504456,
-0.13794830441474915,
0.3202153146266937,
0.14828546345233917,
-0.23973348736763,
0.5008528828620911,
0.23465310037136078,
0.035923659801483154,
-0.11221111565828323,
0.10845223069190979,
-0.32589617371559143,
-0.1509980857372284,
0.2936641573905945,
0.05376846343278885,
-0.16826999187469482,
-0.03749780356884003,
-0.17870759963989258,
0.05300155282020569,
0.7213482856750488,
-0.020985592156648636,
0.011683143675327301,
-0.10355153679847717,
-0.16250386834144592,
-0.07885749638080597,
0.3184937834739685,
0.4053494930267334,
0.07564499974250793,
-0.22489582002162933,
0.17073093354701996,
0.24109776318073273,
0.37400129437446594,
0.3398989737033844,
-0.3216143548488617,
0.36386042833328247,
-0.2509399950504303,
0.4674590229988098,
0.174054816365242,
-0.2546946108341217,
-0.5203295946121216,
-0.14256779849529266,
0.1608773171901703,
0.25157400965690613,
-0.13495180010795593,
-0.17544527351856232,
0.20168201625347137,
-0.16092966496944427,
-0.15434762835502625,
0.2495744228363037,
0.1187480017542839,
0.08575639873743057,
-0.352064311504364,
-0.10977201908826828,
0.16130921244621277,
-0.14361532032489777,
0.16665136814117432,
-0.024648718535900116,
-0.4915410876274109,
-0.06847221404314041,
0.01687558740377426,
-0.07841479778289795,
0.19807882606983185,
0.028329892084002495,
0.07089567184448242,
0.09406238794326782,
0.30073487758636475,
-0.028570348396897316,
-0.008513689041137695,
0.2656060755252838,
-0.004059318453073502,
-0.4743414521217346,
-0.09883703291416168,
-0.16694380342960358,
-0.04157749563455582,
-0.007534601725637913,
-0.402732253074646,
-0.2557629942893982,
0.13498720526695251,
0.3206319808959961,
0.25523385405540466,
0.004896875470876694,
-0.12626931071281433,
0.273769348859787,
0.17244571447372437,
0.15698058903217316,
0.08600416779518127,
-0.045332469046115875,
0.06247023493051529,
-0.22130796313285828,
-0.33323267102241516,
0.027551889419555664,
0.32175707817077637,
-0.04003922641277313,
-0.12114471942186356,
0.263613224029541,
0.16382218897342682,
0.07199691236019135,
-0.040342941880226135,
0.13322782516479492,
0.03045019321143627,
0.05990226939320564,
-0.18201996386051178,
0.030442144721746445,
-0.07101409882307053,
-0.12177877128124237,
0.1122848391532898,
0.44109445810317993,
0.20320455729961395,
0.19088533520698547,
-0.21267110109329224,
-0.006822206079959869,
0.1331450194120407,
-0.05306827276945114,
0.011730903759598732,
-0.18424071371555328,
-0.10579580068588257,
0.01308982539921999,
0.34280961751937866,
-0.013996636494994164,
0.11897440254688263,
0.3027776777744293,
0.29589352011680603,
0.2497023046016693,
-0.08468843251466751,
-0.1383843719959259,
-0.443783700466156,
-0.4432940185070038,
0.019226865842938423,
-0.02920626848936081,
0.1329938769340515,
0.01732582226395607,
0.3229237496852875,
-0.14731349050998688,
0.004758120980113745,
-0.1543009728193283,
0.07227998226881027,
0.09736959636211395,
-0.06424254179000854,
0.23333853483200073,
0.11879084259271622,
0.16610632836818695,
-0.2281235158443451,
0.0838041752576828,
0.19863928854465485,
0.14051195979118347,
0.0009642690420150757,
0.2269936203956604,
-0.35603615641593933,
0.3664703965187073,
0.09139817953109741,
-0.204462930560112,
0.08700212836265564,
-0.22082014381885529,
-0.0571257621049881,
0.20534662902355194,
0.12576539814472198,
0.4781923294067383,
-0.1594076156616211,
0.2927687168121338,
0.06379702687263489,
-0.04058618098497391,
-0.4384116232395172,
-0.21375179290771484,
-0.3714596927165985,
-0.11278346180915833,
0.07848331332206726,
-0.4603533446788788,
0.05877158045768738,
0.030662769451737404,
0.13047443330287933,
-0.35297003388404846,
-0.3422897458076477,
0.18987685441970825,
0.177676260471344,
0.0848095715045929,
-0.3096841871738434,
-0.2013763040304184,
-0.23633503913879395,
-0.0765077993273735,
0.10965494066476822,
-0.2929232120513916,
-0.11108776181936264,
0.08587274700403214,
-0.0961945429444313,
-0.07886204868555069,
0.056804802268743515,
0.05935196951031685,
0.0531933531165123,
0.1952037215232849,
-0.2198524922132492,
-0.102158322930336,
-0.05161730945110321,
0.05490715429186821,
-0.2703382670879364,
-0.14170315861701965,
-0.46090587973594666,
-0.03228234499692917,
-0.4373292922973633,
-0.32801690697669983,
0.5071199536323547,
-0.17572495341300964,
-0.1459900289773941,
-0.1532723307609558,
-0.19629672169685364,
0.3952789306640625,
0.24351145327091217,
-0.30030786991119385,
0.03438563272356987,
-0.18290919065475464,
0.1473110020160675,
-0.12134531140327454,
0.00037608854472637177,
0.37429824471473694,
0.03575070947408676,
0.021446218714118004,
-0.15328167378902435,
-0.029860254377126694,
0.08510597050189972,
-0.2766277492046356,
0.15163832902908325,
-0.17823383212089539,
0.071054607629776,
0.19852373003959656,
0.9223899841308594,
0.3253217041492462,
-0.11095583438873291,
0.27919790148735046,
0.04348955303430557,
0.03791671246290207,
-0.2608548104763031,
-0.11489670723676682,
-0.1460385024547577,
-0.16054734587669373,
0.14800216257572174,
0.26746952533721924,
0.07733752578496933,
-0.2780531048774719,
0.10732440650463104,
0.22746828198432922,
-0.14748162031173706,
-0.34474077820777893,
-0.05909872055053711,
-0.36262598633766174,
0.477475643157959,
0.2963823080062866,
0.30396491289138794,
-0.5607327818870544,
-0.05694092810153961,
0.08419699966907501,
-0.07599844038486481,
0.37113499641418457,
0.06114058941602707,
-0.560937225818634,
0.2073296755552292,
-0.35958999395370483,
0.060327183455228806,
-0.06517612189054489,
0.6048439145088196,
0.2150670439004898,
-0.18286526203155518,
0.0396956130862236,
-0.14487160742282867,
0.2335423231124878,
0.00792890228331089,
-0.10998812317848206,
0.19390209019184113,
-0.1056276187300682,
-0.05039677768945694,
-0.3814873993396759,
0.13594844937324524,
0.1778489351272583,
0.16923363506793976,
0.33190715312957764,
-0.2310267984867096,
-0.250139445066452,
-0.2084592878818512,
0.043568000197410583,
-0.14777275919914246,
-0.14636607468128204,
-0.18585938215255737,
0.14180603623390198,
-0.2182583212852478,
0.2282211184501648,
-0.08401079475879669,
0.1976974904537201,
-0.07510695606470108,
0.11384955048561096,
-0.5076576471328735,
-0.11916346848011017,
-0.04395364224910736,
0.2819647789001465,
0.4949927031993866,
-0.11528162658214569,
0.4243929088115692,
0.31058773398399353,
-0.26287493109703064,
-0.05602943152189255,
0.10981029272079468,
0.2053726613521576,
-0.29254037141799927,
0.14634864032268524,
0.004285583272576332,
0.06009353697299957,
0.08760717511177063,
-0.4371834695339203,
0.21647363901138306,
-0.33446943759918213,
-0.060559049248695374,
-0.2638762295246124,
0.2470991164445877,
0.17015986144542694,
0.08287099748849869,
-0.2051774561405182,
-0.28999030590057373,
0.21095958352088928,
0.2298983484506607,
-0.2626079022884369,
0.3826536238193512,
-0.061640575528144836,
-0.1605619639158249,
0.38033103942871094,
0.13807383179664612,
0.7191343903541565,
-0.02379334717988968,
0.24074214696884155,
-0.07083936035633087,
0.08350573480129242,
0.4276004135608673,
-0.19798403978347778,
0.2656218409538269,
-0.36005035042762756,
0.12405227869749069,
0.02671709470450878,
-0.1463238149881363,
0.045731641352176666,
0.14079175889492035,
0.005431577563285828,
0.14920012652873993,
-0.034435246139764786,
0.5105907320976257,
0.09375853091478348,
0.0937284529209137,
0.13042037189006805,
-0.2636452615261078,
0.3052598237991333,
0.09203296154737473,
0.04188816249370575,
0.15959347784519196,
-0.0893523171544075,
0.14915141463279724,
0.0956316590309143,
-0.09415777027606964,
-0.18006162345409393,
0.008510831743478775,
-0.36442238092422485,
0.20090916752815247,
0.28099289536476135,
-0.23705753684043884,
-0.006458083167672157,
0.03990589454770088,
0.5314761400222778,
0.1185310035943985,
-0.2250627875328064,
0.2910030782222748,
-0.07118245214223862,
0.09127164632081985,
-0.2822491526603699,
-0.29248130321502686,
0.16680333018302917,
0.11960060149431229,
-0.0961790680885315,
-0.14856034517288208,
0.04187241569161415,
-0.30745309591293335,
-0.2524251937866211,
0.08551919460296631,
0.3785368800163269,
-0.1764938235282898,
0.2530854642391205,
0.278110533952713,
0.19152110815048218,
-0.20653869211673737,
0.11754794418811798,
0.21048732101917267,
-0.20624816417694092,
0.20716077089309692,
-0.26730653643608093,
-0.03007321059703827,
0.022772444412112236,
0.27642714977264404,
0.14063498377799988,
-0.25431764125823975,
0.6184823513031006,
-0.24995996057987213,
-0.14508786797523499,
-0.06727712601423264,
-0.22529959678649902,
0.13963733613491058,
-0.448676198720932,
-0.0014630109071731567,
-0.21401482820510864,
0.007288709282875061,
0.1531510055065155,
-0.000728849321603775,
-0.13363401591777802,
-0.2436048686504364,
-0.16577310860157013,
-0.11266627162694931,
-0.3740963041782379,
-0.2578834295272827,
-0.06117011234164238,
0.1485271453857422,
0.018341708928346634,
0.1105455756187439,
-0.2996906638145447,
0.43363064527511597,
-0.1891719400882721,
0.12255221605300903,
0.16169078648090363,
0.27874767780303955,
-0.5092250108718872,
-0.32206249237060547,
-0.01812804862856865,
0.03451007232069969,
-0.018207982182502747,
0.2455255091190338,
-0.2551526427268982,
-0.15471866726875305,
-0.32074224948883057,
0.17139357328414917,
0.15581271052360535,
-0.22651474177837372,
-0.06902599334716797,
0.22653619945049286,
0.060116469860076904,
-0.5378203392028809,
0.3112230598926544,
-0.04955139011144638,
0.05786357820034027,
0.052661407738924026,
0.5055320262908936,
0.12097430229187012,
-0.18111254274845123,
-0.18792134523391724,
-0.04795768857002258,
0.04796580597758293,
0.30774250626564026,
0.2697250247001648,
-0.025818990543484688,
0.02459120750427246,
-0.09975241869688034,
0.1122967004776001,
0.29163986444473267,
-0.06465980410575867,
0.1818801611661911,
-0.431851327419281,
-0.21569512784481049,
0.025067737326025963,
-0.058592576533555984,
0.31195294857025146,
-0.03398892283439636,
-0.4084337055683136,
0.3628426194190979,
0.13756601512432098,
-0.0490218847990036,
-0.22978687286376953,
0.11827431619167328,
0.13562119007110596,
-0.022798961028456688,
0.09035950899124146,
0.48883333802223206,
-0.05826309695839882,
0.2655869722366333,
0.011367883533239365,
0.7651882171630859,
-0.40982508659362793,
0.22905071079730988,
-0.1434498280286789,
0.07947386801242828,
0.11568473279476166,
0.4949371814727783,
0.21317550539970398,
0.0040632858872413635,
0.22331830859184265,
0.05399670451879501,
0.2803352177143097,
0.20973104238510132,
0.11876733601093292,
-0.2500438690185547,
-0.4919564127922058,
-0.24658219516277313,
0.07635276019573212,
0.04268267750740051,
0.19449985027313232,
-0.27661094069480896,
0.058730024844408035,
0.2502964437007904,
-0.19626206159591675,
-0.22909614443778992,
0.27783259749412537,
-0.28355199098587036,
-0.5565741658210754,
0.09329426288604736,
-0.062259748578071594,
-0.018137942999601364,
0.01608319953083992,
0.08087941259145737,
0.09223969280719757,
0.009531863033771515,
-0.09551113843917847,
-0.21711795032024384,
-0.40089938044548035,
-0.06942485272884369,
0.2202986478805542,
0.4267837107181549,
-0.24304144084453583,
0.37597566843032837,
-0.1480322629213333,
-0.2273542881011963,
-0.24622303247451782,
0.20569127798080444,
0.32317671179771423,
0.2050752490758896,
-0.1294122338294983,
0.09884639829397202,
-0.298586368560791,
0.10383281111717224,
-0.22511038184165955,
0.5436076521873474,
-0.004435606300830841,
-0.3873656392097473,
-0.12039980292320251,
-0.014811959117650986,
-0.03173453360795975,
-0.1384800225496292,
0.01765350252389908,
0.12517797946929932,
-0.1311599463224411,
0.30448830127716064,
-0.010442953556776047,
-0.04382193833589554,
0.11630406975746155,
0.3243090808391571,
-0.06031240522861481,
0.25052037835121155,
0.47858163714408875,
0.11869610846042633,
0.1617884337902069,
-0.25463566184043884,
0.045995987951755524,
0.06933633983135223,
0.3169211745262146,
0.29023271799087524,
-0.06730035692453384,
-0.3337235450744629,
-0.29302477836608887,
-0.3246876299381256,
0.30231550335884094,
-0.12183152139186859,
0.3467332422733307,
0.04374341294169426,
0.27262020111083984,
-0.18428492546081543,
-0.008577585220336914,
-0.008619099855422974,
0.032249029725790024,
0.049673646688461304,
0.10192734003067017,
-0.4030909240245819,
0.20064882934093475,
-0.07045915722846985,
0.005310367792844772,
0.07239791005849838,
-0.2684721052646637,
0.2020840346813202,
0.10407004505395889,
0.043562404811382294,
0.049802377820014954,
-0.09929189831018448,
0.22340849041938782,
-0.019167840480804443,
0.6274679899215698,
0.3504340350627899,
0.09062487632036209,
0.17291709780693054,
0.24933448433876038,
-0.5574957132339478,
0.04767923057079315,
-0.1270470768213272,
-0.21711847186088562,
-0.05639251694083214,
0.18672996759414673,
-0.281789630651474,
-0.06637443602085114,
-0.24883121252059937,
-0.27902907133102417,
0.3197748064994812,
-0.1335744559764862,
-0.12554632127285004,
-0.06695230305194855,
-0.07296282052993774,
0.31597617268562317,
0.033773768693208694,
0.4125831127166748,
-0.05124428868293762,
0.46139758825302124,
-0.4257747530937195,
-0.27857735753059387,
0.42899858951568604,
-0.5776544809341431,
-0.37128815054893494,
-0.33152469992637634,
0.16401977837085724,
0.2680675983428955,
-0.1465476155281067,
-0.4159467816352844,
0.104924775660038,
0.44205576181411743,
-0.10478992015123367,
-0.3955470621585846,
0.19240368902683258,
0.24648866057395935,
0.16802874207496643,
-0.1950676292181015,
0.6439056396484375,
0.06622956693172455,
0.009435353800654411,
-0.0976208746433258,
-0.11978376656770706
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | We did a fix that does sorting whenever we hash sets. The fix is available on `main` if you want to try it out. We'll do a new release soon :) | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 31 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
We did a fix that does sorting whenever we hash sets. The fix is available on `main` if you want to try it out. We'll do a new release soon :) | [
-0.13918577134609222,
0.26307255029678345,
0.061368588358163834,
0.14221622049808502,
0.15643420815467834,
0.05836621671915054,
0.21196012198925018,
0.2768038213253021,
-0.19538503885269165,
-0.09325683116912842,
0.1077931746840477,
0.40425652265548706,
0.12266562134027481,
-0.4856432378292084,
0.014218166470527649,
0.05094204843044281,
0.17125090956687927,
0.24244295060634613,
0.28022730350494385,
0.021317370235919952,
0.06840915977954865,
0.11097808927297592,
-0.4564018249511719,
0.03560633957386017,
-0.6752349734306335,
0.07740186154842377,
-0.11010569334030151,
-0.1671532392501831,
0.20170935988426208,
-0.6368352174758911,
0.1311839520931244,
0.2161988914012909,
0.2218816578388214,
0.28747984766960144,
-0.0001177587328129448,
-0.06782802939414978,
0.1395925134420395,
0.03778357058763504,
-0.1283276379108429,
-0.03348800539970398,
0.2362307608127594,
-0.25826990604400635,
-0.06161901354789734,
-0.022123150527477264,
-0.08550330996513367,
-0.5408335328102112,
-0.04120781272649765,
-0.39298486709594727,
0.4944380521774292,
0.00035323482006788254,
0.13022510707378387,
0.24916639924049377,
-0.0364672988653183,
0.1706891655921936,
0.13486212491989136,
-0.30122047662734985,
-0.1687617301940918,
-0.31028294563293457,
-0.0145372673869133,
-0.18339698016643524,
-0.166556715965271,
0.3618801236152649,
-0.10000382363796234,
0.16734085977077484,
0.018104687333106995,
0.19515368342399597,
-0.22395148873329163,
-0.011812962591648102,
0.21259191632270813,
0.0005646534264087677,
0.44893237948417664,
-0.3299035131931305,
-0.26442158222198486,
-0.4503527581691742,
-0.0882420614361763,
-0.32439473271369934,
0.2360231578350067,
-0.2562248408794403,
0.10114119946956635,
0.14494165778160095,
-0.16589587926864624,
0.10060588270425797,
0.10500204563140869,
-0.08089151978492737,
0.030541405081748962,
0.5442384481430054,
-0.013321860693395138,
0.07425259798765182,
-0.11783532798290253,
-0.137912780046463,
0.33280259370803833,
-0.2572699189186096,
-0.17577077448368073,
0.43289661407470703,
-0.44592905044555664,
0.0234081894159317,
0.10379037261009216,
0.03356631472706795,
0.012134823948144913,
0.5194839239120483,
-0.0599859356880188,
0.3007199466228485,
0.16310875117778778,
-0.06144622713327408,
-0.03861710801720619,
0.4873284697532654,
0.15270820260047913,
0.2487628310918808,
0.10736478865146637,
-0.3116095960140228,
-0.3539696931838989,
-0.2713024616241455,
-0.1633344292640686,
-0.02735190838575363,
0.6066654324531555,
-0.04599650204181671,
-0.2889622449874878,
-0.05423896014690399,
0.07915284484624863,
0.16989125311374664,
-0.2202380895614624,
-0.02056751772761345,
0.19478248059749603,
0.19359514117240906,
-0.1274179220199585,
0.21721398830413818,
-0.3536010980606079,
0.008266843855381012,
-0.13319408893585205,
-0.08658359199762344,
-0.2917874753475189,
-0.33307620882987976,
-0.1556965410709381,
0.4658184051513672,
0.1570460945367813,
0.06491544842720032,
0.3224630653858185,
0.12022944539785385,
0.1134238913655281,
-0.26053041219711304,
0.4174022078514099,
-0.13716264069080353,
0.3729875683784485,
0.1340482383966446,
-0.1420796662569046,
0.5040150284767151,
0.2092394232749939,
0.008315309882164001,
-0.15112319588661194,
0.17236225306987762,
-0.37960901856422424,
-0.22362998127937317,
0.2962323725223541,
0.07883793860673904,
-0.10311278700828552,
-0.04940847307443619,
-0.13067644834518433,
0.05046926811337471,
0.7103021144866943,
-0.08752065896987915,
-0.07601738721132278,
-0.12981043756008148,
-0.17514874041080475,
-0.10983417928218842,
0.28733402490615845,
0.1747155487537384,
0.02943340316414833,
-0.12048065662384033,
0.10816311091184616,
0.37722039222717285,
0.31327956914901733,
0.31503739953041077,
-0.2677452266216278,
0.36411336064338684,
-0.23993831872940063,
0.5628154277801514,
0.24588337540626526,
-0.2166641354560852,
-0.5481507182121277,
-0.2397298812866211,
0.0918140709400177,
0.18357859551906586,
-0.18288683891296387,
-0.15461894869804382,
0.24822524189949036,
-0.16676273941993713,
-0.11209835112094879,
0.19512443244457245,
0.10157563537359238,
0.07229544967412949,
-0.3987137973308563,
-0.028843769803643227,
0.18054072558879852,
-0.1665666103363037,
0.10084066540002823,
-0.0862400010228157,
-0.38163095712661743,
-0.1513327956199646,
-0.013252891600131989,
-0.06414803862571716,
0.13630381226539612,
-0.005368586629629135,
0.06420758366584778,
0.15343382954597473,
0.324777752161026,
-0.07016579806804657,
0.06523102521896362,
0.28968992829322815,
0.07023850828409195,
-0.4746285080909729,
-0.14036007225513458,
-0.19141824543476105,
-0.09571167826652527,
-0.055419668555259705,
-0.40528205037117004,
-0.16881883144378662,
0.1518029123544693,
0.31560587882995605,
0.18469269573688507,
0.1031135767698288,
-0.14437510073184967,
0.21329429745674133,
0.05258489400148392,
0.07740338146686554,
0.12952803075313568,
-0.031042542308568954,
0.028637144714593887,
-0.24409693479537964,
-0.24687857925891876,
0.04534894973039627,
0.28086820244789124,
0.03972397744655609,
-0.13160860538482666,
0.25580811500549316,
0.14930148422718048,
-0.0066176727414131165,
-0.0467916801571846,
0.09167303889989853,
-0.049431197345256805,
0.04230797663331032,
-0.22037655115127563,
-0.07772967219352722,
-0.11475389450788498,
-0.10890578478574753,
0.08568510413169861,
0.49478644132614136,
0.17074884474277496,
0.196070596575737,
-0.17708048224449158,
-0.0058960085734725,
0.1331292688846588,
0.0037051476538181305,
0.11981669813394547,
-0.2385307401418686,
-0.14611469209194183,
0.0018341951072216034,
0.38024240732192993,
-0.050279587507247925,
0.12157422304153442,
0.41195806860923767,
0.4840754270553589,
0.2878098487854004,
-0.06221262365579605,
-0.12337730079889297,
-0.38136839866638184,
-0.41725167632102966,
0.033941712230443954,
-0.05779363214969635,
0.060352131724357605,
0.09482630342245102,
0.3184449076652527,
-0.1698327213525772,
-0.03464199975132942,
-0.161178857088089,
0.036993592977523804,
0.08803226798772812,
-0.06176077574491501,
0.2394411861896515,
0.13457046449184418,
0.13404329121112823,
-0.23185527324676514,
0.14623506367206573,
0.21353080868721008,
0.14632676541805267,
-0.05085163563489914,
0.132176473736763,
-0.38869860768318176,
0.3829677999019623,
0.13550209999084473,
-0.25766754150390625,
0.07801961898803711,
-0.2443457692861557,
0.07286402583122253,
0.19185085594654083,
0.10394883155822754,
0.4520840346813202,
-0.21087493002414703,
0.2777044475078583,
0.09281108528375626,
-0.04016375541687012,
-0.3648682236671448,
-0.18507277965545654,
-0.4265197813510895,
-0.07434302568435669,
0.16402339935302734,
-0.367924302816391,
0.19891883432865143,
0.05507326126098633,
0.1345520317554474,
-0.31296306848526,
-0.3916935622692108,
0.10468745231628418,
0.0721438080072403,
0.09732182323932648,
-0.29510799050331116,
-0.1822754293680191,
-0.324962854385376,
-0.12209368497133255,
0.08090341836214066,
-0.26537367701530457,
-0.19637151062488556,
0.10092862695455551,
0.007392028346657753,
-0.08416808396577835,
0.05661320313811302,
-0.06893893331289291,
0.061486415565013885,
0.18187645077705383,
-0.2425871342420578,
0.0048852525651454926,
0.012606430798768997,
-0.05893252044916153,
-0.23553229868412018,
-0.16536562144756317,
-0.4529460072517395,
-0.04748836159706116,
-0.40239378809928894,
-0.383871853351593,
0.5353248715400696,
-0.21292831003665924,
-0.1361420750617981,
-0.12186630070209503,
-0.17061439156532288,
0.27587440609931946,
0.24152500927448273,
-0.23892870545387268,
0.04814007878303528,
-0.17242756485939026,
0.22899368405342102,
-0.07071107625961304,
-0.01849977858364582,
0.489763468503952,
0.05258091911673546,
-0.025405671447515488,
-0.18267226219177246,
-0.014973660930991173,
0.08763618767261505,
-0.3050096929073334,
0.1521710902452469,
-0.17012712359428406,
0.11288129538297653,
0.27272579073905945,
0.9129114747047424,
0.2328023612499237,
-0.07449887692928314,
0.26999741792678833,
0.02031182125210762,
0.05559098720550537,
-0.35926708579063416,
-0.10690139979124069,
-0.05869129300117493,
-0.04987911880016327,
0.16925542056560516,
0.36588698625564575,
0.11647399514913559,
-0.2738736867904663,
0.16673482954502106,
0.2313053011894226,
-0.2319280207157135,
-0.2843765914440155,
-0.05115179717540741,
-0.3919898271560669,
0.38141223788261414,
0.2761070728302002,
0.2723948359489441,
-0.6164138913154602,
-0.13941973447799683,
0.09355439245700836,
-0.1690022498369217,
0.2846645414829254,
0.078034907579422,
-0.5997034311294556,
0.2144344449043274,
-0.3391932249069214,
0.05301479995250702,
0.028903594240546227,
0.5136379599571228,
0.26570579409599304,
-0.23858970403671265,
0.03704484924674034,
-0.2268388569355011,
0.24230435490608215,
-0.036773741245269775,
-0.09010256826877594,
0.23147299885749817,
-0.05375508964061737,
-0.014110129326581955,
-0.2952521741390228,
0.13358063995838165,
0.20059119164943695,
0.0889618992805481,
0.3130667805671692,
-0.21947678923606873,
-0.21468685567378998,
-0.22107401490211487,
-0.029830392450094223,
-0.11227218806743622,
-0.11134450882673264,
-0.21520593762397766,
0.12536188960075378,
-0.18115751445293427,
0.26823902130126953,
-0.07496059685945511,
0.22058507800102234,
-0.1991950124502182,
0.041448239237070084,
-0.508822500705719,
-0.1726769208908081,
-0.04778982698917389,
0.28869760036468506,
0.5349330902099609,
-0.1037256196141243,
0.4097803831100464,
0.39607861638069153,
-0.16676297783851624,
-0.015106352046132088,
0.05730831250548363,
0.22108231484889984,
-0.295051634311676,
0.009346500039100647,
-0.07206598669290543,
0.0412144809961319,
0.059313222765922546,
-0.4407041370868683,
0.18651151657104492,
-0.3380451798439026,
0.004356160759925842,
-0.20041458308696747,
0.2845708727836609,
0.26552194356918335,
0.012951397337019444,
-0.27241432666778564,
-0.33851417899131775,
0.25908151268959045,
0.2629087567329407,
-0.31306299567222595,
0.45761874318122864,
0.042840078473091125,
-0.1681239753961563,
0.3449651002883911,
0.22256922721862793,
0.8035464882850647,
-0.0890817940235138,
0.24048474431037903,
-0.01571691781282425,
0.09286187589168549,
0.4244616627693176,
-0.23659288883209229,
0.3074014186859131,
-0.38789379596710205,
0.04194905236363411,
0.007690513506531715,
-0.08751776814460754,
0.05889168009161949,
0.2017415463924408,
0.009600766003131866,
0.11028023064136505,
-0.03879920393228531,
0.5484834909439087,
0.06708671897649765,
0.08565172553062439,
0.11644592136144638,
-0.1894809901714325,
0.2353249341249466,
0.12184964120388031,
0.1407824009656906,
0.04292355477809906,
-0.08845051378011703,
0.2017509788274765,
0.1523289680480957,
-0.08106938004493713,
-0.13285961747169495,
-0.03634518384933472,
-0.33293333649635315,
0.18838857114315033,
0.1616475135087967,
-0.19916373491287231,
-0.04085306450724602,
0.03057793900370598,
0.5120548009872437,
0.13523271679878235,
-0.20008280873298645,
0.28836822509765625,
0.02471471205353737,
0.14176525175571442,
-0.1590203046798706,
-0.36596131324768066,
0.18730375170707703,
0.05837837606668472,
-0.12139846384525299,
-0.13509607315063477,
0.11252601444721222,
-0.4191424250602722,
-0.3481650650501251,
0.11336380243301392,
0.4275527000427246,
-0.14807774126529694,
0.21206730604171753,
0.3005284070968628,
0.20145927369594574,
-0.23757609724998474,
0.1523660272359848,
0.16100150346755981,
-0.13955792784690857,
0.3280661106109619,
-0.3121618926525116,
-0.002684362232685089,
0.024347946047782898,
0.30748626589775085,
0.1532810628414154,
-0.1855126917362213,
0.600155234336853,
-0.2774430513381958,
-0.2344614714384079,
-0.08459301292896271,
-0.20741525292396545,
0.1596260815858841,
-0.28804051876068115,
0.018203727900981903,
-0.1495092213153839,
0.05289560556411743,
0.23582610487937927,
0.01626436412334442,
-0.139450803399086,
-0.2612675428390503,
-0.1868439018726349,
-0.12684741616249084,
-0.2182416170835495,
-0.21709944307804108,
-0.011383958160877228,
0.16131095588207245,
-0.017431003972887993,
0.1705615073442459,
-0.30825066566467285,
0.3898193836212158,
-0.23061023652553558,
0.10420418530702591,
0.1636260747909546,
0.32021600008010864,
-0.5742697715759277,
-0.19498512148857117,
-0.05274783819913864,
0.031560808420181274,
0.011882895603775978,
0.24939778447151184,
-0.21003535389900208,
-0.1956978440284729,
-0.23541001975536346,
0.1538061648607254,
0.15483513474464417,
-0.17221464216709137,
-0.04731062799692154,
0.1288142055273056,
0.013057723641395569,
-0.5062398910522461,
0.27033111453056335,
-0.012138687074184418,
0.014959163963794708,
0.032170772552490234,
0.5661932826042175,
0.11148584634065628,
-0.08096591383218765,
-0.17489653825759888,
-0.1137954592704773,
-0.005444847047328949,
0.2533867061138153,
0.30077841877937317,
0.019155772402882576,
0.05894555151462555,
0.04899473115801811,
0.10917402803897858,
0.34665894508361816,
-0.08963873237371445,
0.21528562903404236,
-0.4893394708633423,
-0.28034624457359314,
0.05862456560134888,
-0.034464675933122635,
0.382595956325531,
0.006003528367727995,
-0.5598441958427429,
0.4648899734020233,
0.17482487857341766,
-0.12482400983572006,
-0.229871466755867,
0.10934868454933167,
0.13218997418880463,
-0.0006976574659347534,
-0.026094265282154083,
0.3639538288116455,
-0.028331391513347626,
0.14720800518989563,
0.011682901531457901,
0.6602392196655273,
-0.481758713722229,
0.2300347238779068,
-0.1904783397912979,
0.0869586169719696,
0.06538575142621994,
0.4847492277622223,
0.074490487575531,
-0.04649452120065689,
0.33361542224884033,
0.07391110062599182,
0.3947189152240753,
0.27062225341796875,
0.1084403470158577,
-0.33313193917274475,
-0.501287043094635,
-0.18452538549900055,
0.16917963325977325,
0.04344434663653374,
0.16721627116203308,
-0.19162073731422424,
0.12193286418914795,
0.3762763738632202,
-0.2271762490272522,
-0.2620224952697754,
0.24047259986400604,
-0.2455783188343048,
-0.4849124550819397,
-0.01572326198220253,
-0.12397047877311707,
0.017793595790863037,
-0.022287361323833466,
0.08224911242723465,
0.07402314245700836,
0.03477893024682999,
-0.0690775215625763,
-0.198602095246315,
-0.48252737522125244,
-0.047907985746860504,
0.17314693331718445,
0.46209779381752014,
-0.18453438580036163,
0.41152897477149963,
-0.11888514459133148,
-0.19755539298057556,
-0.21381482481956482,
0.17045563459396362,
0.26183199882507324,
0.23672178387641907,
-0.12073256075382233,
0.0106760673224926,
-0.27893415093421936,
0.08582726866006851,
-0.2820575535297394,
0.5629286170005798,
-0.06759151816368103,
-0.4088346064090729,
-0.09771241247653961,
0.028239144012331963,
-0.072886623442173,
-0.04896937683224678,
0.05430492013692856,
0.16371993720531464,
-0.08981148898601532,
0.2330188751220703,
0.0018686819821596146,
-0.09605792164802551,
0.1553173065185547,
0.2946181893348694,
-0.02115512266755104,
0.19074665009975433,
0.4771190583705902,
0.11361653357744217,
0.11648585647344589,
-0.3308548331260681,
0.06464245915412903,
0.105484738945961,
0.3162270188331604,
0.2977086007595062,
-0.10127485543489456,
-0.32059982419013977,
-0.33673369884490967,
-0.3505838215351105,
0.3202725052833557,
-0.15756511688232422,
0.35004547238349915,
-0.024629876017570496,
0.30273929238319397,
-0.15122315287590027,
-0.04119317978620529,
0.024460606276988983,
0.07112462818622589,
-0.0190729983150959,
0.11360803991556168,
-0.4813164174556732,
0.2323138564825058,
-0.10042321681976318,
-0.007279602810740471,
-0.013045497238636017,
-0.26880356669425964,
0.19661524891853333,
-0.011890706606209278,
0.08425871282815933,
0.02516799047589302,
-0.013258788734674454,
0.24964499473571777,
-0.044594667851924896,
0.6687842011451721,
0.33022329211235046,
0.0894705280661583,
0.1431676149368286,
0.3167450428009033,
-0.4699987769126892,
0.07092815637588501,
-0.21707181632518768,
-0.15384098887443542,
-0.07159560918807983,
0.23610523343086243,
-0.27562451362609863,
-0.06918683648109436,
-0.1699729561805725,
-0.25415733456611633,
0.30107009410858154,
-0.04656505957245827,
-0.10045861452817917,
-0.06268394738435745,
-0.007442280650138855,
0.28522923588752747,
-0.053687360137701035,
0.3937433660030365,
-0.024245955049991608,
0.4452279210090637,
-0.37041884660720825,
-0.2963417172431946,
0.36019814014434814,
-0.5808430910110474,
-0.3752688467502594,
-0.3023659288883209,
0.19021376967430115,
0.30769649147987366,
-0.1488683968782425,
-0.2710050940513611,
0.016799628734588623,
0.4774109423160553,
0.018359769135713577,
-0.26507651805877686,
0.2610781788825989,
0.22883352637290955,
0.2018333226442337,
-0.21571598947048187,
0.5323652029037476,
0.002681184560060501,
-0.008999422192573547,
-0.12137734889984131,
-0.14117582142353058
] |
https://github.com/huggingface/datasets/issues/3847 | Datasets' cache not re-used | Is there a documentation chapter that discusses in which cases you should expect your dataset preprocessing to be cached. Including do's and don'ts for the preprocessing functions? I think Datasets team does amazing job at tacking this issue on their side, but it would be great to have some guidelines on the user side as well.
In our current project we have two cases (text-to-text classification and summarization) and in one of them the cache is sometimes reused when it's not supposed to be reused while in the other it's never used at all 😅 | ## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
| 95 | Datasets' cache not re-used
## Describe the bug
For most tokenizers I have tested (e.g. the RoBERTa tokenizer), the data preprocessing cache are not fully reused in the first few runs, although their `.arrow` cache files are in the cache directory.
## Steps to reproduce the bug
Here is a reproducer. The GPT2 tokenizer works perfectly with caching, but not the RoBERTa tokenizer in this example.
```python
from datasets import load_dataset
from transformers import AutoTokenizer
raw_datasets = load_dataset("wikitext", "wikitext-2-raw-v1")
# tokenizer = AutoTokenizer.from_pretrained("gpt2")
tokenizer = AutoTokenizer.from_pretrained("roberta-base")
text_column_name = "text"
column_names = raw_datasets["train"].column_names
def tokenize_function(examples):
return tokenizer(examples[text_column_name], return_special_tokens_mask=True)
tokenized_datasets = raw_datasets.map(
tokenize_function,
batched=True,
remove_columns=column_names,
load_from_cache_file=True,
desc="Running tokenizer on every text in dataset",
)
```
## Expected results
No tokenization would be required after the 1st run. Everything should be loaded from the cache.
## Actual results
Tokenization for some subsets are repeated at the 2nd and 3rd run. Starting from the 4th run, everything are loaded from cache.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 18.04.6 LTS
- Python version: 3.6.9
- PyArrow version: 6.0.1
Is there a documentation chapter that discusses in which cases you should expect your dataset preprocessing to be cached. Including do's and don'ts for the preprocessing functions? I think Datasets team does amazing job at tacking this issue on their side, but it would be great to have some guidelines on the user side as well.
In our current project we have two cases (text-to-text classification and summarization) and in one of them the cache is sometimes reused when it's not supposed to be reused while in the other it's never used at all 😅 | [
-0.07782016694545746,
0.32464852929115295,
0.047436799854040146,
0.08195997774600983,
0.1550334393978119,
0.05664082616567612,
0.2469228059053421,
0.11230769753456116,
-0.23134464025497437,
-0.17704890668392181,
0.13072797656059265,
0.3741539418697357,
0.20596183836460114,
-0.5507641434669495,
0.05253363028168678,
0.06132584065198898,
0.2513623833656311,
0.17791026830673218,
0.209026500582695,
0.015247493982315063,
0.04757034033536911,
0.14860086143016815,
-0.42379313707351685,
0.175246924161911,
-0.7675002217292786,
0.044269684702157974,
-0.1352233588695526,
-0.1819126009941101,
0.21621102094650269,
-0.7001270651817322,
0.4017767310142517,
0.2790309190750122,
0.2145206183195114,
0.2877868115901947,
-0.0001196163211716339,
-0.09748060256242752,
0.23761987686157227,
-0.04592975974082947,
-0.20770791172981262,
0.1195274218916893,
0.18676728010177612,
-0.30265218019485474,
0.12377161532640457,
-0.08481238037347794,
-0.0025785863399505615,
-0.4672566056251526,
0.0106886588037014,
-0.4763421416282654,
0.43984776735305786,
0.0526810921728611,
0.08875664323568344,
0.2422333061695099,
-0.055863697081804276,
0.17462630569934845,
-0.008696027100086212,
-0.09664547443389893,
-0.1494566947221756,
-0.3010154962539673,
0.11074985563755035,
-0.1981998085975647,
-0.19999921321868896,
0.3331960141658783,
-0.06413277983665466,
0.1916455775499344,
0.10210151970386505,
0.14207923412322998,
-0.3118944466114044,
-0.15266896784305573,
0.1556568592786789,
0.08408378064632416,
0.7115479707717896,
-0.3327867090702057,
-0.2966834604740143,
-0.5232737064361572,
-0.139970600605011,
-0.22920817136764526,
0.2598459720611572,
-0.2383313775062561,
0.048046793788671494,
0.1571791172027588,
-0.2213943898677826,
-0.05334590747952461,
0.05493354797363281,
-0.18493522703647614,
0.10027419030666351,
0.5302385091781616,
-0.06138598173856735,
0.10465215146541595,
-0.23292110860347748,
-0.10315465927124023,
0.4037338197231293,
-0.28552427887916565,
-0.22287428379058838,
0.4351508915424347,
-0.3854154348373413,
-0.028321532532572746,
0.06578037887811661,
0.04665783792734146,
0.12480611354112625,
0.5327231287956238,
0.03160160407423973,
0.17816847562789917,
0.04747799411416054,
0.03937607631087303,
0.04472918063402176,
0.3971724808216095,
0.21847644448280334,
0.23068851232528687,
0.17118200659751892,
-0.27860763669013977,
-0.303516685962677,
-0.23258504271507263,
-0.15606948733329773,
0.032182663679122925,
0.6880515217781067,
-0.015914130955934525,
-0.1635555624961853,
-0.17568208277225494,
0.11643680185079575,
0.23821446299552917,
-0.1901189684867859,
-0.0892290398478508,
0.10581148415803909,
0.01205386221408844,
-0.1146637499332428,
0.2850188612937927,
-0.35652363300323486,
-0.010664455592632294,
-0.15391318500041962,
-0.25492778420448303,
-0.25749874114990234,
-0.31192919611930847,
-0.20196403563022614,
0.485017865896225,
0.20772577822208405,
0.05815530940890312,
0.4017484486103058,
0.17831622064113617,
0.10809491574764252,
-0.25685766339302063,
0.3270547389984131,
-0.11729267239570618,
0.4091890752315521,
0.27549105882644653,
-0.1699492633342743,
0.45251035690307617,
0.1996520757675171,
0.10292799770832062,
-0.2260931432247162,
0.13652962446212769,
-0.42807045578956604,
-0.25099414587020874,
0.3022126257419586,
0.03662342578172684,
-0.17636269330978394,
-0.10298903286457062,
-0.21809422969818115,
0.11785601079463959,
0.6559239029884338,
-0.014264097437262535,
0.15311047434806824,
-0.03580853343009949,
-0.12650199234485626,
-0.2076849490404129,
0.2936050593852997,
0.3368227183818817,
-0.11056210100650787,
-0.15025144815444946,
0.18153904378414154,
0.21537815034389496,
0.36209169030189514,
0.21851195394992828,
-0.3428246080875397,
0.4530700445175171,
-0.23811282217502594,
0.4562511444091797,
0.20221620798110962,
-0.24567562341690063,
-0.3879561722278595,
-0.1447288542985916,
0.29936540126800537,
0.24708352982997894,
-0.19975417852401733,
-0.19656376540660858,
0.17917193472385406,
-0.18347381055355072,
-0.1752893030643463,
0.2250160276889801,
-0.05484515428543091,
0.027617769315838814,
-0.3166099786758423,
-0.0656733587384224,
0.12601715326309204,
-0.20606008172035217,
0.1419668346643448,
-0.02907256782054901,
-0.41209542751312256,
-0.18546409904956818,
-0.010110139846801758,
-0.06734326481819153,
0.1602054387331009,
0.1478065550327301,
0.03870903700590134,
0.2379063218832016,
0.27238351106643677,
-0.016877751797437668,
-0.050864532589912415,
0.3006530702114105,
0.06876245141029358,
-0.49565577507019043,
-0.032392069697380066,
-0.2088814228773117,
0.037373464554548264,
-0.013766098767518997,
-0.3958037793636322,
-0.23828592896461487,
0.13029694557189941,
0.30792996287345886,
0.2906542420387268,
0.101451575756073,
-0.16538721323013306,
0.3354511260986328,
0.06433934718370438,
0.1590147614479065,
0.04407738149166107,
-0.15814805030822754,
0.11444555968046188,
-0.216069296002388,
-0.23019613325595856,
0.019068609923124313,
0.33856308460235596,
0.03036508522927761,
-0.157048761844635,
0.3472477197647095,
0.3311878740787506,
0.053949762135744095,
-0.02870795875787735,
0.12296092510223389,
0.0039182137697935104,
0.10026304423809052,
-0.12934620678424835,
-0.07682141661643982,
-0.1501014083623886,
-0.04821184650063515,
0.10549501329660416,
0.37474310398101807,
0.09016971290111542,
0.15469147264957428,
-0.16080757975578308,
-0.023747704923152924,
0.1139538437128067,
0.09205657243728638,
-0.10789596289396286,
-0.10227753967046738,
-0.17861299216747284,
0.016374656930565834,
0.4136746823787689,
0.00620773620903492,
0.05488051474094391,
0.3444056808948517,
0.377932071685791,
0.1286214143037796,
-0.08339732140302658,
-0.0795523002743721,
-0.3017486035823822,
-0.5349181890487671,
0.13852305710315704,
0.0045134536921978,
0.07199302315711975,
0.060306597501039505,
0.4389491379261017,
-0.22053934633731842,
-0.18612882494926453,
-0.13317596912384033,
0.10754399001598358,
0.18120047450065613,
-0.016298390924930573,
0.13656650483608246,
-0.05464165657758713,
0.16469062864780426,
-0.22870883345603943,
0.029032666236162186,
0.13168299198150635,
0.13089032471179962,
-0.11593703925609589,
0.14485855400562286,
-0.31782910227775574,
0.3175724446773529,
0.18780718743801117,
-0.2491854876279831,
0.09209747612476349,
-0.3073483109474182,
-0.05478615313768387,
0.07460150122642517,
0.11372625827789307,
0.4300999939441681,
-0.30153608322143555,
0.3412708044052124,
-0.0376640185713768,
-0.02147367037832737,
-0.39301520586013794,
-0.21623757481575012,
-0.44665971398353577,
-0.08721330761909485,
0.10322199016809464,
-0.34543392062187195,
0.1920662671327591,
-0.02619199827313423,
0.214132159948349,
-0.3520997166633606,
-0.32396364212036133,
0.1776323765516281,
0.2236679047346115,
0.06996961683034897,
-0.29895782470703125,
-0.17410610616207123,
-0.23542992770671844,
-0.07093412429094315,
0.004280488006770611,
-0.2481468766927719,
-0.13065379858016968,
-0.08529367297887802,
-0.05053388327360153,
-0.05799364671111107,
0.08698379993438721,
-0.024904415011405945,
0.04651270806789398,
0.1945677250623703,
-0.2135390192270279,
-0.21378956735134125,
-0.07263599336147308,
0.03187570720911026,
-0.2602674067020416,
-0.07430298626422882,
-0.43080785870552063,
0.06393656134605408,
-0.4173511862754822,
-0.5103721618652344,
0.5164971351623535,
-0.2589609622955322,
-0.11475425958633423,
-0.014888156205415726,
-0.13383597135543823,
0.40824076533317566,
0.290732204914093,
-0.3542342782020569,
0.0009679030627012253,
-0.07419861853122711,
0.20919936895370483,
-0.11005325615406036,
0.027572009712457657,
0.42703357338905334,
0.08762320876121521,
0.03528556227684021,
-0.18181487917900085,
-0.05053967237472534,
0.05034828558564186,
-0.40909039974212646,
0.10566973686218262,
-0.1110023781657219,
0.06149096041917801,
0.16333888471126556,
0.8776785135269165,
0.3946363031864166,
-0.04397028312087059,
0.26882246136665344,
0.1313856691122055,
0.17860431969165802,
-0.21436411142349243,
0.006847172975540161,
-0.11578058451414108,
-0.22880297899246216,
0.09416335821151733,
0.17433348298072815,
0.12472032755613327,
-0.284285306930542,
0.09914274513721466,
0.27302584052085876,
-0.27059558033943176,
-0.3022512197494507,
-0.014596199616789818,
-0.49044519662857056,
0.5392682552337646,
0.1957630068063736,
0.2511661648750305,
-0.469660222530365,
0.02457316219806671,
0.1306474208831787,
-0.003287278115749359,
0.44807401299476624,
0.10552944242954254,
-0.5567582845687866,
0.13632960617542267,
-0.4077848792076111,
-0.046500012278556824,
-0.04515201598405838,
0.5862025618553162,
0.15009355545043945,
-0.13873517513275146,
-0.04735498130321503,
-0.11630047857761383,
0.07388679683208466,
-0.19543659687042236,
-0.18975946307182312,
0.195102721452713,
-0.056095656007528305,
0.06510023772716522,
-0.3453384339809418,
0.13611473143100739,
0.3339815139770508,
0.12650524079799652,
0.1670607328414917,
-0.2084370255470276,
-0.27668026089668274,
-0.2020958960056305,
-0.03549998626112938,
-0.08212247490882874,
-0.10818734019994736,
-0.0904947817325592,
0.044340766966342926,
-0.12500499188899994,
0.24326401948928833,
-0.021050164476037025,
0.02802634797990322,
-0.13281019032001495,
0.07967133820056915,
-0.5194031596183777,
0.03141269087791443,
-0.01950947940349579,
0.2605763077735901,
0.4947972893714905,
-0.13353878259658813,
0.42922550439834595,
0.4001222848892212,
-0.23989209532737732,
0.14474649727344513,
0.13103416562080383,
0.10884733498096466,
-0.18806472420692444,
0.13833224773406982,
-0.004471960943192244,
0.13585257530212402,
0.03048277646303177,
-0.40657860040664673,
0.09404845535755157,
-0.34787872433662415,
-0.1687159389257431,
-0.2968096435070038,
0.21079109609127045,
0.17416119575500488,
0.10237836092710495,
-0.22044377028942108,
-0.4586251974105835,
0.3037823736667633,
0.3532446622848511,
-0.2988659143447876,
0.4071992337703705,
-0.0018574520945549011,
-0.2059636414051056,
0.18543803691864014,
0.29725298285484314,
0.685641884803772,
0.0917622298002243,
0.24781499803066254,
-0.046611666679382324,
0.06352997571229935,
0.4012949466705322,
-0.29284197092056274,
0.08715151995420456,
-0.2588142156600952,
0.2211167812347412,
-0.03626793622970581,
-0.14764352142810822,
0.1458023488521576,
0.14208050072193146,
0.003639068454504013,
0.2273494303226471,
0.03685622662305832,
0.3630335330963135,
0.13219314813613892,
0.049682117998600006,
0.06659180670976639,
-0.2597370147705078,
0.35791847109794617,
0.07202564179897308,
0.06871263682842255,
0.05683169513940811,
-0.10170125961303711,
0.17363110184669495,
0.17099091410636902,
-0.03948843106627464,
-0.28289759159088135,
-0.16550970077514648,
-0.39729979634284973,
0.1371580958366394,
0.18684126436710358,
-0.293526828289032,
0.05259506776928902,
0.10958898812532425,
0.5755276083946228,
0.0416611023247242,
-0.22451364994049072,
0.21968473494052887,
-0.039899036288261414,
0.11407473683357239,
-0.265828937292099,
-0.27797719836235046,
0.28114837408065796,
0.1445804238319397,
-0.0786827802658081,
-0.14479878544807434,
-0.0743190348148346,
-0.28902000188827515,
-0.2608886659145355,
0.053805526345968246,
0.3006053566932678,
-0.21861588954925537,
0.20250999927520752,
0.2838362157344818,
0.2672920525074005,
-0.18439531326293945,
0.10175347328186035,
0.27240633964538574,
-0.11931919306516647,
0.32091599702835083,
-0.3208179175853729,
0.04489488899707794,
-0.03963484987616539,
0.12358620762825012,
0.16037675738334656,
-0.2620730996131897,
0.484286904335022,
-0.2874322235584259,
-0.19837264716625214,
-0.0039214640855789185,
-0.11236537247896194,
0.25233107805252075,
-0.2738114297389984,
-0.07934827357530594,
-0.25045740604400635,
0.09283734858036041,
0.15331889688968658,
-0.10877148807048798,
-0.08715912699699402,
-0.2700820565223694,
-0.1799921989440918,
-0.09685517102479935,
-0.39715930819511414,
-0.13750486075878143,
-0.08640052378177643,
0.2150840312242508,
0.049823351204395294,
-0.05910671874880791,
-0.14350607991218567,
0.3581562042236328,
-0.17528563737869263,
0.049469538033008575,
0.1598665714263916,
0.25340521335601807,
-0.45247092843055725,
-0.1416092813014984,
-0.03745616227388382,
-0.03365347534418106,
-0.09414054453372955,
0.1841333657503128,
-0.17922565340995789,
-0.13718685507774353,
-0.24661916494369507,
0.1833421289920807,
0.12807604670524597,
-0.21140411496162415,
-0.007365109398961067,
0.14956405758857727,
-0.020003169775009155,
-0.4636213779449463,
0.20181897282600403,
-0.0392579548060894,
0.038305651396512985,
0.10229188948869705,
0.4808521270751953,
0.10497786849737167,
-0.13034313917160034,
-0.11089953780174255,
-0.0006010159850120544,
0.14838264882564545,
0.2921070456504822,
0.3133372962474823,
-0.08351901918649673,
-0.011582061648368835,
0.017655925825238228,
0.18229830265045166,
0.25660431385040283,
-0.12598338723182678,
0.09401945769786835,
-0.4548448920249939,
-0.141873300075531,
0.02409360744059086,
-0.05909961089491844,
0.3301176428794861,
-0.05544760450720787,
-0.4157944917678833,
0.42859113216400146,
0.11585777252912521,
-0.027590196579694748,
-0.229386568069458,
0.04935838282108307,
0.17266146838665009,
-0.03410429507493973,
0.08627775311470032,
0.5395589470863342,
0.01821037381887436,
0.3216626048088074,
0.006359050050377846,
0.6958744525909424,
-0.38006240129470825,
0.2451896071434021,
-0.1836380809545517,
0.07788266241550446,
0.15091992914676666,
0.55232834815979,
0.3159400522708893,
-0.06853162497282028,
0.298713743686676,
0.1364930272102356,
0.3836883008480072,
0.38714277744293213,
0.09662754833698273,
-0.19369661808013916,
-0.5719244480133057,
-0.146596297621727,
0.13231682777404785,
0.04267948120832443,
0.1816113293170929,
-0.22361600399017334,
0.005702584981918335,
0.23145654797554016,
-0.22849668562412262,
-0.17031942307949066,
0.1382019817829132,
-0.3122478723526001,
-0.5133981108665466,
0.007605362683534622,
-0.07713371515274048,
0.07131010293960571,
-0.011887267231941223,
0.09588797390460968,
0.010513115674257278,
0.13462920486927032,
-0.17036688327789307,
-0.1289607584476471,
-0.3659157156944275,
0.08948618173599243,
0.1292995810508728,
0.3762955665588379,
-0.12050336599349976,
0.43873268365859985,
-0.13385485112667084,
-0.3221735656261444,
-0.26730582118034363,
0.2548244595527649,
0.4095349907875061,
0.17944225668907166,
-0.1722576916217804,
0.05048592388629913,
-0.24246005713939667,
0.08391071856021881,
-0.17225733399391174,
0.5316611528396606,
-0.0728522539138794,
-0.48419272899627686,
-0.06905869394540787,
-0.000637957826256752,
0.039796650409698486,
-0.002397105097770691,
-0.034299831837415695,
0.11400635540485382,
-0.13329888880252838,
0.26734721660614014,
0.058248370885849,
-0.030284348875284195,
0.20273233950138092,
0.3342016637325287,
-0.01784677803516388,
0.1888263076543808,
0.6049938797950745,
0.1426449716091156,
0.03448248282074928,
-0.23869292438030243,
0.04588551074266434,
0.1451300084590912,
0.37611159682273865,
0.36748433113098145,
-0.04958677291870117,
-0.32715871930122375,
-0.3495634198188782,
-0.42312103509902954,
0.16041317582130432,
-0.18075929582118988,
0.25907236337661743,
0.09943760186433792,
0.2682057023048401,
-0.19113501906394958,
0.02060423046350479,
0.021527573466300964,
0.0033743008971214294,
0.10314889252185822,
0.12714983522891998,
-0.40993690490722656,
0.09830129891633987,
-0.0767776370048523,
0.03351938724517822,
-0.007530076429247856,
-0.2552887797355652,
0.2117692083120346,
0.08899671584367752,
-0.019098537042737007,
0.05393724888563156,
-0.05292021483182907,
0.3818320035934448,
0.10317213833332062,
0.6116611361503601,
0.3644217550754547,
0.16494819521903992,
0.18295612931251526,
0.20868805050849915,
-0.5036122798919678,
0.12289286404848099,
-0.07312820106744766,
-0.12928655743598938,
-0.08557093143463135,
0.07395774126052856,
-0.38984689116477966,
-0.13061995804309845,
-0.17875312268733978,
-0.2539403736591339,
0.31135261058807373,
-0.08866916596889496,
-0.10731861740350723,
-0.11939453333616257,
0.006795212626457214,
0.20871582627296448,
0.1378701627254486,
0.4507180452346802,
-0.0651291087269783,
0.4691426455974579,
-0.45028555393218994,
-0.22336019575595856,
0.34045886993408203,
-0.4979092478752136,
-0.30152204632759094,
-0.34583261609077454,
0.1820162683725357,
0.33961760997772217,
-0.1553795486688614,
-0.5238465666770935,
0.061143748462200165,
0.494350790977478,
-0.15339761972427368,
-0.4097018241882324,
0.19615496695041656,
0.26292502880096436,
0.17232631146907806,
-0.24186581373214722,
0.6782916784286499,
-0.006903242319822311,
-0.025903036817908287,
-0.04855716973543167,
-0.2116246521472931
] |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | Hi!
This issue stems from `datasets` having `py.typed` defined (see https://github.com/microsoft/pyright/discussions/3764#discussioncomment-3282142) - to avoid it, we would either have to remove `py.typed` (added to be compliant with PEP-561) or export the names with `__all__`/`from .submodule import name as name`.
Transformers is fine as it no longer has `py.typed` (removed in https://github.com/huggingface/transformers/pull/18485)
WDYT @lhoestq @albertvillanova @polinaeterna
@sgugger's point makes sense - we should either be "properly typed" (have py.typed + mypy tests) or drop `py.typed` as Transformers did (I like this option better).
(cc @Wauplin since `huggingface_hub` has the same issue.) | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 90 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
Hi!
This issue stems from `datasets` having `py.typed` defined (see https://github.com/microsoft/pyright/discussions/3764#discussioncomment-3282142) - to avoid it, we would either have to remove `py.typed` (added to be compliant with PEP-561) or export the names with `__all__`/`from .submodule import name as name`.
Transformers is fine as it no longer has `py.typed` (removed in https://github.com/huggingface/transformers/pull/18485)
WDYT @lhoestq @albertvillanova @polinaeterna
@sgugger's point makes sense - we should either be "properly typed" (have py.typed + mypy tests) or drop `py.typed` as Transformers did (I like this option better).
(cc @Wauplin since `huggingface_hub` has the same issue.) | [
-0.12595167756080627,
-0.28096452355384827,
0.027085736393928528,
0.2715896964073181,
0.35447072982788086,
0.10418275743722916,
0.6413933038711548,
0.19132980704307556,
0.15554393827915192,
-0.24281169474124908,
-0.1824052929878235,
0.5359148979187012,
0.04852694645524025,
0.13626104593276978,
0.0649491548538208,
-0.021374903619289398,
0.21509739756584167,
-0.036303937435150146,
-0.21672087907791138,
0.011768311262130737,
-0.11160123348236084,
0.045520149171352386,
-0.34371352195739746,
0.007709234952926636,
-0.5966697335243225,
0.13107243180274963,
0.1962776482105255,
0.0387759804725647,
0.1461339145898819,
-0.32577794790267944,
0.31780755519866943,
-0.07884813845157623,
0.18677137792110443,
0.07055778801441193,
-0.00011591600195970386,
0.05011662840843201,
0.3689417243003845,
-0.21631699800491333,
-0.0863572359085083,
0.0036944299936294556,
0.14263585209846497,
0.07931308448314667,
0.3815305829048157,
-0.08189450949430466,
0.13691693544387817,
-0.25222694873809814,
-0.29256486892700195,
-0.18375390768051147,
0.021504491567611694,
0.3082193434238434,
0.23933394253253937,
0.6306051015853882,
0.05197345092892647,
-0.032901737838983536,
-0.3072080612182617,
0.1484956592321396,
-0.1363724172115326,
0.3584335446357727,
-0.1480342596769333,
-0.21051526069641113,
0.010882973670959473,
0.09948386251926422,
-0.0520348846912384,
-0.01245177909731865,
0.3158237934112549,
-0.16522230207920074,
-0.10292791575193405,
-0.1606782078742981,
-0.04562542587518692,
0.08072799444198608,
0.10648249834775925,
-0.4552336633205414,
-0.3550821840763092,
-0.529839813709259,
0.0879983901977539,
-0.014069507829844952,
0.1311984360218048,
0.20956569910049438,
0.12402865290641785,
0.31790366768836975,
0.021169384941458702,
-0.19021320343017578,
-0.11734573543071747,
-0.09457199275493622,
-0.18340101838111877,
0.15378381311893463,
-0.14536035060882568,
0.20193621516227722,
0.027652019634842873,
0.07120642066001892,
0.3205018937587738,
-0.03884182497859001,
0.08612336218357086,
-0.04172405228018761,
-0.2053002566099167,
0.22140616178512573,
0.24827614426612854,
0.02921856939792633,
-0.18117064237594604,
-0.1232694536447525,
-0.32432523369789124,
0.019305549561977386,
-0.3008211851119995,
0.09257949888706207,
0.33952680230140686,
0.1054379940032959,
0.2889074385166168,
0.4163046181201935,
0.20864714682102203,
0.1566428393125534,
0.18472285568714142,
0.13863694667816162,
-0.1046903133392334,
0.10176873952150345,
0.1661323755979538,
-0.11185204237699509,
0.2895587086677551,
-0.19939552247524261,
-0.559883177280426,
-0.21490919589996338,
-0.06261710822582245,
-0.03697796165943146,
-0.13414661586284637,
0.37284910678863525,
-0.07597509026527405,
0.3647835850715637,
0.30090612173080444,
0.3603731393814087,
-0.24974505603313446,
-0.19971442222595215,
-0.15688519179821014,
0.15527871251106262,
-0.19604255259037018,
-0.07981016486883163,
-0.008808817714452744,
-0.18866167962551117,
0.1176362931728363,
0.03219255059957504,
-0.018484964966773987,
-0.09266693890094757,
-0.02509091980755329,
0.07188798487186432,
-0.07395138591527939,
0.26137301325798035,
0.08756275475025177,
0.2285541594028473,
0.2598726153373718,
0.007278822362422943,
-0.2389884889125824,
0.11411245167255402,
-0.3092522621154785,
-0.29252198338508606,
-0.247110977768898,
0.19460317492485046,
-0.7048012018203735,
-0.15331627428531647,
-0.17882439494132996,
-0.12544386088848114,
0.1054217740893364,
0.11879995465278625,
0.11932126432657242,
-0.3279721736907959,
0.008892897516489029,
-0.16822472214698792,
0.09578406810760498,
0.48209667205810547,
-0.3570447564125061,
-0.46542879939079285,
-0.3087778389453888,
-0.46625590324401855,
0.21567599475383759,
0.08256293833255768,
-0.31662309169769287,
0.3076821267604828,
-0.28181904554367065,
0.12648361921310425,
0.10471771657466888,
-0.2158970683813095,
-0.12268167734146118,
-0.0015682416269555688,
-0.2773924171924591,
0.13822612166404724,
-0.009415999054908752,
-0.09882859885692596,
-0.41005977988243103,
-0.09149948507547379,
0.12884005904197693,
0.5340019464492798,
0.026554854586720467,
0.16605274379253387,
-0.20801988244056702,
-0.3506298363208771,
0.22550176084041595,
0.13070519268512726,
0.025669559836387634,
-0.17188772559165955,
0.3940228819847107,
0.30485549569129944,
0.46711453795433044,
-0.1689474880695343,
0.06619445234537125,
0.0941750779747963,
0.21313683688640594,
0.05973052978515625,
0.07330771535634995,
-0.3183918595314026,
-0.31685560941696167,
0.24376463890075684,
-0.36346548795700073,
0.13537976145744324,
-0.3579891324043274,
-0.15574806928634644,
-0.008990678936243057,
0.1241900697350502,
-0.45712777972221375,
-0.23986276984214783,
0.09695452451705933,
0.11823595315217972,
-0.34617266058921814,
0.14683839678764343,
-0.13188543915748596,
0.24564902484416962,
-0.2867816984653473,
0.042806774377822876,
-0.3810759484767914,
0.4900479316711426,
0.09154504537582397,
-0.09906407445669174,
-0.05034874752163887,
0.13381722569465637,
0.16763493418693542,
-0.16491426527500153,
-0.06978165358304977,
0.11932103335857391,
0.03465491905808449,
0.6622481942176819,
-0.044262029230594635,
0.07771626114845276,
0.21704818308353424,
-0.5284968614578247,
0.25230929255485535,
0.005847056396305561,
0.023081287741661072,
0.06602492183446884,
-0.13658174872398376,
0.4769395589828491,
-0.06766307353973389,
0.12970207631587982,
0.09287568926811218,
-0.0052464790642261505,
0.14008694887161255,
0.016300026327371597,
0.023155784234404564,
-0.5499511957168579,
0.06518963724374771,
0.2417220175266266,
-0.25329872965812683,
0.14268699288368225,
-0.003011345863342285,
0.18959112465381622,
0.549200713634491,
-0.044521816074848175,
0.28223955631256104,
-0.02484496682882309,
-0.5236893892288208,
-0.16414299607276917,
0.41888317465782166,
-0.0029357075691223145,
0.4816781282424927,
0.05654656141996384,
-0.04054528847336769,
0.21186496317386627,
0.03154296800494194,
-0.07117868959903717,
0.3803129196166992,
0.1629686951637268,
-0.12931634485721588,
0.017302993685007095,
0.09874840825796127,
-0.00703148078173399,
-0.37674620747566223,
0.13577933609485626,
-0.009593335911631584,
-0.033137477934360504,
-0.42295780777931213,
0.19261983036994934,
-0.4634512662887573,
-0.16997122764587402,
-0.30450865626335144,
-0.20099715888500214,
-0.13167843222618103,
-0.2347417026758194,
-0.2588951587677002,
0.08224666118621826,
-0.1890936940908432,
0.10661295801401138,
-0.19361697137355804,
-0.24507032334804535,
-0.0775056779384613,
-0.5931832790374756,
0.020325586199760437,
0.011614193208515644,
0.004477664828300476,
0.0433213971555233,
0.0009205564856529236,
0.166241854429245,
0.38222452998161316,
-0.2944163680076599,
0.016153503209352493,
-0.2691362202167511,
-0.21668988466262817,
0.3015715181827545,
-0.16318759322166443,
0.17606481909751892,
0.020163558423519135,
-0.17567698657512665,
0.41520828008651733,
-0.08223826438188553,
0.24081189930438995,
-0.29418641328811646,
-0.07467234879732132,
0.3136739134788513,
-0.19017130136489868,
0.055186595767736435,
-0.01704271510243416,
-0.42266717553138733,
-0.3039787709712982,
-0.45446211099624634,
0.2722899913787842,
0.03081474080681801,
0.04930272698402405,
0.3888395428657532,
-0.04555250331759453,
0.2429552674293518,
-0.45621922612190247,
0.2594028413295746,
0.03735354170203209,
0.07369591295719147,
0.3357858657836914,
-0.014736611396074295,
-0.26453232765197754,
0.23085430264472961,
0.08798704296350479,
0.056443359702825546,
0.08346401900053024,
-0.2409486621618271,
-0.17753776907920837,
-0.09743306785821915,
0.48357152938842773,
0.26780664920806885,
0.3455817699432373,
0.25383323431015015,
0.20559410750865936,
0.09442606568336487,
-0.10077716410160065,
-0.263820081949234,
-0.2180238664150238,
0.22210362553596497,
0.13279952108860016,
-0.05904790759086609,
0.11413855105638504,
-0.03243786469101906,
0.64345383644104,
0.3092406094074249,
-0.09360595047473907,
0.32489314675331116,
-0.08721890300512314,
0.4267917275428772,
-0.1332835853099823,
-0.40006110072135925,
-0.005511230789124966,
-0.2774519622325897,
0.16852229833602905,
0.15900316834449768,
-0.13459104299545288,
-0.18909834325313568,
-0.11226461082696915,
-0.21308115124702454,
-0.354959636926651,
-0.300478994846344,
0.23798058927059174,
0.14888310432434082,
0.22849252820014954,
-0.08360214531421661,
0.08846435695886612,
-0.14756350219249725,
-0.09571673721075058,
0.3095189929008484,
0.05905883386731148,
0.12203127145767212,
0.03643437474966049,
-0.0775294080376625,
-0.3254505693912506,
0.03599809110164642,
0.09091445058584213,
-0.06480398029088974,
0.21734189987182617,
0.05107602849602699,
-0.4918225109577179,
0.03794450685381889,
0.01927807554602623,
0.011433720588684082,
0.1099211648106575,
0.11074627935886383,
0.17178867757320404,
-0.3088539242744446,
-0.48380759358406067,
-0.15219365060329437,
-0.14683228731155396,
-0.013568555936217308,
0.10579909384250641,
0.2295447587966919,
-0.2702077031135559,
-0.16191253066062927,
0.13614287972450256,
0.5562055110931396,
-0.1524888575077057,
-0.05445212125778198,
-0.36747685074806213,
0.019518539309501648,
-0.40790316462516785,
-0.19293445348739624,
0.05617129057645798,
0.17009283602237701,
-0.14074842631816864,
0.09221680462360382,
-0.0573277547955513,
-0.18046414852142334,
0.16041330993175507,
0.29038989543914795,
0.25877463817596436,
-0.2588386535644531,
0.30826058983802795,
0.2184249758720398,
-0.19615307450294495,
0.2857511639595032,
0.7733315229415894,
0.0582546591758728,
-0.4677833914756775,
-0.07925476878881454,
-0.022660719230771065,
0.18631349503993988,
0.1991259753704071,
-0.23478688299655914,
0.13318605720996857,
0.006776593625545502,
-0.0003444105386734009,
-0.3138020634651184,
0.13699649274349213,
0.2450466901063919,
-0.04245796427130699,
-0.19788452982902527,
-0.3004363179206848,
0.2345890998840332,
-0.10186588764190674,
-0.04223918542265892,
0.2536778450012207,
0.07583241164684296,
-0.3729650676250458,
0.16757091879844666,
0.024414025247097015,
0.6414002180099487,
0.196002796292305,
0.008091293275356293,
0.21976116299629211,
-0.006151191890239716,
0.4398356080055237,
-0.02211696282029152,
-0.029844980686903,
-0.3590325713157654,
-0.2339973896741867,
0.1919059008359909,
-0.150901198387146,
0.14000782370567322,
-0.4339042901992798,
0.13341285288333893,
0.25719892978668213,
-0.3352881073951721,
-0.09607343375682831,
0.10941430926322937,
0.2766130864620209,
0.059098586440086365,
-0.2865602374076843,
-0.3391147553920746,
0.04627014696598053,
0.03491508215665817,
0.2148425132036209,
0.04247818514704704,
-0.0776079073548317,
0.16249455511569977,
-0.11761754751205444,
-0.30710452795028687,
0.2864246368408203,
-0.04732745885848999,
-0.024805143475532532,
0.04265914857387543,
0.2379736453294754,
0.3776291310787201,
0.16486410796642303,
-0.04420512914657593,
-0.21065615117549896,
-0.17725609242916107,
0.11558106541633606,
-0.2217121720314026,
0.011767521500587463,
0.09032268077135086,
0.059070318937301636,
0.46288442611694336,
-0.08142052590847015,
-0.1071883887052536,
0.09820440411567688,
0.02493854984641075,
0.0011585839092731476,
-0.14146989583969116,
0.10173843801021576,
0.2447649985551834,
-0.25866276025772095,
-0.012179849669337273,
0.014455780386924744,
0.26875102519989014,
-0.2283242642879486,
0.1446925848722458,
0.3987789750099182,
-0.15405043959617615,
0.3217698335647583,
-0.20518802106380463,
-0.28052324056625366,
-0.2609032094478607,
0.47327420115470886,
0.12825265526771545,
-0.0712469220161438,
0.005106538534164429,
0.14420567452907562,
-0.33239322900772095,
-0.16451714932918549,
0.0603053942322731,
0.3062792718410492,
-0.6957554221153259,
0.07157929241657257,
0.2019820660352707,
-0.17815274000167847,
-0.16949982941150665,
0.1812526136636734,
0.02130156382918358,
-0.19928371906280518,
-0.501190721988678,
-0.206435889005661,
-0.18858887255191803,
0.14362069964408875,
0.0629485696554184,
-0.1584717333316803,
0.016558479517698288,
0.3516263961791992,
0.18237490952014923,
-0.028489185497164726,
-0.29234230518341064,
-0.00827756803482771,
0.14028653502464294,
0.11411857604980469,
-0.041775889694690704,
-0.1638689935207367,
0.36289340257644653,
-0.16082657873630524,
0.1580132097005844,
-0.10443545877933502,
-0.0085227582603693,
-0.1552954912185669,
-0.36130374670028687,
0.12424983084201813,
0.13495194911956787,
0.043129272758960724,
0.1641472429037094,
-0.2754185199737549,
-0.01373930275440216,
-0.20154723525047302,
0.3610268235206604,
0.21697983145713806,
-0.07362914085388184,
0.2058791220188141,
0.5228740572929382,
-0.17215949296951294,
-0.28624916076660156,
-0.04197578877210617,
-0.03802907466888428,
0.3132925033569336,
-0.07591959089040756,
0.04137007147073746,
-0.2068864107131958,
0.07759708166122437,
-0.047240059822797775,
0.09097106009721756,
0.04201599583029747,
0.24270644783973694,
0.2671847939491272,
-0.09419992566108704,
-0.07208371162414551,
-0.012078812345862389,
0.2595578730106354,
0.47574374079704285,
-0.30697375535964966,
0.1276591718196869,
0.03732820600271225,
0.19737395644187927,
-0.28480440378189087,
-0.15505030751228333,
-0.25568220019340515,
-0.09407547116279602,
0.047313790768384933,
0.26004528999328613,
0.18299821019172668,
0.003329835832118988,
0.4828372597694397,
-0.04802572354674339,
0.542851984500885,
-0.06713631749153137,
0.24148111045360565,
0.3757131099700928,
-0.0016424506902694702,
0.1978365033864975,
0.5278300642967224,
0.1990920752286911,
0.27241915464401245,
0.33352798223495483,
-0.0917324349284172,
0.21822035312652588,
-0.06884395331144333,
-0.035919178277254105,
0.24528926610946655,
-0.2524717152118683,
0.1675521582365036,
0.007739260792732239,
-0.029122188687324524,
0.011985622346401215,
-0.0026051923632621765,
0.4270748496055603,
-0.3289182484149933,
-0.005909437779337168,
-0.017110243439674377,
0.264356791973114,
-0.12951961159706116,
0.09737192094326019,
0.13906781375408173,
-0.03040904551744461,
-0.2190071940422058,
-0.07159125804901123,
-0.018240313977003098,
-0.2231910675764084,
0.21941998600959778,
0.11563585698604584,
-0.3080742359161377,
-0.2737399935722351,
0.033876147121191025,
0.04852549731731415,
0.3315066397190094,
-0.16674228012561798,
0.10387054830789566,
0.0930676981806755,
-0.052671872079372406,
-0.16835114359855652,
0.20942071080207825,
0.34715893864631653,
0.04128442704677582,
0.03460611775517464,
0.092167429625988,
0.1569930464029312,
-0.038189440965652466,
0.0006444212049245834,
0.254535436630249,
-0.15900841355323792,
0.6526179313659668,
0.16976314783096313,
0.212527334690094,
-0.30081212520599365,
-0.13364633917808533,
-0.07570971548557281,
-0.017055228352546692,
-0.22463808953762054,
0.9483628273010254,
-0.2205868661403656,
-0.015859857201576233,
-0.3023154139518738,
-0.0674181655049324,
-0.27086248993873596,
0.21938729286193848,
0.657068133354187,
0.09641290456056595,
-0.10872666537761688,
-0.22101864218711853,
0.07429274171590805,
0.24951912462711334,
0.05508336424827576,
0.15447989106178284,
0.18338775634765625,
-0.08308655023574829,
0.2398470789194107,
-0.5153109431266785,
0.39680561423301697,
0.27025482058525085,
0.3153619170188904,
0.2248549461364746,
-0.014844626188278198,
0.09145647287368774,
0.1959058791399002,
0.14138653874397278,
0.2747861444950104,
0.3049246072769165,
-0.2627071142196655,
-0.07137355953454971,
-0.32868847250938416,
-0.08671031892299652,
-0.07260067015886307,
-0.00013324059545993805,
-0.5050557851791382,
0.25272735953330994,
-0.3313552141189575,
0.008826449513435364,
-0.34846222400665283,
-0.36110538244247437,
0.1764543503522873,
0.1195356696844101,
0.6544041633605957,
0.06630885601043701,
0.4551125764846802,
-0.011040203273296356,
-0.18993313610553741,
-0.22869285941123962,
-0.2842932939529419,
-0.1438596546649933,
0.0009167715907096863,
-0.11595912277698517,
0.1897074580192566,
-0.022869648411870003,
-0.26744383573532104,
-0.423736035823822,
0.2530839145183563,
0.11188618838787079,
-0.17582497000694275,
-0.2702619731426239,
0.3499615490436554,
-0.37368324398994446,
0.03016694262623787,
0.16139385104179382,
0.23080229759216309,
-0.023182883858680725,
-0.009524825029075146,
-0.20615282654762268,
-0.42215096950531006,
0.40928229689598083,
-0.354599267244339,
-0.34555065631866455,
0.14865003526210785,
0.38975581526756287,
-0.18848258256912231,
-0.36922314763069153,
-0.5232137441635132,
0.11804608255624771,
0.39942842721939087,
-0.12490185350179672,
-0.07385535538196564,
0.14523574709892273,
-0.16723349690437317,
0.13877499103546143,
-0.012653065845370293,
0.42040547728538513,
0.17178303003311157,
-0.1847858875989914,
0.27739277482032776,
-0.03437855467200279
] |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | > (cc @Wauplin since huggingface_hub has the same issue.)
Hmm maybe we have the same issue but I haven't been able to reproduce something similar to `"load_dataset" is not exported from module "datasets"` message (using VSCode+Pylance -that is powered by Pyright). `huggingface_hub` contains a `py.typed` file but the package itself is actually typed. We are running `mypy` in our CI tests since ~3 months and so far it seems to be ok. But happy to change if it causes some issues with linters.
Also the top-level [`__init__.py`](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/__init__.py) is quite different in `hfh` than `datasets` (at first glance). We have a section at the bottom to import all high level methods/classes in a `if TYPE_CHECKING` block. | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 115 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
> (cc @Wauplin since huggingface_hub has the same issue.)
Hmm maybe we have the same issue but I haven't been able to reproduce something similar to `"load_dataset" is not exported from module "datasets"` message (using VSCode+Pylance -that is powered by Pyright). `huggingface_hub` contains a `py.typed` file but the package itself is actually typed. We are running `mypy` in our CI tests since ~3 months and so far it seems to be ok. But happy to change if it causes some issues with linters.
Also the top-level [`__init__.py`](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/__init__.py) is quite different in `hfh` than `datasets` (at first glance). We have a section at the bottom to import all high level methods/classes in a `if TYPE_CHECKING` block. | [
-0.1734933853149414,
-0.34276628494262695,
0.05931945517659187,
0.2731611728668213,
0.253451406955719,
0.030000902712345123,
0.39011693000793457,
0.1951955109834671,
0.19493548572063446,
-0.2556235194206238,
-0.24391987919807434,
0.3783649802207947,
-0.024694625288248062,
0.20143800973892212,
0.15493007004261017,
0.1129656434059143,
0.2214908003807068,
-0.05465017259120941,
-0.1287808120250702,
-0.1466837227344513,
-0.08682270348072052,
0.1533062905073166,
-0.27307993173599243,
0.05949847772717476,
-0.5285040736198425,
0.06917676329612732,
0.14251002669334412,
0.20367181301116943,
0.18311865627765656,
-0.33185482025146484,
0.37912455201148987,
0.02985529974102974,
0.17415572702884674,
0.0039333924651145935,
-0.00011833808093797415,
0.06805191934108734,
0.3677995800971985,
-0.17729252576828003,
-0.15723919868469238,
-0.00845634937286377,
0.20591476559638977,
0.08572984486818314,
0.2779190242290497,
0.038704849779605865,
0.09042004495859146,
-0.20586943626403809,
-0.2951200604438782,
-0.06495508551597595,
0.04706278443336487,
0.32521283626556396,
0.2046300768852234,
0.6978886127471924,
0.08970735967159271,
-0.15322338044643402,
-0.1851518452167511,
0.14401668310165405,
-0.05290554463863373,
0.5416415929794312,
-0.1655983030796051,
-0.24779225885868073,
-0.0419330969452858,
0.03122694417834282,
0.0007389821112155914,
-0.01629580929875374,
0.46323734521865845,
-0.19367192685604095,
-0.22246235609054565,
-0.08311188966035843,
-0.12295123189687729,
0.14006541669368744,
-0.04764577001333237,
-0.47438713908195496,
-0.33762335777282715,
-0.4748249053955078,
0.11287979036569595,
-0.007011197507381439,
0.16615727543830872,
0.2001662403345108,
0.015702735632658005,
0.32973602414131165,
0.13352635502815247,
-0.28572702407836914,
-0.13626092672348022,
-0.01124938577413559,
-0.14315304160118103,
0.018151499330997467,
-0.18672239780426025,
0.17013785243034363,
0.11334674805402756,
0.1225779801607132,
0.24143804609775543,
-0.06323574483394623,
0.10825160145759583,
-0.032852333039045334,
-0.07228583097457886,
0.2166847586631775,
0.4107532203197479,
0.214145690202713,
-0.004316164180636406,
-0.11225797235965729,
-0.40305933356285095,
0.09547737240791321,
-0.34554964303970337,
0.11882102489471436,
0.26679545640945435,
0.0018418598920106888,
0.31239375472068787,
0.3180882930755615,
0.25676268339157104,
0.20872265100479126,
0.0780133455991745,
0.13207383453845978,
-0.1064102053642273,
0.1372276246547699,
0.0932023823261261,
-0.22606664896011353,
0.14732223749160767,
-0.3816828727722168,
-0.5199393033981323,
-0.16116853058338165,
-0.08248324692249298,
-0.057100336998701096,
-0.09127002954483032,
0.4581732451915741,
-0.033684901893138885,
0.289197713136673,
0.24949459731578827,
0.358318030834198,
-0.29466086626052856,
-0.08563651144504547,
-0.16723684966564178,
0.2666206359863281,
-0.1466071754693985,
0.03381761908531189,
-0.07676832377910614,
-0.36972665786743164,
0.047526128590106964,
0.06598931550979614,
0.22796368598937988,
-0.11191102117300034,
-0.10053440183401108,
0.07260662317276001,
-0.033065684139728546,
0.24312089383602142,
-0.0037687644362449646,
0.17504478991031647,
0.38228148221969604,
0.07561135292053223,
-0.316618412733078,
0.015224620699882507,
-0.34727799892425537,
-0.3347207307815552,
-0.23871131241321564,
0.14322926104068756,
-0.6127101182937622,
-0.1303449124097824,
-0.27680981159210205,
-0.17510077357292175,
-0.026571445167064667,
0.03212498500943184,
0.11518361419439316,
-0.3152126669883728,
0.08137623965740204,
-0.1634903997182846,
0.1272003948688507,
0.4880064129829407,
-0.2823989689350128,
-0.5254852771759033,
-0.1569952666759491,
-0.4583790600299835,
0.20679575204849243,
0.17388242483139038,
-0.36197629570961,
0.36612752079963684,
-0.3637655973434448,
0.07424353063106537,
0.09417282044887543,
-0.3612423241138458,
-0.15157918632030487,
0.1473933309316635,
-0.2380288541316986,
0.13309775292873383,
-0.10144943743944168,
-0.09277649968862534,
-0.4702003598213196,
-0.0568198636174202,
0.10332654416561127,
0.4002474546432495,
0.14020530879497528,
0.03585861623287201,
-0.266236275434494,
-0.2884887456893921,
0.04242118075489998,
0.15131869912147522,
0.11863677203655243,
-0.07667431980371475,
0.41686317324638367,
0.3110315799713135,
0.45072290301322937,
-0.12808357179164886,
0.04644271731376648,
0.17713257670402527,
0.27102476358413696,
0.2615841031074524,
-0.04406563937664032,
-0.3017645478248596,
-0.10969049483537674,
0.23400995135307312,
-0.4100508987903595,
0.11792534589767456,
-0.2973864674568176,
-0.18236194550991058,
-0.03529278188943863,
0.09289132803678513,
-0.41226378083229065,
-0.27557000517845154,
0.06706829369068146,
0.09131158888339996,
-0.2760121524333954,
0.15432405471801758,
-0.19132229685783386,
0.4580399692058563,
-0.3499423861503601,
0.12343646585941315,
-0.2954345941543579,
0.6451243758201599,
0.09028904139995575,
-0.042989034205675125,
-0.08269643038511276,
0.15047374367713928,
0.13813070952892303,
-0.18545392155647278,
-0.002453729510307312,
0.13836854696273804,
0.028942469507455826,
0.4934067726135254,
-0.016209974884986877,
0.012178629636764526,
0.2743504047393799,
-0.4261932373046875,
0.25156301259994507,
-0.08927857875823975,
0.032778024673461914,
0.0901779904961586,
-0.12334222346544266,
0.4806836247444153,
-0.05932405963540077,
0.19594527781009674,
0.19599878787994385,
-0.06313306838274002,
0.08051645010709763,
0.03758944943547249,
0.07523874938488007,
-0.4551938772201538,
0.10500587522983551,
0.18274709582328796,
-0.016886740922927856,
0.0779876708984375,
-0.03494935482740402,
0.2139386534690857,
0.6115928292274475,
-0.062349576503038406,
0.25088685750961304,
0.09697254002094269,
-0.4019843339920044,
-0.16720908880233765,
0.4802025556564331,
-0.1122242733836174,
0.48321622610092163,
0.05303579568862915,
-0.03120722994208336,
0.275095671415329,
-0.16283948719501495,
-0.08964318037033081,
0.26243823766708374,
0.12696324288845062,
-0.014681513421237469,
0.03665413334965706,
-0.013850616291165352,
0.053169067949056625,
-0.4161916971206665,
0.024696093052625656,
-0.12521237134933472,
-0.0899311900138855,
-0.49722203612327576,
0.22266091406345367,
-0.5234078168869019,
-0.14136403799057007,
-0.246181458234787,
-0.2057463526725769,
-0.17646758258342743,
-0.29475873708724976,
-0.24360065162181854,
0.1297607272863388,
-0.061107438057661057,
0.011094480752944946,
-0.16609390079975128,
-0.19993551075458527,
-0.2377425879240036,
-0.5333314538002014,
0.11506104469299316,
0.0440155453979969,
-0.09428312629461288,
-0.013339812867343426,
0.023984115570783615,
0.24300841987133026,
0.4020284116268158,
-0.32809212803840637,
-0.006574324332177639,
-0.25740769505500793,
-0.2564418911933899,
0.3964300751686096,
-0.1308971494436264,
0.2683505415916443,
0.04905131459236145,
-0.18164460361003876,
0.27567410469055176,
0.03290335088968277,
0.30117008090019226,
-0.27181190252304077,
-0.10339634120464325,
0.2878805100917816,
-0.25879496335983276,
0.029282014816999435,
0.027194689959287643,
-0.18884271383285522,
-0.31808358430862427,
-0.5068632960319519,
0.26597797870635986,
-0.030160021036863327,
0.07082431763410568,
0.2927974760532379,
-0.056422680616378784,
0.3664984107017517,
-0.48176267743110657,
0.19729989767074585,
0.00006646453402936459,
-0.05037175863981247,
0.1799846887588501,
-0.10320735722780228,
-0.2637256383895874,
0.13919676840305328,
0.13262827694416046,
0.11562196910381317,
0.04707629233598709,
-0.3639649748802185,
-0.34810924530029297,
-0.08626516163349152,
0.5589825510978699,
0.17067211866378784,
0.29128924012184143,
0.20093584060668945,
0.07520513236522675,
0.09866869449615479,
-0.11480779200792313,
-0.1554621309041977,
-0.16001421213150024,
0.06694600731134415,
0.005511395633220673,
-0.015420075505971909,
0.15137165784835815,
-0.06873787194490433,
0.5301939845085144,
0.4398243725299835,
0.009472966194152832,
0.43138378858566284,
-0.0947134718298912,
0.5427727103233337,
-0.21630480885505676,
-0.3679855465888977,
0.07719757407903671,
-0.18704405426979065,
0.13851869106292725,
0.17898139357566833,
-0.11972396820783615,
-0.0393841490149498,
-0.05901643633842468,
-0.38748571276664734,
-0.30534622073173523,
-0.3539963364601135,
0.1842605620622635,
0.26384562253952026,
0.140680730342865,
-0.11913749575614929,
0.12169355899095535,
-0.12081225216388702,
-0.06110672280192375,
0.43184414505958557,
0.23606228828430176,
0.14598968625068665,
0.17659121751785278,
-0.17432290315628052,
-0.4008233845233917,
0.02311507984995842,
0.08767563849687576,
-0.06227262318134308,
0.1573302000761032,
-0.009500332176685333,
-0.39960789680480957,
0.05000041425228119,
-0.10464721918106079,
0.06948778033256531,
0.17538197338581085,
0.11380401998758316,
0.17186278104782104,
-0.33913370966911316,
-0.4726426601409912,
-0.148579403758049,
-0.18244628608226776,
0.05288190767168999,
-0.10405303537845612,
0.31979283690452576,
-0.41309744119644165,
-0.25676053762435913,
0.039581090211868286,
0.3582058846950531,
-0.055846571922302246,
-0.0733899250626564,
-0.3136013150215149,
-0.036387115716934204,
-0.5033621191978455,
-0.11032605916261673,
0.03320283442735672,
0.18894106149673462,
-0.13418272137641907,
0.07108989357948303,
0.09596103429794312,
-0.12519028782844543,
0.2905164361000061,
0.21406926214694977,
0.19969388842582703,
-0.17783312499523163,
0.21782812476158142,
0.1541053056716919,
-0.2263273298740387,
0.4096827507019043,
0.7853496074676514,
0.01857132464647293,
-0.38019564747810364,
-0.059267811477184296,
0.10148324072360992,
0.20702892541885376,
0.2640320360660553,
-0.1753983348608017,
0.25985610485076904,
0.02622370421886444,
0.1319875568151474,
-0.4097602367401123,
0.10829717665910721,
0.17659443616867065,
-0.05588147044181824,
-0.1324387639760971,
-0.25769615173339844,
0.3415985405445099,
-0.05842597782611847,
-0.006270706653594971,
0.3248653709888458,
0.3187159597873688,
-0.2954527735710144,
0.03505641594529152,
0.07463964074850082,
0.6352614760398865,
0.2555614709854126,
0.15899589657783508,
0.27559736371040344,
-0.13454973697662354,
0.4441286623477936,
-0.026731910184025764,
-0.08439387381076813,
-0.34054121375083923,
-0.21908532083034515,
0.15085840225219727,
-0.13476543128490448,
0.17256200313568115,
-0.3969424366950989,
0.2137024700641632,
0.2657994329929352,
-0.3192790746688843,
0.03913041576743126,
0.07536947727203369,
0.30593234300613403,
-0.0742957666516304,
-0.3217690587043762,
-0.4473794996738434,
0.0727192834019661,
-0.03535406291484833,
0.2994219958782196,
-0.044445160776376724,
-0.07252645492553711,
0.14207178354263306,
-0.03893868625164032,
-0.2982940971851349,
0.28627723455429077,
-0.06548367440700531,
0.05941985175013542,
0.09172670543193817,
0.26865851879119873,
0.2999069392681122,
-0.11376610398292542,
0.0022605136036872864,
-0.1789196878671646,
-0.13612514734268188,
0.007488202303647995,
-0.2668670117855072,
0.004742726217955351,
0.07238955795764923,
0.09788186103105545,
0.5317779183387756,
-0.12131907790899277,
-0.16518330574035645,
0.06362754851579666,
-0.015955258160829544,
-0.009566489607095718,
-0.17176637053489685,
0.05782425403594971,
0.16762419044971466,
-0.227366104722023,
-0.02973884530365467,
0.09215771406888962,
0.22281697392463684,
-0.22907990217208862,
0.09009571373462677,
0.4124951958656311,
-0.06336777657270432,
0.2404477596282959,
-0.09894369542598724,
-0.2625061273574829,
-0.28496479988098145,
0.41024249792099,
0.03027522563934326,
-0.039494916796684265,
-0.026687324047088623,
0.1362377405166626,
-0.3568355441093445,
-0.13173869252204895,
0.1093481257557869,
0.49153125286102295,
-0.6032649278640747,
0.03882405161857605,
0.20233696699142456,
-0.2068828046321869,
-0.13635565340518951,
0.10185285657644272,
0.12180978804826736,
-0.2539997398853302,
-0.40889933705329895,
-0.23557057976722717,
-0.1413823515176773,
0.2551620602607727,
-0.021291743963956833,
-0.17848896980285645,
-0.026601191610097885,
0.42377880215644836,
0.20626585185527802,
-0.035253703594207764,
-0.279258668422699,
-0.02696157619357109,
0.11960498243570328,
-0.0334707647562027,
-0.1654706746339798,
-0.08922300487756729,
0.4262356162071228,
-0.15494520962238312,
0.10688111186027527,
-0.023316722363233566,
-0.08998657017946243,
-0.09633584320545197,
-0.39554858207702637,
0.15554054081439972,
0.1488143801689148,
0.10785120725631714,
0.266864538192749,
-0.27638310194015503,
-0.043143223971128464,
-0.2224145233631134,
0.4943545460700989,
0.2208137810230255,
-0.06790409982204437,
0.16566112637519836,
0.5556130409240723,
-0.1564660370349884,
-0.3274933099746704,
0.027453240007162094,
0.16253402829170227,
0.32886525988578796,
-0.18411891162395477,
-0.10942870378494263,
-0.2500428557395935,
0.051863908767700195,
0.010051587596535683,
0.2164725959300995,
0.1011529490351677,
0.17111089825630188,
0.2873488962650299,
-0.07372605800628662,
-0.05375448986887932,
0.020096292719244957,
0.22876369953155518,
0.49225160479545593,
-0.21416392922401428,
0.11699472367763519,
0.03384595736861229,
0.13127142190933228,
-0.23108036816120148,
-0.18579690158367157,
-0.2748052477836609,
-0.20788301527500153,
0.04864383116364479,
0.3058715760707855,
0.21221578121185303,
0.010721959173679352,
0.5284894704818726,
-0.06332439184188843,
0.5427747964859009,
-0.12233538925647736,
0.0742746889591217,
0.3133889436721802,
-0.04867452383041382,
0.2542446553707123,
0.5571841597557068,
0.1909605711698532,
0.28934386372566223,
0.3083585500717163,
-0.06627122312784195,
0.20969748497009277,
-0.10224642604589462,
0.04534615948796272,
0.34082844853401184,
-0.3366848826408386,
-0.028184179216623306,
0.12564009428024292,
0.14511489868164062,
-0.03251134604215622,
-0.18192526698112488,
0.4528366029262543,
-0.3352222740650177,
-0.15949790179729462,
0.04677603393793106,
0.2582949697971344,
-0.17619502544403076,
0.14114157855510712,
0.09472112357616425,
-0.0005948916077613831,
-0.3216060400009155,
-0.10793434083461761,
-0.02268524095416069,
-0.3648221492767334,
0.25092118978500366,
0.011676821857690811,
-0.22918640077114105,
-0.22774255275726318,
-0.09922701865434647,
0.017962170764803886,
0.26480570435523987,
-0.1142566055059433,
0.20779600739479065,
0.09770271927118301,
-0.014639608561992645,
-0.12384200096130371,
0.1600278615951538,
0.40947985649108887,
0.059953443706035614,
0.09212818741798401,
0.01680813357234001,
0.18572281301021576,
0.06327147036790848,
0.035726096481084824,
0.15726912021636963,
-0.13999731838703156,
0.5818340182304382,
0.22570885717868805,
0.16770672798156738,
-0.2698972523212433,
-0.10921454429626465,
-0.17361800372600555,
0.04386516660451889,
-0.24467355012893677,
0.9799683094024658,
-0.26244404911994934,
0.017090417444705963,
-0.2929594814777374,
-0.010605379939079285,
-0.3349056541919708,
0.2490827590227127,
0.5931298136711121,
0.059581298381090164,
-0.17306214570999146,
-0.18429872393608093,
0.08145150542259216,
0.24939276278018951,
0.13065746426582336,
0.2555372714996338,
0.13252697885036469,
-0.07104554772377014,
0.1832292526960373,
-0.6226117014884949,
0.4167875349521637,
0.12456834316253662,
0.24664625525474548,
0.23366934061050415,
-0.04580900818109512,
0.13307008147239685,
0.10993601381778717,
0.13238607347011566,
0.07769507169723511,
0.3234415650367737,
-0.4021192491054535,
-0.07141172140836716,
-0.22851480543613434,
-0.047060996294021606,
-0.15737803280353546,
-0.021348152309656143,
-0.4249408543109894,
0.31176990270614624,
-0.37903067469596863,
-0.029099056497216225,
-0.23509474098682404,
-0.28312498331069946,
0.17212682962417603,
-0.07472091913223267,
0.6181012988090515,
0.07334356755018234,
0.4066832959651947,
-0.023780502378940582,
-0.28811779618263245,
-0.12556980550289154,
-0.29766300320625305,
-0.13714998960494995,
0.05932455509901047,
-0.2798547148704529,
0.23978111147880554,
-0.009648147970438004,
-0.48351970314979553,
-0.37090811133384705,
0.2226986438035965,
0.15321484208106995,
-0.07132451236248016,
-0.19005592167377472,
0.3477194011211395,
-0.45573657751083374,
-0.01478208601474762,
0.2716829180717468,
0.38024047017097473,
0.0029321610927581787,
-0.004641548730432987,
-0.27484962344169617,
-0.41354477405548096,
0.41823285818099976,
-0.36497199535369873,
-0.2243550419807434,
0.11509092152118683,
0.3934662342071533,
-0.11975496262311935,
-0.5359053015708923,
-0.4782220125198364,
0.09769801050424576,
0.3615565896034241,
-0.03040221706032753,
0.0016293376684188843,
0.1717217117547989,
-0.23898963630199432,
0.1447935700416565,
-0.039780568331480026,
0.3612420856952667,
0.038065385073423386,
-0.2595022916793823,
0.36969050765037537,
0.003187943249940872
] |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | @Wauplin I only get the error if I use Pyright's CLI tool or the Pyright extension (not sure why, but Pylance also doesn't report this issue on my machine)
> Also the top-level [`__init__.py`](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/__init__.py) is quite different in `hfh` than `datasets` (at first glance). We have a section at the bottom to import all high level methods/classes in a `if TYPE_CHECKING` block.
I tried to fix the issue with `TYPE_CHECKING`, but it still fails if `py.typed` is present. | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 78 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
@Wauplin I only get the error if I use Pyright's CLI tool or the Pyright extension (not sure why, but Pylance also doesn't report this issue on my machine)
> Also the top-level [`__init__.py`](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/__init__.py) is quite different in `hfh` than `datasets` (at first glance). We have a section at the bottom to import all high level methods/classes in a `if TYPE_CHECKING` block.
I tried to fix the issue with `TYPE_CHECKING`, but it still fails if `py.typed` is present. | [
-0.08133698999881744,
-0.35310107469558716,
0.10134050250053406,
0.22338001430034637,
0.20925891399383545,
0.08671101182699203,
0.440326064825058,
0.23700042068958282,
0.2594299912452698,
-0.25011080503463745,
-0.19836176931858063,
0.3156060576438904,
0.0606292262673378,
0.22144222259521484,
0.10694953799247742,
0.0556398369371891,
0.2551148235797882,
-0.03907787799835205,
-0.2293725609779358,
-0.12826479971408844,
-0.10070963203907013,
0.04258525371551514,
-0.30275070667266846,
0.08423282951116562,
-0.5206990838050842,
0.14067843556404114,
0.13598918914794922,
0.24528104066848755,
0.18727616965770721,
-0.35162773728370667,
0.40783658623695374,
-0.006058361381292343,
0.276532918214798,
0.011172324419021606,
-0.00012285583943594247,
0.10795105993747711,
0.293237566947937,
-0.21803972125053406,
-0.10912173986434937,
0.042924389243125916,
0.11823629587888718,
0.05166751146316528,
0.2927131950855255,
0.04720281809568405,
0.20635497570037842,
-0.19821932911872864,
-0.2813592255115509,
-0.1036909967660904,
-0.053472891449928284,
0.3192589282989502,
0.1508110612630844,
0.60976243019104,
0.0753108412027359,
-0.15018713474273682,
-0.2788068652153015,
0.19479939341545105,
-0.052770134061574936,
0.5162824988365173,
-0.21024900674819946,
-0.32253265380859375,
-0.002563372254371643,
0.04875126853585243,
0.015084309503436089,
0.02491902746260166,
0.49426016211509705,
-0.25666314363479614,
-0.15620389580726624,
-0.055950477719306946,
-0.1483968198299408,
0.19090449810028076,
0.0012211650609970093,
-0.42423903942108154,
-0.358201801776886,
-0.44811558723449707,
0.09737525880336761,
0.03227178007364273,
0.17746469378471375,
0.17886701226234436,
-0.004285422153770924,
0.2968650758266449,
0.17665359377861023,
-0.21763969957828522,
-0.12555359303951263,
-0.045585110783576965,
-0.13500553369522095,
0.08707945048809052,
-0.05095069855451584,
0.21047338843345642,
0.13508117198944092,
0.13141557574272156,
0.30567556619644165,
-0.061196669936180115,
0.09694010764360428,
0.0300309956073761,
-0.13502466678619385,
0.2506546080112457,
0.4207276701927185,
0.15664848685264587,
-0.02099335938692093,
-0.14255239069461823,
-0.39654740691185,
0.07153911888599396,
-0.32737022638320923,
0.15127578377723694,
0.3063701391220093,
-0.08419014513492584,
0.32795578241348267,
0.2952980101108551,
0.3117385506629944,
0.21367071568965912,
0.0983896553516388,
0.12550216913223267,
-0.15239731967449188,
0.07924072444438934,
0.1659744679927826,
-0.16665595769882202,
0.17769554257392883,
-0.411664754152298,
-0.47514915466308594,
-0.18465669453144073,
-0.1755877137184143,
-0.10186690837144852,
-0.07847493141889572,
0.45630544424057007,
0.019505519419908524,
0.34773364663124084,
0.2936277389526367,
0.383966326713562,
-0.3108885884284973,
-0.13545022904872894,
-0.07840782403945923,
0.2783524692058563,
-0.08303582668304443,
0.02543172612786293,
-0.09408153593540192,
-0.3271576464176178,
0.056380100548267365,
0.05814829468727112,
0.11890532076358795,
-0.0722670778632164,
-0.0047954050824046135,
-0.0003547361120581627,
-0.0742511972784996,
0.2727940082550049,
0.006220828741788864,
0.16594980657100677,
0.4491198658943176,
0.12951931357383728,
-0.32414448261260986,
0.04857540875673294,
-0.3612687289714813,
-0.3839204013347626,
-0.24372602999210358,
0.09852604568004608,
-0.5182485580444336,
-0.16533653438091278,
-0.28831666707992554,
-0.2053193747997284,
0.003987908363342285,
0.030675683170557022,
0.09009575843811035,
-0.3589175343513489,
0.02785002812743187,
-0.10233276337385178,
0.10606252402067184,
0.523391604423523,
-0.43080607056617737,
-0.5204960703849792,
-0.1963312029838562,
-0.4344095289707184,
0.20247147977352142,
0.15958622097969055,
-0.40520361065864563,
0.42623499035835266,
-0.4094999134540558,
0.07617202401161194,
0.0925983190536499,
-0.33754363656044006,
-0.05343646556138992,
0.04718165472149849,
-0.1279289424419403,
0.124393530189991,
-0.039759375154972076,
-0.08332744240760803,
-0.543016791343689,
-0.10525970906019211,
0.10134394466876984,
0.44712603092193604,
0.09728826582431793,
0.01724000833928585,
-0.18808478116989136,
-0.222720667719841,
0.1436736285686493,
0.12547948956489563,
0.16621433198451996,
-0.06923650950193405,
0.41067153215408325,
0.2830639183521271,
0.46995988488197327,
-0.17065724730491638,
0.0034777300897985697,
0.15023654699325562,
0.2901015281677246,
0.19413504004478455,
0.02652941830456257,
-0.26375651359558105,
-0.02605898678302765,
0.266404390335083,
-0.40223270654678345,
0.1577489674091339,
-0.3137398958206177,
-0.1248786598443985,
-0.07326628267765045,
0.15646058320999146,
-0.4034537076950073,
-0.17470967769622803,
-0.001632368192076683,
0.13634425401687622,
-0.33965176343917847,
0.19758160412311554,
-0.18726181983947754,
0.43092215061187744,
-0.4266096353530884,
0.07666195929050446,
-0.21510010957717896,
0.6526762843132019,
0.09305794537067413,
0.03063119947910309,
-0.14350101351737976,
0.12026799470186234,
0.13121885061264038,
-0.14585749804973602,
-0.09458725899457932,
0.06517590582370758,
0.028388746082782745,
0.4747409224510193,
0.00138000026345253,
-0.011761307716369629,
0.20380748808383942,
-0.4733460247516632,
0.13280947506427765,
-0.08866241574287415,
0.09983453154563904,
0.08460807055234909,
-0.03615272045135498,
0.45526450872421265,
0.096745565533638,
0.2832343280315399,
0.1966559737920761,
-0.09069965779781342,
0.03217414766550064,
0.03068012371659279,
0.18634171783924103,
-0.43954551219940186,
0.0709269642829895,
0.2540125250816345,
-0.13256612420082092,
0.07157599925994873,
-0.010974794626235962,
0.1762022227048874,
0.6404139399528503,
-0.10176070034503937,
0.2861073315143585,
0.046888090670108795,
-0.39565616846084595,
-0.15673494338989258,
0.5495324730873108,
-0.1346016526222229,
0.497883677482605,
0.00999519694596529,
-0.028217095881700516,
0.25930255651474,
-0.14226281642913818,
0.012510400265455246,
0.2609208822250366,
0.13289102911949158,
-0.012126605957746506,
0.05903562158346176,
0.01738261617720127,
-0.0008787913247942924,
-0.3798266053199768,
0.07096268236637115,
-0.08944039791822433,
-0.04546770453453064,
-0.5181955695152283,
0.2985532581806183,
-0.515329897403717,
-0.152822345495224,
-0.20042262971401215,
-0.1465521901845932,
-0.1956634223461151,
-0.325186163187027,
-0.25558000802993774,
0.13280156254768372,
-0.08266110718250275,
0.0012648645788431168,
-0.2943078577518463,
-0.24817262589931488,
-0.133059561252594,
-0.6751388907432556,
0.102545365691185,
0.019024251028895378,
-0.11480947583913803,
-0.06742163002490997,
0.09532849490642548,
0.2774498462677002,
0.35385045409202576,
-0.28622114658355713,
-0.09961356222629547,
-0.24061816930770874,
-0.2241518199443817,
0.4324807822704315,
-0.03320656716823578,
0.23823300004005432,
0.004018336534500122,
-0.1335439682006836,
0.2674739360809326,
0.01681612804532051,
0.26119154691696167,
-0.2653379440307617,
-0.11998743563890457,
0.39830535650253296,
-0.297004371881485,
0.13177403807640076,
0.06511600315570831,
-0.2303352653980255,
-0.2904376685619354,
-0.5176039338111877,
0.14170126616954803,
-0.0490509495139122,
0.12278477102518082,
0.24889864027500153,
-0.03404872864484787,
0.3676011860370636,
-0.4438402056694031,
0.19103863835334778,
0.02434716187417507,
0.01295601949095726,
0.2415309101343155,
-0.09271737188100815,
-0.25365081429481506,
0.16189482808113098,
0.060127876698970795,
0.05052947998046875,
0.06809215247631073,
-0.30645880103111267,
-0.3232490122318268,
-0.047580890357494354,
0.564411461353302,
0.11765150725841522,
0.30615147948265076,
0.20423555374145508,
0.03392395004630089,
0.1387878954410553,
-0.10668084770441055,
-0.1720382422208786,
-0.12602204084396362,
0.13221116364002228,
0.02388567477464676,
0.020092984661459923,
0.23135697841644287,
-0.05567189306020737,
0.5617354512214661,
0.33563387393951416,
0.04313275218009949,
0.5418225526809692,
-0.03733505308628082,
0.512363076210022,
-0.2408328652381897,
-0.3521745502948761,
0.008791925385594368,
-0.17475959658622742,
0.1583133339881897,
0.09711162745952606,
-0.13340294361114502,
-0.0498257651925087,
-0.0917811244726181,
-0.31125518679618835,
-0.28529345989227295,
-0.34446465969085693,
0.1687697172164917,
0.26140764355659485,
0.18691551685333252,
-0.09629541635513306,
0.15405765175819397,
-0.17210327088832855,
-0.02087390422821045,
0.44403162598609924,
0.2947593927383423,
0.16292361915111542,
0.24718783795833588,
-0.16580919921398163,
-0.41046807169914246,
0.06678756326436996,
0.11783601343631744,
-0.016887662932276726,
0.2318553626537323,
-0.036885108798742294,
-0.4334809482097626,
0.031629323959350586,
-0.08206555247306824,
-0.004554539918899536,
0.11793993413448334,
0.11993627995252609,
0.13804741203784943,
-0.31894248723983765,
-0.48338600993156433,
-0.1653626412153244,
-0.11715713143348694,
-0.02916801907122135,
-0.02576734870672226,
0.2440822571516037,
-0.3579556345939636,
-0.23162421584129333,
0.03467030078172684,
0.40871959924697876,
-0.04511682316660881,
-0.09805703163146973,
-0.31077995896339417,
-0.04890377074480057,
-0.4962386190891266,
-0.14892986416816711,
0.03812337666749954,
0.16882939636707306,
-0.018447821959853172,
0.15401609241962433,
0.030014608055353165,
-0.13656464219093323,
0.2703683376312256,
0.2392670065164566,
0.14360123872756958,
-0.14344941079616547,
0.1874275952577591,
0.142502099275589,
-0.24105370044708252,
0.4477688670158386,
0.8083525896072388,
0.07055152952671051,
-0.39936286211013794,
-0.051900483667850494,
0.1761568933725357,
0.22452157735824585,
0.2160348892211914,
-0.22071188688278198,
0.24524995684623718,
0.049493949860334396,
0.09176123887300491,
-0.3359423577785492,
0.10085958987474442,
0.1470150500535965,
-0.027077745646238327,
-0.24358050525188446,
-0.24738028645515442,
0.3386057913303375,
-0.1055288314819336,
0.021670065820217133,
0.3325120508670807,
0.37414824962615967,
-0.30663228034973145,
0.028142154216766357,
0.015334002673625946,
0.5986453890800476,
0.22598916292190552,
0.09266205132007599,
0.2733902037143707,
-0.16590549051761627,
0.4146369695663452,
-0.0161128006875515,
-0.02955291047692299,
-0.351694256067276,
-0.19597868621349335,
0.13361161947250366,
-0.20382250845432281,
0.16699987649917603,
-0.4387252926826477,
0.285584956407547,
0.31305399537086487,
-0.34948086738586426,
-0.04243278130888939,
0.09203621745109558,
0.24818113446235657,
-0.10765831917524338,
-0.30449703335762024,
-0.3815622329711914,
0.03038337454199791,
-0.04655212163925171,
0.33949071168899536,
-0.044335369020700455,
-0.06129956990480423,
0.15904344618320465,
-0.04718605801463127,
-0.28434520959854126,
0.24225908517837524,
-0.08573609590530396,
0.06985123455524445,
0.031451497226953506,
0.2959498167037964,
0.33595994114875793,
-0.07287520170211792,
0.010405592620372772,
-0.2188338190317154,
-0.10075357556343079,
-0.04245330020785332,
-0.25861820578575134,
0.03001009300351143,
0.045554954558610916,
0.10630343854427338,
0.6181087493896484,
-0.07980237901210785,
-0.13162139058113098,
0.03853198140859604,
-0.09010737389326096,
-0.08933666348457336,
-0.15245212614536285,
0.12341892719268799,
0.1772347092628479,
-0.20465725660324097,
-0.055589400231838226,
0.009354032576084137,
0.2507163882255554,
-0.22973041236400604,
0.05419223755598068,
0.35854583978652954,
-0.06092774495482445,
0.15182305872440338,
-0.2109457403421402,
-0.24381908774375916,
-0.2586069405078888,
0.37816154956817627,
0.03876512125134468,
0.0074630007147789,
0.027370620518922806,
0.15025712549686432,
-0.3413832187652588,
-0.08726808428764343,
0.11515270918607712,
0.5292870998382568,
-0.5651019811630249,
0.051761776208877563,
0.2070377618074417,
-0.25583887100219727,
-0.1867087036371231,
0.08045466244220734,
0.059514351189136505,
-0.27121105790138245,
-0.3477056324481964,
-0.2809698283672333,
-0.2068202942609787,
0.21497227251529694,
-0.030745822936296463,
-0.25776219367980957,
-0.05399557575583458,
0.4335103929042816,
0.17328880727291107,
-0.11912140250205994,
-0.20983341336250305,
-0.050311438739299774,
0.1532851606607437,
-0.03698761761188507,
-0.17683817446231842,
-0.04847369343042374,
0.4158887267112732,
-0.15828824043273926,
0.07861094921827316,
-0.055237457156181335,
-0.0960838794708252,
-0.06934856623411179,
-0.4332527220249176,
0.17545315623283386,
0.23917818069458008,
0.11812631040811539,
0.38163629174232483,
-0.31477707624435425,
-0.029896248131990433,
-0.22380104660987854,
0.41396695375442505,
0.22382807731628418,
-0.12636245787143707,
0.20582661032676697,
0.5752888321876526,
-0.23594960570335388,
-0.34074342250823975,
0.02480495348572731,
0.13954243063926697,
0.3402844965457916,
-0.15756091475486755,
-0.08180011808872223,
-0.21990898251533508,
0.08420203626155853,
-0.10528761893510818,
0.22894969582557678,
0.052037280052900314,
0.14148803055286407,
0.2535454332828522,
-0.11552698910236359,
0.015078194439411163,
-0.03598276898264885,
0.18281219899654388,
0.4683064818382263,
-0.23871085047721863,
0.23458661139011383,
0.0014311298727989197,
0.077260322868824,
-0.2810651659965515,
-0.1804940402507782,
-0.29481056332588196,
-0.23591989278793335,
0.026537161320447922,
0.29649409651756287,
0.19136002659797668,
-0.07940323650836945,
0.4642956256866455,
-0.07711860537528992,
0.39472341537475586,
-0.08716139197349548,
0.10836176574230194,
0.39456602931022644,
-0.0565025620162487,
0.25355151295661926,
0.5000320076942444,
0.15812212228775024,
0.3165353536605835,
0.2908751964569092,
0.02317778393626213,
0.22376210987567902,
-0.09564319998025894,
0.016228511929512024,
0.2631310820579529,
-0.4280672073364258,
0.058034710586071014,
0.1408972144126892,
0.1651935577392578,
0.00943513959646225,
-0.11916008591651917,
0.381805419921875,
-0.3122302293777466,
-0.1671774685382843,
0.003682272508740425,
0.2067527025938034,
-0.16854935884475708,
0.14602895081043243,
0.14299096167087555,
0.010986410081386566,
-0.2974624037742615,
-0.0957338884472847,
0.06080261990427971,
-0.3484659790992737,
0.20680266618728638,
0.07975210249423981,
-0.30240875482559204,
-0.2332943230867386,
-0.049361683428287506,
0.056486524641513824,
0.27257660031318665,
-0.12557551264762878,
0.11130694299936295,
0.09537097066640854,
-0.09472352266311646,
-0.08011259138584137,
0.0825427770614624,
0.36788874864578247,
0.06118249148130417,
0.1335439234972,
0.004154266323894262,
0.1577138453722,
0.09321312606334686,
0.0759870857000351,
0.1221536248922348,
-0.12148065865039825,
0.6490160226821899,
0.20969553291797638,
0.10905920714139938,
-0.21545961499214172,
-0.13049115240573883,
-0.1709173619747162,
0.05110390484333038,
-0.31961289048194885,
0.9239547848701477,
-0.2502261996269226,
0.06930955499410629,
-0.21774664521217346,
0.029715776443481445,
-0.21598121523857117,
0.20696362853050232,
0.5866915583610535,
0.14241863787174225,
-0.18239429593086243,
-0.14338728785514832,
0.04556283354759216,
0.19603553414344788,
0.022576726973056793,
0.262050598859787,
0.07077983766794205,
-0.03281298279762268,
0.21219046413898468,
-0.6141563057899475,
0.3389072120189667,
0.08507059514522552,
0.2737694978713989,
0.33153560757637024,
-0.029543552547693253,
0.18447168171405792,
0.042584799230098724,
0.18410983681678772,
0.12038974463939667,
0.28129059076309204,
-0.38068991899490356,
-0.0977681502699852,
-0.3947243094444275,
-0.09369035065174103,
-0.14909160137176514,
-0.051381975412368774,
-0.5853658318519592,
0.29941442608833313,
-0.41241806745529175,
-0.037503913044929504,
-0.1670847237110138,
-0.33366164565086365,
0.2584259808063507,
-0.033659279346466064,
0.6994786858558655,
0.11375415325164795,
0.4843437373638153,
0.042437441647052765,
-0.27503612637519836,
-0.08905529975891113,
-0.3111981749534607,
-0.22267337143421173,
0.1052325963973999,
-0.3329002559185028,
0.3073817789554596,
-0.05315869301557541,
-0.48929861187934875,
-0.3603377342224121,
0.2833658754825592,
0.09853500127792358,
-0.17357853055000305,
-0.26335766911506653,
0.3372870683670044,
-0.438740074634552,
0.021396981552243233,
0.25719550251960754,
0.2955482304096222,
0.00019836053252220154,
-0.014335079118609428,
-0.27466636896133423,
-0.39227432012557983,
0.3892521262168884,
-0.32495251297950745,
-0.24832387268543243,
0.10047940164804459,
0.444024920463562,
-0.14397269487380981,
-0.4909231960773468,
-0.5116656422615051,
0.05966200679540634,
0.3645161986351013,
0.018915753811597824,
0.04086272791028023,
0.1437527984380722,
-0.21729715168476105,
0.2068646401166916,
-0.03145326301455498,
0.28793612122535706,
-0.0018776729702949524,
-0.2686913013458252,
0.3227381408214569,
0.038693107664585114
] |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | @mariosasko thank for the tip. I have been able to reproduce the issue as well. I would be up for including a (huge) static `__all__` variable in the `__init__.py` (since the file is already generated automatically in `hfh`) but honestly I don't think it's worth the hassle.
I'll delete the `py.typed` file in `huggingface_hub` to be consistent between HF libraries. I opened a PR here: https://github.com/huggingface/huggingface_hub/pull/1329 | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 66 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
@mariosasko thank for the tip. I have been able to reproduce the issue as well. I would be up for including a (huge) static `__all__` variable in the `__init__.py` (since the file is already generated automatically in `hfh`) but honestly I don't think it's worth the hassle.
I'll delete the `py.typed` file in `huggingface_hub` to be consistent between HF libraries. I opened a PR here: https://github.com/huggingface/huggingface_hub/pull/1329 | [
-0.14668415486812592,
-0.3914416432380676,
0.07356637716293335,
0.20581574738025665,
0.22391638159751892,
0.0826648697257042,
0.4413280189037323,
0.19921982288360596,
0.241195946931839,
-0.21934424340724945,
-0.20732110738754272,
0.37533923983573914,
0.08785153180360794,
0.18381953239440918,
0.09853769838809967,
-0.02447180449962616,
0.20745590329170227,
0.049153558909893036,
-0.2420503795146942,
-0.1528136432170868,
-0.081667959690094,
0.13779500126838684,
-0.20949028432369232,
0.015047065913677216,
-0.5503502488136292,
0.10698983073234558,
0.12111639976501465,
0.2015112340450287,
0.16993795335292816,
-0.3450709581375122,
0.28634658455848694,
0.05785857141017914,
0.21341757476329803,
-0.01255868375301361,
-0.00011922614794457331,
0.019871331751346588,
0.2445228546857834,
-0.1896912157535553,
-0.045827340334653854,
-0.010510042309761047,
0.2101173996925354,
0.06460904330015182,
0.30678990483283997,
0.05098506063222885,
0.09437847882509232,
-0.17224039137363434,
-0.2908678650856018,
0.019043616950511932,
0.006954550743103027,
0.2754410207271576,
0.1869242638349533,
0.6339695453643799,
0.023016098886728287,
-0.1355741024017334,
-0.15676385164260864,
0.18481504917144775,
-0.10070592164993286,
0.47777891159057617,
-0.27361175417900085,
-0.35795971751213074,
-0.11232229322195053,
0.14873787760734558,
0.036774180829524994,
0.10227532684803009,
0.5580466985702515,
-0.17610332369804382,
-0.2590462863445282,
-0.09340827167034149,
-0.1241181418299675,
0.20553544163703918,
-0.04004640132188797,
-0.48388758301734924,
-0.29496628046035767,
-0.42279180884361267,
0.13366639614105225,
-0.08641460537910461,
0.13968873023986816,
0.2706619203090668,
0.08266463875770569,
0.2872099280357361,
0.15373404324054718,
-0.3317147493362427,
-0.12514030933380127,
-0.04794441908597946,
-0.11912090331315994,
0.062655970454216,
-0.10528676211833954,
0.13079771399497986,
0.10943279415369034,
0.12336239218711853,
0.15729497373104095,
0.0068448130041360855,
0.08761456608772278,
-0.02180270478129387,
-0.10033537447452545,
0.28054311871528625,
0.37054258584976196,
0.06714645773172379,
0.03014441952109337,
-0.19495715200901031,
-0.3973991870880127,
0.052017681300640106,
-0.3836808502674103,
0.12470892816781998,
0.19290772080421448,
-0.023266354575753212,
0.2876715660095215,
0.2238025963306427,
0.26535218954086304,
0.2765236496925354,
0.07054850459098816,
0.1030658408999443,
-0.04902554303407669,
0.1399504542350769,
0.04033399000763893,
-0.28584718704223633,
0.11259438097476959,
-0.2931033670902252,
-0.4610446095466614,
-0.10872174054384232,
-0.06368529796600342,
-0.027037333697080612,
-0.1521472930908203,
0.5453154444694519,
-0.038985081017017365,
0.2871190309524536,
0.28728824853897095,
0.38833582401275635,
-0.3116900324821472,
-0.07200196385383606,
-0.1885521411895752,
0.2964126169681549,
-0.08484978973865509,
0.11288698762655258,
-0.11157996952533722,
-0.3317502737045288,
0.1064286082983017,
0.1232806071639061,
0.1851632297039032,
-0.029431775212287903,
-0.009171318262815475,
0.028555355966091156,
-0.03528844565153122,
0.2754819989204407,
0.10001619160175323,
0.18367530405521393,
0.353546142578125,
0.17090865969657898,
-0.27208659052848816,
-0.0023109838366508484,
-0.289661705493927,
-0.33406373858451843,
-0.33881866931915283,
0.13382601737976074,
-0.5197336077690125,
-0.11864545941352844,
-0.11730381101369858,
-0.10761837661266327,
-0.026607833802700043,
0.06791652739048004,
0.14412590861320496,
-0.25753235816955566,
-0.05630222335457802,
-0.13330137729644775,
0.17857392132282257,
0.5639657378196716,
-0.30236753821372986,
-0.5207120776176453,
-0.025861578062176704,
-0.44044336676597595,
0.13131408393383026,
0.15758787095546722,
-0.3419248163700104,
0.3451853096485138,
-0.4004586338996887,
0.10396002233028412,
0.024612195789813995,
-0.420574814081192,
-0.10880546271800995,
0.03572862595319748,
-0.2104555070400238,
0.08791912347078323,
-0.033047281205654144,
-0.10142204165458679,
-0.487568736076355,
0.03677539527416229,
0.09573495388031006,
0.45170992612838745,
0.15460216999053955,
0.10042984038591385,
-0.24376016855239868,
-0.32833272218704224,
0.07422669231891632,
0.1482434719800949,
0.14345470070838928,
-0.0462535098195076,
0.3606201708316803,
0.21888259053230286,
0.5041077733039856,
-0.12920209765434265,
0.06471352279186249,
0.23847773671150208,
0.24132995307445526,
0.21472181379795074,
0.026882249861955643,
-0.1868240237236023,
-0.07896686345338821,
0.18416884541511536,
-0.4075855612754822,
0.11316503584384918,
-0.24247290194034576,
-0.20977453887462616,
-0.050816770642995834,
0.0873979702591896,
-0.3729499876499176,
-0.23578998446464539,
0.06057155132293701,
0.1084156408905983,
-0.31548169255256653,
0.2228832095861435,
-0.1538798213005066,
0.6335389614105225,
-0.30952006578445435,
0.10682655870914459,
-0.31818684935569763,
0.6607076525688171,
0.12299281358718872,
-0.05531519651412964,
0.013716582208871841,
0.13784901797771454,
0.16547080874443054,
-0.13533052802085876,
-0.02917250618338585,
0.10331401228904724,
-0.018360495567321777,
0.5474476218223572,
0.037480078637599945,
-0.06052517890930176,
0.25356048345565796,
-0.41913706064224243,
0.2116675078868866,
-0.16851495206356049,
-0.007514900527894497,
0.07295351475477219,
-0.06437448412179947,
0.45670515298843384,
-0.0019253678619861603,
0.11997302621603012,
0.15341916680335999,
-0.058863960206508636,
0.030735747888684273,
-0.01990317553281784,
0.17519012093544006,
-0.4678819477558136,
0.10851150751113892,
0.09426175057888031,
-0.10721373558044434,
0.053988032042980194,
-0.08235110342502594,
0.23024001717567444,
0.6201953291893005,
0.017424937337636948,
0.19437074661254883,
0.11271747201681137,
-0.42262813448905945,
-0.17900803685188293,
0.5382671356201172,
-0.22090455889701843,
0.46194732189178467,
0.043907225131988525,
-0.09435275197029114,
0.3399340510368347,
-0.10673777014017105,
-0.06734074652194977,
0.2406642735004425,
0.04016374796628952,
-0.03192897513508797,
0.09474962204694748,
0.06259988993406296,
-0.017776109278202057,
-0.49324312806129456,
0.020448893308639526,
-0.09872221946716309,
0.001749841496348381,
-0.4570585787296295,
0.17128589749336243,
-0.44450512528419495,
-0.13867226243019104,
-0.20992986857891083,
-0.16446849703788757,
-0.24404215812683105,
-0.23859962821006775,
-0.16062575578689575,
0.21045725047588348,
-0.044624101370573044,
-0.019102904945611954,
-0.16566039621829987,
-0.21572555601596832,
-0.17434433102607727,
-0.47453880310058594,
0.019500210881233215,
0.02606150321662426,
-0.03779716044664383,
-0.046035286039114,
-0.09165876358747482,
0.3301929235458374,
0.3608185946941376,
-0.31871452927589417,
-0.06342881917953491,
-0.26698023080825806,
-0.20085608959197998,
0.3839139938354492,
-0.026502296328544617,
0.1636073738336563,
0.026280507445335388,
-0.140861377120018,
0.16901400685310364,
0.023840155452489853,
0.2755476236343384,
-0.28174248337745667,
-0.06852710992097855,
0.320304274559021,
-0.35592982172966003,
0.11627701669931412,
0.05621887370944023,
-0.19929993152618408,
-0.2976660430431366,
-0.529428243637085,
0.22400720417499542,
0.03097798302769661,
0.09707248210906982,
0.26414754986763,
-0.06994093954563141,
0.28230682015419006,
-0.576023519039154,
0.2057405561208725,
-0.042993802577257156,
-0.08882706612348557,
0.24060660600662231,
-0.1901799440383911,
-0.3046306073665619,
0.18874932825565338,
0.04947769641876221,
0.0783165693283081,
0.03221551328897476,
-0.43572527170181274,
-0.4292672872543335,
-0.05449410527944565,
0.5209091901779175,
0.044418565928936005,
0.37096917629241943,
0.1816474199295044,
-0.016453245654702187,
0.10835623741149902,
-0.16380973160266876,
-0.21495050191879272,
-0.07134119421243668,
0.10889376699924469,
-0.0034103170037269592,
-0.05405215919017792,
0.09682092815637589,
-0.07790850102901459,
0.6199833750724792,
0.3737853169441223,
0.049834974110126495,
0.5324515104293823,
-0.1170460507273674,
0.53187495470047,
-0.19451507925987244,
-0.30794620513916016,
0.062048736959695816,
-0.12019184231758118,
0.27070164680480957,
0.19957762956619263,
-0.07537863403558731,
0.04131832718849182,
-0.05732841044664383,
-0.3746921420097351,
-0.29580774903297424,
-0.36138617992401123,
0.17378591001033783,
0.2254629284143448,
0.18611815571784973,
-0.0760139524936676,
0.12347839027643204,
-0.18046218156814575,
-0.0802064836025238,
0.486444354057312,
0.2552638053894043,
0.1928352415561676,
0.21747949719429016,
-0.10345538705587387,
-0.35727766156196594,
-0.02597227692604065,
0.023954033851623535,
-0.08617885410785675,
0.19029204547405243,
-0.07485692203044891,
-0.36886781454086304,
0.09321112930774689,
-0.0811307281255722,
0.1528763622045517,
0.17402155697345734,
0.10871005803346634,
0.1072649359703064,
-0.3436068296432495,
-0.41534972190856934,
-0.13084660470485687,
-0.03609395772218704,
-0.05209286883473396,
-0.11117887496948242,
0.2899211049079895,
-0.36966991424560547,
-0.29208648204803467,
0.08323188871145248,
0.3882414400577545,
-0.08354969322681427,
-0.10083350539207458,
-0.32524383068084717,
-0.04866112023591995,
-0.4409584701061249,
-0.12310213595628738,
-0.10707144439220428,
0.1692923903465271,
-0.04025466740131378,
0.12350215017795563,
0.07635065168142319,
-0.1355409026145935,
0.21708114445209503,
0.28965696692466736,
0.20666363835334778,
-0.1476847231388092,
0.2858704626560211,
0.1700393706560135,
-0.3051950931549072,
0.3985387682914734,
0.7641952633857727,
0.03923897445201874,
-0.435061514377594,
-0.10478175431489944,
0.07245894521474838,
0.18020868301391602,
0.32088497281074524,
-0.12422063946723938,
0.3333674967288971,
-0.04734228551387787,
0.17382660508155823,
-0.3829119801521301,
0.12043033540248871,
0.13345010578632355,
-0.14244264364242554,
-0.14345061779022217,
-0.14522716403007507,
0.2899445593357086,
-0.08837670087814331,
0.03712312877178192,
0.31476449966430664,
0.33448490500450134,
-0.23874042928218842,
0.16555249691009521,
0.0361039824783802,
0.6918752193450928,
0.21301373839378357,
0.13863638043403625,
0.30553096532821655,
-0.24714191257953644,
0.4701821804046631,
-0.1723482310771942,
-0.0864882543683052,
-0.4291234314441681,
-0.26470014452934265,
0.14203520119190216,
-0.11096124351024628,
0.1384972482919693,
-0.44098567962646484,
0.2055126428604126,
0.27017369866371155,
-0.303962767124176,
0.01532089151442051,
-0.009785596281290054,
0.28535181283950806,
-0.11030209809541702,
-0.40626809000968933,
-0.3816964030265808,
0.05779975652694702,
-0.05610094964504242,
0.3175857961177826,
-0.09715830534696579,
-0.15925553441047668,
0.19857779145240784,
-0.07332861423492432,
-0.16766642034053802,
0.2323189079761505,
-0.041664931923151016,
-0.04597722738981247,
0.13502995669841766,
0.22651635110378265,
0.24066537618637085,
-0.11568483710289001,
0.08257654309272766,
-0.218609020113945,
-0.15031729638576508,
0.047797344624996185,
-0.24860012531280518,
-0.02141522988677025,
0.0029463409446179867,
0.13053585588932037,
0.5140225887298584,
-0.10383262485265732,
-0.18203921616077423,
0.040237680077552795,
-0.014980392530560493,
0.043489761650562286,
-0.08501121401786804,
0.05146091803908348,
0.1403750479221344,
-0.1639704555273056,
-0.012041928246617317,
0.08691595494747162,
0.29533830285072327,
-0.2002883106470108,
0.09337152540683746,
0.41001617908477783,
-0.19670987129211426,
0.19452330470085144,
-0.12134459614753723,
-0.2506261467933655,
-0.299864798784256,
0.42850369215011597,
-0.02928195893764496,
-0.062468647956848145,
-0.06407174468040466,
0.20417167246341705,
-0.3584134578704834,
-0.11838332563638687,
0.045493945479393005,
0.5087894201278687,
-0.6823216676712036,
-0.04532246291637421,
0.2675984799861908,
-0.1950908899307251,
-0.20205079019069672,
0.09055754542350769,
0.011627618223428726,
-0.2883909046649933,
-0.31450191140174866,
-0.23215389251708984,
-0.23845526576042175,
0.16903816163539886,
-0.09699180722236633,
-0.2086000293493271,
0.09075359255075455,
0.3733992576599121,
0.1280219405889511,
0.04333607107400894,
-0.2671493887901306,
0.026874199509620667,
0.1660887897014618,
-0.014573201537132263,
-0.2134970724582672,
-0.1358669400215149,
0.3629019856452942,
-0.1435185968875885,
0.11762908101081848,
0.037892501801252365,
-0.13553263247013092,
-0.11158882081508636,
-0.4848208725452423,
0.16274018585681915,
0.16706722974777222,
0.07586830109357834,
0.24652987718582153,
-0.2677837014198303,
-0.11270783841609955,
-0.22838899493217468,
0.5501320958137512,
0.2803570032119751,
-0.11122895777225494,
0.16817569732666016,
0.5003413558006287,
-0.2127837836742401,
-0.2512092590332031,
-0.0712093934416771,
0.21336883306503296,
0.4011625647544861,
-0.19745920598506927,
-0.09778976440429688,
-0.32748284935951233,
0.08460783958435059,
-0.028249647468328476,
0.2252223789691925,
0.05105426535010338,
0.1254681795835495,
0.2669707238674164,
-0.08958402276039124,
-0.03172443062067032,
-0.08537101000547409,
0.25064146518707275,
0.36258941888809204,
-0.23186126351356506,
0.18144740164279938,
0.09080792218446732,
0.1446034014225006,
-0.2727797031402588,
-0.23282606899738312,
-0.18840204179286957,
-0.20681965351104736,
0.056310754269361496,
0.2519140839576721,
0.2956452965736389,
-0.006778068840503693,
0.4341946840286255,
-0.020442718639969826,
0.4978218972682953,
-0.13285329937934875,
0.02091686986386776,
0.30046990513801575,
-0.09430474042892456,
0.2605133056640625,
0.4809528589248657,
0.2726147770881653,
0.2947777509689331,
0.3657652735710144,
0.02101297676563263,
0.19482435286045074,
-0.10697551816701889,
0.02457396686077118,
0.23656496405601501,
-0.40222465991973877,
-0.035425323992967606,
0.10177012532949448,
0.18547721207141876,
-0.05884915590286255,
-0.16227805614471436,
0.45155102014541626,
-0.22727352380752563,
-0.23809650540351868,
0.051822058856487274,
0.2728843092918396,
-0.1402081549167633,
0.17339704930782318,
0.18212763965129852,
0.05232229083776474,
-0.3058620095252991,
-0.038435619324445724,
0.0892840325832367,
-0.3075339198112488,
0.34691494703292847,
0.1144980937242508,
-0.19634388387203217,
-0.23595385253429413,
-0.025536417961120605,
0.08077630400657654,
0.29528459906578064,
-0.104193776845932,
0.14483073353767395,
0.05187894403934479,
-0.0336785614490509,
-0.10872551798820496,
0.12379772961139679,
0.3559788465499878,
-0.0292850099503994,
0.14052033424377441,
0.04899673908948898,
0.15721653401851654,
0.05486240237951279,
0.04088302701711655,
0.12651759386062622,
-0.05846105515956879,
0.6184874773025513,
0.18477335572242737,
0.1606646329164505,
-0.27650368213653564,
-0.07075762748718262,
-0.16663122177124023,
0.044206153601408005,
-0.2683943212032318,
0.8976342082023621,
-0.2652973532676697,
0.07530901581048965,
-0.2700421214103699,
-0.1051037535071373,
-0.2765626311302185,
0.29927000403404236,
0.5812501311302185,
0.12327881902456284,
-0.11556340008974075,
-0.21101371943950653,
0.0650235265493393,
0.18517671525478363,
-0.004111018031835556,
0.18859390914440155,
0.13804274797439575,
-0.07659826427698135,
0.15647856891155243,
-0.5471450090408325,
0.4006056487560272,
0.12587642669677734,
0.25133585929870605,
0.24456115067005157,
-0.012344690039753914,
0.12953844666481018,
0.04845687001943588,
0.18564903736114502,
0.05978256091475487,
0.36179742217063904,
-0.27978548407554626,
-0.02402808889746666,
-0.260141521692276,
-0.15572728216648102,
-0.12510807812213898,
-0.03650553897023201,
-0.431976854801178,
0.30283883213996887,
-0.31848567724227905,
-0.01959073171019554,
-0.24407459795475006,
-0.28287333250045776,
0.1367458999156952,
-0.09192551672458649,
0.6522353291511536,
0.055533431470394135,
0.31919652223587036,
-0.0970107913017273,
-0.2685997784137726,
-0.1209559440612793,
-0.2984289526939392,
-0.16923537850379944,
-0.03582128882408142,
-0.27601903676986694,
0.32717573642730713,
0.01007581502199173,
-0.5329223275184631,
-0.37691324949264526,
0.2709770202636719,
0.15179580450057983,
-0.05787794664502144,
-0.2132844626903534,
0.4530556797981262,
-0.39692792296409607,
0.033175546675920486,
0.2873782217502594,
0.33223211765289307,
0.0430203378200531,
-0.010647355578839779,
-0.25503289699554443,
-0.42045459151268005,
0.44678035378456116,
-0.3140527307987213,
-0.244320347905159,
0.15775947272777557,
0.41492894291877747,
-0.10463973134756088,
-0.587005615234375,
-0.5821186304092407,
0.1546023190021515,
0.2792767584323883,
-0.01962391287088394,
-0.024096038192510605,
0.18467232584953308,
-0.23634910583496094,
0.16391947865486145,
-0.0521676279604435,
0.28360268473625183,
0.1143478974699974,
-0.26837727427482605,
0.33456724882125854,
0.04752049595117569
] |
https://github.com/huggingface/datasets/issues/3841 | Pyright reportPrivateImportUsage when `from datasets import load_dataset` | I am getting this error in google colab today:

The code runs just fine too. | ## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 16 | Pyright reportPrivateImportUsage when `from datasets import load_dataset`
## Describe the bug
Pyright complains about module not exported.
## Steps to reproduce the bug
Use an editor/IDE with Pyright Language server with default configuration:
```python
from datasets import load_dataset
```
## Expected results
No complain from Pyright
## Actual results
Pyright complain below:
```
`load_dataset` is not exported from module "datasets"
Import from "datasets.load" instead [reportPrivateImportUsage]
```
Importing from `datasets.load` does indeed solves the problem but I believe importing directly from top level `datasets` is the intended usage per the documentation.
## Environment info
- `datasets` version: 1.18.3
- Platform: macOS-12.2.1-arm64-arm-64bit
- Python version: 3.9.10
- PyArrow version: 7.0.0
I am getting this error in google colab today:

The code runs just fine too. | [
-0.18399181962013245,
-0.12173598259687424,
0.02431582286953926,
0.2869284152984619,
0.2142294943332672,
0.07978441566228867,
0.5122380256652832,
0.08669625222682953,
0.1483663022518158,
-0.1891380399465561,
-0.0057891132310032845,
0.7045690417289734,
-0.022101208567619324,
0.18721874058246613,
0.05677533149719238,
-0.03872102499008179,
0.18937592208385468,
-0.010796286165714264,
-0.06658540666103363,
0.07203969359397888,
-0.1596790850162506,
0.06773152202367783,
-0.4341121315956116,
-0.012879565358161926,
-0.5530065298080444,
0.04333575442433357,
0.24245399236679077,
-0.0032889321446418762,
0.09092744439840317,
-0.303073912858963,
0.2696478068828583,
-0.1733742207288742,
0.22938604652881622,
-0.1161186620593071,
-0.00011874749907292426,
0.0616755485534668,
0.3930690884590149,
-0.1870719939470291,
-0.07836131751537323,
-0.12141282856464386,
-0.10147041827440262,
0.11617985367774963,
0.3665162920951843,
-0.021850764751434326,
0.11711584776639938,
-0.12313193827867508,
-0.1446237564086914,
-0.0879608690738678,
-0.08703185617923737,
0.45337340235710144,
0.21387672424316406,
0.3501046299934387,
0.029574912041425705,
-0.13191285729408264,
-0.10614503175020218,
-0.09394760429859161,
-0.1092415302991867,
0.6319056153297424,
-0.1710357964038849,
-0.2791757881641388,
0.11373484879732132,
0.10362465679645538,
-0.13050763309001923,
0.004910483956336975,
0.3478265106678009,
-0.0874876007437706,
-0.21311214566230774,
-0.2385987639427185,
0.050706006586551666,
-0.1418885886669159,
0.31159284710884094,
-0.47917887568473816,
-0.19454370439052582,
-0.2619803547859192,
0.21892866492271423,
-0.19234566390514374,
0.17872315645217896,
0.3335665762424469,
0.14462566375732422,
0.35479921102523804,
0.10819650441408157,
-0.21509096026420593,
-0.12281039357185364,
-0.054048292338848114,
-0.27938133478164673,
0.2581128180027008,
-0.12384065985679626,
0.23749926686286926,
0.024966400116682053,
0.16500510275363922,
0.562675952911377,
0.05812688544392586,
0.0784154012799263,
-0.03582813963294029,
-0.08764493465423584,
0.29874810576438904,
0.28448590636253357,
0.04607006162405014,
-0.2770882248878479,
-0.08892805129289627,
-0.25752630829811096,
-0.13568374514579773,
-0.26939505338668823,
0.32324767112731934,
0.2990070879459381,
0.009231410920619965,
0.23640984296798706,
0.40584859251976013,
0.33202940225601196,
0.08854340016841888,
0.13071991503238678,
0.10876964032649994,
-0.18874229490756989,
-0.02622358128428459,
0.16398002207279205,
-0.040048327296972275,
0.263335645198822,
-0.2377464771270752,
-0.6522636413574219,
-0.11080232262611389,
-0.23634088039398193,
-0.012559780851006508,
-0.15655525028705597,
0.25514861941337585,
-0.024374254047870636,
0.17754429578781128,
0.25875765085220337,
0.27200692892074585,
-0.22936107218265533,
-0.20181752741336823,
-0.10738522559404373,
0.3404718339443207,
-0.22134727239608765,
0.023809008300304413,
-0.10702744126319885,
-0.15547463297843933,
0.11566071212291718,
0.039963386952877045,
-0.07379291951656342,
-0.1568458378314972,
0.1034012958407402,
-0.07875537872314453,
-0.24269598722457886,
0.3186970055103302,
0.1912589967250824,
0.14578811824321747,
0.23139511048793793,
-0.05822458490729332,
-0.22709700465202332,
0.30973008275032043,
-0.46587175130844116,
-0.4079349637031555,
-0.2833084762096405,
0.16373209655284882,
-0.6784708499908447,
-0.19094857573509216,
-0.2880000174045563,
-0.05498771741986275,
0.23200532793998718,
-0.05434533208608627,
0.08026283979415894,
-0.38628536462783813,
-0.20204593241214752,
-0.2682933807373047,
-0.03786139935255051,
0.4577573537826538,
-0.6232966184616089,
-0.3214327394962311,
-0.3244298994541168,
-0.3665236830711365,
0.36546841263771057,
0.055220827460289,
-0.33748093247413635,
0.3526214361190796,
-0.27443021535873413,
-0.003104858100414276,
0.06608756631612778,
-0.15328100323677063,
-0.20791056752204895,
-0.08170843869447708,
-0.29397642612457275,
-0.030306104570627213,
-0.02406325936317444,
-0.08804202824831009,
-0.3793770372867584,
-0.04713527113199234,
0.3377937376499176,
0.5580853819847107,
-0.002565259113907814,
0.18711741268634796,
-0.21416126191616058,
-0.24408382177352905,
0.3469853401184082,
0.1080608069896698,
0.16108524799346924,
-0.16521403193473816,
0.4742504954338074,
0.1957557201385498,
0.307352215051651,
-0.17869926989078522,
-0.002557000145316124,
0.12257639318704605,
0.4996500015258789,
-0.12180481851100922,
0.015092814341187477,
-0.20719927549362183,
-0.23123717308044434,
0.21526497602462769,
-0.26964670419692993,
0.11398077011108398,
-0.33720487356185913,
-0.09056003391742706,
-0.08287692815065384,
0.17628194391727448,
-0.35150960087776184,
-0.1949252337217331,
0.01875319331884384,
0.10196598619222641,
-0.39015042781829834,
0.23238040506839752,
-0.1016710102558136,
0.41435959935188293,
-0.3681822419166565,
0.004336171317845583,
-0.2221735566854477,
0.6684175133705139,
0.03013666532933712,
-0.15858833491802216,
0.006583210080862045,
-0.1041630282998085,
0.1810609996318817,
-0.11808496713638306,
-0.07474228739738464,
0.0021152161061763763,
0.1724744737148285,
0.6088160872459412,
-0.003748048096895218,
-0.07792969048023224,
0.31216707825660706,
-0.6189228296279907,
0.23208901286125183,
-0.01571641117334366,
0.10617966949939728,
0.10241254419088364,
-0.032179027795791626,
0.49554669857025146,
0.02562098018825054,
0.06073123589158058,
0.07516512274742126,
0.006910055875778198,
0.16541582345962524,
0.07907998561859131,
0.19962888956069946,
-0.45613354444503784,
-0.021064888685941696,
0.39188501238822937,
-0.21082313358783722,
0.10097628086805344,
-0.06453084945678711,
0.3703887462615967,
0.5243097543716431,
0.1013091653585434,
0.13253375887870789,
-0.03753773868083954,
-0.3799969255924225,
-0.28465136885643005,
0.577648937702179,
0.07765659689903259,
0.5310185551643372,
-0.009200298227369785,
-0.03442442789673805,
0.29682061076164246,
-0.02254417911171913,
-0.1365758329629898,
0.33194419741630554,
0.06040062755346298,
0.008185400627553463,
0.04105908423662186,
0.09968152642250061,
0.02143842540681362,
-0.2276729941368103,
0.025020375847816467,
0.14395146071910858,
0.22971008718013763,
-0.3798055052757263,
0.3245730400085449,
-0.4936877489089966,
-0.295865923166275,
-0.24440458416938782,
-0.054427620023489,
-0.10759985446929932,
-0.1787569373846054,
-0.25580573081970215,
0.19901932775974274,
-0.1402893215417862,
-0.05724065750837326,
-0.12287861108779907,
-0.15185071527957916,
-0.07094359397888184,
-0.5783895254135132,
0.16131916642189026,
-0.1014058068394661,
-0.0317608043551445,
0.01391134038567543,
0.1351059526205063,
0.28003641963005066,
0.37079131603240967,
-0.34420934319496155,
0.004479225724935532,
-0.2086375653743744,
-0.24645334482192993,
0.3378891348838806,
-0.04849986732006073,
0.29680153727531433,
-0.0332724004983902,
-0.3278466463088989,
0.17108522355556488,
-0.031465206295251846,
0.10854417830705643,
-0.2119675725698471,
-0.11132034659385681,
0.22726809978485107,
-0.3075288236141205,
0.08451011776924133,
-0.05871332436800003,
-0.33689773082733154,
-0.4046590030193329,
-0.45862168073654175,
0.013899236917495728,
0.1280525177717209,
0.1661529392004013,
0.3262231647968292,
0.10709159821271896,
0.32346874475479126,
-0.13762815296649933,
0.0663667693734169,
0.06370178610086441,
0.08099646866321564,
0.2905424237251282,
-0.2017289698123932,
-0.23063592612743378,
0.37409254908561707,
0.10166919231414795,
0.07153144478797913,
0.3173239231109619,
-0.26716887950897217,
-0.2982379198074341,
-0.05535343289375305,
0.34652063250541687,
0.15135198831558228,
0.2618260681629181,
0.09841062128543854,
0.10036113858222961,
0.13292227685451508,
-0.1311560422182083,
-0.3168209195137024,
-0.329609215259552,
0.3133419454097748,
0.17991626262664795,
0.006499931216239929,
0.16523686051368713,
-0.10562789440155029,
0.6805315017700195,
0.3172961175441742,
-0.0190034918487072,
0.35244354605674744,
-0.05639519542455673,
0.40239185094833374,
-0.14355045557022095,
-0.3049723505973816,
0.009216218255460262,
-0.27097558975219727,
-0.1559336632490158,
0.1407690942287445,
-0.2502705156803131,
-0.278242826461792,
-0.1115926206111908,
-0.21966996788978577,
-0.4011569917201996,
-0.2516612708568573,
0.277336061000824,
0.3120262324810028,
0.3360161781311035,
-0.13321422040462494,
-0.014388129115104675,
-0.12576888501644135,
-0.07635796815156937,
0.08330617845058441,
0.14222653210163116,
0.1384223848581314,
0.06855612248182297,
0.18837903439998627,
-0.476346492767334,
-0.01240789145231247,
0.13643911480903625,
-0.01623348332941532,
0.16144216060638428,
-0.0006518512964248657,
-0.2926539480686188,
0.0626259595155716,
-0.10928834229707718,
-0.1482604593038559,
-0.001001451164484024,
0.007978077977895737,
0.18033874034881592,
-0.23763258755207062,
-0.23589105904102325,
-0.24540677666664124,
-0.15746578574180603,
0.1471313089132309,
-0.004386454820632935,
0.13352498412132263,
-0.1695784330368042,
-0.03877367451786995,
0.2057572305202484,
0.4417720437049866,
-0.11539027094841003,
0.03996461629867554,
-0.34091153740882874,
-0.14555826783180237,
-0.4196245074272156,
-0.1673119068145752,
-0.003564726561307907,
0.177402064204216,
-0.13887588679790497,
0.17689494788646698,
0.06330012530088425,
-0.1681463122367859,
0.12372749298810959,
0.3156525194644928,
0.22802948951721191,
-0.08895783871412277,
0.2244279384613037,
0.011485826224088669,
-0.4433113634586334,
0.4915093779563904,
0.9051624536514282,
0.16714519262313843,
-0.39812415838241577,
-0.047932252287864685,
0.07012266665697098,
0.2727978229522705,
0.16170744597911835,
-0.27638113498687744,
0.058504022657871246,
-0.1971241980791092,
-0.11330702900886536,
0.06872275471687317,
0.12960614264011383,
-0.006014334037899971,
-0.1356857568025589,
-0.26451992988586426,
-0.33165523409843445,
0.25054097175598145,
0.06784427165985107,
-0.08633960783481598,
0.33001893758773804,
-0.07558897137641907,
-0.37914761900901794,
0.0906171053647995,
0.20962834358215332,
0.6145081520080566,
0.12729640305042267,
-0.08450277149677277,
0.18514564633369446,
-0.10613718628883362,
0.47321972250938416,
0.000190000981092453,
0.06636747717857361,
-0.3525221049785614,
-0.23634886741638184,
0.16748759150505066,
-0.17523036897182465,
0.1482456624507904,
-0.5014327168464661,
0.0332813523709774,
0.2588678300380707,
-0.32994556427001953,
-0.05947579815983772,
0.21679769456386566,
0.10594134032726288,
0.059341080486774445,
-0.12311139702796936,
-0.2807471454143524,
0.0370776429772377,
-0.11154091358184814,
0.18224824965000153,
-0.12281523644924164,
-0.02250859886407852,
0.08935250341892242,
-0.10197994112968445,
-0.30162811279296875,
0.3186649680137634,
-0.18780991435050964,
0.0770612582564354,
-0.06983400881290436,
-0.012806497514247894,
0.357948899269104,
0.06044061481952667,
-0.18684227764606476,
-0.22441519796848297,
-0.10792307555675507,
0.01548345573246479,
-0.21532025933265686,
-0.07959722727537155,
0.01493143942207098,
0.08379962295293808,
0.5205082893371582,
-0.08032172173261642,
0.033107154071331024,
0.08323818445205688,
0.011144326068460941,
-0.08249717205762863,
0.010762885212898254,
0.2889382839202881,
0.15097452700138092,
-0.010055549442768097,
-0.15432487428188324,
0.05647784471511841,
0.19480034708976746,
-0.17987848818302155,
0.10542228817939758,
0.3450711965560913,
-0.040014345198869705,
0.2505250871181488,
-0.3337953984737396,
-0.24508652091026306,
-0.20705877244472504,
0.4179438650608063,
0.25705355405807495,
0.05894570052623749,
-0.11269359290599823,
0.018342766910791397,
-0.3254963755607605,
-0.12871840596199036,
-0.006610102951526642,
0.09848720580339432,
-0.42325878143310547,
0.20976169407367706,
0.050114955753088,
-0.03888856619596481,
-0.07842272520065308,
0.12141665816307068,
0.053813595324754715,
-0.09958035498857498,
-0.4053806662559509,
-0.40517380833625793,
-0.15585419535636902,
0.15724028646945953,
-0.02109096571803093,
-0.283964604139328,
-0.06186638027429581,
0.3636564314365387,
0.23894044756889343,
-0.2362746000289917,
-0.22260798513889313,
0.0955151841044426,
0.13141457736492157,
0.11263704299926758,
0.05331067368388176,
-0.08245465904474258,
0.1600685864686966,
-0.11924853920936584,
0.05847539007663727,
-0.0018433146178722382,
0.006907790433615446,
-0.14203041791915894,
-0.34160345792770386,
0.16196182370185852,
0.29117313027381897,
0.0056807538494467735,
0.21244721114635468,
-0.36083585023880005,
-0.05980128422379494,
-0.07882505655288696,
0.35347479581832886,
0.24281257390975952,
-0.11083024740219116,
0.1034543588757515,
0.33213257789611816,
-0.08411788195371628,
-0.2839483618736267,
0.04295465722680092,
-0.00265338271856308,
0.38684046268463135,
-0.038203947246074677,
0.1649663746356964,
-0.04756656289100647,
0.14976079761981964,
-0.03156811743974686,
-0.04844702035188675,
-0.17288126051425934,
0.2671378254890442,
0.21480011940002441,
-0.18713140487670898,
0.04422938451170921,
-0.1152079850435257,
0.08454882353544235,
0.5229175090789795,
-0.3005704879760742,
0.19049695134162903,
0.11853308975696564,
0.11641710996627808,
-0.3192884624004364,
-0.11197551339864731,
-0.23170745372772217,
-0.04842657968401909,
-0.11158975958824158,
0.27224311232566833,
0.33916205167770386,
-0.030624698847532272,
0.3391863703727722,
-0.045315004885196686,
0.5969216823577881,
0.08844587206840515,
0.255253404378891,
0.2325970083475113,
-0.026241568848490715,
0.3188481330871582,
0.3871682286262512,
0.22160762548446655,
0.3142622709274292,
0.36678606271743774,
-0.06821510940790176,
0.27759239077568054,
0.04210210591554642,
-0.10062073171138763,
0.2174552083015442,
-0.3899628818035126,
0.1568938046693802,
0.1378522515296936,
0.006807848811149597,
-0.02667226642370224,
0.04555809497833252,
0.31028661131858826,
-0.33858364820480347,
0.03759871423244476,
-0.02600235305726528,
0.29050859808921814,
-0.09842322021722794,
0.2348024994134903,
0.13684794306755066,
-0.01378834992647171,
-0.20518626272678375,
0.11748501658439636,
0.038289204239845276,
-0.178968146443367,
0.21593287587165833,
0.11184342205524445,
-0.44909346103668213,
-0.10456100106239319,
0.1255006194114685,
0.14153923094272614,
0.25840356945991516,
-0.19251179695129395,
0.10391436517238617,
-0.17667551338672638,
-0.03848811984062195,
-0.2243507206439972,
0.10319210588932037,
0.39303824305534363,
0.1980927288532257,
0.0314195491373539,
-0.06856387108564377,
0.18385690450668335,
-0.02626287378370762,
0.0264195017516613,
0.18942487239837646,
0.0383126363158226,
0.682579755783081,
0.18110963702201843,
0.14140596985816956,
-0.248877614736557,
0.050890371203422546,
0.0945269837975502,
-0.0033669322729110718,
-0.21142183244228363,
0.5294280648231506,
-0.1497943103313446,
-0.024671196937561035,
-0.2117922008037567,
-0.08419347554445267,
-0.2054269015789032,
0.20469200611114502,
0.6359375715255737,
0.10783550888299942,
-0.1477251946926117,
-0.0407356359064579,
0.04985988140106201,
0.1866801530122757,
-0.0005538724362850189,
0.20612280070781708,
0.3205206096172333,
-0.14810681343078613,
0.06324277818202972,
-0.5654376149177551,
0.48212531208992004,
0.16487008333206177,
0.36027565598487854,
0.18276922404766083,
0.05498616397380829,
-0.009384259581565857,
0.2958824634552002,
0.05485419183969498,
0.32986122369766235,
0.22310543060302734,
-0.35254812240600586,
-0.12085357308387756,
-0.47238779067993164,
-0.03777037560939789,
-0.22228117287158966,
-0.08146259188652039,
-0.5249914526939392,
0.1828412413597107,
-0.564250648021698,
0.010616090148687363,
-0.45129042863845825,
-0.485159307718277,
0.14312608540058136,
0.22342656552791595,
0.9465011358261108,
0.07565797865390778,
0.6282798051834106,
0.06727584451436996,
-0.06153915822505951,
-0.19385364651679993,
-0.28267744183540344,
-0.15941116213798523,
0.12624339759349823,
-0.06001908704638481,
0.16339610517024994,
0.05256740748882294,
-0.1775340735912323,
-0.3490447998046875,
0.38246774673461914,
0.07865853607654572,
-0.07905195653438568,
-0.18386289477348328,
0.1491335779428482,
-0.394898384809494,
-0.014446956105530262,
0.056814443320035934,
0.19323137402534485,
-0.04477772116661072,
-0.09999489039182663,
-0.29535800218582153,
-0.4078146815299988,
0.2968834936618805,
-0.37992265820503235,
-0.3568848669528961,
0.1746402531862259,
0.4232666790485382,
-0.18489542603492737,
-0.3736713230609894,
-0.3882722556591034,
0.11905912309885025,
0.36701974272727966,
-0.20887872576713562,
-0.057252585887908936,
0.13276240229606628,
-0.11534099280834198,
0.1754307746887207,
-0.024383937940001488,
0.3522201478481293,
0.03116375394165516,
-0.260327011346817,
0.11550599336624146,
-0.12242133170366287
] |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | It will be indeed really great to add support to GNN datasets. Big :+1: for this initiative. | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
| 17 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
It will be indeed really great to add support to GNN datasets. Big :+1: for this initiative. | [
-0.02342330664396286,
-0.23334729671478271,
-0.10941942036151886,
-0.0523621141910553,
-0.0944150984287262,
-0.04358357563614845,
-0.0281154103577137,
0.10992112755775452,
0.3266025483608246,
0.18508870899677277,
-0.1312943398952484,
-0.08443965762853622,
-0.23202471435070038,
0.4511050879955292,
0.4168957471847534,
-0.1545024812221527,
0.33980217576026917,
0.11046390980482101,
0.2192726731300354,
-0.0025327876210212708,
-0.26954174041748047,
0.2994820475578308,
-0.0809999480843544,
-0.06710551679134369,
-0.5245309472084045,
0.024210968986153603,
-0.12050404399633408,
0.09942581504583359,
-0.2501799166202545,
-0.2618251144886017,
0.05516495555639267,
0.2965281307697296,
0.12896986305713654,
0.3990144729614258,
-0.00011282165360171348,
-0.22066642343997955,
0.10740717500448227,
0.05529702454805374,
-0.16190259158611298,
0.1805572658777237,
0.09566878527402878,
-0.06698610633611679,
-0.1206570565700531,
0.09562654048204422,
-0.1084737479686737,
-0.0008084597066044807,
0.1654949188232422,
-0.15034641325473785,
0.017049886286258698,
0.05512608215212822,
0.13924674689769745,
0.29212486743927,
-0.08794322609901428,
-0.2295963317155838,
-0.24538439512252808,
0.3886743187904358,
-0.2929570972919464,
0.20315663516521454,
0.35814404487609863,
-0.06120018661022186,
-0.1645582914352417,
0.27650517225265503,
-0.007228957489132881,
-0.42931607365608215,
0.5624532103538513,
0.1369919329881668,
-0.2511327862739563,
-0.17574945092201233,
-0.3110867738723755,
0.2156854271888733,
-0.1443588137626648,
-0.03925188630819321,
-0.305678129196167,
-0.4718397557735443,
-0.05247136950492859,
-0.15421132743358612,
-0.2975982427597046,
0.03759609907865524,
0.08686688542366028,
0.2878330647945404,
-0.24439986050128937,
-0.539248526096344,
-0.059234630316495895,
0.2219284623861313,
0.07016246020793915,
0.13017511367797852,
-0.08126892894506454,
-0.02741483598947525,
0.39991122484207153,
0.08759984374046326,
-0.24288338422775269,
-0.07905041426420212,
-0.019886765629053116,
-0.1538604497909546,
-0.37097635865211487,
-0.26104018092155457,
0.20034751296043396,
0.6400771141052246,
0.37122467160224915,
0.5840638875961304,
-0.1618954837322235,
-0.07398388534784317,
-0.2913265824317932,
-0.09963766485452652,
-0.16319341957569122,
0.009832758456468582,
-0.05327790230512619,
0.08456394821405411,
0.3618873953819275,
-0.07390648871660233,
0.12270487844944,
0.13538794219493866,
-0.059578847140073776,
-0.07630210369825363,
-0.09203118830919266,
-0.41651928424835205,
-0.07324143499135971,
-0.010047011077404022,
0.1024673655629158,
0.10921091586351395,
0.4167848825454712,
0.18702803552150726,
0.15461201965808868,
-0.08915457874536514,
0.18644025921821594,
0.3927558362483978,
-0.11352143436670303,
0.3840909004211426,
0.015906089916825294,
-0.36651235818862915,
-0.22723263502120972,
-0.019842516630887985,
0.06297752261161804,
0.5733385682106018,
0.47380390763282776,
-0.21466673910617828,
0.32693547010421753,
-0.1749047189950943,
0.388333797454834,
0.2017088532447815,
-0.1795322746038437,
0.24410583078861237,
0.16399133205413818,
0.08578702807426453,
-0.2873266041278839,
-0.12841680645942688,
0.077805295586586,
0.06899665296077728,
-0.24234497547149658,
-0.4198281764984131,
0.28216177225112915,
-0.3629799783229828,
-0.08117613196372986,
0.0537458099424839,
-0.1545817106962204,
-0.01322053000330925,
0.005476444959640503,
0.187428280711174,
-0.237158864736557,
0.08263634145259857,
0.31635409593582153,
0.04194250702857971,
-0.1424843966960907,
-0.12466862797737122,
0.45246434211730957,
0.4214233160018921,
0.2684028744697571,
-0.2599220275878906,
-0.07933197915554047,
0.19570548832416534,
-0.303069531917572,
0.45110055804252625,
0.043551892042160034,
-0.24933665990829468,
-0.0818350687623024,
0.181457057595253,
-0.14452850818634033,
-0.4274066686630249,
-0.24472388625144958,
0.021074341610074043,
-0.4305688142776489,
-0.05682173743844032,
-0.016608551144599915,
0.49399346113204956,
-0.15946877002716064,
0.009848409332334995,
0.2929271459579468,
0.5374080538749695,
-0.20492324233055115,
-0.23500403761863708,
-0.1701623797416687,
-0.11646445095539093,
0.004512477666139603,
0.5076345205307007,
-0.09994043409824371,
-0.08133240789175034,
-0.2726164758205414,
-0.41222622990608215,
0.026179946959018707,
-0.06065312400460243,
0.03635471314191818,
-0.12272346019744873,
0.22415609657764435,
-0.14098940789699554,
-0.02211092598736286,
0.03005223348736763,
-0.6758832335472107,
0.17265430092811584,
0.03696904331445694,
0.18251539766788483,
-0.20142079889774323,
-0.2291577309370041,
0.09201987832784653,
-0.168723002076149,
0.1585778445005417,
-0.14520198106765747,
0.0514303594827652,
0.03299807384610176,
0.3706391155719757,
0.19859659671783447,
-0.3138008117675781,
0.41223210096359253,
-0.307844340801239,
0.28016650676727295,
-0.20096513628959656,
0.40019890666007996,
-0.007062511518597603,
-0.014634490944445133,
0.05737058073282242,
0.35447776317596436,
-0.21547186374664307,
-0.03688773512840271,
0.27769747376441956,
0.2596096694469452,
-0.08907776325941086,
0.3991347551345825,
0.4834369719028473,
0.5149629712104797,
-0.025232968851923943,
-0.4681953191757202,
-0.011472048237919807,
-0.1753765195608139,
-0.2567225396633148,
-0.17396041750907898,
0.20973742008209229,
0.4737679362297058,
-0.12956802546977997,
0.12494012713432312,
-0.2376725971698761,
0.23249682784080505,
-0.4294074475765228,
0.063312828540802,
-0.3611111044883728,
-0.06784652918577194,
0.30741211771965027,
-0.149514302611351,
0.0022340193390846252,
0.153376042842865,
-0.5056701898574829,
0.12790964543819427,
0.06463921815156937,
-0.081731416285038,
0.04314751178026199,
-0.020812906324863434,
-0.154427170753479,
-0.1516033113002777,
0.10275088250637054,
-0.10880374908447266,
0.1380620300769806,
0.20167770981788635,
-0.08473896980285645,
0.13748881220817566,
0.04557346925139427,
-0.28253358602523804,
0.08693256229162216,
0.15900388360023499,
0.17535211145877838,
-0.05534740537405014,
-0.16938425600528717,
0.2838388979434967,
-0.09864327311515808,
-0.10050530731678009,
-0.3518981337547302,
-0.09925489872694016,
-0.033548902720212936,
0.010322926566004753,
0.26472413539886475,
-0.12956002354621887,
0.21432295441627502,
-0.05234551057219505,
-0.38910192251205444,
-0.30531999468803406,
-0.0037502385675907135,
-0.081275075674057,
0.09669242799282074,
0.02040039747953415,
-0.2523326575756073,
1.0156258344650269,
-0.37939453125,
-0.23145408928394318,
-0.5322872400283813,
-0.3572649359703064,
0.055140744894742966,
0.0289309024810791,
0.02173224464058876,
0.07246129959821701,
0.2583214342594147,
-0.36790090799331665,
0.5709320902824402,
-0.22295354306697845,
-0.40742814540863037,
-0.05780380219221115,
-0.17689652740955353,
0.005531983450055122,
0.11666017770767212,
0.2535020112991333,
-0.33357203006744385,
0.03909368813037872,
-0.09072470664978027,
-0.43514999747276306,
-0.06973489373922348,
-0.18030484020709991,
-0.18541447818279266,
-0.22278597950935364,
-0.15925860404968262,
0.1067076101899147,
-0.33688271045684814,
-0.4096820652484894,
0.4860121011734009,
0.008279792964458466,
-0.12716786563396454,
0.4819798171520233,
-0.308163046836853,
0.01729660853743553,
-0.4046180546283722,
-0.007500883191823959,
0.07559120655059814,
-0.38325586915016174,
0.46911144256591797,
-0.38893166184425354,
-0.11863327026367188,
-0.18643392622470856,
-0.09957157075405121,
0.1760893017053604,
-0.09047196805477142,
-0.4965992569923401,
-0.04843219742178917,
-0.2445758730173111,
0.26751330494880676,
0.2554023861885071,
-0.09532023221254349,
-0.03585594892501831,
-0.12581944465637207,
0.07391677051782608,
-0.04927468299865723,
0.018668606877326965,
0.06923844665288925,
0.35891205072402954,
-0.08838298171758652,
0.1285727173089981,
-0.3102233111858368,
-0.02620396763086319,
0.11053979396820068,
0.20045292377471924,
-0.18299095332622528,
0.10186280310153961,
0.05259205400943756,
0.39650052785873413,
-0.2478460967540741,
-0.32608598470687866,
0.19085952639579773,
0.14299915730953217,
0.2137172371149063,
0.08511058986186981,
0.13821293413639069,
0.4152005612850189,
-0.2447170913219452,
-0.12825487554073334,
0.09315993636846542,
-0.06637189537286758,
-0.0773729607462883,
-0.0034872442483901978,
0.23925459384918213,
-0.10286614298820496,
-0.23431870341300964,
-0.07760165631771088,
-0.06844180822372437,
0.143771231174469,
0.20188665390014648,
0.6048485636711121,
0.10366769134998322,
-0.4133796989917755,
0.11671818047761917,
-0.47294360399246216,
0.10058928281068802,
-0.09770350158214569,
-0.00020034145563840866,
-0.23351092636585236,
0.0879836156964302,
-0.08591634035110474,
0.35866743326187134,
0.45094507932662964,
-0.13555510342121124,
-0.23995386064052582,
-0.20991994440555573,
-0.13563963770866394,
-0.5005940794944763,
0.3658377230167389,
0.1427299976348877,
-0.21688394248485565,
-0.021076727658510208,
0.7456310391426086,
-0.14528235793113708,
-0.13906075060367584,
0.21390075981616974,
0.12201237678527832,
0.10991966724395752,
0.04611678421497345,
0.030318398028612137,
-0.011115733534097672,
-0.03304066136479378,
0.06583195179700851,
0.18450315296649933,
0.21504433453083038,
0.10335663706064224,
0.18929311633110046,
0.22752878069877625,
0.16174805164337158,
0.2399486005306244,
0.0020010918378829956,
0.19150665402412415,
0.26478907465934753,
0.013799749314785004,
0.4644704759120941,
0.01957845687866211,
-0.2451903223991394,
0.29485124349594116,
0.05278284102678299,
-0.22624948620796204,
0.0024776551872491837,
0.3482111692428589,
0.46711471676826477,
0.46798694133758545,
0.37498489022254944,
0.1306307017803192,
0.2307245135307312,
0.2162705957889557,
-0.3341655731201172,
0.14152422547340393,
0.06250907480716705,
-0.10162916779518127,
-0.4894650876522064,
-0.11353688687086105,
0.5334681272506714,
0.2617943584918976,
0.13087314367294312,
0.2792215347290039,
0.7485608458518982,
-0.006645519286394119,
-0.0049046725034713745,
0.03557325154542923,
1.1054025888442993,
0.08932805061340332,
0.511600136756897,
0.3299122154712677,
-0.21612972021102905,
0.6684852838516235,
0.06909912824630737,
-0.08719822764396667,
-0.20660459995269775,
-0.003725471906363964,
-0.12317632138729095,
-0.2107066512107849,
-0.046331726014614105,
-0.09912972152233124,
-0.23284603655338287,
-0.1235215812921524,
0.2267221361398697,
0.24614982306957245,
-0.0763624906539917,
0.4228533208370209,
0.04336882010102272,
-0.284895658493042,
0.22402282059192657,
0.04948895424604416,
-0.06603863835334778,
0.2777661383152008,
0.017178039997816086,
-0.18053272366523743,
-0.40869155526161194,
0.18654277920722961,
-0.042395804077386856,
-0.2617901563644409,
0.04861707240343094,
0.07601921260356903,
0.26649603247642517,
-0.346579909324646,
0.08252045512199402,
0.22601525485515594,
0.6122017502784729,
-0.04034077003598213,
-0.3930332362651825,
0.11472071707248688,
-0.20282304286956787,
-0.034324053674936295,
0.2884681224822998,
-0.18314285576343536,
-0.07118817418813705,
0.10389890521764755,
-0.2888506352901459,
-0.1932978332042694,
0.1842671036720276,
-0.2162974774837494,
-0.645994246006012,
-0.39964503049850464,
-0.2399456650018692,
0.10081488639116287,
0.18017885088920593,
0.04138617217540741,
0.06685663759708405,
-0.06627646833658218,
0.13622650504112244,
0.286673367023468,
0.2672082781791687,
-0.26516079902648926,
0.36593180894851685,
-0.07591617107391357,
-0.16493909060955048,
0.0061103180050849915,
-0.28543245792388916,
-0.12646090984344482,
0.017520464956760406,
0.3181038200855255,
-0.15055304765701294,
-0.1637582778930664,
-0.09710617363452911,
0.566568911075592,
-0.3689715266227722,
0.009692429564893246,
0.006619919091463089,
-0.07198677957057953,
-0.06399846822023392,
-0.03732553496956825,
0.4055989980697632,
-0.32371431589126587,
0.297030508518219,
-0.031560759991407394,
-0.5026858448982239,
0.5002931356430054,
-0.2385510355234146,
0.35435542464256287,
0.15092191100120544,
-0.3983840346336365,
-0.1823531836271286,
0.1940658688545227,
-0.3114699721336365,
-0.12360409647226334,
0.06341541558504105,
-0.22663792967796326,
0.09137634932994843,
-0.3056643605232239,
-0.00213982118293643,
-0.18771594762802124,
0.03457983583211899,
-0.0884973555803299,
-0.2440946102142334,
-0.12069869786500931,
0.03325541689991951,
0.12465447932481766,
0.16596564650535583,
-0.1516040712594986,
0.11239366233348846,
-0.037288762629032135,
-0.24983882904052734,
-0.2869957387447357,
0.028935909271240234,
0.0656300038099289,
0.1850510686635971,
0.18549956381320953,
-0.17937667667865753,
-0.12000914663076401,
0.08477433025836945,
0.1931292861700058,
0.14523711800575256,
0.11985620856285095,
0.10603178292512894,
0.19749009609222412,
0.13105498254299164,
-0.1244240552186966,
0.03813312575221062,
0.37861427664756775,
0.2073788344860077,
-0.1582334041595459,
0.2916271388530731,
0.055411987006664276,
-0.12164834141731262,
-0.014321619644761086,
0.2115955650806427,
-0.07920175790786743,
-0.23713769018650055,
0.2079462856054306,
0.26030483841896057,
0.13232091069221497,
-0.01493720430880785,
-0.06907221674919128,
0.5490715503692627,
0.3284413814544678,
-0.08585004508495331,
0.2849859893321991,
0.36578938364982605,
-0.13853488862514496,
-0.31774282455444336,
-0.004171382635831833,
0.34374287724494934,
0.08023381233215332,
0.33933180570602417,
0.03016686625778675,
0.2966275215148926,
-0.01877552643418312,
0.06747354567050934,
0.4040055572986603,
0.1707209050655365,
0.04361044988036156,
-0.2660318911075592,
0.2587258815765381,
-0.43531158566474915,
0.18290190398693085,
0.4706445336341858,
0.0893084853887558,
-0.1902966946363449,
0.02699468284845352,
-0.291386216878891,
-0.10200589150190353,
0.0057985782623291016,
0.5884157419204712,
-0.1158565804362297,
-0.26789355278015137,
-0.14361104369163513,
0.32562145590782166,
-0.10090387612581253,
0.025057237595319748,
-0.2558780908584595,
-0.13351795077323914,
-0.09742182493209839,
0.04158369079232216,
0.018508262932300568,
-0.49205130338668823,
0.047829389572143555,
0.20728693902492523,
-0.10817459225654602,
-0.037296682596206665,
0.1538529396057129,
0.17203104496002197,
0.40214502811431885,
0.029812786728143692,
-0.2578584551811218,
0.026875093579292297,
-0.2577981948852539,
0.31973889470100403,
0.2452617883682251,
0.11011790484189987,
-0.2024984210729599,
-0.024130403995513916,
0.24390079081058502,
0.08534896373748779,
-0.08586353808641434,
0.06599429994821548,
0.04122654348611832,
-0.008960895240306854,
-0.21051807701587677,
0.07837848365306854,
0.15105710923671722,
-0.02609739638864994,
-0.2938432991504669,
-0.0005256757140159607,
0.11225970089435577,
-0.20267854630947113,
0.36041316390037537,
-0.24351203441619873,
-0.2219010293483734,
-0.07494599372148514,
0.1830284297466278,
-0.21476492285728455,
-0.1092594563961029,
0.12526698410511017,
0.0927145928144455,
-0.17015767097473145,
-0.20940451323986053,
0.05348309874534607,
-0.08413131535053253,
0.4444618225097656,
0.5724313855171204,
0.31879910826683044,
-0.022552944719791412,
-0.548714816570282,
-0.2336508333683014,
0.17517343163490295,
0.3362448811531067,
0.02561974711716175,
0.22497150301933289,
-0.24484063684940338,
-0.07151087373495102,
0.12535499036312103,
-0.3447532057762146,
0.17752917110919952,
-0.053322382271289825,
-0.06145940721035004,
-0.09459201991558075,
0.2960164546966553,
-0.05433403700590134,
-0.005651731044054031,
0.09048283845186234,
0.31132596731185913,
0.25883951783180237,
-0.05115455761551857,
-0.03230197727680206,
-0.17408373951911926,
0.4471306800842285,
-0.19091357290744781,
0.0902584046125412,
0.34115391969680786,
-0.04146788269281387,
0.061471790075302124,
0.08829215168952942,
-0.37449198961257935,
-0.36019644141197205,
-0.052953802049160004,
-0.10776200890541077,
-0.021253347396850586,
-0.3045414090156555,
0.30257177352905273,
-0.3775905966758728,
-0.5617468953132629,
-0.056302543729543686,
-0.18616804480552673,
-0.020548909902572632,
-0.13119655847549438,
-0.07205821573734283,
0.07866112142801285,
-0.19113805890083313,
0.11264196783304214,
0.27718228101730347,
0.0975923016667366,
-0.16711099445819855,
-0.0403577946126461,
0.09483538568019867,
-0.07979340106248856,
0.4239296317100525,
-0.03134649991989136,
0.17445917427539825,
0.058560967445373535,
0.08365008234977722,
0.23506736755371094,
-0.17884281277656555,
-0.2461714744567871,
-0.14227119088172913,
-0.03483591973781586,
0.11685196310281754,
0.037776652723550797,
0.47069889307022095,
0.18081152439117432,
-0.25495827198028564,
-0.04197493568062782,
0.14213290810585022,
-0.007991679012775421,
-0.06657059490680695,
0.11585533618927002,
-0.2201097160577774
] |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | @napoles-uach identifies the [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression).
Added to the Tasks in the initial issue. | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
| 22 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
@napoles-uach identifies the [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression).
Added to the Tasks in the initial issue. | [
-0.023360934108495712,
-0.24508512020111084,
-0.09793694317340851,
-0.005754582583904266,
-0.10700181126594543,
-0.036405496299266815,
-0.02936367318034172,
0.1181742250919342,
0.32750174403190613,
0.14410167932510376,
-0.15146960318088531,
-0.10237424820661545,
-0.2231219857931137,
0.41960015892982483,
0.44117799401283264,
-0.15655256807804108,
0.3331488072872162,
0.09857944399118423,
0.16108250617980957,
-0.042805373668670654,
-0.2738623321056366,
0.30607086420059204,
-0.062594473361969,
-0.10503324866294861,
-0.5190336108207703,
0.04562372714281082,
-0.1384659707546234,
0.16905076801776886,
-0.2346583753824234,
-0.227861225605011,
0.052299223840236664,
0.319870263338089,
0.1133367270231247,
0.45153316855430603,
-0.00011379311763448641,
-0.21795068681240082,
0.08546844869852066,
-0.006780568510293961,
-0.19831542670726776,
0.19653455913066864,
0.08512374013662338,
-0.05476594716310501,
-0.10320005565881729,
0.07376693934202194,
-0.07064192742109299,
0.008094996213912964,
0.17651239037513733,
-0.16314202547073364,
0.05848032981157303,
0.09639771282672882,
0.12425519526004791,
0.34206193685531616,
-0.1054975837469101,
-0.2134554386138916,
-0.2152913510799408,
0.3499605059623718,
-0.2723604440689087,
0.2081029713153839,
0.35746145248413086,
-0.04536399990320206,
-0.18747416138648987,
0.2848184108734131,
0.0022746697068214417,
-0.4445413649082184,
0.5725591778755188,
0.09432495385408401,
-0.3197539150714874,
-0.1687127649784088,
-0.3043658435344696,
0.24684032797813416,
-0.14722779393196106,
-0.03823544830083847,
-0.29029160737991333,
-0.5019685626029968,
-0.09405653923749924,
-0.14034536480903625,
-0.27735793590545654,
0.02029361017048359,
0.09187319874763489,
0.2887782156467438,
-0.2512562870979309,
-0.4706609547138214,
-0.056418221443891525,
0.23058779537677765,
0.04456827789545059,
0.07348374277353287,
-0.07230645418167114,
-0.03903934359550476,
0.37890100479125977,
0.07441569119691849,
-0.2300548255443573,
-0.11431147158145905,
-0.020707976073026657,
-0.1764054000377655,
-0.4001745283603668,
-0.2617931663990021,
0.24431857466697693,
0.6271170973777771,
0.3334880769252777,
0.6095016598701477,
-0.14034578204154968,
-0.09409767389297485,
-0.2547813653945923,
-0.14136415719985962,
-0.14714962244033813,
0.06811362504959106,
-0.024935811758041382,
0.058340586721897125,
0.3155946135520935,
-0.1075914278626442,
0.09515081346035004,
0.15578579902648926,
-0.0385555662214756,
-0.017557058483362198,
-0.0631008967757225,
-0.4204912483692169,
-0.07295839488506317,
-0.032854653894901276,
0.10988719016313553,
0.1179099902510643,
0.39727485179901123,
0.14203877747058868,
0.1769443303346634,
-0.07460067421197891,
0.1824151873588562,
0.3754679262638092,
-0.1290253847837448,
0.37230032682418823,
-0.009143154136836529,
-0.3626309931278229,
-0.23174256086349487,
0.009555760771036148,
0.09827277064323425,
0.5092723965644836,
0.49260202050209045,
-0.22403724491596222,
0.35720720887184143,
-0.18549995124340057,
0.3667587637901306,
0.22051480412483215,
-0.1469411700963974,
0.2262597531080246,
0.2278015911579132,
0.11524258553981781,
-0.24405187368392944,
-0.11305326223373413,
0.0744921863079071,
0.07387258112430573,
-0.2288152575492859,
-0.42673003673553467,
0.31328344345092773,
-0.37273645401000977,
-0.009338350966572762,
0.03946692869067192,
-0.1892005205154419,
-0.01641853153705597,
-0.04906585067510605,
0.20049519836902618,
-0.21018502116203308,
0.1390506625175476,
0.285573810338974,
0.016008974984288216,
-0.06971430778503418,
-0.13607634603977203,
0.4295976459980011,
0.47511446475982666,
0.22430512309074402,
-0.24673330783843994,
-0.05845659226179123,
0.19485914707183838,
-0.318234384059906,
0.4586288332939148,
0.04329889640212059,
-0.22370100021362305,
-0.06065642833709717,
0.21294556558132172,
-0.2075706124305725,
-0.4393162429332733,
-0.26432231068611145,
0.0149456188082695,
-0.39846569299697876,
-0.021594936028122902,
-0.023594558238983154,
0.5437318086624146,
-0.1660768687725067,
-0.016214637085795403,
0.30029669404029846,
0.5359237194061279,
-0.18056315183639526,
-0.22316497564315796,
-0.1595529317855835,
-0.0970575287938118,
-0.003376096487045288,
0.5075391530990601,
-0.088957279920578,
-0.1293686330318451,
-0.32722583413124084,
-0.39966264367103577,
-0.004029035568237305,
-0.05023365095257759,
-0.0017848038114607334,
-0.1139211654663086,
0.18334093689918518,
-0.15777361392974854,
-0.0013129333965480328,
0.024762358516454697,
-0.689397931098938,
0.18131810426712036,
0.045399777591228485,
0.18247240781784058,
-0.2089441865682602,
-0.22166018187999725,
0.06381812691688538,
-0.18195362389087677,
0.16805818676948547,
-0.13524653017520905,
0.04574226588010788,
0.043692447245121,
0.3873814642429352,
0.1733856350183487,
-0.32427507638931274,
0.4356340169906616,
-0.3335011601448059,
0.29724976420402527,
-0.22274059057235718,
0.4019874334335327,
0.028946727514266968,
-0.03761962428689003,
0.09738859534263611,
0.33610445261001587,
-0.21203544735908508,
-0.062308792024850845,
0.2646014094352722,
0.26847490668296814,
-0.06880184262990952,
0.38675999641418457,
0.5160745978355408,
0.4843229055404663,
-0.024660462513566017,
-0.42564693093299866,
-0.03215925395488739,
-0.1668974906206131,
-0.24965651333332062,
-0.15605700016021729,
0.19636595249176025,
0.4822242856025696,
-0.1367577761411667,
0.1280924528837204,
-0.19762441515922546,
0.22231954336166382,
-0.42075803875923157,
0.0549088753759861,
-0.34123244881629944,
-0.06771709024906158,
0.3625982999801636,
-0.0818459540605545,
0.02773824706673622,
0.20383958518505096,
-0.49527835845947266,
0.1713503897190094,
0.09938693046569824,
-0.14924970269203186,
0.052775539457798004,
-0.03222590684890747,
-0.17469847202301025,
-0.18676221370697021,
0.0965878888964653,
-0.08620667457580566,
0.15514300763607025,
0.18802495300769806,
-0.07374362647533417,
0.09789372235536575,
0.023599963635206223,
-0.3019613027572632,
0.06561647355556488,
0.1787198930978775,
0.12726247310638428,
-0.0837932899594307,
-0.18277236819267273,
0.2662579417228699,
-0.1519954651594162,
-0.07151877880096436,
-0.37510913610458374,
-0.08348765969276428,
-0.03553372994065285,
0.020245788618922234,
0.2486354112625122,
-0.11221165955066681,
0.24125121533870697,
-0.05371619760990143,
-0.4299561083316803,
-0.32051077485084534,
0.0027324259281158447,
-0.08818091452121735,
0.05432454124093056,
0.0093277832493186,
-0.2138376533985138,
1.034698486328125,
-0.3860892951488495,
-0.24801965057849884,
-0.5330564975738525,
-0.39394089579582214,
0.052040375769138336,
0.022345025092363358,
0.0459769181907177,
0.10653657466173172,
0.28290626406669617,
-0.42197081446647644,
0.574433445930481,
-0.20983780920505524,
-0.41973793506622314,
-0.08847486972808838,
-0.22307275235652924,
0.06595652550458908,
0.07650448381900787,
0.2899767756462097,
-0.35161739587783813,
0.06961745768785477,
-0.12326514720916748,
-0.38920557498931885,
-0.10694985836744308,
-0.16778002679347992,
-0.19052235782146454,
-0.2566030025482178,
-0.1211201399564743,
0.0570821575820446,
-0.32259246706962585,
-0.3757157027721405,
0.4931262731552124,
0.011093322187662125,
-0.11956743896007538,
0.4199025630950928,
-0.32890135049819946,
0.03883737698197365,
-0.41950660943984985,
-0.014160403981804848,
0.06678202748298645,
-0.3960443139076233,
0.44269973039627075,
-0.3666377067565918,
-0.1355583220720291,
-0.23709827661514282,
-0.09568692743778229,
0.16281679272651672,
-0.07144337892532349,
-0.5246745347976685,
-0.06886547058820724,
-0.27924853563308716,
0.2512849271297455,
0.3150321841239929,
-0.09944756329059601,
0.00733000785112381,
-0.1376231461763382,
0.07544124871492386,
-0.06913916021585464,
0.006183043122291565,
0.11334214359521866,
0.35748353600502014,
-0.11180128902196884,
0.1360778510570526,
-0.29330575466156006,
-0.03477361425757408,
0.18136629462242126,
0.19693198800086975,
-0.20882298052310944,
0.04469261318445206,
0.04894975945353508,
0.37924036383628845,
-0.2641705274581909,
-0.32917019724845886,
0.19392168521881104,
0.14453621208667755,
0.24119962751865387,
0.11522296071052551,
0.1285058557987213,
0.42740705609321594,
-0.24461252987384796,
-0.08911709487438202,
0.0341339185833931,
-0.08834530413150787,
-0.054516710340976715,
-0.009580329060554504,
0.22201770544052124,
-0.07131204009056091,
-0.23628821969032288,
-0.10378074645996094,
-0.05972239002585411,
0.12596110999584198,
0.24451357126235962,
0.5660994648933411,
0.09969489276409149,
-0.46621912717819214,
0.13236461579799652,
-0.49192535877227783,
0.09882183372974396,
-0.10912110656499863,
-0.004120808094739914,
-0.23312431573867798,
0.04320207238197327,
-0.128777414560318,
0.34219077229499817,
0.4064207673072815,
-0.10901752859354019,
-0.2101992815732956,
-0.1981079876422882,
-0.17153652012348175,
-0.5463966131210327,
0.3641704022884369,
0.10264568030834198,
-0.2291189581155777,
0.006470618769526482,
0.7298759818077087,
-0.20184946060180664,
-0.1426711529493332,
0.2135925590991974,
0.13415704667568207,
0.13757167756557465,
0.06777758151292801,
0.028397586196660995,
-0.04188874736428261,
-0.02407746948301792,
0.06598357111215591,
0.1826552301645279,
0.17570364475250244,
0.09310849010944366,
0.22526060044765472,
0.18938665091991425,
0.16122671961784363,
0.28588348627090454,
0.028426311910152435,
0.167595773935318,
0.2811768651008606,
0.055523600429296494,
0.4549523591995239,
0.018737874925136566,
-0.220963716506958,
0.3194340169429779,
0.048232242465019226,
-0.21975654363632202,
-0.02519993484020233,
0.32061702013015747,
0.43539443612098694,
0.472526490688324,
0.31728851795196533,
0.12296012043952942,
0.19604335725307465,
0.1852366030216217,
-0.33608824014663696,
0.19927556812763214,
0.016482098028063774,
-0.07265817373991013,
-0.46200627088546753,
-0.0739748403429985,
0.5497558116912842,
0.24181897938251495,
0.09564553201198578,
0.26379144191741943,
0.702391505241394,
-0.022486312314867973,
0.01853601261973381,
0.04404181241989136,
1.0917418003082275,
0.05868487060070038,
0.5128627419471741,
0.3741855323314667,
-0.2070433348417282,
0.628217339515686,
0.09985707700252533,
-0.11733169853687286,
-0.17926228046417236,
-0.022881660610437393,
-0.11811691522598267,
-0.2248300313949585,
-0.07083692401647568,
-0.0899152010679245,
-0.21845364570617676,
-0.1581972986459732,
0.20136316120624542,
0.26021042466163635,
-0.06780806183815002,
0.42183637619018555,
0.0884547084569931,
-0.2856805920600891,
0.15312409400939941,
0.039743661880493164,
-0.0478687658905983,
0.2958105504512787,
0.04068300500512123,
-0.15563969314098358,
-0.4556564390659332,
0.17746950685977936,
-0.01961444318294525,
-0.28268206119537354,
0.01730215735733509,
0.09291941672563553,
0.24294592440128326,
-0.3395206332206726,
0.01712464913725853,
0.2541409432888031,
0.6130251288414001,
-0.02357744798064232,
-0.35800614953041077,
0.13133083283901215,
-0.23105326294898987,
-0.03937971964478493,
0.29355716705322266,
-0.2105790227651596,
-0.05912412703037262,
0.11983399838209152,
-0.2393629252910614,
-0.17395251989364624,
0.1766861379146576,
-0.17549507319927216,
-0.6297186613082886,
-0.4018794298171997,
-0.2747373580932617,
0.08956439048051834,
0.16721460223197937,
0.08912642300128937,
0.048668038100004196,
-0.03111691027879715,
0.11628924310207367,
0.29365813732147217,
0.3238224387168884,
-0.2597666084766388,
0.3419395685195923,
-0.09371847659349442,
-0.20955824851989746,
0.03237418085336685,
-0.2560899257659912,
-0.17485852539539337,
0.047213781625032425,
0.325436532497406,
-0.12926290929317474,
-0.16739577054977417,
-0.08049662411212921,
0.5712999105453491,
-0.41987377405166626,
0.03820595145225525,
-0.03496268019080162,
-0.10465031862258911,
-0.09212061017751694,
-0.07235017418861389,
0.4558188319206238,
-0.3408049941062927,
0.31138837337493896,
-0.009477991610765457,
-0.4961603879928589,
0.5099542737007141,
-0.18421123921871185,
0.3927985727787018,
0.11875315755605698,
-0.4364699125289917,
-0.18560728430747986,
0.21253250539302826,
-0.2972806990146637,
-0.0939764752984047,
0.046628862619400024,
-0.18589703738689423,
0.06764183938503265,
-0.3123938739299774,
0.055041536688804626,
-0.19942279160022736,
0.01010989211499691,
-0.1308172643184662,
-0.28983137011528015,
-0.12206532061100006,
-0.015157976187765598,
0.12059519439935684,
0.14511843025684357,
-0.20906250178813934,
0.12564857304096222,
-0.03460155427455902,
-0.23178789019584656,
-0.30073508620262146,
0.064720019698143,
0.07564207166433334,
0.1632300615310669,
0.16228710114955902,
-0.12619248032569885,
-0.15342378616333008,
0.06009138375520706,
0.19755487143993378,
0.12895917892456055,
0.10118065774440765,
0.1185900866985321,
0.1876673698425293,
0.09286343306303024,
-0.12035776674747467,
0.05101865530014038,
0.4107949137687683,
0.19278252124786377,
-0.1598430573940277,
0.24820560216903687,
0.05447579547762871,
-0.10468992590904236,
0.012434156611561775,
0.1868293732404709,
-0.07713600993156433,
-0.27270787954330444,
0.17187529802322388,
0.20351684093475342,
0.11908286064863205,
-0.0011656899005174637,
-0.060873162001371384,
0.550921618938446,
0.32901298999786377,
-0.07497452944517136,
0.28622889518737793,
0.35772839188575745,
-0.11246224492788315,
-0.30050885677337646,
-0.008220568299293518,
0.34623873233795166,
0.10991362482309341,
0.3883630931377411,
0.024491671472787857,
0.25943514704704285,
-0.03468705341219902,
0.07258934527635574,
0.43973082304000854,
0.1929318606853485,
0.07284379005432129,
-0.2538593113422394,
0.27879664301872253,
-0.4248674213886261,
0.2154332995414734,
0.4413646459579468,
0.09172593057155609,
-0.18251517415046692,
0.10021612048149109,
-0.2956787645816803,
-0.05888775736093521,
0.0172877237200737,
0.5942404270172119,
-0.12927496433258057,
-0.24871687591075897,
-0.15689025819301605,
0.33694106340408325,
-0.10865747183561325,
-0.004465262871235609,
-0.21951548755168915,
-0.1454625427722931,
-0.10711512714624405,
0.03217107430100441,
0.0332922637462616,
-0.5427994132041931,
0.04633626341819763,
0.22205062210559845,
-0.08787862956523895,
-0.036037690937519073,
0.1352526843547821,
0.15209853649139404,
0.39472338557243347,
0.04426291212439537,
-0.23854650557041168,
0.04444450885057449,
-0.24833449721336365,
0.36757275462150574,
0.25201794505119324,
0.11251071095466614,
-0.19428017735481262,
-0.04719803109765053,
0.30755236744880676,
0.13305872678756714,
-0.07854214310646057,
0.05739188194274902,
0.07714955508708954,
-0.07427529990673065,
-0.1726270318031311,
0.099911630153656,
0.1437540054321289,
-0.01889749988913536,
-0.3461569845676422,
0.007398899644613266,
0.10511191189289093,
-0.18352779746055603,
0.3782903254032135,
-0.276178240776062,
-0.20904695987701416,
-0.04371585696935654,
0.1785135567188263,
-0.226842999458313,
-0.12653936445713043,
0.16767475008964539,
0.11261986196041107,
-0.14326000213623047,
-0.16327227652072906,
0.05047588795423508,
-0.11497688293457031,
0.5145262479782104,
0.5711684226989746,
0.3127615749835968,
-0.06730315834283829,
-0.5550907850265503,
-0.2250034213066101,
0.1245969757437706,
0.34394699335098267,
0.029227742925286293,
0.23093874752521515,
-0.1967262327671051,
-0.07987678796052933,
0.15340407192707062,
-0.3521456718444824,
0.18251261115074158,
-0.0819087103009224,
-0.09354256093502045,
-0.13206563889980316,
0.2687546908855438,
-0.03346708416938782,
-0.00932789221405983,
0.11840903759002686,
0.2824253439903259,
0.2338028848171234,
-0.03756529837846756,
-0.0372941792011261,
-0.15769603848457336,
0.43216148018836975,
-0.1495620608329773,
0.10910709202289581,
0.30303072929382324,
-0.02089366875588894,
0.11726319789886475,
0.10819361358880997,
-0.3876105546951294,
-0.3044121265411377,
-0.08401229232549667,
-0.09152088314294815,
-0.021456971764564514,
-0.27001479268074036,
0.32653993368148804,
-0.3739575147628784,
-0.5245142579078674,
-0.00866816658526659,
-0.15682603418827057,
0.024679258465766907,
-0.12412892282009125,
-0.07655177265405655,
0.08204637467861176,
-0.17364725470542908,
0.14092326164245605,
0.28646034002304077,
0.15537679195404053,
-0.18120430409908295,
0.005581554025411606,
0.080229252576828,
-0.10323739051818848,
0.4367714524269104,
-0.06833768635988235,
0.21218504011631012,
0.0582118034362793,
0.06918524205684662,
0.21654653549194336,
-0.13674496114253998,
-0.26932966709136963,
-0.11650994420051575,
-0.009608329273760319,
0.04511108994483948,
0.008479472249746323,
0.47037532925605774,
0.15134648978710175,
-0.23313651978969574,
-0.02042023465037346,
0.17162856459617615,
-0.023082047700881958,
-0.08957794308662415,
0.1357308030128479,
-0.17280462384223938
] |
https://github.com/huggingface/datasets/issues/3832 | Making Hugging Face the place to go for Graph NNs datasets | Great initiative! Let's keep this issue for these 3 datasets, but moving forward maybe let's create a new issue per dataset :rocket: great work @napoles-uach and @omarespejel! | Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
| 27 | Making Hugging Face the place to go for Graph NNs datasets
Let's make Hugging Face Datasets the central hub for GNN datasets :)
**Motivation**. Datasets are currently quite scattered and an open-source central point such as the Hugging Face Hub would be ideal to support the growth of the GNN field.
What are some datasets worth integrating into the Hugging Face hub?
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Special thanks to @napoles-uach for his collaboration on identifying the first ones:
- [ ] [SNAP-Stanford OGB Datasets](https://github.com/snap-stanford/ogb).
- [ ] [SNAP-Stanford Pretrained GNNs Chemistry and Biology Datasets](https://github.com/snap-stanford/pretrain-gnns).
- [ ] [TUDatasets](https://chrsmrrs.github.io/datasets/) (A collection of benchmark datasets for graph classification and regression)
cc @osanseviero
Great initiative! Let's keep this issue for these 3 datasets, but moving forward maybe let's create a new issue per dataset :rocket: great work @napoles-uach and @omarespejel! | [
-0.01863957941532135,
-0.2302568554878235,
-0.09310668706893921,
-0.02854739874601364,
-0.12222649157047272,
-0.06372915208339691,
0.00565197691321373,
0.11484631896018982,
0.32881733775138855,
0.16832217574119568,
-0.12983986735343933,
-0.08059696108102798,
-0.23037172853946686,
0.4487103819847107,
0.4454587399959564,
-0.12934264540672302,
0.3466871678829193,
0.11921148747205734,
0.22859583795070648,
0.003441855311393738,
-0.2893598675727844,
0.28073012828826904,
-0.07003208994865417,
-0.06804648041725159,
-0.5357468724250793,
0.04332172870635986,
-0.11398068070411682,
0.1229240670800209,
-0.25128796696662903,
-0.26538100838661194,
0.05502387881278992,
0.3174978196620941,
0.1384715884923935,
0.4129871726036072,
-0.00011245536006754264,
-0.2258913516998291,
0.12417256087064743,
0.0368223562836647,
-0.19788672029972076,
0.1738697737455368,
0.08020105212926865,
-0.07215975970029831,
-0.11394277215003967,
0.09081868082284927,
-0.09482388198375702,
0.010195942595601082,
0.17188449203968048,
-0.1382853090763092,
0.033049508929252625,
0.07263030856847763,
0.13970714807510376,
0.31554579734802246,
-0.106196328997612,
-0.222009539604187,
-0.21034681797027588,
0.36411064863204956,
-0.2708945572376251,
0.19857732951641083,
0.3390810489654541,
-0.07178830355405807,
-0.16661393642425537,
0.2911745607852936,
0.001823948696255684,
-0.4482121765613556,
0.586330235004425,
0.11527632176876068,
-0.2714139223098755,
-0.15811826288700104,
-0.3135094940662384,
0.23294785618782043,
-0.15418678522109985,
-0.02782570570707321,
-0.2894390821456909,
-0.5026134252548218,
-0.04222830384969711,
-0.1708833873271942,
-0.27624601125717163,
0.026306066662073135,
0.07918748259544373,
0.2687132656574249,
-0.24977253377437592,
-0.48991283774375916,
-0.044093064963817596,
0.2337815761566162,
0.05062917619943619,
0.10873033106327057,
-0.10446234047412872,
-0.02871653437614441,
0.3898027539253235,
0.07232216000556946,
-0.2256999909877777,
-0.10833252966403961,
-0.009625386446714401,
-0.16973774135112762,
-0.3979337513446808,
-0.2541149854660034,
0.24028432369232178,
0.6615872979164124,
0.3433297276496887,
0.6073152422904968,
-0.16534285247325897,
-0.10739857703447342,
-0.22543545067310333,
-0.11891590803861618,
-0.13136345148086548,
0.033197980374097824,
-0.025563783943653107,
0.07702475041151047,
0.3423948884010315,
-0.05524386093020439,
0.10933679342269897,
0.136856347322464,
-0.05531721189618111,
-0.054290588945150375,
-0.06932970881462097,
-0.41101062297821045,
-0.037661112844944,
-0.02175949141383171,
0.09384853392839432,
0.12169862538576126,
0.398616760969162,
0.15693673491477966,
0.17420899868011475,
-0.08143047243356705,
0.19735361635684967,
0.3954196870326996,
-0.09158116579055786,
0.373213529586792,
0.017715176567435265,
-0.33552080392837524,
-0.24503974616527557,
-0.011858630925416946,
0.07681120932102203,
0.5539177060127258,
0.471992164850235,
-0.20663636922836304,
0.30887311697006226,
-0.16181866824626923,
0.3798585534095764,
0.17009612917900085,
-0.1877233237028122,
0.24279578030109406,
0.15351742506027222,
0.08957066386938095,
-0.29117873311042786,
-0.11748937517404556,
0.08910073339939117,
0.05046135187149048,
-0.2515207827091217,
-0.4046558737754822,
0.29485228657722473,
-0.376107782125473,
-0.03108362667262554,
0.06466344743967056,
-0.16273389756679535,
-0.009168379008769989,
-0.020654134452342987,
0.20000655949115753,
-0.2207280695438385,
0.1168934553861618,
0.31777289509773254,
0.04640112817287445,
-0.09859347343444824,
-0.11827513575553894,
0.45150309801101685,
0.466533362865448,
0.2670097053050995,
-0.2505659759044647,
-0.08672242611646652,
0.19057711958885193,
-0.29976582527160645,
0.4474496841430664,
0.016256138682365417,
-0.22440817952156067,
-0.08688850700855255,
0.21286262571811676,
-0.17353060841560364,
-0.4372185468673706,
-0.24612444639205933,
0.049872949719429016,
-0.4571651220321655,
-0.04552987962961197,
-0.005408242344856262,
0.5096789598464966,
-0.16463926434516907,
-0.021943144500255585,
0.31550562381744385,
0.5374501347541809,
-0.2076370120048523,
-0.23181654512882233,
-0.17050354182720184,
-0.12198877334594727,
0.01224534772336483,
0.49857884645462036,
-0.10949063301086426,
-0.10551028698682785,
-0.3241642415523529,
-0.3981211483478546,
0.004122443497180939,
-0.04890051111578941,
0.013467886485159397,
-0.10451236367225647,
0.21435724198818207,
-0.14896728098392487,
-0.03850041329860687,
0.03173362463712692,
-0.6920567750930786,
0.1713913381099701,
0.0428788885474205,
0.1539846509695053,
-0.19661109149456024,
-0.25061801075935364,
0.05884435027837753,
-0.181541308760643,
0.14271527528762817,
-0.15859830379486084,
0.05676543712615967,
0.025878198444843292,
0.335873544216156,
0.17623372375965118,
-0.3432789444923401,
0.42041119933128357,
-0.32840192317962646,
0.2790558338165283,
-0.206756129860878,
0.411031574010849,
-0.013523777946829796,
-0.028591640293598175,
0.043345630168914795,
0.3316637873649597,
-0.20175233483314514,
-0.025077681988477707,
0.2757624089717865,
0.257424533367157,
-0.10655222833156586,
0.3840557336807251,
0.48678967356681824,
0.489857017993927,
-0.04970530420541763,
-0.45986872911453247,
-0.026994096115231514,
-0.18999183177947998,
-0.2590203881263733,
-0.16256389021873474,
0.21723920106887817,
0.46255528926849365,
-0.1465928852558136,
0.14528974890708923,
-0.21775443851947784,
0.20574654638767242,
-0.4562295079231262,
0.016429957002401352,
-0.3566977083683014,
-0.07096017152070999,
0.3321695625782013,
-0.11574409902095795,
0.028656478971242905,
0.20185405015945435,
-0.4819087088108063,
0.1383604109287262,
0.11394527554512024,
-0.12392215430736542,
0.03827280178666115,
-0.00812547653913498,
-0.14587557315826416,
-0.16370123624801636,
0.07738186419010162,
-0.09140369296073914,
0.13871151208877563,
0.19950538873672485,
-0.08420971035957336,
0.11488582193851471,
0.050463609397411346,
-0.30946165323257446,
0.09285806864500046,
0.15795426070690155,
0.16077207028865814,
-0.04723426699638367,
-0.17415164411067963,
0.2815916836261749,
-0.1231626346707344,
-0.08392427116632462,
-0.360977441072464,
-0.1119125485420227,
-0.03223884105682373,
0.01210848055779934,
0.2572006285190582,
-0.11402621865272522,
0.1871473640203476,
-0.04978034272789955,
-0.4215135872364044,
-0.3146454989910126,
-0.004981521517038345,
-0.09071239829063416,
0.07910796999931335,
0.0054483478888869286,
-0.2348267287015915,
1.0043329000473022,
-0.38697588443756104,
-0.2163737267255783,
-0.549882173538208,
-0.3767112195491791,
0.05454324185848236,
0.021403692662715912,
0.03112785518169403,
0.10391443222761154,
0.28462228178977966,
-0.4173276424407959,
0.5864565372467041,
-0.24616527557373047,
-0.4127751290798187,
-0.08680641651153564,
-0.18509411811828613,
0.04013492912054062,
0.10914985835552216,
0.27740344405174255,
-0.33937376737594604,
0.000043064355850219727,
-0.09181616455316544,
-0.3782728910446167,
-0.09971663355827332,
-0.16874165832996368,
-0.1873462200164795,
-0.20123393833637238,
-0.131000354886055,
0.07750897109508514,
-0.30679094791412354,
-0.4248395562171936,
0.5007842779159546,
-0.0477176234126091,
-0.11703550815582275,
0.46496695280075073,
-0.3423028290271759,
0.03987136483192444,
-0.4230193793773651,
-0.03111257590353489,
0.06258804351091385,
-0.3766842782497406,
0.42996636033058167,
-0.36091068387031555,
-0.08623507618904114,
-0.22247469425201416,
-0.08316934108734131,
0.16071002185344696,
-0.09931612014770508,
-0.5195980668067932,
-0.05134890228509903,
-0.24847669899463654,
0.2610998749732971,
0.2745940685272217,
-0.09899233281612396,
-0.00659729540348053,
-0.1480502337217331,
0.05508296936750412,
-0.059475451707839966,
0.008599098771810532,
0.08144783973693848,
0.36927369236946106,
-0.0821865126490593,
0.14845424890518188,
-0.25465497374534607,
-0.02529187873005867,
0.15782572329044342,
0.20394231379032135,
-0.1858297437429428,
0.0916256308555603,
0.07186471670866013,
0.408769816160202,
-0.2502824366092682,
-0.35126444697380066,
0.19389787316322327,
0.14675283432006836,
0.20921745896339417,
0.08946411311626434,
0.1311662495136261,
0.43335196375846863,
-0.2252333164215088,
-0.104606032371521,
0.07082680612802505,
-0.08356016874313354,
-0.055967092514038086,
-0.022993095219135284,
0.20844349265098572,
-0.09218382835388184,
-0.25400811433792114,
-0.07966023683547974,
-0.034764185547828674,
0.12415783107280731,
0.24326744675636292,
0.6037260293960571,
0.09983514994382858,
-0.4323265850543976,
0.11540324985980988,
-0.47071415185928345,
0.07703433930873871,
-0.1057414785027504,
0.01503949798643589,
-0.2368578016757965,
0.055683791637420654,
-0.10516613721847534,
0.3506218492984772,
0.4415375590324402,
-0.10521402209997177,
-0.21382881700992584,
-0.18167240917682648,
-0.14900878071784973,
-0.5165942907333374,
0.3628271818161011,
0.13412225246429443,
-0.24856369197368622,
0.006404951214790344,
0.7665819525718689,
-0.19467127323150635,
-0.15453630685806274,
0.23559625446796417,
0.14386281371116638,
0.12810151278972626,
0.045076072216033936,
0.011775773018598557,
-0.034118056297302246,
-0.05087444558739662,
0.07992799580097198,
0.2021484225988388,
0.18280234932899475,
0.09882614016532898,
0.1910545974969864,
0.20367790758609772,
0.18919023871421814,
0.247177854180336,
-0.016514066606760025,
0.1745607852935791,
0.27375510334968567,
0.04081687703728676,
0.46708470582962036,
0.0014262869954109192,
-0.24900949001312256,
0.31038662791252136,
0.030875397846102715,
-0.2527482211589813,
-0.025645099580287933,
0.33929088711738586,
0.4241198003292084,
0.4922160506248474,
0.3604874610900879,
0.1422998011112213,
0.24953733384609222,
0.21637725830078125,
-0.3387199640274048,
0.18369869887828827,
0.035605914890766144,
-0.10201197862625122,
-0.4749588668346405,
-0.08588487654924393,
0.5684987306594849,
0.2458934634923935,
0.10805027186870575,
0.30642011761665344,
0.7148635387420654,
-0.009430864825844765,
0.00011136475950479507,
0.012675806879997253,
1.1030570268630981,
0.07311586290597916,
0.5228556990623474,
0.34651651978492737,
-0.21523751318454742,
0.6381583213806152,
0.07146114110946655,
-0.10398030281066895,
-0.20213373005390167,
-0.02527039498090744,
-0.10154423862695694,
-0.23193736374378204,
-0.06863994151353836,
-0.08234398066997528,
-0.2180425077676773,
-0.1386474072933197,
0.16186630725860596,
0.2719362676143646,
-0.06728974729776382,
0.4282841384410858,
0.040834009647369385,
-0.27675962448120117,
0.1787547618150711,
0.053890518844127655,
-0.07455867528915405,
0.3046432435512543,
0.006894374266266823,
-0.17293600738048553,
-0.41477498412132263,
0.14828632771968842,
-0.009886212646961212,
-0.25527122616767883,
0.02768159657716751,
0.09173139184713364,
0.23952703177928925,
-0.3386901617050171,
0.032680708914995193,
0.23338109254837036,
0.6146976351737976,
-0.041483040899038315,
-0.3668234646320343,
0.10771556198596954,
-0.1833207607269287,
-0.01950058899819851,
0.27068567276000977,
-0.22194577753543854,
-0.05759170651435852,
0.11160624772310257,
-0.2670779228210449,
-0.1959857940673828,
0.17427164316177368,
-0.18951614201068878,
-0.633296012878418,
-0.37771761417388916,
-0.23729033768177032,
0.09745175391435623,
0.17988017201423645,
0.07265989482402802,
0.08878354728221893,
-0.05629171058535576,
0.13448746502399445,
0.2874443531036377,
0.27855372428894043,
-0.28452450037002563,
0.35418346524238586,
-0.083317331969738,
-0.16729196906089783,
0.012698054313659668,
-0.2725433111190796,
-0.15443959832191467,
0.027865499258041382,
0.30536773800849915,
-0.14847977459430695,
-0.1863524615764618,
-0.07547347247600555,
0.6019789576530457,
-0.38196226954460144,
0.028185956180095673,
-0.028132909908890724,
-0.11491484194993973,
-0.05448541045188904,
-0.06262078881263733,
0.42997556924819946,
-0.3460037410259247,
0.31315165758132935,
0.0008322298526763916,
-0.4973950982093811,
0.513140082359314,
-0.2123887687921524,
0.3748021125793457,
0.1116086021065712,
-0.37026259303092957,
-0.17805372178554535,
0.22756847739219666,
-0.31176096200942993,
-0.09130401164293289,
0.030353514477610588,
-0.18900401890277863,
0.0855686292052269,
-0.3274148404598236,
0.020190326496958733,
-0.18888550996780396,
0.037024274468421936,
-0.11104710400104523,
-0.260570764541626,
-0.12935441732406616,
-0.01918775960803032,
0.11339926719665527,
0.1662495732307434,
-0.15616339445114136,
0.13048119843006134,
-0.023216351866722107,
-0.22264163196086884,
-0.29589614272117615,
0.056152213364839554,
0.0785221979022026,
0.1879606395959854,
0.1502923220396042,
-0.1455584168434143,
-0.1186697706580162,
0.07674507796764374,
0.18996679782867432,
0.13487689197063446,
0.12499593198299408,
0.08226900547742844,
0.18868233263492584,
0.12300797551870346,
-0.09840192645788193,
0.01029574777930975,
0.3723950982093811,
0.19831925630569458,
-0.12718921899795532,
0.2432897686958313,
0.056191422045230865,
-0.12715330719947815,
0.01128287985920906,
0.18364882469177246,
-0.07494030892848969,
-0.25315845012664795,
0.1747821420431137,
0.24605605006217957,
0.13794338703155518,
0.0012726318091154099,
-0.034484393894672394,
0.5695012211799622,
0.31145673990249634,
-0.08174704015254974,
0.26490509510040283,
0.32283610105514526,
-0.11083554476499557,
-0.3317762017250061,
-0.005690529011189938,
0.3625391721725464,
0.060595206916332245,
0.3866689205169678,
0.05178581550717354,
0.2743579149246216,
-0.04227859154343605,
0.09251100569963455,
0.4173027276992798,
0.18603500723838806,
0.07120180875062943,
-0.25524213910102844,
0.26907557249069214,
-0.4338860511779785,
0.19893506169319153,
0.46729207038879395,
0.11024931073188782,
-0.18532180786132812,
0.06490043550729752,
-0.30370795726776123,
-0.10700962692499161,
-0.009074866771697998,
0.5787436366081238,
-0.15023380517959595,
-0.25463423132896423,
-0.1312827169895172,
0.3379300534725189,
-0.10521005839109421,
0.025723736733198166,
-0.22960372269153595,
-0.15040349960327148,
-0.08365798741579056,
0.007805220782756805,
0.04739849641919136,
-0.5019782185554504,
0.0692863017320633,
0.2307405024766922,
-0.09577992558479309,
-0.06087522953748703,
0.14518201351165771,
0.1629938781261444,
0.4118165075778961,
0.011873435229063034,
-0.25012528896331787,
0.014866583049297333,
-0.23810318112373352,
0.35898420214653015,
0.23904477059841156,
0.11017285287380219,
-0.17895208299160004,
-0.02727580815553665,
0.271695077419281,
0.1185857504606247,
-0.08605453372001648,
0.05351780354976654,
0.03980497643351555,
-0.04197567701339722,
-0.15539966523647308,
0.09415930509567261,
0.1590227335691452,
-0.043532844632864,
-0.3137686252593994,
0.019657183438539505,
0.10272371768951416,
-0.20518021285533905,
0.3875572383403778,
-0.30331557989120483,
-0.20754730701446533,
-0.04969912767410278,
0.20014309883117676,
-0.2273036241531372,
-0.11223301291465759,
0.15448671579360962,
0.10744544118642807,
-0.15506532788276672,
-0.17548125982284546,
0.056229621171951294,
-0.08915071189403534,
0.44588467478752136,
0.550361156463623,
0.3033924996852875,
-0.06474035978317261,
-0.5201074481010437,
-0.26659008860588074,
0.1549975425004959,
0.3349702060222626,
0.051677703857421875,
0.2409944385290146,
-0.22186507284641266,
-0.10346052795648575,
0.12423635274171829,
-0.3615409731864929,
0.1906910389661789,
-0.05178272724151611,
-0.08501723408699036,
-0.1133711040019989,
0.2905818521976471,
-0.05099955201148987,
-0.005418596789240837,
0.1155698150396347,
0.26554974913597107,
0.21301747858524323,
-0.03394972160458565,
-0.02973811700940132,
-0.155141681432724,
0.4270101487636566,
-0.13712666928768158,
0.06909895688295364,
0.3288210928440094,
-0.035265401005744934,
0.08050315082073212,
0.11094547063112259,
-0.3950440287590027,
-0.31002089381217957,
-0.07547666132450104,
-0.12530891597270966,
-0.018847256898880005,
-0.30869346857070923,
0.3204880654811859,
-0.36224570870399475,
-0.5311464071273804,
-0.07179508358240128,
-0.20413470268249512,
-0.0009426549077033997,
-0.1162320151925087,
-0.08860062062740326,
0.09240852296352386,
-0.15476197004318237,
0.12709291279315948,
0.2791570723056793,
0.1255917251110077,
-0.17608559131622314,
-0.008492475375533104,
0.0738249123096466,
-0.10551610589027405,
0.45519202947616577,
-0.04841563105583191,
0.16973063349723816,
0.0786210298538208,
0.11733720451593399,
0.22384119033813477,
-0.1588776558637619,
-0.24042198061943054,
-0.146623894572258,
-0.01964937523007393,
0.06281387805938721,
0.01981450244784355,
0.45664170384407043,
0.16351933777332306,
-0.25882524251937866,
-0.027063198387622833,
0.1353607028722763,
-0.01414908841252327,
-0.0994211956858635,
0.11639396846294403,
-0.19915251433849335
] |
https://github.com/huggingface/datasets/issues/3831 | when using to_tf_dataset with shuffle is true, not all completed batches are made | Hi @greenned, this is expected behaviour for `to_tf_dataset`. By default, we drop the smaller 'remainder' batch during training (i.e. when `shuffle=True`). If you really want to keep that batch, you can set `drop_remainder=False` when calling `to_tf_dataset()`. | ## Describe the bug
when converting a dataset to tf_dataset by using to_tf_dataset with shuffle true, the remainder is not converted to one batch
## Steps to reproduce the bug
this is the sample code below
https://colab.research.google.com/drive/1_oRXWsR38ElO1EYF9ayFoCU7Ou1AAej4?usp=sharing
## Expected results
regardless of shuffle is true or not, 67 rows dataset should be 5 batches when batch size is 16.
## Actual results
4 batches
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
| 36 | when using to_tf_dataset with shuffle is true, not all completed batches are made
## Describe the bug
when converting a dataset to tf_dataset by using to_tf_dataset with shuffle true, the remainder is not converted to one batch
## Steps to reproduce the bug
this is the sample code below
https://colab.research.google.com/drive/1_oRXWsR38ElO1EYF9ayFoCU7Ou1AAej4?usp=sharing
## Expected results
regardless of shuffle is true or not, 67 rows dataset should be 5 batches when batch size is 16.
## Actual results
4 batches
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
Hi @greenned, this is expected behaviour for `to_tf_dataset`. By default, we drop the smaller 'remainder' batch during training (i.e. when `shuffle=True`). If you really want to keep that batch, you can set `drop_remainder=False` when calling `to_tf_dataset()`. | [
-0.21016067266464233,
-0.15655353665351868,
0.10085847973823547,
0.10950116813182831,
0.36232560873031616,
0.17205464839935303,
0.09992387890815735,
0.3753470480442047,
-0.46109557151794434,
0.425815224647522,
-0.17324486374855042,
0.3522305488586426,
0.050779227167367935,
-0.030581511557102203,
0.08723192662000656,
0.13033172488212585,
0.4016359746456146,
-0.04188022017478943,
-0.34837856888771057,
-0.2507772445678711,
-0.21299728751182556,
0.024071253836154938,
-0.4630472660064697,
-0.2681806683540344,
-0.37955087423324585,
0.05346596986055374,
-0.00045372359454631805,
-0.13242951035499573,
0.09856516122817993,
0.11857601255178452,
0.007164308801293373,
0.0842510387301445,
-0.048458293080329895,
0.6641513109207153,
-0.00011499216634547338,
-0.044385410845279694,
0.12915214896202087,
-0.04722846299409866,
-0.384030282497406,
0.07812786102294922,
-0.27229470014572144,
0.35429951548576355,
-0.04945583641529083,
0.010582663118839264,
-0.002949599176645279,
-0.04206586256623268,
0.06187252700328827,
0.16164547204971313,
0.14693185687065125,
0.16867004334926605,
0.17833060026168823,
0.1592245101928711,
0.043521683663129807,
0.15715104341506958,
0.526158332824707,
0.10092562437057495,
-0.22375518083572388,
0.11749394237995148,
0.051142722368240356,
-0.05636405944824219,
0.06903345882892609,
0.21092091500759125,
0.18819664418697357,
-0.0025156866759061813,
0.07959377765655518,
0.043494682759046555,
0.03390759229660034,
-0.426528662443161,
0.004161562770605087,
0.27074968814849854,
0.32948678731918335,
-0.17103758454322815,
-0.3079136908054352,
-0.21505695581436157,
0.05749870836734772,
-0.019245117902755737,
-0.15766075253486633,
0.07613683491945267,
-0.20736688375473022,
-0.12765076756477356,
-0.44960087537765503,
0.19976237416267395,
-0.18558378517627716,
-0.12819933891296387,
-0.0981692522764206,
0.45225900411605835,
0.04676002264022827,
0.0627465769648552,
0.13743209838867188,
-0.18119938671588898,
0.39764395356178284,
-0.17266994714736938,
0.004678245633840561,
0.115996815264225,
-0.5533162355422974,
-0.22069109976291656,
-0.06306473165750504,
0.02503369376063347,
0.35717537999153137,
-0.07150646299123764,
-0.12059575319290161,
0.10495010018348694,
0.10568791627883911,
-0.009810678660869598,
0.22138477861881256,
-0.025306591764092445,
-0.3046858608722687,
0.4243261516094208,
0.05756917595863342,
-0.2200033962726593,
-0.16279207170009613,
0.10721366852521896,
-0.0520222969353199,
-0.0837988555431366,
0.12425833940505981,
-0.21927374601364136,
-0.16892889142036438,
-0.229883074760437,
-0.2936050593852997,
-0.126632422208786,
-0.025742409750819206,
0.10670056194067001,
-0.14650055766105652,
0.11421889066696167,
0.058575987815856934,
0.05374252796173096,
0.0016339980065822601,
0.03417494520545006,
-0.4158664643764496,
0.07676269859075546,
-0.33242154121398926,
-0.18553829193115234,
-0.27268126606941223,
-0.12929761409759521,
0.04108979180455208,
-0.14362715184688568,
0.037603095173835754,
0.2220432162284851,
0.09780082106590271,
0.10979843139648438,
-0.07198142260313034,
-0.3438985049724579,
0.14814934134483337,
0.23267576098442078,
0.09834766387939453,
0.1909242570400238,
0.08478984236717224,
0.17722707986831665,
0.012278318405151367,
0.4981277287006378,
-0.244816392660141,
0.03186522796750069,
0.3358405828475952,
0.21770699322223663,
-0.04136960953474045,
-0.37183859944343567,
-0.4808966815471649,
0.3076964020729065,
0.5394350290298462,
0.015965640544891357,
-0.13120535016059875,
-0.5934911370277405,
-0.22054608166217804,
-0.26568764448165894,
0.11854708939790726,
0.2112940102815628,
-0.2720463275909424,
0.11092717945575714,
0.441762238740921,
-0.3733001947402954,
0.5873153209686279,
0.5287662148475647,
0.157078817486763,
0.29538702964782715,
-0.23728598654270172,
-0.10779240727424622,
0.10949908941984177,
0.19179418683052063,
-0.2076863944530487,
-0.03464763984084129,
-0.2131401151418686,
0.10503778606653214,
-0.20208778977394104,
-0.08289308100938797,
0.07600545883178711,
-0.2917894124984741,
0.5760394930839539,
0.39052754640579224,
-0.4058743715286255,
0.3102744221687317,
-0.4214005172252655,
0.12889274954795837,
0.2523376941680908,
-0.0011604651808738708,
0.019638340920209885,
0.13926707208156586,
-0.013993926346302032,
-0.166116863489151,
0.4232124984264374,
0.08522350341081619,
0.11283320933580399,
-0.10586878657341003,
0.17837771773338318,
0.14617998898029327,
0.098980613052845,
-0.0972495824098587,
-0.17369982600212097,
0.035199932754039764,
0.19464625418186188,
-0.05337325483560562,
0.22607854008674622,
-0.018429532647132874,
0.009624917060136795,
-0.16371525824069977,
-0.022760141640901566,
0.15995080769062042,
0.05333859473466873,
0.16658100485801697,
0.11517143249511719,
0.07668469846248627,
-0.04010169953107834,
-0.2586224675178528,
-0.25145742297172546,
0.049085088074207306,
-0.1634690910577774,
0.32750430703163147,
0.21802805364131927,
-0.40945175290107727,
0.047695644199848175,
0.23963674902915955,
0.20532453060150146,
-0.21964332461357117,
-0.19341468811035156,
0.2814114987850189,
0.055985789746046066,
0.014970183372497559,
-0.14820951223373413,
-0.06642758846282959,
0.027834415435791016,
0.15723055601119995,
-0.36814776062965393,
-0.14982618391513824,
0.057385049760341644,
-0.11714225262403488,
-0.038573719561100006,
0.0636541023850441,
-0.13821403682231903,
0.21472734212875366,
0.1854839026927948,
-0.1266988068819046,
0.049638696014881134,
0.19729533791542053,
0.09277711808681488,
-0.03410758078098297,
0.03009631671011448,
-0.06166624650359154,
-0.3536178767681122,
0.0597371906042099,
-0.30298709869384766,
0.4018341302871704,
0.7039231061935425,
-0.15582558512687683,
-0.1831420660018921,
0.16733793914318085,
-0.13337501883506775,
-0.19889578223228455,
-0.027877802029252052,
0.19771499931812286,
0.25014498829841614,
0.3480066657066345,
0.2588483989238739,
-0.22639766335487366,
0.008019322529435158,
-0.22609344124794006,
0.11429357528686523,
0.029005087912082672,
0.02954494208097458,
0.3139497637748718,
0.10345517098903656,
0.054338160902261734,
-0.3334701657295227,
-0.08767645061016083,
0.18377363681793213,
0.4879394471645355,
-0.4156080186367035,
-0.3082159459590912,
-0.3294087052345276,
-0.07592162489891052,
-0.2569130063056946,
0.04102661460638046,
0.24266491830348969,
-0.3775734603404999,
0.1372372806072235,
0.4265154004096985,
-0.21895723044872284,
0.17633244395256042,
0.03737308457493782,
-0.016430959105491638,
0.0395553857088089,
0.08519551157951355,
-0.212504044175148,
0.10549787431955338,
-0.5505775809288025,
0.1637595295906067,
0.232527956366539,
-0.1417056918144226,
0.23892810940742493,
-0.3829704821109772,
-0.24319687485694885,
-0.17585577070713043,
0.049645982682704926,
0.1316811442375183,
-0.47016918659210205,
0.04285047948360443,
-0.19468867778778076,
0.23714736104011536,
-0.17213089764118195,
-0.0847184956073761,
0.1445050984621048,
-0.3086990714073181,
-0.20721498131752014,
0.34974414110183716,
0.003570552682504058,
-0.0838625431060791,
-0.1532178372144699,
-0.1952400505542755,
0.026990339159965515,
-0.10196898877620697,
-0.21221588551998138,
-0.09968294203281403,
0.11393280327320099,
0.4567670226097107,
0.05330580100417137,
-0.31436687707901,
-0.33102524280548096,
-0.38281071186065674,
-0.19159764051437378,
-0.45269325375556946,
0.2719551920890808,
-0.1121193915605545,
-0.28379684686660767,
-0.024103622883558273,
0.11248208582401276,
-0.24062728881835938,
0.6917421817779541,
-0.2306821644306183,
0.32883650064468384,
-0.27397915720939636,
0.059896115213632584,
-0.3209657073020935,
0.19383905827999115,
0.18052911758422852,
-0.19011865556240082,
-0.09996934235095978,
-0.15667644143104553,
0.04094100371003151,
0.09692604839801788,
-0.006807167083024979,
0.37547358870506287,
-0.23903480172157288,
0.1767253875732422,
0.16818369925022125,
0.7660068869590759,
0.15513180196285248,
0.1033582091331482,
-0.0546211376786232,
-0.18352635204792023,
0.11163459718227386,
-0.2274729311466217,
-0.09459590911865234,
0.7235051393508911,
0.1965169608592987,
-0.014518467709422112,
0.3886494040489197,
-0.18165266513824463,
0.056655555963516235,
0.1528795212507248,
0.2653290033340454,
-0.058381758630275726,
-0.26186972856521606,
0.12027709186077118,
-0.03682740777730942,
0.20017766952514648,
0.2608014941215515,
0.05089531093835831,
0.00372924841940403,
-0.09306004643440247,
-0.13953247666358948,
0.028316356241703033,
0.5205145478248596,
-0.009440317749977112,
-0.218855082988739,
-0.3215349316596985,
-0.5102673172950745,
0.02648712694644928,
0.138458251953125,
0.4770032465457916,
0.003565710037946701,
0.02370896190404892,
0.09597030282020569,
0.4214906692504883,
0.8987886309623718,
-0.08348798751831055,
0.14628751575946808,
0.28952762484550476,
0.2610722482204437,
-0.22594024240970612,
-0.25654837489128113,
-0.3616466224193573,
0.007965769618749619,
0.07191482186317444,
0.2781273126602173,
-0.28084275126457214,
-0.09636776149272919,
0.20623661577701569,
0.23513588309288025,
0.028761211782693863,
-0.09896082431077957,
-0.2809867858886719,
-0.15383759140968323,
-0.0012842249125242233,
0.3596148192882538,
0.31314605474472046,
0.031404104083776474,
-0.3122458755970001,
-0.4986172616481781,
0.09923069179058075,
-0.12922132015228271,
0.08475934714078903,
-0.029976995661854744,
0.2598499059677124,
0.44878271222114563,
0.31045547127723694,
0.0015967078506946564,
-0.4099845588207245,
0.8005316853523254,
0.03346588835120201,
-0.21080538630485535,
-0.029559701681137085,
0.21953770518302917,
-0.07407201826572418,
0.16407868266105652,
0.13616394996643066,
-0.2967314124107361,
-0.02130674570798874,
-0.2221696823835373,
0.3512970209121704,
0.22437258064746857,
-0.254726380109787,
0.23441216349601746,
-0.013946309685707092,
-0.4734807014465332,
-0.5224745869636536,
0.08466533571481705,
0.03600965440273285,
0.14525234699249268,
0.06922198086977005,
-0.15123434364795685,
-0.09144096076488495,
0.2765367031097412,
-0.039077527821063995,
0.6841681599617004,
-0.21494586765766144,
0.21957609057426453,
0.5486697554588318,
0.21488629281520844,
0.457674115896225,
-0.13196444511413574,
0.24180211126804352,
-0.18135398626327515,
-0.41978535056114197,
0.21443411707878113,
-0.09324346482753754,
-0.3325561285018921,
-0.0011866353452205658,
-0.04145020991563797,
0.33005937933921814,
-0.3122420310974121,
0.09572431445121765,
0.1383247822523117,
-0.041931431740522385,
0.10447484999895096,
-0.18036425113677979,
0.15099528431892395,
0.13479064404964447,
0.14841961860656738,
0.07780681550502777,
0.09434529393911362,
-0.048240672796964645,
-0.32854288816452026,
0.3076772093772888,
-0.20823624730110168,
0.1693170964717865,
-0.17557653784751892,
-0.04298359155654907,
-0.10344471037387848,
-0.08176032453775406,
0.01729423552751541,
-0.1664767563343048,
0.30689501762390137,
0.3329203128814697,
-0.04201417416334152,
0.04860839992761612,
0.2730604112148285,
0.35804447531700134,
0.0450739786028862,
-0.0459529273211956,
0.3018462359905243,
-0.05055928975343704,
-0.1684059500694275,
-0.3243640065193176,
0.047303203493356705,
-0.14653950929641724,
-0.5023326873779297,
-0.1951313465833664,
0.19938185811042786,
-0.25057369470596313,
-0.028864260762929916,
0.07163110375404358,
-0.13517390191555023,
-0.1581289917230606,
0.14232751727104187,
0.06675183027982712,
-0.1665770709514618,
0.7238302230834961,
-0.26334744691848755,
-0.24241839349269867,
-0.02285231277346611,
0.10098645836114883,
0.21763509511947632,
0.11760519444942474,
0.3884401023387909,
0.05369393154978752,
-0.1334517002105713,
-0.11705063283443451,
0.04601151496171951,
0.14396631717681885,
-0.2145613729953766,
0.402704656124115,
-0.13817256689071655,
0.500807523727417,
-0.023551655933260918,
0.39089396595954895,
-0.25499868392944336,
0.019006218761205673,
-0.18809114396572113,
-0.17394965887069702,
-0.2929146885871887,
-0.027745239436626434,
0.16197539865970612,
0.055574044585227966,
-0.08815658837556839,
0.7365833520889282,
0.15121597051620483,
-0.02451806701719761,
-0.2813739776611328,
-0.18829534947872162,
-0.039638057351112366,
0.4162767231464386,
-0.3424537777900696,
-0.05836864560842514,
-0.2905559837818146,
-0.015208331868052483,
0.12637272477149963,
0.3474130630493164,
-0.03854324296116829,
-0.25689929723739624,
-0.022373070940375328,
0.09277846664190292,
0.3142223060131073,
0.039860799908638,
0.14331616461277008,
-0.0402519665658474,
-0.3052661418914795,
-0.15983378887176514,
0.26221993565559387,
0.17742162942886353,
-0.06641213595867157,
-0.11724784970283508,
0.6894878149032593,
0.056575141847133636,
0.32134634256362915,
0.1302843987941742,
-0.18085429072380066,
-0.38191837072372437,
-0.07098076492547989,
0.05968281626701355,
-0.011984691023826599,
-0.09427978843450546,
-0.2923549711704254,
-0.2847425937652588,
0.002571888267993927,
0.14758720993995667,
-0.020772375166416168,
-0.31262582540512085,
-0.07274062931537628,
0.21015052497386932,
0.17884561419487,
0.49942466616630554,
-0.20472034811973572,
-0.2554527521133423,
0.2701796293258667,
0.19736628234386444,
-0.1023167222738266,
0.12352775037288666,
-0.1133556067943573,
0.015376932919025421,
-0.1763400137424469,
0.05379990488290787,
-0.4512587785720825,
-0.3035966753959656,
-0.08277000486850739,
0.07658689469099045,
-0.05085238069295883,
-0.23170106112957,
0.04178888350725174,
0.30080369114875793,
-0.08963963389396667,
0.1516404002904892,
0.11022931337356567,
-0.10246606171131134,
-0.31586605310440063,
0.28662195801734924,
0.23191618919372559,
0.2314041703939438,
0.07086846232414246,
-0.2568928301334381,
0.014581672847270966,
-0.47012022137641907,
0.013280186802148819,
0.6340287327766418,
-0.08494608104228973,
0.27563562989234924,
0.09419554471969604,
-0.13322538137435913,
-0.03146646171808243,
-0.17119497060775757,
0.14121520519256592,
0.06683117151260376,
-0.2928753197193146,
-0.0910177230834961,
0.02815469354391098,
-0.09812194108963013,
-0.0023806989192962646,
-0.02968413010239601,
-0.28130608797073364,
-0.06128436326980591,
-0.243160218000412,
0.18161541223526,
-0.22242017090320587,
-0.3476489782333374,
-0.24153107404708862,
0.20712485909461975,
0.27346763014793396,
-0.162795290350914,
0.15228590369224548,
-0.2978019714355469,
-0.12684385478496552,
-0.0026292353868484497,
0.2818767726421356,
0.18790960311889648,
0.44728192687034607,
0.31130707263946533,
0.05291711166501045,
0.07730121910572052,
-0.011084787547588348,
0.07805293798446655,
0.4478705823421478,
0.2823137640953064,
-0.07085055112838745,
0.25919103622436523,
0.03803461790084839,
-0.14946085214614868,
0.018522238358855247,
0.010034330189228058,
-0.03700884059071541,
-0.4107385277748108,
0.10240813344717026,
0.0938083827495575,
-0.11230771243572235,
-0.08214796334505081,
0.08774583041667938,
-0.2919517159461975,
0.011354191228747368,
-0.1672777533531189,
-0.1222628504037857,
0.010231351479887962,
-0.09405207633972168,
0.06736648082733154,
0.06887519359588623,
0.32845768332481384,
0.1051042228937149,
-0.07130163162946701,
-0.3790459930896759,
-0.2998872697353363,
-0.31444022059440613,
0.22283345460891724,
-0.15798166394233704,
0.43670299649238586,
0.07233159244060516,
0.35749807953834534,
-0.1864713728427887,
0.1442619264125824,
0.23484928905963898,
0.26392319798469543,
-0.18504679203033447,
0.6117048263549805,
-0.12378592789173126,
0.017621424049139023,
-0.5744243264198303,
0.03409184515476227,
0.02463594451546669,
-0.34031087160110474,
0.4176153838634491,
0.07228583097457886,
0.005530927330255508,
0.08643887937068939,
0.12377651035785675,
0.28110435605049133,
-0.0865112841129303,
0.15558674931526184,
0.2967540919780731,
0.17403781414031982,
0.03696384280920029,
0.10016164183616638,
-0.2641911804676056,
-0.03798794001340866,
-0.4436734914779663,
0.006394483149051666,
-0.07189223170280457,
0.13088741898536682,
0.15854835510253906,
-0.1779482066631317,
-0.055841103196144104,
0.06853222101926804,
0.13061605393886566,
0.1666869968175888,
-0.05188474804162979,
0.0977390706539154,
0.20097559690475464,
0.020238127559423447,
0.17139065265655518,
0.19756552577018738,
-0.03219684213399887,
-0.05986268073320389,
-0.4676694869995117,
-0.33025607466697693,
0.33276501297950745,
-0.4147053360939026,
-0.49295613169670105,
-0.394325852394104,
0.21886447072029114,
0.01490853726863861,
-0.151210218667984,
-0.08832759410142899,
0.012183457612991333,
0.3292819559574127,
0.0023657996207475662,
0.09788145124912262,
0.39517396688461304,
-0.14412355422973633,
0.2399221807718277,
-0.06344397366046906,
0.49188512563705444,
0.25069519877433777,
-0.20939193665981293,
0.23684248328208923,
-0.41271257400512695
] |
https://github.com/huggingface/datasets/issues/3830 | Got error when load cnn_dailymail dataset | Was able to reproduce the issue on Colab; full logs below.
```
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
[<ipython-input-2-39967739ba7f>](https://localhost:8080/#) in <module>()
1 import datasets
2
----> 3 train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
5 frames
[/usr/local/lib/python3.7/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, script_version, **config_kwargs)
1705 ignore_verifications=ignore_verifications,
1706 try_from_hf_gcs=try_from_hf_gcs,
-> 1707 use_auth_token=use_auth_token,
1708 )
1709
[/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
593 if not downloaded_from_gcs:
594 self._download_and_prepare(
--> 595 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
596 )
597 # Sync info
[/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
659 split_dict = SplitDict(dataset_name=self.name)
660 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 661 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
662
663 # Checksums verification
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _split_generators(self, dl_manager)
253 def _split_generators(self, dl_manager):
254 dl_paths = dl_manager.download_and_extract(_DL_URLS)
--> 255 train_files = _subset_filenames(dl_paths, datasets.Split.TRAIN)
256 # Generate shared vocabulary
257
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _subset_filenames(dl_paths, split)
154 else:
155 logger.fatal("Unsupported split: %s", split)
--> 156 cnn = _find_files(dl_paths, "cnn", urls)
157 dm = _find_files(dl_paths, "dm", urls)
158 return cnn + dm
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _find_files(dl_paths, publisher, url_dict)
133 else:
134 logger.fatal("Unsupported publisher: %s", publisher)
--> 135 files = sorted(os.listdir(top_dir))
136
137 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
``` | When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The code is to load dataset:
windows os:
```
from datasets import load_dataset
dataset = load_dataset("cnn_dailymail", "3.0.0", cache_dir="D:\\SourceCode\\DataScience\\HuggingFace\\Data")
```
google colab:
```
import datasets
train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
``` | 201 | Got error when load cnn_dailymail dataset
When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The code is to load dataset:
windows os:
```
from datasets import load_dataset
dataset = load_dataset("cnn_dailymail", "3.0.0", cache_dir="D:\\SourceCode\\DataScience\\HuggingFace\\Data")
```
google colab:
```
import datasets
train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
```
Was able to reproduce the issue on Colab; full logs below.
```
---------------------------------------------------------------------------
NotADirectoryError Traceback (most recent call last)
[<ipython-input-2-39967739ba7f>](https://localhost:8080/#) in <module>()
1 import datasets
2
----> 3 train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
5 frames
[/usr/local/lib/python3.7/dist-packages/datasets/load.py](https://localhost:8080/#) in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, ignore_verifications, keep_in_memory, save_infos, revision, use_auth_token, task, streaming, script_version, **config_kwargs)
1705 ignore_verifications=ignore_verifications,
1706 try_from_hf_gcs=try_from_hf_gcs,
-> 1707 use_auth_token=use_auth_token,
1708 )
1709
[/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in download_and_prepare(self, download_config, download_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, **download_and_prepare_kwargs)
593 if not downloaded_from_gcs:
594 self._download_and_prepare(
--> 595 dl_manager=dl_manager, verify_infos=verify_infos, **download_and_prepare_kwargs
596 )
597 # Sync info
[/usr/local/lib/python3.7/dist-packages/datasets/builder.py](https://localhost:8080/#) in _download_and_prepare(self, dl_manager, verify_infos, **prepare_split_kwargs)
659 split_dict = SplitDict(dataset_name=self.name)
660 split_generators_kwargs = self._make_split_generators_kwargs(prepare_split_kwargs)
--> 661 split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
662
663 # Checksums verification
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _split_generators(self, dl_manager)
253 def _split_generators(self, dl_manager):
254 dl_paths = dl_manager.download_and_extract(_DL_URLS)
--> 255 train_files = _subset_filenames(dl_paths, datasets.Split.TRAIN)
256 # Generate shared vocabulary
257
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _subset_filenames(dl_paths, split)
154 else:
155 logger.fatal("Unsupported split: %s", split)
--> 156 cnn = _find_files(dl_paths, "cnn", urls)
157 dm = _find_files(dl_paths, "dm", urls)
158 return cnn + dm
[/root/.cache/huggingface/modules/datasets_modules/datasets/cnn_dailymail/3cb851bf7cf5826e45d49db2863f627cba583cbc32342df7349dfe6c38060234/cnn_dailymail.py](https://localhost:8080/#) in _find_files(dl_paths, publisher, url_dict)
133 else:
134 logger.fatal("Unsupported publisher: %s", publisher)
--> 135 files = sorted(os.listdir(top_dir))
136
137 ret_files = []
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
``` | [
-0.30950692296028137,
0.20986437797546387,
0.028202906250953674,
0.45269131660461426,
0.2786130905151367,
0.0300757959485054,
0.6285240650177002,
-0.01428239792585373,
0.012505583465099335,
0.29893267154693604,
-0.3006659746170044,
0.23443102836608887,
-0.4058237075805664,
0.1356498748064041,
-0.08939460664987564,
0.09087486565113068,
0.053462885320186615,
0.1627378612756729,
-0.05622214078903198,
0.0320778414607048,
-0.27000755071640015,
0.4004787802696228,
-0.30106040835380554,
-0.05334433913230896,
-0.6285272240638733,
0.01382981427013874,
-0.09535979479551315,
0.4638504683971405,
-0.13154765963554382,
-0.059717822819948196,
0.1083320677280426,
-0.1623656153678894,
0.37520694732666016,
0.529976487159729,
-0.00012483044702094048,
0.24153707921504974,
0.23186464607715607,
-0.06338366866111755,
-0.3524457514286041,
-0.5094764828681946,
-0.12559232115745544,
-0.04826485365629196,
0.16915647685527802,
-0.11637743562459946,
-0.11416945606470108,
0.2773626148700714,
0.14070311188697815,
0.19413596391677856,
0.3674529790878296,
0.5125662088394165,
0.10524007678031921,
0.10471060872077942,
0.03655926510691643,
0.025780178606510162,
0.060195669531822205,
0.11225613206624985,
-0.10201562196016312,
0.7109399437904358,
-0.23550918698310852,
0.09544561058282852,
0.31488683819770813,
0.22385555505752563,
-0.1997053623199463,
0.05693364143371582,
0.007475830614566803,
0.19646486639976501,
-0.15447300672531128,
-0.6135700941085815,
0.2247476875782013,
0.04342340677976608,
0.5313557982444763,
-0.11982014030218124,
-0.21055768430233002,
0.06437947601079941,
0.15227198600769043,
-0.3185526132583618,
0.3862510025501251,
0.30676332116127014,
-0.14504766464233398,
0.09869621694087982,
-0.1958635300397873,
-0.08042445778846741,
-0.2782750725746155,
0.41611576080322266,
-0.13565123081207275,
0.29958605766296387,
-0.1916508823633194,
0.052469730377197266,
0.09136337041854858,
-0.030410438776016235,
0.3879624903202057,
-0.09034641087055206,
0.08243952691555023,
0.23406793177127838,
-0.035950545221567154,
0.08402495086193085,
-0.20748558640480042,
0.2534273862838745,
-0.12793368101119995,
0.11517944931983948,
-0.18745514750480652,
-0.17335480451583862,
-0.09412460029125214,
0.14209704101085663,
-0.10865344107151031,
0.12962503731250763,
-0.009419627487659454,
0.33598190546035767,
0.36531394720077515,
0.3486901521682739,
-0.197677880525589,
-0.07371620833873749,
-0.552298367023468,
-0.3752034306526184,
0.0062363408505916595,
0.04271683096885681,
0.6588174700737,
-0.24882541596889496,
-0.43013307452201843,
-0.17850491404533386,
-0.5770317912101746,
0.12734337151050568,
0.30736514925956726,
0.6884990930557251,
-0.09066931158304214,
-0.24853312969207764,
0.0006124265491962433,
0.07794709503650665,
-0.00091518834233284,
0.15445657074451447,
-0.1943495273590088,
0.24835431575775146,
-0.2779596447944641,
0.24195724725723267,
0.3207550346851349,
-0.39032605290412903,
0.3200772702693939,
0.04038036987185478,
0.12463638186454773,
-0.1580447256565094,
-0.11412900686264038,
-0.27727898955345154,
-0.22608444094657898,
0.4425128996372223,
-0.0008914321660995483,
0.017130335792899132,
0.14030413329601288,
-0.16924932599067688,
-0.1248302012681961,
0.2865031361579895,
-0.47268110513687134,
-0.5606011748313904,
-0.12791496515274048,
0.007863285019993782,
-0.21968840062618256,
-0.11261071264743805,
-0.1724790334701538,
-0.007194891571998596,
0.0021509528160095215,
-0.12943407893180847,
-0.06304504722356796,
-0.0090259350836277,
-0.49374133348464966,
-0.20182742178440094,
0.3109111189842224,
0.5900993347167969,
-0.5614767074584961,
-0.1409684121608734,
-0.03565296530723572,
-0.2114342451095581,
0.24046164751052856,
0.4673261046409607,
-0.1799379587173462,
0.14988574385643005,
-0.29293015599250793,
-0.11294922232627869,
0.3088051378726959,
-0.03969443589448929,
-0.5198438763618469,
0.049386344850063324,
0.0024258270859718323,
0.09919693320989609,
0.06503099948167801,
0.08232033997774124,
-0.105563223361969,
-0.059285059571266174,
0.20242394506931305,
0.19647711515426636,
0.018384870141744614,
0.07496199756860733,
-0.17242106795310974,
-0.20783255994319916,
0.061535563319921494,
0.36754146218299866,
0.2675865590572357,
0.14877209067344666,
0.21017605066299438,
-0.06979537010192871,
0.03275107219815254,
-0.33183419704437256,
-0.13825593888759613,
0.27436357736587524,
0.5242500901222229,
0.12745603919029236,
-0.014925356954336166,
0.073761947453022,
-0.5138718485832214,
0.18865427374839783,
0.12151765823364258,
0.3177197575569153,
-0.23737041652202606,
-0.07058404386043549,
-0.12359961867332458,
-0.0034180376678705215,
-0.2920302748680115,
-0.16430562734603882,
-0.028786087408661842,
0.005614064633846283,
-0.01825767010450363,
0.18397913873195648,
-0.1737789809703827,
0.5757724642753601,
-0.16507276892662048,
0.21581964194774628,
-0.15079395473003387,
0.4189091920852661,
-0.18251900374889374,
-0.197602778673172,
-0.17679010331630707,
0.19627490639686584,
0.10617826133966446,
-0.2600623071193695,
-0.17814776301383972,
0.21925252676010132,
0.004481145180761814,
-0.024691984057426453,
0.020072074607014656,
-0.02609984576702118,
0.1519245207309723,
-0.057394519448280334,
0.11038777232170105,
0.2108822464942932,
0.1341397911310196,
0.0661739781498909,
0.029503848403692245,
0.3374635577201843,
-0.007979538291692734,
0.13552802801132202,
-0.01556265726685524,
-0.10642208904027939,
-0.02519114688038826,
-0.03732059523463249,
0.07833743840456009,
-0.07120007276535034,
0.2821792662143707,
-0.1807914823293686,
0.43488800525665283,
0.11131339520215988,
-0.256286084651947,
-0.19009053707122803,
0.09204398095607758,
-0.13533253967761993,
0.09367247670888901,
0.1896372139453888,
-0.3600351810455322,
0.04994933307170868,
-0.13698959350585938,
0.1927138715982437,
0.6719841361045837,
0.02054843306541443,
-0.05344763770699501,
0.25833773612976074,
0.04393778368830681,
-0.14883196353912354,
0.2953350841999054,
0.15479302406311035,
0.38466960191726685,
0.2565406560897827,
-0.05316755548119545,
0.10391119122505188,
-0.3355042040348053,
-0.5095571279525757,
0.1543496996164322,
0.4287939965724945,
-0.4389049708843231,
0.04513988643884659,
-0.04950778931379318,
-0.4452630579471588,
-0.057604268193244934,
-0.33002978563308716,
-0.18247272074222565,
0.00798146240413189,
-0.16969114542007446,
0.3829990029335022,
0.20460395514965057,
0.009301391430199146,
0.004435304552316666,
0.03094145655632019,
0.046228326857089996,
-0.2844983637332916,
-0.1010487824678421,
0.006176996510475874,
-0.03151881694793701,
-0.05673440173268318,
0.5206709504127502,
-0.17172232270240784,
0.13275152444839478,
-0.25237369537353516,
-0.004080191254615784,
-0.24331673979759216,
-0.24476495385169983,
0.08876101672649384,
0.02960805967450142,
0.4573533535003662,
-0.02519858628511429,
0.05609816685318947,
-0.19992858171463013,
-0.27144619822502136,
0.2580689489841461,
0.026003984734416008,
-0.13162706792354584,
0.01711355894804001,
-0.3006402552127838,
-0.000007851902410038747,
-0.05254897102713585,
-0.299511194229126,
-0.5992615222930908,
-0.24271167814731598,
-0.015754908323287964,
-0.0655328705906868,
0.18830683827400208,
0.5018795728683472,
-0.008232847787439823,
0.17931947112083435,
0.1717994511127472,
0.09001660346984863,
-0.09569644182920456,
-0.2910322844982147,
0.38162124156951904,
-0.27460977435112,
-0.23072414100170135,
0.20242753624916077,
-0.02392318658530712,
0.03358825296163559,
-0.11995767056941986,
-0.4130154252052307,
-0.4669872522354126,
0.013752901926636696,
-0.2432013899087906,
-0.05635131150484085,
-0.26285913586616516,
0.13149139285087585,
-0.0748455822467804,
0.0652717873454094,
0.14612209796905518,
-0.257411926984787,
-0.009722739458084106,
-0.11189613491296768,
0.07333541661500931,
-0.06353050470352173,
0.5399031639099121,
-0.1412060409784317,
0.6341114044189453,
0.11753346025943756,
-0.06703905761241913,
0.3915449380874634,
-0.04707181453704834,
0.16103483736515045,
-0.012301042675971985,
-0.46571096777915955,
0.14186950027942657,
0.1643955111503601,
-0.27372708916664124,
0.43387073278427124,
0.1748518943786621,
-0.3048364818096161,
-0.2479368895292282,
-0.39501655101776123,
-0.335931658744812,
-0.12918518483638763,
0.22444622218608856,
0.07655193656682968,
0.009372398257255554,
-0.0750354453921318,
-0.17019137740135193,
0.06428392231464386,
-0.34790417551994324,
-0.025731218978762627,
0.6968377828598022,
-0.057295702397823334,
0.01920563355088234,
0.17922675609588623,
-0.19525153934955597,
-0.5042141675949097,
0.2833388149738312,
0.03096441738307476,
0.12602505087852478,
-0.19255603849887848,
0.2048037350177765,
0.17440426349639893,
0.032366424798965454,
0.6172284483909607,
-0.08926450461149216,
-0.11756215989589691,
0.11524996161460876,
-0.09337279200553894,
-0.16551418602466583,
-0.2598896026611328,
-0.3196980357170105,
0.28568676114082336,
0.14182069897651672,
0.5595871210098267,
0.045536480844020844,
-0.19378821551799774,
0.5777938365936279,
0.0901099145412445,
-0.13620202243328094,
-0.34500378370285034,
-0.3429661989212036,
-0.2606606185436249,
-0.38603419065475464,
-0.1017528846859932,
-0.23087623715400696,
0.2152521163225174,
0.06453824043273926,
-0.0772680714726448,
-0.056712642312049866,
0.0791456550359726,
0.2710028290748596,
-0.027700599282979965,
0.21957075595855713,
0.19837860763072968,
0.15726889669895172,
-0.04399131238460541,
0.33615708351135254,
0.3776146173477173,
0.5740194916725159,
-0.025716669857501984,
-0.44069188833236694,
0.038393788039684296,
0.08394014090299606,
0.08626551926136017,
0.2240077257156372,
-0.246332049369812,
-0.2947298586368561,
-0.1106923520565033,
0.34453415870666504,
0.1342606395483017,
0.2777721583843231,
0.3449817895889282,
0.048306312412023544,
-0.49030810594558716,
-0.1967240273952484,
0.4206615090370178,
0.09860303997993469,
0.056406170129776,
0.1465899795293808,
-0.03729318827390671,
-0.2682201564311981,
0.20733501017093658,
-0.010855108499526978,
0.9076483845710754,
-0.05250684916973114,
0.1670573651790619,
0.5253489017486572,
0.2959664463996887,
0.508992075920105,
-0.01787862554192543,
0.0557495653629303,
-0.31230515241622925,
-0.4351038634777069,
-0.17653533816337585,
-0.1443978101015091,
0.05073865130543709,
0.2611643075942993,
-0.2046564519405365,
0.40223413705825806,
0.07491311430931091,
0.18232351541519165,
0.15400642156600952,
0.022055000066757202,
-0.12987478077411652,
-0.08057674765586853,
-0.10704222321510315,
0.0286969356238842,
-0.15316133201122284,
0.3983196020126343,
-0.34882181882858276,
0.07345101982355118,
-0.13361406326293945,
0.008382562547922134,
-0.16358979046344757,
0.26847612857818604,
-0.6767586469650269,
0.3378945589065552,
-0.0632140040397644,
-0.4176098704338074,
0.012624353170394897,
0.3829079568386078,
0.3298659324645996,
-0.20736943185329437,
-0.05697602778673172,
0.030728211626410484,
-0.159670889377594,
-0.2693590819835663,
-0.23778194189071655,
-0.2176634520292282,
0.39430439472198486,
-0.10215386748313904,
-0.1840897798538208,
-0.2670329809188843,
-0.1430359184741974,
-0.3169206976890564,
0.16244381666183472,
0.15227964520454407,
0.14956533908843994,
-0.07324138283729553,
-0.4231259822845459,
-0.051852986216545105,
0.04872617498040199,
-0.09079482406377792,
0.005275950767099857,
-0.008889026939868927,
-0.11169635504484177,
0.001620665192604065,
-0.08945968747138977,
-0.4819982051849365,
-0.09210270643234253,
0.2557436525821686,
-0.20480117201805115,
-0.1016315221786499,
0.5823462009429932,
0.11735333502292633,
-0.16346950829029083,
-0.0880386233329773,
0.15824681520462036,
-0.08777797222137451,
-0.3711778223514557,
0.1427474468946457,
0.2561979293823242,
0.2981035113334656,
0.012777204625308514,
0.3018709719181061,
0.21233616769313812,
0.028579700738191605,
-0.09081245958805084,
-0.6985998153686523,
-0.168039008975029,
0.21597199141979218,
0.001014210283756256,
0.1917112022638321,
0.022139567881822586,
0.014557909220457077,
0.15568892657756805,
-0.4672355353832245,
-0.15967991948127747,
0.3194858729839325,
-0.1350402534008026,
-0.08744512498378754,
0.23340454697608948,
-0.018758781254291534,
0.4961552917957306,
0.06765912473201752,
-0.015922855585813522,
0.0354711152613163,
0.04546923190355301,
-0.17691808938980103,
-0.09577472507953644,
0.18443803489208221,
0.12390074133872986,
-0.04035336524248123,
0.01992861181497574,
0.05799520015716553,
-0.11739574372768402,
-0.09586968272924423,
0.29082393646240234,
0.4100401699542999,
0.03611675277352333,
-0.14065106213092804,
0.013902872800827026,
0.07763954252004623,
-0.21619240939617157,
0.27076223492622375,
-0.08381488919258118,
0.38434290885925293,
0.21078120172023773,
0.2238776683807373,
0.00578792579472065,
0.02522926777601242,
0.025348851457238197,
-0.1151161715388298,
-0.0976698249578476,
-0.035895779728889465,
0.03301906958222389,
-0.408488392829895,
0.03841867670416832,
0.004398633260279894,
0.16587397456169128,
0.15969595313072205,
-0.33232706785202026,
0.07609380036592484,
0.3499535918235779,
0.049884989857673645,
-0.09849034249782562,
0.0006029570940881968,
0.1474263221025467,
-0.16279193758964539,
0.023454997688531876,
0.3818511664867401,
-0.10678409039974213,
0.2607763111591339,
-0.03065004199743271,
-0.009997382760047913,
0.37504515051841736,
0.2537440061569214,
0.016414053738117218,
0.17617636919021606,
-0.07037606835365295,
0.4491495192050934,
0.22915582358837128,
0.13609935343265533,
0.18655100464820862,
0.45423024892807007,
-0.2553725838661194,
0.08854732662439346,
-0.15633803606033325,
0.13927803933620453,
0.2634979486465454,
-0.47103792428970337,
0.10046681761741638,
0.3601090610027313,
-0.1182532012462616,
-0.03132599592208862,
-0.14219123125076294,
0.4546005129814148,
-0.40098872780799866,
-0.02919061854481697,
-0.23985053598880768,
0.26509222388267517,
-0.19685319066047668,
-0.012500224635004997,
-0.014713739976286888,
-0.07108878344297409,
-0.19004835188388824,
0.258832722902298,
-0.010331161320209503,
-0.26132214069366455,
-0.1662745177745819,
0.3800848126411438,
-0.36931389570236206,
0.07381698489189148,
0.017698688432574272,
0.5190156698226929,
-0.20052099227905273,
-0.150650292634964,
0.3516228497028351,
0.020424291491508484,
0.037269093096256256,
-0.03247827664017677,
0.40564870834350586,
0.49655863642692566,
0.39800897240638733,
0.12760716676712036,
0.06136748939752579,
0.1034480482339859,
-0.052740395069122314,
0.040755465626716614,
-0.014318384230136871,
0.3056204319000244,
0.39538681507110596,
0.18030616641044617,
0.041132569313049316,
-0.11952783167362213,
0.23718604445457458,
0.06765817105770111,
0.16526393592357635,
0.010415332391858101,
0.24298608303070068,
-0.2293325662612915,
-0.002109520137310028,
-0.17703135311603546,
-0.06718536466360092,
-0.41913720965385437,
0.11751091480255127,
0.16202311217784882,
-0.10380282253026962,
0.0572691336274147,
0.19182828068733215,
-0.007386399433016777,
-0.016318239271640778,
0.24993979930877686,
0.4198988676071167,
0.4056074917316437,
-0.47969850897789,
-0.21674971282482147,
-0.6420292258262634,
0.1984615921974182,
0.023269519209861755,
0.15621086955070496,
-0.3741684854030609,
-0.05135026574134827,
-0.26055029034614563,
0.1461314857006073,
0.0820731669664383,
0.08891140669584274,
0.19931644201278687,
-0.008635461330413818,
-0.30393895506858826,
-0.03069889172911644,
0.12022876739501953,
-0.04997382313013077,
-0.001818530261516571,
-0.4665808081626892,
-0.021405715495347977,
-0.41627395153045654,
-0.19509708881378174,
0.049362920224666595,
-0.07460639625787735,
-0.30480077862739563,
-0.13651883602142334,
0.445205420255661,
-0.05882278084754944,
0.7182031869888306,
-0.02867099642753601,
0.014743147417902946,
-0.08384177088737488,
-0.27032825350761414,
-0.17312154173851013,
0.2960035502910614,
0.23890908062458038,
0.43249717354774475,
-0.12982819974422455,
-0.05464622750878334,
-0.2408379763364792,
0.23171643912792206,
0.009002439677715302,
-0.14458754658699036,
-0.17244981229305267,
-0.002888915129005909,
0.05275799334049225,
0.21581536531448364,
0.11043470352888107,
0.14780178666114807,
-0.20153158903121948,
0.07666337490081787,
-0.2525888681411743,
-0.28387922048568726,
0.5721765756607056,
-0.47157996892929077,
-0.0840679407119751,
-0.04388733208179474,
0.26378780603408813,
0.11672180891036987,
-0.17228512465953827,
-0.39617055654525757,
0.17773160338401794,
0.20571672916412354,
0.024368276819586754,
-0.39850562810897827,
0.22201107442378998,
0.18213270604610443,
0.06270501017570496,
-0.04443815350532532,
0.36715373396873474,
0.018499037250876427,
-0.39760833978652954,
0.07426176965236664,
-0.35152101516723633
] |
https://github.com/huggingface/datasets/issues/3830 | Got error when load cnn_dailymail dataset | Hi @jon-tow, thanks for reporting. And hi @dynamicwebpaige, thanks for your investigation.
This issue was already reported
- #3784
and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today (indeed, we were planning to do it last Friday).
In the meantime, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
```
CC: @lhoestq | When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The code is to load dataset:
windows os:
```
from datasets import load_dataset
dataset = load_dataset("cnn_dailymail", "3.0.0", cache_dir="D:\\SourceCode\\DataScience\\HuggingFace\\Data")
```
google colab:
```
import datasets
train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
``` | 129 | Got error when load cnn_dailymail dataset
When using datasets.load_dataset method to load cnn_dailymail dataset, got error as below:
- windows os: FileNotFoundError: [WinError 3] 系统找不到指定的路径。: 'D:\\SourceCode\\DataScience\\HuggingFace\\Data\\downloads\\1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b\\cnn\\stories'
- google colab: NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
The code is to load dataset:
windows os:
```
from datasets import load_dataset
dataset = load_dataset("cnn_dailymail", "3.0.0", cache_dir="D:\\SourceCode\\DataScience\\HuggingFace\\Data")
```
google colab:
```
import datasets
train_data = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
```
Hi @jon-tow, thanks for reporting. And hi @dynamicwebpaige, thanks for your investigation.
This issue was already reported
- #3784
and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today (indeed, we were planning to do it last Friday).
In the meantime, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
```
CC: @lhoestq | [
-0.13006335496902466,
0.21794918179512024,
0.022833816707134247,
0.34900063276290894,
0.23288226127624512,
0.13096287846565247,
0.5199159979820251,
-0.04545607790350914,
0.01507939025759697,
0.22897329926490784,
-0.12210603058338165,
0.10922311246395111,
-0.30647826194763184,
0.33779996633529663,
-0.13430747389793396,
0.093202605843544,
0.1022375226020813,
0.035010792315006256,
0.04305611550807953,
0.018973298370838165,
-0.29488903284072876,
0.4258309304714203,
-0.25127094984054565,
-0.16859422624111176,
-0.44877752661705017,
-0.015632091090083122,
0.0029488112777471542,
0.4556185007095337,
-0.12662726640701294,
-0.07110783457756042,
0.06538894772529602,
-0.11803215742111206,
0.29604852199554443,
0.5225616693496704,
-0.00012279053044039756,
0.19654618203639984,
0.35664111375808716,
-0.043071553111076355,
-0.3295642137527466,
-0.4086529612541199,
0.21295759081840515,
-0.0869971364736557,
0.08314298093318939,
-0.06505073606967926,
-0.03293892741203308,
0.10745952278375626,
0.1283160150051117,
0.12144209444522858,
0.27643752098083496,
0.44858235120773315,
0.10445117950439453,
0.1832556128501892,
0.14145562052726746,
0.041759416460990906,
0.07387808710336685,
-0.0670371949672699,
-0.012507133185863495,
0.7899444699287415,
-0.21577179431915283,
0.007515769451856613,
0.30224716663360596,
0.13679613173007965,
-0.20805610716342926,
-0.04621550068259239,
0.05584369972348213,
0.2570536732673645,
-0.16468194127082825,
-0.4824422299861908,
0.1632402241230011,
0.04999808222055435,
0.3487250506877899,
-0.02975420653820038,
-0.2357293963432312,
-0.035517748445272446,
0.1729053556919098,
-0.2818130552768707,
0.470340371131897,
0.30688074231147766,
-0.02348676696419716,
0.02733505330979824,
-0.3240557312965393,
-0.06841645389795303,
-0.12230344116687775,
0.36305779218673706,
-0.18136970698833466,
0.18601848185062408,
-0.23198509216308594,
0.0025241300463676453,
0.19136357307434082,
-0.07446049153804779,
0.28567230701446533,
0.026171395555138588,
-0.01600920408964157,
0.1185464859008789,
-0.02611302211880684,
0.06548904627561569,
-0.1349329948425293,
0.36065617203712463,
-0.0634361207485199,
0.18619170784950256,
-0.15861868858337402,
-0.07978169620037079,
-0.26055121421813965,
0.059253543615341187,
-0.017042212188243866,
0.2563009560108185,
0.05437710881233215,
0.13450987637043,
0.359172523021698,
0.45400115847587585,
-0.03074178472161293,
-0.0460628941655159,
-0.34182828664779663,
-0.3121158182621002,
0.009239088743925095,
0.047878384590148926,
0.5888535976409912,
-0.15252622961997986,
-0.3313106298446655,
-0.10800964385271072,
-0.4425872266292572,
0.008791154250502586,
0.2387332022190094,
0.5910140872001648,
-0.09827198088169098,
-0.25860220193862915,
0.03679153323173523,
0.05646852031350136,
0.11798099428415298,
0.20038571953773499,
-0.21671006083488464,
0.1732976883649826,
-0.19782792031764984,
0.2794422209262848,
0.33656400442123413,
-0.5867112278938293,
0.24751639366149902,
0.021071109920740128,
0.17931607365608215,
-0.18059198558330536,
-0.30094221234321594,
-0.11798378825187683,
-0.24205079674720764,
0.41131460666656494,
-0.06873362511396408,
-0.0028590280562639236,
0.22777090966701508,
-0.22539153695106506,
-0.12288323789834976,
0.21612218022346497,
-0.5137178301811218,
-0.5094753503799438,
-0.061044588685035706,
0.013943348079919815,
-0.33414775133132935,
-0.19348764419555664,
-0.17681071162223816,
-0.04290573671460152,
-0.18056416511535645,
-0.18182812631130219,
-0.09933247417211533,
0.12327601760625839,
-0.44252809882164,
-0.162221297621727,
0.2184716761112213,
0.5684314370155334,
-0.5083074569702148,
-0.11082503199577332,
-0.12325999140739441,
-0.3132511079311371,
0.07865004986524582,
0.42748019099235535,
-0.08786036819219589,
0.022876031696796417,
-0.31977933645248413,
-0.09629658609628677,
0.023048780858516693,
-0.02819734252989292,
-0.51545250415802,
-0.049132104963064194,
-0.06160109490156174,
0.06096784025430679,
-0.05048447102308273,
0.0012749871239066124,
-0.17491430044174194,
-0.07757332175970078,
0.1559610813856125,
0.16468854248523712,
-0.026718957349658012,
0.10237026959657669,
-0.14720138907432556,
-0.2874498963356018,
0.035462506115436554,
0.334577351808548,
0.16441166400909424,
0.255105197429657,
0.3015439212322235,
-0.2435942143201828,
-0.034324705600738525,
-0.22366684675216675,
-0.1603408008813858,
0.28311145305633545,
0.5587392449378967,
0.03859174996614456,
0.13590236008167267,
0.1647963523864746,
-0.6818867325782776,
0.2094491422176361,
0.14383354783058167,
0.36019864678382874,
-0.24991817772388458,
-0.01776222512125969,
-0.18065720796585083,
-0.10397350043058395,
-0.12135477364063263,
-0.04133213683962822,
0.0009640604257583618,
0.04173522815108299,
-0.010178228840231895,
0.24409930408000946,
-0.09870658069849014,
0.35409730672836304,
-0.3289842903614044,
0.1726151555776596,
-0.23475982248783112,
0.6144313216209412,
-0.03227095305919647,
-0.2267044186592102,
-0.03882022202014923,
0.06633105874061584,
0.11616787314414978,
-0.27040258049964905,
-0.24734827876091003,
0.24561524391174316,
-0.0760616660118103,
0.26878422498703003,
0.0929933562874794,
0.20882853865623474,
0.13415183126926422,
-0.1062735989689827,
0.1251801699399948,
0.3223002851009369,
0.06682588160037994,
0.0589933842420578,
-0.06470956653356552,
0.33507370948791504,
-0.16252832114696503,
0.046299275010824203,
-0.0039062947034835815,
-0.04224494844675064,
0.03771635890007019,
-0.09397263824939728,
0.04152751713991165,
-0.18948453664779663,
0.19186361134052277,
-0.10583935678005219,
0.48383986949920654,
0.0010297298431396484,
-0.1328933984041214,
-0.19499126076698303,
0.23704247176647186,
-0.14233002066612244,
0.007914341986179352,
0.27763763070106506,
-0.3640572726726532,
-0.02515113539993763,
-0.2545517385005951,
0.4079105257987976,
0.5681410431861877,
0.02838081121444702,
-0.016746792942285538,
0.3545248210430145,
0.16625137627124786,
-0.1596456617116928,
0.30218079686164856,
0.12899117171764374,
0.34836676716804504,
0.31906750798225403,
-0.036659274250268936,
0.1171061098575592,
-0.4024394452571869,
-0.22681854665279388,
0.16023650765419006,
0.4657440185546875,
-0.4294169247150421,
-0.049504563212394714,
-0.028309520334005356,
-0.2418712079524994,
-0.15956808626651764,
-0.21261200308799744,
-0.3172968029975891,
-0.15641610324382782,
-0.16572891175746918,
0.28851571679115295,
0.03473788872361183,
-0.0773448571562767,
0.14465025067329407,
0.28176599740982056,
0.09115848690271378,
-0.28327876329421997,
-0.19896456599235535,
0.009612634778022766,
-0.020855914801359177,
-0.06257814168930054,
0.5678500533103943,
-0.1708390712738037,
0.130081906914711,
-0.2539510130882263,
0.019873667508363724,
-0.5079572200775146,
-0.3405902087688446,
0.1488911509513855,
-0.1355292797088623,
0.588944673538208,
-0.05609673261642456,
0.1709725260734558,
-0.12803404033184052,
-0.17561201751232147,
0.13171719014644623,
-0.18218915164470673,
-0.14633487164974213,
0.07796178758144379,
-0.2671392261981964,
0.12120300531387329,
-0.08046215027570724,
-0.2877447009086609,
-0.4566752016544342,
-0.13280582427978516,
0.16562357544898987,
-0.11921249330043793,
0.15555593371391296,
0.40123358368873596,
-0.0019094673916697502,
0.14817111194133759,
0.1829363852739334,
0.027211152017116547,
-0.23910997807979584,
-0.4344073235988617,
0.3606855869293213,
-0.24963213503360748,
-0.3173506259918213,
0.1859593540430069,
0.051390185952186584,
-0.16840708255767822,
-0.2418544441461563,
-0.4128279685974121,
-0.6787145733833313,
-0.08981949090957642,
-0.3303907513618469,
0.10145536065101624,
-0.20424850285053253,
0.1198502779006958,
-0.08614623546600342,
0.018933231011033058,
0.10670032352209091,
-0.3549138605594635,
-0.041659705340862274,
0.029663946479558945,
-0.017218351364135742,
0.061782680451869965,
0.48448511958122253,
-0.17859463393688202,
0.40358394384384155,
0.17891915142536163,
-0.05830741301178932,
0.3741363286972046,
-0.04550222307443619,
0.22767913341522217,
0.11017370223999023,
-0.37946128845214844,
0.05569746717810631,
0.08837801218032837,
-0.25410449504852295,
0.49319517612457275,
0.11233329027891159,
-0.3678250014781952,
-0.13572168350219727,
-0.43843570351600647,
-0.44589659571647644,
-0.16227935254573822,
0.15442100167274475,
0.2316492795944214,
0.039893489331007004,
-0.0953076183795929,
-0.22561442852020264,
0.027555186301469803,
-0.4880641996860504,
0.08914898335933685,
0.619433581829071,
-0.07351844757795334,
-0.05848339572548866,
0.18483145534992218,
-0.20121747255325317,
-0.41960838437080383,
0.4340585470199585,
-0.05969901755452156,
0.15311476588249207,
-0.1631341576576233,
0.14958852529525757,
0.15313534438610077,
-0.08206547796726227,
0.5710679888725281,
-0.1929427683353424,
-0.008921295404434204,
0.02087586373090744,
0.10837112367153168,
0.0778464823961258,
-0.31938737630844116,
-0.44258373975753784,
0.05552627146244049,
0.240959033370018,
0.7514570951461792,
0.009736858308315277,
-0.17773915827274323,
0.6015976667404175,
0.14015118777751923,
-0.15884317457675934,
-0.33768850564956665,
-0.31808140873908997,
-0.35729917883872986,
-0.35814765095710754,
-0.12004872411489487,
-0.29058414697647095,
0.30010756850242615,
-0.12329630553722382,
0.007525261491537094,
0.09265123307704926,
-0.02144584432244301,
0.2650279402732849,
-0.16216790676116943,
0.29222479462623596,
0.302913099527359,
0.08629034459590912,
0.14267149567604065,
0.2507830262184143,
0.3215057849884033,
0.740047812461853,
-0.03626742586493492,
-0.2266303300857544,
0.1507585048675537,
0.10186377912759781,
-0.03158760815858841,
0.3826439380645752,
-0.2327222228050232,
-0.2475092113018036,
0.14175963401794434,
0.40480977296829224,
-0.04985582455992699,
0.04605411738157272,
0.3614642322063446,
0.07420475035905838,
-0.4182452857494354,
-0.07453954219818115,
0.4535764753818512,
0.15220068395137787,
0.005518101155757904,
0.13425058126449585,
0.15323157608509064,
-0.2634543478488922,
0.2213868796825409,
0.03043009713292122,
1.0127359628677368,
-0.11733351647853851,
0.0023979581892490387,
0.47053176164627075,
0.27597886323928833,
0.3938232660293579,
0.007931966334581375,
0.0002719033509492874,
-0.3153516948223114,
-0.5866018533706665,
-0.1837550699710846,
-0.1168721467256546,
0.07843786478042603,
0.2087656557559967,
-0.12870322167873383,
0.3242974281311035,
-0.0000745430588722229,
0.26932188868522644,
0.12780404090881348,
0.24160343408584595,
-0.36034831404685974,
0.014713957905769348,
-0.09034544974565506,
0.019028019160032272,
-0.09100441634654999,
0.32993289828300476,
-0.2439100444316864,
0.06871914118528366,
-0.021784458309412003,
-0.11661604791879654,
-0.3386684060096741,
0.19681167602539062,
-0.3848266899585724,
0.19947248697280884,
0.029980739578604698,
-0.24357877671718597,
-0.0674174576997757,
0.30806997418403625,
0.49097323417663574,
-0.13882148265838623,
-0.17463558912277222,
0.07136880606412888,
-0.12945812940597534,
-0.2561298906803131,
-0.28655770421028137,
-0.22028996050357819,
0.4133274257183075,
-0.08598792552947998,
-0.22376030683517456,
-0.28088390827178955,
-0.13362058997154236,
-0.3354206085205078,
-0.01058948040008545,
0.09880436211824417,
-0.28655415773391724,
-0.09634178131818771,
-0.353685200214386,
-0.07071171700954437,
0.04498570039868355,
-0.09310348331928253,
0.01897852122783661,
0.017712075263261795,
0.04124412685632706,
0.04994587600231171,
0.013941925019025803,
-0.47497010231018066,
-0.11036165058612823,
0.24124020338058472,
-0.11749733239412308,
-0.2641792595386505,
0.6031967401504517,
0.15392456948757172,
-0.07135601341724396,
-0.054820816963911057,
0.13768765330314636,
0.04332853481173515,
-0.3000158369541168,
0.1863081008195877,
0.25803661346435547,
0.3675203323364258,
0.016279641538858414,
0.3789064288139343,
0.24223783612251282,
0.21190959215164185,
-0.12038837373256683,
-0.7557974457740784,
-0.017399862408638,
0.34367722272872925,
0.0044496022164821625,
0.2536672055721283,
-0.08399127423763275,
-0.030068684369325638,
0.11077168583869934,
-0.4230606257915497,
-0.21644523739814758,
0.4868038594722748,
-0.1437091827392578,
-0.1616511195898056,
0.25231844186782837,
-0.003091871738433838,
0.6339274644851685,
0.04392595961689949,
0.010196106508374214,
0.0021846946328878403,
-0.00023685581982135773,
-0.15672868490219116,
-0.04085654020309448,
0.1694275438785553,
0.06277894973754883,
-0.029885565862059593,
0.07445667684078217,
0.0456746444106102,
-0.14670255780220032,
-0.0506303571164608,
0.2836778461933136,
0.328925222158432,
0.05665016919374466,
-0.22997251152992249,
0.08466796576976776,
0.1072486937046051,
-0.09668558835983276,
0.07728646695613861,
-0.10224804282188416,
0.3242795467376709,
0.12749722599983215,
0.2403736710548401,
-0.06268800795078278,
0.07298444211483002,
0.10209980607032776,
-0.03145594894886017,
-0.002818264067173004,
0.058954883366823196,
0.0411495715379715,
-0.3234449028968811,
-0.08265572786331177,
-0.009329913184046745,
0.20259636640548706,
0.09999488294124603,
-0.46442970633506775,
0.018803050741553307,
0.3715122938156128,
0.06250832229852676,
-0.11677826941013336,
-0.06334388256072998,
0.12446187436580658,
-0.19025611877441406,
0.023275021463632584,
0.3049052655696869,
0.05352802202105522,
0.30114254355430603,
-0.08678194880485535,
0.00916375033557415,
0.47941359877586365,
0.23689377307891846,
0.10259930789470673,
0.05423321947455406,
-0.04394307732582092,
0.31295910477638245,
0.28395241498947144,
-0.05922365561127663,
0.10642477124929428,
0.19979554414749146,
-0.2020629346370697,
0.0042057037353515625,
-0.24437031149864197,
0.2695836126804352,
0.20927974581718445,
-0.6072754859924316,
0.386310875415802,
0.3649277985095978,
-0.27106940746307373,
0.006657283753156662,
-0.0886540561914444,
0.5886102318763733,
-0.39374271035194397,
0.10661383718252182,
-0.4377589523792267,
0.310149610042572,
-0.07392608374357224,
0.014319505542516708,
0.01619027927517891,
-0.22622689604759216,
-0.1838117241859436,
0.3866817355155945,
0.12501190602779388,
-0.31235283613204956,
-0.19294679164886475,
0.3770986795425415,
-0.43434661626815796,
0.14517375826835632,
-0.158066064119339,
0.39675500988960266,
-0.08649399131536484,
-0.17770646512508392,
0.31474393606185913,
0.0004897415637969971,
-0.00733562558889389,
0.006426505744457245,
0.4145894944667816,
0.3953954577445984,
0.3215373158454895,
0.2710508406162262,
0.10521625727415085,
0.1322258859872818,
-0.032928094267845154,
0.17944055795669556,
0.10014007985591888,
0.34902527928352356,
0.22841250896453857,
0.04862424358725548,
0.10488668829202652,
-0.14707911014556885,
0.08418576419353485,
-0.08421961963176727,
0.17264536023139954,
0.03996482118964195,
0.18845528364181519,
-0.10622374713420868,
0.12125865370035172,
-0.24538451433181763,
-0.1451922357082367,
-0.4508959650993347,
0.030260339379310608,
0.19772155582904816,
-0.010059651918709278,
0.063669353723526,
0.16575098037719727,
0.022009313106536865,
0.1152271181344986,
0.28017836809158325,
0.4464455544948578,
0.4350810647010803,
-0.2884490489959717,
-0.34507429599761963,
-0.6798381209373474,
0.16301964223384857,
0.21740536391735077,
0.3930371403694153,
-0.26072436571121216,
-0.12991151213645935,
-0.2225719690322876,
0.11506257206201553,
0.15546303987503052,
0.020469361916184425,
0.02897600084543228,
-0.12265579402446747,
-0.2071962207555771,
0.05530555918812752,
0.24630610644817352,
-0.06505559384822845,
-0.07265117019414902,
-0.3547627925872803,
-0.06533630192279816,
-0.422272264957428,
-0.17376697063446045,
-0.005843043327331543,
0.038287267088890076,
-0.462464839220047,
-0.1555778831243515,
0.4704172909259796,
0.025097135454416275,
0.6418495178222656,
-0.05629973113536835,
-0.12262233346700668,
-0.19979533553123474,
-0.22238421440124512,
-0.2325710505247116,
0.24407073855400085,
0.13722361624240875,
0.4380357265472412,
-0.047735318541526794,
-0.1900879144668579,
-0.26012322306632996,
0.22742441296577454,
-0.029335279017686844,
-0.11563192307949066,
-0.28436383605003357,
0.06336655467748642,
0.05719989538192749,
0.10734234750270844,
0.09235929697751999,
0.135384202003479,
-0.05351594090461731,
0.14326165616512299,
-0.1672878861427307,
-0.2706226706504822,
0.5450868606567383,
-0.37610921263694763,
0.001045413315296173,
0.05018465965986252,
0.1842292845249176,
0.06954151391983032,
-0.18555966019630432,
-0.5381104946136475,
0.20986872911453247,
0.17179937660694122,
0.1076340302824974,
-0.3465576767921448,
0.14722248911857605,
0.1298363208770752,
0.02664562687277794,
-0.010529112070798874,
0.2029096633195877,
0.14747801423072815,
-0.37330931425094604,
0.07011625170707703,
-0.23748967051506042
] |
https://github.com/huggingface/datasets/issues/3829 | [📄 Docs] Create a `datasets` performance guide. | Hi ! Yes this is definitely something we'll explore, since optimizing processing pipelines can be challenging and because performance is key here: we want anyone to be able to play with large-scale datasets more easily.
I think we'll start by documenting the performance of the dataset transforms we provide, and then we can have some tools to help debugging/optimizing them | ## Brief Overview
Downloading, saving, and preprocessing large datasets from the `datasets` library can often result in [performance bottlenecks](https://github.com/huggingface/datasets/issues/3735). These performance snags can be challenging to identify and to debug, especially for users who are less experienced with building deep learning experiments.
## Feature Request
Could we create a performance guide for using `datasets`, similar to:
* [Better performance with the `tf.data` API](https://github.com/huggingface/datasets/issues/3735)
* [Analyze `tf.data` performance with the TF Profiler](https://www.tensorflow.org/guide/data_performance_analysis)
This performance guide should detail practical options for improving performance with `datasets`, and enumerate any common best practices. It should also show how to use tools like the PyTorch Profiler or the TF Profiler to identify any performance bottlenecks (example below).

## Related Issues
* [wiki_dpr pre-processing performance #1670](https://github.com/huggingface/datasets/issues/1670)
* [Adjusting chunk size for streaming datasets #3499](https://github.com/huggingface/datasets/issues/3499)
* [how large datasets are handled under the hood #1004](https://github.com/huggingface/datasets/issues/1004)
* [using map on loaded Tokenizer 10x - 100x slower than default Tokenizer? #1830](https://github.com/huggingface/datasets/issues/1830)
* [Best way to batch a large dataset? #315](https://github.com/huggingface/datasets/issues/315)
* [Saving processed dataset running infinitely #1911](https://github.com/huggingface/datasets/issues/1911) | 60 | [📄 Docs] Create a `datasets` performance guide.
## Brief Overview
Downloading, saving, and preprocessing large datasets from the `datasets` library can often result in [performance bottlenecks](https://github.com/huggingface/datasets/issues/3735). These performance snags can be challenging to identify and to debug, especially for users who are less experienced with building deep learning experiments.
## Feature Request
Could we create a performance guide for using `datasets`, similar to:
* [Better performance with the `tf.data` API](https://github.com/huggingface/datasets/issues/3735)
* [Analyze `tf.data` performance with the TF Profiler](https://www.tensorflow.org/guide/data_performance_analysis)
This performance guide should detail practical options for improving performance with `datasets`, and enumerate any common best practices. It should also show how to use tools like the PyTorch Profiler or the TF Profiler to identify any performance bottlenecks (example below).

## Related Issues
* [wiki_dpr pre-processing performance #1670](https://github.com/huggingface/datasets/issues/1670)
* [Adjusting chunk size for streaming datasets #3499](https://github.com/huggingface/datasets/issues/3499)
* [how large datasets are handled under the hood #1004](https://github.com/huggingface/datasets/issues/1004)
* [using map on loaded Tokenizer 10x - 100x slower than default Tokenizer? #1830](https://github.com/huggingface/datasets/issues/1830)
* [Best way to batch a large dataset? #315](https://github.com/huggingface/datasets/issues/315)
* [Saving processed dataset running infinitely #1911](https://github.com/huggingface/datasets/issues/1911)
Hi ! Yes this is definitely something we'll explore, since optimizing processing pipelines can be challenging and because performance is key here: we want anyone to be able to play with large-scale datasets more easily.
I think we'll start by documenting the performance of the dataset transforms we provide, and then we can have some tools to help debugging/optimizing them | [
-0.32639965415000916,
-0.06727582216262817,
-0.14912505447864532,
0.07967452704906464,
0.197818785905838,
0.12434304505586624,
-0.08178813755512238,
0.45152726769447327,
-0.2909841239452362,
0.04553705453872681,
-0.04281257092952728,
0.28554582595825195,
-0.3281093239784241,
0.40990597009658813,
0.2774597406387329,
-0.32304123044013977,
-0.10522366315126419,
0.054157666862010956,
-0.04670995473861694,
0.27280133962631226,
0.26442182064056396,
-0.08507402241230011,
0.18132348358631134,
0.04022914171218872,
-0.23918776214122772,
-0.12113235145807266,
0.07611879706382751,
-0.15591245889663696,
-0.34336376190185547,
-0.45084279775619507,
0.11396756768226624,
0.23553083837032318,
0.19172179698944092,
0.556824266910553,
-0.00010610013123368844,
0.031297922134399414,
0.006297353655099869,
0.07815933227539062,
-0.05647308751940727,
0.02412082999944687,
-0.34653565287590027,
-0.4599180519580841,
0.11847076565027237,
-0.2379985749721527,
0.07154948264360428,
-0.2084663212299347,
-0.05638940632343292,
-0.15562127530574799,
0.17674529552459717,
0.4197973310947418,
0.20175108313560486,
0.5012521743774414,
-0.03239347040653229,
0.13909634947776794,
-0.1044534221291542,
0.2189444899559021,
-0.586709201335907,
-0.0648488849401474,
0.2524333596229553,
0.04013185203075409,
-0.18720516562461853,
0.20847314596176147,
-0.06549908220767975,
-0.01179170235991478,
0.47380632162094116,
-0.08490826189517975,
-0.2327139675617218,
-0.2614555060863495,
-0.1477264165878296,
0.5364257097244263,
0.479114830493927,
-0.34590980410575867,
-0.464768648147583,
-0.47301286458969116,
-0.19951312243938446,
-0.24761952459812164,
-0.08660974353551865,
-0.07630591094493866,
-0.08089952170848846,
0.07364606857299805,
-0.4500614404678345,
-0.19400092959403992,
-0.11874371767044067,
-0.002709425985813141,
0.16365684568881989,
-0.027398742735385895,
-0.034819453954696655,
-0.12891259789466858,
0.26908352971076965,
0.013234613463282585,
-0.12438424676656723,
-0.16106119751930237,
0.08858440071344376,
-0.03450600057840347,
-0.6336908936500549,
-0.4494906961917877,
0.37691861391067505,
-0.04058730602264404,
0.49901920557022095,
0.1062200665473938,
0.27118968963623047,
0.19554340839385986,
-0.18560031056404114,
0.03742634505033493,
0.14653146266937256,
0.1469929814338684,
0.016265451908111572,
-0.08375010639429092,
0.20721781253814697,
0.012892473489046097,
0.09646724164485931,
0.1816275417804718,
0.23291979730129242,
0.05605875700712204,
-0.06203263998031616,
-0.11928118020296097,
-0.20276188850402832,
-0.19526849687099457,
-0.1679731160402298,
-0.0070618027821183205,
0.0473816841840744,
-0.3293754458427429,
0.1967926025390625,
0.24152490496635437,
-0.08084480464458466,
-0.03814227133989334,
-0.1095697432756424,
-0.10946917533874512,
-0.233158677816391,
-0.12996841967105865,
-0.15847548842430115,
0.058516085147857666,
-0.2665051519870758,
0.28131282329559326,
0.0878845751285553,
-0.22032497823238373,
0.15543843805789948,
-0.18568384647369385,
0.18807336688041687,
0.0675191730260849,
0.3004240095615387,
0.0011140396818518639,
-0.05323339253664017,
0.15539829432964325,
-0.19613727927207947,
-0.00435326062142849,
-0.04685210809111595,
0.32198846340179443,
-0.35636183619499207,
0.09993055462837219,
-0.14786425232887268,
-0.5457510948181152,
0.08890487253665924,
0.17897452414035797,
-0.2666708827018738,
-0.20462831854820251,
-0.39422956109046936,
0.760132908821106,
-0.18137863278388977,
0.18888550996780396,
0.042841557413339615,
0.14931878447532654,
-0.6066023707389832,
-0.2440287470817566,
0.2899288535118103,
0.21032580733299255,
-0.34509849548339844,
-0.10883410274982452,
-0.010277355089783669,
-0.020642805844545364,
-0.15009111166000366,
0.4020771384239197,
-0.2733127474784851,
0.31297752261161804,
-0.12086199969053268,
0.2288605123758316,
0.4433619976043701,
-0.10863737761974335,
0.054726891219615936,
0.33207687735557556,
-0.1791611909866333,
-0.05080719664692879,
0.17270073294639587,
0.10377341508865356,
0.1674322783946991,
-0.2862800657749176,
0.010529674589633942,
0.06725669652223587,
-0.07968898117542267,
0.00018046610057353973,
-0.0740412175655365,
-0.4640645384788513,
-0.006077483296394348,
0.07833042740821838,
-0.06936988234519958,
-0.10806366056203842,
-0.13840731978416443,
-0.04701181501150131,
-0.015842631459236145,
-0.19663956761360168,
-0.18570572137832642,
0.3850705623626709,
0.15104007720947266,
0.21767383813858032,
0.02104848064482212,
-0.17050054669380188,
-0.34433355927467346,
0.2474389672279358,
0.3754793405532837,
0.014135085046291351,
0.27505743503570557,
-0.2102038860321045,
0.07661941647529602,
-0.08875085413455963,
0.07018191367387772,
0.02097821980714798,
0.09698368608951569,
-0.39172571897506714,
0.29425251483917236,
0.052780743688344955,
-0.2536872625350952,
0.2526647448539734,
-0.4835743010044098,
0.09709259867668152,
-0.20098157227039337,
0.111795574426651,
0.12658990919589996,
0.020610261708498,
0.16765815019607544,
0.09725460410118103,
-0.23077738285064697,
0.09399262815713882,
-0.1601702868938446,
0.19555801153182983,
-0.05251144990324974,
0.17578095197677612,
0.058697231113910675,
0.910050094127655,
0.22357076406478882,
-0.05695131793618202,
-0.08308286964893341,
-0.07180418074131012,
-0.15644674003124237,
-0.04295094311237335,
-0.21492835879325867,
0.3367481231689453,
-0.07237108051776886,
0.22150778770446777,
0.15441493690013885,
-0.1974440962076187,
-0.006181051954627037,
0.0835220217704773,
-0.09063693135976791,
0.11494532227516174,
0.45434433221817017,
-0.05916668847203255,
0.18575289845466614,
0.040420837700366974,
-0.30678460001945496,
0.24214139580726624,
0.351191908121109,
-0.10238951444625854,
-0.022031061351299286,
0.5056484937667847,
0.17313280701637268,
-0.07506361603736877,
0.08953583240509033,
0.1644129753112793,
0.3836787939071655,
0.2676311433315277,
0.0767660140991211,
-0.1252446472644806,
-0.09719109535217285,
-0.09560227394104004,
0.23769184947013855,
0.2848191559314728,
-0.16408008337020874,
0.0028899051249027252,
-0.15990644693374634,
0.09943891316652298,
-0.3033534288406372,
-0.41123607754707336,
-0.1060037687420845,
0.24376709759235382,
-0.33915093541145325,
-0.26974907517433167,
0.025962339714169502,
-0.3236508369445801,
0.07074029743671417,
0.008629633113741875,
-0.056914906948804855,
-0.17239628732204437,
0.02350081130862236,
0.012537777423858643,
0.05340603366494179,
0.07679949700832367,
-0.21174560487270355,
0.2614077925682068,
-0.06406769156455994,
-0.05141047388315201,
-0.22977977991104126,
-0.15960776805877686,
-0.10655828565359116,
0.12328949570655823,
0.2051990032196045,
0.06381557881832123,
0.43988409638404846,
0.004370454698801041,
0.30256903171539307,
-0.31179043650627136,
-0.5977796316146851,
0.02029285952448845,
-0.21055422723293304,
0.20671190321445465,
0.059943344444036484,
0.27582573890686035,
-0.21658290922641754,
-0.15453669428825378,
0.06347087025642395,
-0.1348525583744049,
-0.08566251397132874,
-0.17992323637008667,
0.10300175845623016,
-0.04186472296714783,
0.03534911200404167,
-0.30869734287261963,
-0.01586121879518032,
-0.47980713844299316,
0.27776768803596497,
-0.1838228404521942,
0.14511065185070038,
0.15350918471813202,
0.10525164008140564,
0.44307711720466614,
-0.1762317717075348,
0.20096461474895477,
-0.009112564846873283,
-0.3386203944683075,
0.18878066539764404,
-0.14725568890571594,
-0.23197518289089203,
-0.06331472098827362,
0.12225694954395294,
0.04082169383764267,
0.09209469705820084,
-0.5262889862060547,
-0.11362465471029282,
-0.49088650941848755,
0.19502221047878265,
0.0036787204444408417,
0.16936685144901276,
0.18435543775558472,
-0.021497352048754692,
-0.07127926498651505,
0.0014194659888744354,
-0.3739381432533264,
-0.13970071077346802,
-0.1389690339565277,
0.018862232565879822,
0.047233980149030685,
0.5734775066375732,
0.3551224172115326,
0.6103293299674988,
0.2854107618331909,
-0.17706046998500824,
0.19094276428222656,
0.04066428542137146,
0.24821746349334717,
0.002838239073753357,
-0.235893115401268,
0.144666850566864,
-0.19592958688735962,
0.1882508397102356,
0.22557707130908966,
0.23347768187522888,
0.03203092887997627,
-0.090156689286232,
0.11430411040782928,
0.08680456131696701,
-0.17588026821613312,
0.1989407241344452,
-0.1727525293827057,
0.36880847811698914,
-0.11800195276737213,
0.05570564419031143,
-0.24095384776592255,
-0.1402309238910675,
0.21727238595485687,
0.33416423201560974,
0.2608105540275574,
-0.03490382432937622,
-0.3975585103034973,
0.05842941626906395,
-0.7665643692016602,
0.03294270485639572,
0.02580341510474682,
0.12866082787513733,
-0.3158966898918152,
0.22159823775291443,
-0.053654372692108154,
0.15132661163806915,
0.4344959855079651,
-0.15774071216583252,
-0.2168480008840561,
-0.09341491758823395,
-0.27134233713150024,
-0.1685384213924408,
0.23629461228847504,
-0.057135406881570816,
0.108482226729393,
0.1668098270893097,
0.2836962938308716,
-0.3196152448654175,
-0.398174911737442,
0.18584948778152466,
0.06336533278226852,
0.08168758451938629,
-0.07413894683122635,
0.0071442387998104095,
-0.2938913404941559,
0.15682436525821686,
0.04211583361029625,
0.07425229251384735,
-0.2612602412700653,
0.0953570008277893,
-0.11417129635810852,
0.08276394009590149,
0.051664285361766815,
0.27403122186660767,
-0.16551756858825684,
0.05227343365550041,
0.28319117426872253,
0.44028162956237793,
0.1243484616279602,
-0.29567334055900574,
0.04126627743244171,
0.04351526126265526,
-0.23652851581573486,
-0.24386560916900635,
-0.07143200933933258,
0.2101287543773651,
0.1385372132062912,
0.13729935884475708,
-0.04404717683792114,
0.3009701371192932,
-0.27682265639305115,
0.2988301217556,
-0.3249207139015198,
0.25657427310943604,
0.32725727558135986,
0.1557796448469162,
-0.4196680784225464,
-0.6115373969078064,
0.755963921546936,
0.45243367552757263,
0.1457657665014267,
0.46192800998687744,
0.3167772889137268,
-0.187925323843956,
0.09026197344064713,
0.10725623369216919,
0.6965727210044861,
-0.2630915641784668,
0.13463446497917175,
0.2176750898361206,
-0.1521630883216858,
0.6455490589141846,
-0.4448188543319702,
-0.2661798596382141,
0.05272224172949791,
-0.3291156589984894,
-0.006475510075688362,
-0.22825734317302704,
0.09143370389938354,
0.12882016599178314,
-0.22959651052951813,
0.19390636682510376,
0.13496439158916473,
-0.11779811978340149,
0.17559438943862915,
0.5448282957077026,
0.1122136116027832,
-0.33200109004974365,
-0.13587884604930878,
0.21269676089286804,
-0.19645075500011444,
-0.0009571835398674011,
0.09232009947299957,
-0.0959738940000534,
-0.017765656113624573,
0.15692663192749023,
-0.425728976726532,
-0.562025249004364,
-0.13109172880649567,
0.20968157052993774,
-0.23429042100906372,
-0.40555328130722046,
0.48378786444664,
0.27865296602249146,
0.08844044059515,
-0.08315609395503998,
-0.36692047119140625,
0.16237302124500275,
-0.31811341643333435,
-0.019007880240678787,
0.25018808245658875,
-0.28696751594543457,
0.17543286085128784,
-0.014018259942531586,
0.12586632370948792,
0.020170461386442184,
-0.03786551579833031,
-0.1893990933895111,
-0.20115526020526886,
-0.17645619809627533,
-0.045424334704875946,
-0.235969677567482,
-0.20711863040924072,
-0.022175252437591553,
-0.19115477800369263,
0.03729553148150444,
0.17218893766403198,
0.37387990951538086,
-0.05830986797809601,
0.43793997168540955,
0.06381461024284363,
-0.07980760931968689,
-0.17020615935325623,
0.15006324648857117,
-0.05557050555944443,
-0.07026103138923645,
0.007831195369362831,
0.29781466722488403,
-0.28153109550476074,
-0.11580491065979004,
0.25514116883277893,
0.2833438217639923,
0.020125433802604675,
0.00038279686123132706,
-0.045501645654439926,
0.16430850327014923,
0.0016015265136957169,
-0.017708707600831985,
-0.014874294400215149,
-0.10192721337080002,
0.0929698497056961,
-0.0001216009259223938,
-0.2928125262260437,
0.24822422862052917,
-0.193471759557724,
0.3476352393627167,
-0.18353945016860962,
-0.05011240765452385,
0.014918727800250053,
0.33914682269096375,
-0.31501907110214233,
-0.1056748628616333,
-0.003250695765018463,
0.014803729951381683,
0.36519989371299744,
0.13827842473983765,
0.27770400047302246,
-0.16535654664039612,
-0.004009559750556946,
0.11003032326698303,
-0.2682165503501892,
-0.24314096570014954,
-0.12241651117801666,
0.10038240253925323,
-0.10456626862287521,
-0.11992675065994263,
0.13624167442321777,
0.07479897141456604,
-0.35036227107048035,
-0.10422298312187195,
0.06888791918754578,
0.29715263843536377,
-0.1734258383512497,
0.04553111270070076,
-0.09181490540504456,
-0.2444324791431427,
-0.07777304947376251,
0.08082818984985352,
0.15375998616218567,
0.3214566111564636,
0.2414744347333908,
0.26362770795822144,
-0.09639203548431396,
-0.1887567639350891,
0.04457638040184975,
0.17796222865581512,
0.2043706774711609,
-0.1540430188179016,
0.09484817832708359,
-0.04234232008457184,
-0.05975481495261192,
-0.03886046260595322,
0.36879584193229675,
0.29730767011642456,
-0.12967807054519653,
0.04249417781829834,
0.17971357703208923,
0.1862887442111969,
0.15511946380138397,
-0.20818865299224854,
0.2097042053937912,
0.05390433594584465,
0.3035125136375427,
0.07234556972980499,
0.2409963309764862,
0.5006543397903442,
0.1342465728521347,
-0.008421455509960651,
0.21184487640857697,
-0.05537283420562744,
0.1871681809425354,
0.10274698585271835,
0.19031165540218353,
-0.1039232462644577,
0.269731730222702,
0.14391596615314484,
0.24269261956214905,
0.06473077088594437,
0.08019305765628815,
0.588104248046875,
0.05855964869260788,
0.3788887858390808,
0.0069330111145973206,
-0.34593769907951355,
-0.035561028867959976,
0.12013370543718338,
-0.317501962184906,
-0.02280540019273758,
-0.01296970248222351,
0.442853182554245,
-0.022356785833835602,
-0.2406938523054123,
0.02937999926507473,
0.02090393751859665,
-0.0006194151937961578,
-0.04274671897292137,
0.16748589277267456,
-0.07405003160238266,
-0.026085540652275085,
0.005337778478860855,
0.02820306085050106,
-0.23789961636066437,
0.12316609919071198,
-0.017756283283233643,
0.2131432145833969,
-0.10678789764642715,
-0.03612230718135834,
0.11383351683616638,
0.2551339864730835,
0.046034980565309525,
0.03805094584822655,
-0.2601969242095947,
-0.17798756062984467,
-0.2521890699863434,
0.48117876052856445,
0.26699942350387573,
-0.14998897910118103,
0.01192505843937397,
0.16027048230171204,
-0.11888706684112549,
-0.029003959149122238,
0.2048962265253067,
0.27765437960624695,
-0.3282003402709961,
-0.18637071549892426,
0.14197197556495667,
0.11916130781173706,
-0.19766317307949066,
-0.13299323618412018,
-0.1867288500070572,
-0.004022648558020592,
-0.5799299478530884,
0.06346743553876877,
0.03940650820732117,
-0.21059143543243408,
0.0575510635972023,
-0.1460210382938385,
-0.272471159696579,
0.07355471700429916,
0.7938803434371948,
-0.24287497997283936,
-0.18052339553833008,
-0.07614253461360931,
0.11226367950439453,
-0.04013071581721306,
0.5394900441169739,
0.32696327567100525,
0.38361886143684387,
-0.37099528312683105,
-0.20168626308441162,
-0.3039715588092804,
-0.385513573884964,
-0.09851594269275665,
0.02678157202899456,
0.35319411754608154,
0.07782116532325745,
-0.19497907161712646,
0.46184080839157104,
0.1780472695827484,
-0.1319318264722824,
-0.014413978904485703,
0.05085264891386032,
-0.33380091190338135,
-0.08028283715248108,
-0.3840511441230774,
0.1407688409090042,
-0.08316546678543091,
-0.028534190729260445,
0.10818570852279663,
-0.02300865761935711,
0.003334272652864456,
-0.3799418807029724,
0.20343559980392456,
0.2969147562980652,
0.25937169790267944,
0.340497225522995,
0.031072456389665604,
0.4189485013484955,
0.14969408512115479,
-0.10787444561719894,
-0.050353508442640305,
0.008360369130969048,
0.09092703461647034,
0.1991797387599945,
-0.02226598933339119,
0.20964442193508148,
-0.3480032682418823,
-0.35221076011657715,
-0.19068381190299988,
0.2745206356048584,
0.12517037987709045,
-0.28095176815986633,
-0.05541618913412094,
0.044791944324970245,
0.09869437664747238,
0.17351937294006348,
0.21643982827663422,
0.7402163743972778,
-0.10127680003643036,
0.2626563012599945,
-0.2878417372703552,
-0.2105942964553833,
0.2670096158981323,
-0.4190956950187683,
0.08734720945358276,
0.11956478655338287,
0.07069453597068787,
0.23953032493591309,
-0.13576233386993408,
-0.6831674575805664,
-0.14631111919879913,
0.2170884609222412,
0.007730277255177498,
-0.299252450466156,
0.5346402525901794,
0.08496850728988647,
0.12011152505874634,
-0.030630581080913544,
0.4891035556793213,
-0.023160934448242188,
-0.17909619212150574,
0.21825411915779114,
-0.07233704626560211
] |
https://github.com/huggingface/datasets/issues/3828 | The Pile's _FEATURE spec seems to be incorrect | Hi @dlwh, thanks for reporting.
Please note, that the source data files for "all" config are different from the other configurations.
The "all" config contains the official Pile data files, from https://mystic.the-eye.eu/public/AI/pile/
All data examples contain a "meta" dict with a single "pile_set_name" key:
```python
In [1]: from datasets import load_dataset
ds = load_dataset("the_pile", "all", split="train", streaming=True)
item = next(iter(ds))
Downloading builder script: 9.09kB [00:00, 4.42MB/s]
In [3]: item["meta"]
Out[3]: {'pile_set_name': 'Pile-CC'}
```
On the other hand, all the other subset configs data files come from the Pile preliminary components directory: https://mystic.the-eye.eu/public/AI/pile_preliminary_components/
For theses components, the "meta" field may have different keys depending on the subset: "id", "language", "pmid",... Because of that, if we had kept the `dict` data format for the "meta" field, we would have an error when trying to concatenate different subsets, whose "meta" keys are not identical. In order to avoid that, the "meta" field is cast to `str` in all these cases, so that there is no incompatibility in their "meta" data type when concatenating.
You can check, for example, that for "pubmed_central" the "meta" field is cast to `str`:
```python
In [4]: from datasets import load_dataset
ds = load_dataset("the_pile", "pubmed_central", split="train", streaming=True)
item = next(iter(ds))
In [5]: item["meta"]
Out[5]: "{'id': 'PMC6071596'}"
```
Feel free to reopen this issue if you have further questions. | ## Describe the bug
If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py:
For "all"
* the pile_set_name is never set for data
* there's actually an id field inside of "meta"
For subcorpora pubmed_central and hacker_news:
* the meta is specified to be a string, but it's actually a dict with an id field inside.
## Steps to reproduce the bug
## Expected results
Feature spec should match the data I'd think?
## Actual results
Specify the actual results or traceback.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform:
- Python version:
- PyArrow version:
| 219 | The Pile's _FEATURE spec seems to be incorrect
## Describe the bug
If you look at https://huggingface.co/datasets/the_pile/blob/main/the_pile.py:
For "all"
* the pile_set_name is never set for data
* there's actually an id field inside of "meta"
For subcorpora pubmed_central and hacker_news:
* the meta is specified to be a string, but it's actually a dict with an id field inside.
## Steps to reproduce the bug
## Expected results
Feature spec should match the data I'd think?
## Actual results
Specify the actual results or traceback.
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version:
- Platform:
- Python version:
- PyArrow version:
Hi @dlwh, thanks for reporting.
Please note, that the source data files for "all" config are different from the other configurations.
The "all" config contains the official Pile data files, from https://mystic.the-eye.eu/public/AI/pile/
All data examples contain a "meta" dict with a single "pile_set_name" key:
```python
In [1]: from datasets import load_dataset
ds = load_dataset("the_pile", "all", split="train", streaming=True)
item = next(iter(ds))
Downloading builder script: 9.09kB [00:00, 4.42MB/s]
In [3]: item["meta"]
Out[3]: {'pile_set_name': 'Pile-CC'}
```
On the other hand, all the other subset configs data files come from the Pile preliminary components directory: https://mystic.the-eye.eu/public/AI/pile_preliminary_components/
For theses components, the "meta" field may have different keys depending on the subset: "id", "language", "pmid",... Because of that, if we had kept the `dict` data format for the "meta" field, we would have an error when trying to concatenate different subsets, whose "meta" keys are not identical. In order to avoid that, the "meta" field is cast to `str` in all these cases, so that there is no incompatibility in their "meta" data type when concatenating.
You can check, for example, that for "pubmed_central" the "meta" field is cast to `str`:
```python
In [4]: from datasets import load_dataset
ds = load_dataset("the_pile", "pubmed_central", split="train", streaming=True)
item = next(iter(ds))
In [5]: item["meta"]
Out[5]: "{'id': 'PMC6071596'}"
```
Feel free to reopen this issue if you have further questions. | [
-0.02912863902747631,
-0.009011074900627136,
0.09973633289337158,
0.14502346515655518,
0.32511740922927856,
-0.014572888612747192,
0.5119668245315552,
0.2684316039085388,
-0.22053493559360504,
0.12272661924362183,
-0.11694350838661194,
0.30823931097984314,
0.2474180907011032,
0.3708832561969757,
-0.07493232190608978,
0.13858915865421295,
0.21658450365066528,
-0.14021848142147064,
0.12027552723884583,
-0.1687900424003601,
-0.040684085339307785,
0.10511359572410583,
-0.2738405764102936,
-0.0485752671957016,
-0.16796565055847168,
0.2991248369216919,
-0.24519754946231842,
0.03113742172718048,
-0.18604716658592224,
-0.3021288216114044,
0.21032284200191498,
0.08439286798238754,
-0.18989582359790802,
0.5995325446128845,
-0.00011174168321304023,
0.030329741537570953,
0.22644591331481934,
-0.19540469348430634,
-0.32081496715545654,
-0.4287766218185425,
-0.04241332411766052,
-0.5505398511886597,
0.001286655431613326,
-0.40699702501296997,
0.03926215320825577,
-0.0926210805773735,
0.11075519770383835,
-0.16638311743736267,
-0.17358268797397614,
0.21627779304981232,
0.18856960535049438,
0.47826436161994934,
0.09887582063674927,
-0.09585871547460556,
0.3971673548221588,
0.042535699903964996,
-0.5402699708938599,
0.3837112784385681,
0.09256711602210999,
0.2168295681476593,
0.014331229031085968,
0.3321695029735565,
0.015288194641470909,
0.1324569433927536,
0.22082215547561646,
0.3705255687236786,
0.28623974323272705,
-0.34433773159980774,
-0.15068677067756653,
0.4699770510196686,
0.23014599084854126,
-0.35117262601852417,
-0.46610027551651,
-0.1572921872138977,
-0.11614253371953964,
-0.1404336839914322,
0.12631645798683167,
0.4039559066295624,
-0.009723406285047531,
0.09427256882190704,
0.21843944489955902,
0.3921535611152649,
0.09563061594963074,
0.23326905071735382,
-0.017728418111801147,
0.07337012141942978,
-0.19906431436538696,
0.06994080543518066,
-0.18862788379192352,
-0.10554791986942291,
-0.08441871404647827,
0.010593871586024761,
-0.028207752853631973,
-0.09557977318763733,
-0.4643939137458801,
-0.1695880889892578,
0.12455958873033524,
0.00021823495626449585,
0.20770299434661865,
0.1627119481563568,
0.2819623053073883,
0.18578588962554932,
0.16385507583618164,
0.08944720774888992,
0.5152341723442078,
0.07038743793964386,
0.040391042828559875,
-0.15803119540214539,
0.3049035966396332,
0.35152626037597656,
0.027804654091596603,
-0.02968812733888626,
0.1397055983543396,
0.10507654398679733,
0.08608366549015045,
-0.2760533392429352,
0.5342304110527039,
0.045434754341840744,
-0.11219432950019836,
0.03340090438723564,
0.27844664454460144,
-0.12660501897335052,
-0.09848585724830627,
0.34927475452423096,
-0.21706555783748627,
0.2983133792877197,
-0.332332968711853,
0.33003973960876465,
-0.043038614094257355,
-0.1086186096072197,
-0.30844178795814514,
-0.0200207456946373,
-0.2929321229457855,
0.0555386021733284,
0.21359573304653168,
-0.3843567669391632,
0.40383481979370117,
0.0625978410243988,
0.3123227655887604,
0.09900283813476562,
-0.13657711446285248,
-0.24980922043323517,
0.28471773862838745,
0.16358216106891632,
0.06356741487979889,
0.09528376162052155,
0.21442097425460815,
0.22744150459766388,
-0.18491089344024658,
-0.07114265114068985,
-0.21321815252304077,
-0.196356862783432,
-0.3548820912837982,
0.1677917093038559,
-0.353265643119812,
0.0628080740571022,
-0.2718468904495239,
0.2239510715007782,
0.1661534309387207,
0.09751030802726746,
0.05361039564013481,
-0.1772306263446808,
0.08543096482753754,
-0.303512305021286,
0.26611343026161194,
0.2850618362426758,
-0.10625314712524414,
-0.16441501677036285,
-0.2512854039669037,
0.16379214823246002,
0.18911772966384888,
0.07075601816177368,
0.04751073196530342,
-0.0450148805975914,
-0.18712857365608215,
0.11768408119678497,
0.6021217703819275,
-0.031186794862151146,
-0.4138931334018707,
0.07552353292703629,
0.05012553185224533,
-0.05001574754714966,
0.15323512256145477,
0.11347495764493942,
0.0011691260151565075,
-0.17512643337249756,
-0.06382124125957489,
0.18187664449214935,
-0.05078219622373581,
0.02765021286904812,
-0.2598007321357727,
-0.4174286723136902,
-0.05780622363090515,
0.016229283064603806,
-0.05063464120030403,
0.08858340978622437,
0.15277191996574402,
-0.21620780229568481,
0.2929188311100006,
0.2386130839586258,
-0.01009381003677845,
-0.2951330542564392,
0.33791404962539673,
0.04822712764143944,
0.4168725609779358,
-0.2778221368789673,
-0.46593397855758667,
0.29032352566719055,
-0.08711344003677368,
0.33295127749443054,
-0.14421048760414124,
-0.22813193500041962,
-0.31727996468544006,
0.018002552911639214,
-0.11707015335559845,
-0.12817096710205078,
0.14091931283473969,
0.3256778120994568,
-0.22922462224960327,
-0.27256467938423157,
-0.4675869345664978,
-0.07967237383127213,
-0.161477193236351,
0.10001588612794876,
-0.4110552966594696,
0.4026993215084076,
-0.3840488791465759,
-0.28572553396224976,
-0.14909744262695312,
0.057156629860401154,
0.10063568502664566,
-0.04794247820973396,
0.06235040724277496,
0.48870649933815,
-0.21609888970851898,
-0.029179051518440247,
0.10920417308807373,
0.21475978195667267,
0.12856802344322205,
-0.299530029296875,
0.3153698146343231,
0.09910427033901215,
0.15778468549251556,
-0.11999179422855377,
-0.2572142779827118,
0.18095487356185913,
0.22829756140708923,
0.2681288421154022,
0.1786431074142456,
-0.0016710218042135239,
0.20781327784061432,
0.005514565855264664,
-0.09549684822559357,
-0.3759804666042328,
-0.19510841369628906,
0.09753835201263428,
-0.23930224776268005,
0.04338310286402702,
-0.18114826083183289,
0.18859772384166718,
0.6393434405326843,
0.0694841742515564,
0.24028629064559937,
0.04069641977548599,
-0.03710981458425522,
-0.3657987713813782,
-0.22726520895957947,
-0.2080896943807602,
0.3652800917625427,
0.15844886004924774,
0.02897759899497032,
0.003260185942053795,
0.15939372777938843,
-0.15569527447223663,
0.09383589029312134,
0.21601168811321259,
-0.29749518632888794,
0.08249001204967499,
0.38996008038520813,
0.07214805483818054,
-0.1692436933517456,
-0.1407489776611328,
0.2118915468454361,
0.009355559013783932,
-0.37222549319267273,
-0.10191024839878082,
-0.06640096753835678,
0.03013329952955246,
-0.03946574032306671,
0.02890387922525406,
-0.06740652024745941,
-0.3687916100025177,
-0.2442300170660019,
-0.0032646656036376953,
-0.14732220768928528,
0.16374103724956512,
-0.3513909578323364,
0.09910569339990616,
0.07473593950271606,
-0.035774655640125275,
-0.25098586082458496,
0.0143781378865242,
-0.23291274905204773,
0.01779727265238762,
-0.10934759676456451,
0.18870961666107178,
0.06876824051141739,
-0.21115261316299438,
-0.36011582612991333,
-0.2628215551376343,
-0.4499482214450836,
0.3538542687892914,
-0.20423835515975952,
0.4392033517360687,
0.2951972782611847,
0.2371731698513031,
0.014106981456279755,
-0.20238831639289856,
0.47826051712036133,
-0.24012544751167297,
-0.15551723539829254,
0.15014559030532837,
0.08895034343004227,
-0.1404491364955902,
-0.08710485696792603,
-0.5807998776435852,
-0.2035026252269745,
-0.39045464992523193,
0.15088896453380585,
-0.01646547205746174,
0.11119276285171509,
0.23420415818691254,
0.059604037553071976,
-0.03886508196592331,
0.05566229298710823,
0.08508031815290451,
-0.24260379374027252,
-0.33364346623420715,
0.5162988305091858,
-0.05555058270692825,
-0.39997026324272156,
-0.026748094707727432,
-0.11353906244039536,
-0.25888973474502563,
-0.009229486808180809,
-0.2930513322353363,
-0.1904013603925705,
-0.36992543935775757,
0.1749027818441391,
0.31071534752845764,
0.2696795165538788,
0.2099153846502304,
-0.16052305698394775,
-0.08347621560096741,
-0.1340983808040619,
-0.4975986182689667,
0.24426785111427307,
0.5948389172554016,
0.1165989562869072,
0.0531897246837616,
0.17553317546844482,
0.1662946343421936,
0.5355653166770935,
-0.05075822025537491,
-0.05447802320122719,
0.44306373596191406,
-0.12611915171146393,
0.4311724603176117,
-0.11405070871114731,
-0.3840383291244507,
0.31359219551086426,
-0.00028145313262939453,
0.02644124999642372,
0.23539714515209198,
-0.002765461802482605,
-0.0755009576678276,
-0.1636522263288498,
0.0940987765789032,
0.0394563302397728,
-0.2431105375289917,
-0.056636832654476166,
0.09256287664175034,
-0.05911292880773544,
0.08204233646392822,
0.07296182960271835,
-0.07224765419960022,
-0.2118159830570221,
0.17724815011024475,
0.33578217029571533,
-0.26226040720939636,
0.024990657344460487,
-0.3793748915195465,
0.20243994891643524,
-0.2420312464237213,
0.1630573719739914,
-0.031490229070186615,
0.08337802439928055,
0.16697414219379425,
-0.4283903241157532,
-0.048289552330970764,
0.12054236978292465,
0.27862778306007385,
-0.1408640444278717,
0.023355897516012192,
0.3170274794101715,
0.19390784204006195,
-0.23417846858501434,
-0.4384623169898987,
-0.26078200340270996,
-0.09409403055906296,
0.6701444983482361,
0.5184800624847412,
-0.31380030512809753,
-0.10772343724966049,
0.4866919219493866,
-0.013440139591693878,
0.03149082884192467,
-0.1984865516424179,
-0.3600539267063141,
-0.22436970472335815,
-0.12568511068820953,
-0.10917877405881882,
0.16390454769134521,
0.004014184232801199,
0.0324690043926239,
-0.2648369073867798,
0.028766710311174393,
-0.12207270413637161,
0.09240955114364624,
0.2892341613769531,
0.2243618667125702,
0.20438829064369202,
0.27747413516044617,
0.027104880660772324,
0.368757039308548,
0.23031827807426453,
0.5356807708740234,
-0.033826131373643875,
-0.2617742717266083,
0.26314088702201843,
-0.4308779239654541,
0.10139057785272598,
0.23913371562957764,
-0.133985236287117,
-0.03869221359491348,
-0.19009658694267273,
0.24493643641471863,
-0.07211312651634216,
0.280484676361084,
0.44755029678344727,
-0.19458554685115814,
-0.1286410242319107,
-0.4716852009296417,
0.5783669948577881,
-0.2772526741027832,
0.0033279135823249817,
0.18087568879127502,
0.14698970317840576,
-0.027531294152140617,
0.47530245780944824,
-0.07645163685083389,
0.9810552000999451,
0.24543629586696625,
-0.011560086160898209,
0.14871647953987122,
0.21136359870433807,
0.26098114252090454,
-0.13383865356445312,
-0.012018268927931786,
-0.3309967815876007,
-0.4386112689971924,
0.04103453457355499,
-0.19350673258304596,
0.022015336900949478,
0.2874636948108673,
-0.2808261513710022,
0.4709157645702362,
-0.3779147267341614,
0.2869619131088257,
-0.07296635210514069,
0.14877943694591522,
-0.1979217380285263,
-0.22691339254379272,
-0.11148974299430847,
0.10379968583583832,
0.12542510032653809,
0.20614655315876007,
0.11228016763925552,
-0.07662489265203476,
-0.11914631724357605,
0.10966582596302032,
-0.3605322241783142,
0.18400120735168457,
0.03099226951599121,
-0.20114660263061523,
0.16999144852161407,
-0.08311788737773895,
0.07460646331310272,
0.09445784986019135,
0.404080331325531,
0.02697429619729519,
0.003991318866610527,
0.16862811148166656,
0.21114104986190796,
0.1236308366060257,
0.4679033160209656,
-0.03261469304561615,
0.3688678443431854,
-0.0776025801897049,
-0.21850337088108063,
-0.13073700666427612,
-0.016282562166452408,
0.09463544189929962,
0.035471111536026,
-0.04686785489320755,
0.2682517170906067,
-0.4395725727081299,
0.08076243102550507,
-0.13438789546489716,
0.09106603264808655,
-0.3810274600982666,
0.12943950295448303,
0.2179953157901764,
-0.06653224676847458,
0.2015661597251892,
-0.12642702460289001,
-0.2235933244228363,
-0.2619526982307434,
0.06399006396532059,
0.13961321115493774,
-0.1549815833568573,
0.19107185304164886,
0.06543073058128357,
-0.07110762596130371,
-0.17904552817344666,
-0.12485240399837494,
-0.0509512759745121,
-0.27816253900527954,
0.20840086042881012,
-0.10122959315776825,
-0.30263960361480713,
-0.03250831365585327,
0.5742725133895874,
0.16593289375305176,
0.15299542248249054,
-0.16917917132377625,
-0.3460101783275604,
-0.09667923301458359,
-0.08628575503826141,
0.014204034581780434,
0.08862115442752838,
-0.13416801393032074,
-0.06265611946582794,
0.2830598056316376,
-0.034519799053668976,
-0.3541983962059021,
-0.08773453533649445,
-0.17168019711971283,
0.16577202081680298,
0.0024111513048410416,
-0.026095867156982422,
0.36017465591430664,
-0.12542171776294708,
0.15077286958694458,
-0.19081680476665497,
-0.14747171103954315,
-0.19064098596572876,
-0.2597097158432007,
0.12337274104356766,
0.01336610410362482,
0.0373835414648056,
-0.08544344455003738,
-0.09390407055616379,
-0.3410869836807251,
-0.46937084197998047,
0.14009389281272888,
0.15134096145629883,
0.11266395449638367,
0.09739712625741959,
0.12259696424007416,
0.06923537701368332,
0.12401725351810455,
-0.018459130078554153,
0.17482706904411316,
0.05739830061793327,
0.20373837649822235,
0.12926848232746124,
-0.34633591771125793,
0.02036616951227188,
0.11788581311702728,
0.03386888653039932,
-0.09887176752090454,
0.37925076484680176,
0.3479803204536438,
-0.08807319402694702,
-0.36159008741378784,
0.20046083629131317,
0.28098905086517334,
0.5254902839660645,
-0.11691810190677643,
-0.12781959772109985,
0.07011885941028595,
0.24371883273124695,
-0.4962286055088043,
-0.030783290043473244,
0.2719285190105438,
0.10421193391084671,
0.21419918537139893,
0.1854766607284546,
0.22742357850074768,
-0.03965657576918602,
-0.2348625808954239,
0.1698896586894989,
0.2800544798374176,
-0.11114805936813354,
0.21950370073318481,
0.14743633568286896,
0.12482668459415436,
0.24742193520069122,
0.5613325238227844,
0.0026719383895397186,
0.309824675321579,
0.17488238215446472,
0.17537200450897217,
-0.029551735147833824,
0.31729856133461,
0.12573085725307465,
0.20213553309440613,
-0.14047643542289734,
0.24934524297714233,
0.47663965821266174,
-0.02198384702205658,
0.11181657016277313,
-0.031776733696460724,
0.12029710412025452,
0.01370181329548359,
-0.01943308115005493,
-0.2735222280025482,
-0.28982776403427124,
0.03907875344157219,
-0.050624776631593704,
0.21860042214393616,
-0.13182321190834045,
-0.17206428945064545,
-0.22934657335281372,
0.043868739157915115,
-0.16116495430469513,
0.1388997882604599,
-0.10504832863807678,
-0.10017357766628265,
-0.40882590413093567,
0.05515013635158539,
0.16906368732452393,
0.28567934036254883,
-0.3281773328781128,
0.13396497070789337,
0.07331162691116333,
-0.32501521706581116,
-0.006262179464101791,
0.3845962584018707,
0.30336812138557434,
0.30374395847320557,
0.34797054529190063,
-0.006428642198443413,
0.2640426456928253,
-0.2573382258415222,
-0.21346068382263184,
-0.07369787991046906,
-0.10836774110794067,
0.21810823678970337,
0.24187149107456207,
0.12715356051921844,
-0.24921466410160065,
-0.2954614758491516,
-0.0353456474840641,
0.3476327955722809,
-0.34692898392677307,
0.6806966662406921,
-0.1771024614572525,
-0.10373694449663162,
0.0255799051374197,
-0.1287660300731659,
-0.4823792278766632,
-0.40156129002571106,
0.5172956585884094,
0.09555287659168243,
0.14316275715827942,
-0.07487964630126953,
0.1056312620639801,
0.026179783046245575,
0.2375849187374115,
0.3514142334461212,
-0.40257003903388977,
-0.0010585170239210129,
0.06619235873222351,
-0.6135244369506836,
0.2014499306678772,
0.2804805040359497,
0.006859408691525459,
0.2689407169818878,
0.6454805731773376,
0.18824201822280884,
0.008138313889503479,
0.06835389137268066,
-0.0944553092122078,
0.0699000284075737,
0.2847632169723511,
-0.334313303232193,
-0.23357628285884857,
-0.587787389755249,
0.20992940664291382,
0.10357595980167389,
-0.08548131585121155,
0.07896557450294495,
-0.189263716340065,
-0.027967261150479317,
-0.07128413021564484,
-0.4328725039958954,
0.3585274815559387,
-0.5295681953430176,
0.4505730867385864,
-0.22082364559173584,
0.023183614015579224,
0.002624932676553726,
-0.009607500396668911,
-0.3402825891971588,
-0.1273672729730606,
-0.31711968779563904,
0.1332516074180603,
-0.15700344741344452,
0.23678216338157654,
-0.020907659083604813,
0.4191596508026123,
-0.27920591831207275,
0.22808794677257538,
0.16335850954055786,
-0.38519904017448425,
-0.002005411311984062,
0.22011196613311768,
0.1361265480518341,
-0.042041629552841187,
-0.04601762443780899,
-0.059938445687294006,
-0.07604973018169403,
-0.06461967527866364,
-0.16202658414840698,
-0.5269706845283508,
0.45880594849586487,
-0.28221583366394043,
-0.308282732963562,
-0.5190442204475403,
0.3490316867828369,
-0.03418290615081787,
0.25413453578948975,
-0.6219789981842041,
0.1623711884021759,
0.3509639799594879,
0.019502578303217888,
-0.3037324547767639,
-0.09928008913993835,
-0.3208305835723877,
0.13596569001674652,
-0.18640084564685822,
0.040864452719688416,
0.13987992703914642,
-0.3239898383617401,
-0.1722639799118042,
-0.0728171169757843
] |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker, thanks for reporting!
I have transferred this issue to our Hub team and they are investigating it. I keep you informed. | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 23 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
Hi @jacobbieker, thanks for reporting!
I have transferred this issue to our Hub team and they are investigating it. I keep you informed. | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
-0.13337665796279907,
0.16917124390602112,
-0.0300632044672966,
0.09354977309703827,
-0.15183016657829285,
0.07442647218704224,
-0.2984040379524231,
-0.09417323768138885,
-0.08768651634454727,
0.15547646582126617,
-0.18407267332077026,
-0.19445136189460754,
0.14732079207897186,
0.4725472033023834,
-0.303749144077301,
-0.39319083094596863,
-0.005084928125143051,
-0.1785402148962021,
0.5827432870864868,
0.3816307485103607,
-0.00011870769230881706,
0.2011726051568985,
0.3711705803871155,
-0.04137904942035675,
-0.2092219889163971,
-0.1555027812719345,
-0.2414226531982422,
-0.28095680475234985,
-0.04618283361196518,
0.10891560465097427,
0.38190338015556335,
-0.25849056243896484,
0.018576569855213165,
-0.4012303054332733,
0.3119853436946869,
0.3165651857852936,
0.05653059482574463,
0.004761684685945511,
-0.000719025731086731,
-0.2311091125011444,
0.3572828471660614,
-0.03119117021560669,
-0.1348472684621811,
-0.057564493268728256,
0.025500092655420303,
0.19465108215808868,
-0.28541693091392517,
0.21301165223121643,
-0.21884486079216003,
0.09535855054855347,
0.26662328839302063,
-0.05070895701646805,
-0.42680495977401733,
-0.03198246657848358,
0.17511290311813354,
0.3958950936794281,
0.9463439583778381,
-0.10778985172510147,
-0.36815643310546875,
-0.037000153213739395,
-0.1416630744934082,
-0.3509467542171478,
0.23888716101646423,
0.60360187292099,
0.10608775913715363,
0.1252228021621704,
-0.36665812134742737,
0.036646634340286255,
-0.2769365906715393,
0.2287324219942093,
-0.28053078055381775,
0.4499381482601166,
-0.05200483277440071,
0.07928746938705444,
0.30918240547180176,
-0.12994636595249176,
0.6826696395874023,
-0.10951872169971466,
-0.0622529573738575,
-0.098155677318573,
-0.4054394066333771,
0.21310511231422424,
-0.050968922674655914,
-0.11253535002470016,
0.4870852828025818,
0.3105390667915344,
-0.03151711821556091,
0.10962021350860596,
-0.1682976931333542,
-0.08650418370962143,
0.23247836530208588,
0.3147867023944855,
-0.3461243510246277,
0.10328856110572815,
0.14266733825206757,
0.10562389343976974,
-0.255789190530777,
-0.14296549558639526,
-0.08944112807512283,
-0.040883928537368774,
-0.28125065565109253,
-0.10944754630327225,
0.30467158555984497,
-0.3293420076370239,
-0.051808882504701614,
0.1893707811832428,
-0.7700589299201965,
-0.16984598338603973,
-0.0743689090013504,
0.3433125615119934,
0.09223923832178116,
0.23937150835990906,
-0.16603609919548035,
0.15355432033538818,
-0.0043020229786634445,
-0.24397848546504974,
0.04068890959024429,
-0.14607404172420502,
-0.2566799223423004,
0.2699205279350281,
-0.11316867172718048,
-0.129240944981575,
-0.04892946779727936,
0.05986078828573227,
0.4044991731643677,
-0.14436045289039612,
0.4734461009502411,
-0.05476071685552597,
0.15054714679718018,
0.4587123990058899,
0.2154918611049652,
0.14479738473892212,
0.1125209629535675,
0.11401733756065369,
0.11600876599550247,
0.06414376199245453,
-0.5008353590965271,
-0.6754109263420105,
-0.20954345166683197,
0.005073049105703831,
-0.03455784544348717,
-0.0692087784409523,
0.27994030714035034,
-0.31138527393341064,
-0.16804239153862,
-0.440553218126297,
-0.13085460662841797,
0.07475213706493378,
-0.19431595504283905,
-0.08094530552625656,
-0.0466812402009964,
0.4341384768486023,
0.010157544165849686,
0.4655013084411621,
-0.3387538492679596,
0.3258253037929535,
0.21599958837032318,
0.385442852973938,
-0.43666866421699524,
0.11905921995639801,
-0.24598653614521027,
-0.1699962019920349,
-0.061017848551273346,
-0.3542778491973877,
-0.49154552817344666,
0.3505573868751526,
0.01136162132024765,
-0.13637803494930267,
0.015387967228889465,
-0.10257768630981445,
0.13425959646701813,
0.11216887831687927,
0.209039106965065,
-0.010611992329359055,
-0.14410945773124695,
0.16037477552890778,
-0.33390292525291443,
-0.32146868109703064,
-0.16095854341983795,
0.26815736293792725,
0.13806119561195374,
0.013228580355644226,
0.2260376513004303,
-0.08400993049144745,
0.1535705327987671,
-0.19504034519195557,
-0.30865752696990967,
0.18935281038284302,
0.006089989095926285,
-0.04496742784976959,
0.012065915390849113,
0.20881623029708862,
-0.28577592968940735,
0.09315503388643265,
-0.4490283727645874,
0.2647961378097534,
0.2011948525905609,
0.12529531121253967,
-0.3098521828651428,
0.19228002429008484,
-0.0508061908185482,
-0.07748919725418091,
-0.00871216505765915,
0.22368578612804413,
-0.2901361584663391,
-0.10027316212654114,
-0.09995979815721512,
0.47255274653434753,
0.21692781150341034,
0.011342190206050873,
-0.25961849093437195,
0.2975619435310364,
-0.08678663522005081,
0.103201724588871,
0.1341410130262375,
-0.06678418070077896,
0.18086257576942444,
-0.0030179263558238745,
-0.40090975165367126,
0.20101946592330933,
0.17203132808208466,
-0.000875331461429596,
0.318606972694397,
0.3717554211616516,
0.13639682531356812,
-0.14781877398490906,
0.1456035077571869,
0.18375110626220703,
0.040722690522670746,
0.2259516417980194,
-0.1382213830947876,
0.2717614769935608,
-0.1824481338262558,
0.11955580115318298,
-0.21391822397708893,
0.38133516907691956,
0.1200454831123352,
-0.04518921300768852,
-0.1890975832939148,
-0.12034955620765686,
0.3008344769477844,
0.1318986415863037,
0.44352853298187256,
0.1602235585451126,
-0.2849338948726654,
-0.17770323157310486,
-0.03735433891415596,
-0.06786143779754639,
0.05084965005517006,
0.08765877783298492,
-0.24965032935142517,
-0.006574543192982674,
0.20169173181056976,
0.4746968448162079,
0.3439956307411194,
0.1430421769618988,
-0.5446863770484924,
0.15647897124290466,
-0.24231022596359253,
-0.06531612575054169,
0.04198919236660004,
0.40425580739974976,
0.7995312213897705,
0.340751051902771,
0.23757454752922058,
0.14343847334384918,
-0.17697373032569885,
-0.5317542552947998,
-0.03213709965348244,
0.13903836905956268,
-0.3055349886417389,
0.14235690236091614,
-0.1652136743068695,
-0.07996496558189392,
-0.09505361318588257,
0.24596631526947021,
-0.3469238579273224,
-0.32391849160194397,
-0.2535281181335449,
-0.09511002898216248,
-0.3008136749267578,
0.04986196756362915,
-0.21835419535636902,
0.12950864434242249,
-0.13311953842639923,
0.16294294595718384,
0.09982535243034363,
-0.25978589057922363,
-0.027143113315105438,
-0.12382294237613678,
0.47079116106033325,
-0.41979601979255676,
0.05416953191161156,
-0.02642601542174816,
0.3818323016166687,
-0.4889298677444458,
-0.03515556827187538,
0.3380056917667389,
0.2338465452194214,
0.009470190852880478,
0.022998638451099396,
0.12433911859989166,
-0.23942163586616516,
0.13935868442058563,
0.19373036921024323,
0.09273538738489151,
0.11570718884468079,
0.08882808685302734,
-0.2749524414539337,
0.030249591916799545,
0.2273087501525879,
-0.1381053328514099,
-0.26007339358329773,
-0.5794451832771301,
-0.2574005126953125,
-0.10947877168655396,
0.01249312236905098,
0.33922985196113586,
0.05749570205807686,
0.01962214708328247,
-0.300595223903656,
-0.3893893361091614,
-0.1530473232269287,
-0.37252944707870483,
0.3347471356391907,
-0.24033577740192413,
-0.3761212229728699,
-0.06698381900787354,
-0.005369627848267555,
-0.10827453434467316,
0.32529693841934204,
-0.25862646102905273,
0.1385422796010971,
-0.10277454555034637,
-0.3008289337158203,
-0.34874847531318665,
-0.21464261412620544,
0.3086971640586853,
-0.006660441402345896,
0.023515520617365837,
-0.14215147495269775,
-0.15363295376300812,
-0.03264612704515457,
0.10095427930355072,
0.07987044006586075,
-0.23184946179389954,
0.17327624559402466,
-0.013606429100036621,
0.4899490475654602,
0.018336612731218338,
0.04101228341460228,
0.353010356426239,
-0.07542814314365387,
0.20363111793994904,
-0.08832968026399612,
-0.09872827678918839,
-0.08107627183198929,
-0.23653924465179443,
-0.46263957023620605,
0.2611178159713745,
0.01635001227259636,
-0.2330009490251541,
-0.2622841000556946,
-0.010360481217503548,
-0.13290978968143463,
-0.13020189106464386,
0.21755674481391907,
-0.023443542420864105,
0.27979400753974915,
0.41845476627349854,
0.12604489922523499,
-0.16765724122524261,
-0.28944912552833557,
-0.04021693766117096,
-0.17844028770923615,
0.1376597285270691,
0.08506549149751663,
-0.47552400827407837,
-0.14188311994075775,
0.015350297093391418,
0.5629478693008423,
0.2790478765964508,
0.26644864678382874,
0.056290920823812485,
0.12166062742471695,
0.012423738837242126,
-0.014271970838308334,
0.27897557616233826,
-0.33230429887771606,
-0.29478639364242554,
0.30651968717575073,
0.05007494240999222,
-0.3117161989212036,
-0.20103144645690918,
-0.11298280954360962,
0.15084590017795563,
-0.30564671754837036,
0.28597939014434814,
0.05164923518896103,
-0.15081527829170227,
-0.003546951338648796,
0.21054475009441376,
0.00455021858215332,
-0.14608100056648254,
-0.2058085799217224,
-0.29200753569602966,
-0.3549550771713257,
-0.2170695960521698,
-0.2375379502773285,
0.17295338213443756,
0.029973872005939484,
0.07834161818027496,
-0.10482935607433319,
0.14456385374069214,
0.15818282961845398,
-0.08657476305961609,
0.6396427750587463,
0.14194625616073608,
0.08379895985126495,
0.14218607544898987,
0.4292033314704895,
0.24928702414035797,
0.5170942544937134,
0.17432712018489838,
-0.060539424419403076,
0.22627729177474976,
-0.12071244418621063,
-0.06486537307500839,
0.2901926040649414,
0.08663759380578995,
-0.5511314272880554,
0.11018853634595871,
0.1306854635477066,
0.023875268176198006,
0.11949440836906433,
0.0031266408041119576,
-0.12186983227729797,
-0.5185556411743164,
-0.01572038047015667,
0.5977813005447388,
0.11771629750728607,
-0.14924326539039612,
0.4217754006385803,
0.048467278480529785,
0.11307553946971893,
0.4315870404243469,
0.3920227587223053,
0.8132179379463196,
-0.37276768684387207,
0.3099876344203949,
0.359985888004303,
-0.10061132907867432,
0.3033595085144043,
-0.5267518162727356,
0.22201064229011536,
-0.46718233823776245,
-0.3839357793331146,
-0.15277644991874695,
-0.3235844075679779,
0.06026136875152588,
0.10888122022151947,
0.09874653816223145,
-0.032168250530958176,
0.04090140014886856,
0.30753040313720703,
0.2957502603530884,
0.2937299609184265,
-0.19664770364761353,
-0.30305036902427673,
-0.3169528841972351,
0.0018364060670137405,
-0.15710735321044922,
0.011663982644677162,
-0.19333556294441223,
-0.2457238882780075,
-0.30245810747146606,
0.12316717207431793,
-0.18377424776554108,
0.19531649351119995,
-0.22932153940200806,
0.23783381283283234,
0.05397321283817291,
-0.005999423563480377,
-0.023047396913170815,
0.3239498436450958,
0.03724440187215805,
-0.12809360027313232,
-0.32609015703201294,
0.19200605154037476,
-0.11834799498319626,
-0.12368501722812653,
0.11635393649339676,
-0.03248888626694679,
0.36158493161201477,
-0.10751385986804962,
0.025383763015270233,
0.177484393119812,
-0.08640271425247192,
-0.042472537606954575,
-0.3627001643180847,
0.19794172048568726,
0.08597875386476517,
-0.4183754622936249,
-0.12712547183036804,
-0.14720335602760315,
0.06304067373275757,
0.021534588187932968,
-0.018949739634990692,
0.07464110106229782,
0.3671874701976776,
0.1284414827823639,
0.18524570763111115,
-0.5114939212799072,
-0.04153409227728844,
0.17107370495796204,
0.022933203727006912,
0.26992157101631165,
0.08295471966266632,
0.1748908907175064,
0.05975756794214249,
-0.007610540837049484,
0.6210010051727295,
-0.031495600938797,
-0.5102534890174866,
0.140061154961586,
-0.3123990297317505,
-0.15266850590705872,
-0.1207195594906807,
0.28155651688575745,
0.20051422715187073,
-0.29859328269958496,
0.23387153446674347,
-0.4860271215438843,
-0.1580057144165039,
0.4720728397369385,
-0.12652114033699036,
-0.030057866126298904,
0.16565555334091187,
0.15403898060321808,
-0.0821898877620697,
-0.4261889159679413,
-0.1269555389881134,
-0.035542361438274384,
-0.0736413300037384,
-0.1407361924648285,
-0.1501263529062271,
-0.17970910668373108,
0.34748655557632446,
-0.03273215889930725,
-0.09621448069810867,
0.19894163310527802,
-0.36201974749565125,
-0.025679051876068115,
-0.04088932275772095,
0.24693667888641357,
0.10832983255386353,
-0.3801209032535553,
0.17737063765525818,
-0.2720492482185364,
-0.22831198573112488,
-0.13314487040042877,
-0.08321403712034225,
0.13488033413887024,
-0.029350899159908295,
-0.3988731801509857,
-0.3249548375606537,
-0.17111828923225403,
-0.5501367449760437,
0.21144206821918488,
0.2953190803527832,
0.22358591854572296,
0.05215675011277199,
0.21508340537548065,
0.08712208271026611,
-0.16038966178894043,
-0.42012134194374084,
0.04883330315351486,
0.1763526201248169,
0.10182280838489532,
0.5127034187316895,
-0.5270681977272034,
0.17426437139511108,
0.4486145079135895,
0.3451085388660431,
0.03360333666205406,
-0.2696174681186676,
-0.08493693917989731,
-0.1800716519355774,
0.009585742838680744,
-0.1603621393442154,
-0.1103888675570488,
0.04328762739896774,
0.07933973520994186,
-0.18191036581993103,
0.0932895690202713,
0.4428086578845978,
-0.1137864962220192,
-0.23941199481487274,
0.07829947769641876,
0.47776171565055847,
0.09387495368719101,
0.17496258020401,
0.27296754717826843,
-0.1434319019317627,
0.15309420228004456,
-0.01532570831477642,
0.030559347942471504,
0.20852354168891907,
0.5171518325805664,
0.15487292408943176,
0.2331361025571823,
0.10916690528392792,
0.1705237776041031,
-0.04394475370645523,
-0.6614458560943604,
0.23714974522590637,
0.42333123087882996,
0.19511264562606812,
-0.022374257445335388,
-0.11655117571353912,
0.016338564455509186,
0.07874434441328049,
-0.06220405176281929,
-0.2638103663921356,
0.13356906175613403,
0.1478729546070099,
0.05885196849703789,
-0.014317607507109642,
-0.19765986502170563,
0.042000122368335724,
0.3851832449436188,
-0.0647558718919754,
0.24312004446983337,
0.12139949947595596,
0.21629934012889862,
0.034387968480587006,
-0.1891794353723526,
0.2976471185684204,
0.4485316276550293,
0.031217705458402634,
-0.39818182587623596,
0.1707991361618042,
0.13894662261009216,
-0.2967089116573334,
0.18596060574054718,
0.031335361301898956,
0.532224714756012,
0.14473354816436768,
-0.3054318130016327,
0.08463682234287262,
-0.23285765945911407,
0.168081596493721,
0.2225363850593567,
-0.15591876208782196,
0.2153174877166748,
0.06523437798023224,
0.5209811925888062,
-0.04136677086353302,
-0.03366588428616524,
0.03317340090870857,
-0.14687208831310272,
0.3198468089103699,
0.03341438248753548,
-0.1648710072040558,
0.1090421974658966,
-0.03229118138551712,
0.10549195855855942,
0.07124500721693039,
-0.11649974435567856,
0.10530896484851837,
0.2834138870239258,
0.028125647455453873,
0.05623387545347214,
-0.05539760738611221,
-0.01860019378364086,
-0.059559162706136703,
0.3683058023452759,
0.14192162454128265,
0.33386003971099854,
-0.12062182277441025,
-0.13456325232982635,
-0.5409656763076782,
0.29231128096580505,
-0.2239699363708496,
0.08097337931394577,
0.24222995340824127,
-0.09028296172618866,
0.3014988303184509,
0.23281900584697723,
0.27969348430633545,
0.25688186287879944,
-0.04418567568063736,
0.06669735163450241,
-0.23338572680950165,
-0.049606774002313614,
-0.06244693696498871,
0.08154296875,
-0.17736582458019257,
-0.2844250798225403,
0.2202054262161255,
-0.26283884048461914,
0.008486032485961914,
-0.03017597645521164,
-0.13144364953041077,
-0.20669478178024292,
-0.34778541326522827,
0.27167898416519165,
0.08159972727298737,
0.336816668510437,
0.040112510323524475,
-0.1988706886768341,
-0.3163682818412781,
-0.20644690096378326,
0.08828458189964294,
-0.08462976664304733,
0.31212761998176575,
0.47627124190330505,
-0.1441267728805542,
0.3246957063674927,
-0.38887399435043335,
0.28048285841941833,
0.004888866096735001,
0.33774706721305847,
-0.28583455085754395,
0.19422973692417145,
-0.2582116723060608,
-0.01693311333656311,
0.26141539216041565,
0.3332204520702362,
0.16971080005168915,
0.16799122095108032,
-0.06774204224348068,
-0.3816128671169281,
0.5351583361625671,
-0.1083739772439003,
-0.03181891888380051,
0.2700538635253906,
0.09359674155712128,
0.03164874389767647,
-0.0005795340985059738,
-0.22130918502807617,
0.14249324798583984,
0.051943086087703705,
0.09776875376701355,
-0.15601029992103577,
-0.2733044922351837,
0.29760146141052246,
-0.25855934619903564,
-0.08088350296020508,
0.31453415751457214,
0.06256496906280518,
-0.3507770895957947,
-0.057155393064022064,
0.3165154457092285
] |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker, we are investigating this issue on our side and we'll see if we can fix it, but please note that your repo is considered problematic for git. Here are the results of running https://github.com/github/git-sizer on it:
```
Processing blobs: 147448
Processing trees: 27
Processing commits: 4
Matching commits to trees: 4
Processing annotated tags: 0
Processing references: 3
| Name | Value | Level of concern |
| ---------------------------- | --------- | ------------------------------ |
| Biggest objects | | |
| * Trees | | |
| * Maximum entries [1] | 167 k | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| | | |
| Biggest checkouts | | |
| * Number of files [2] | 189 k | *** |
[1] aa057d2667c34c70c6146efc631f5c9917ff326e (refs/heads/main:2016.zarr/unknown)
[2] 6897b7bf6440fdd16b2c39d08085a669e7eaa59d (refs/heads/main^{tree})
```
You can check https://github.com/github/git-sizer for more information on how to avoid such pathological structures. | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 142 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
Hi @jacobbieker, we are investigating this issue on our side and we'll see if we can fix it, but please note that your repo is considered problematic for git. Here are the results of running https://github.com/github/git-sizer on it:
```
Processing blobs: 147448
Processing trees: 27
Processing commits: 4
Matching commits to trees: 4
Processing annotated tags: 0
Processing references: 3
| Name | Value | Level of concern |
| ---------------------------- | --------- | ------------------------------ |
| Biggest objects | | |
| * Trees | | |
| * Maximum entries [1] | 167 k | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| | | |
| Biggest checkouts | | |
| * Number of files [2] | 189 k | *** |
[1] aa057d2667c34c70c6146efc631f5c9917ff326e (refs/heads/main:2016.zarr/unknown)
[2] 6897b7bf6440fdd16b2c39d08085a669e7eaa59d (refs/heads/main^{tree})
```
You can check https://github.com/github/git-sizer for more information on how to avoid such pathological structures. | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
-0.13337665796279907,
0.16917124390602112,
-0.0300632044672966,
0.09354977309703827,
-0.15183016657829285,
0.07442647218704224,
-0.2984040379524231,
-0.09417323768138885,
-0.08768651634454727,
0.15547646582126617,
-0.18407267332077026,
-0.19445136189460754,
0.14732079207897186,
0.4725472033023834,
-0.303749144077301,
-0.39319083094596863,
-0.005084928125143051,
-0.1785402148962021,
0.5827432870864868,
0.3816307485103607,
-0.00011870769230881706,
0.2011726051568985,
0.3711705803871155,
-0.04137904942035675,
-0.2092219889163971,
-0.1555027812719345,
-0.2414226531982422,
-0.28095680475234985,
-0.04618283361196518,
0.10891560465097427,
0.38190338015556335,
-0.25849056243896484,
0.018576569855213165,
-0.4012303054332733,
0.3119853436946869,
0.3165651857852936,
0.05653059482574463,
0.004761684685945511,
-0.000719025731086731,
-0.2311091125011444,
0.3572828471660614,
-0.03119117021560669,
-0.1348472684621811,
-0.057564493268728256,
0.025500092655420303,
0.19465108215808868,
-0.28541693091392517,
0.21301165223121643,
-0.21884486079216003,
0.09535855054855347,
0.26662328839302063,
-0.05070895701646805,
-0.42680495977401733,
-0.03198246657848358,
0.17511290311813354,
0.3958950936794281,
0.9463439583778381,
-0.10778985172510147,
-0.36815643310546875,
-0.037000153213739395,
-0.1416630744934082,
-0.3509467542171478,
0.23888716101646423,
0.60360187292099,
0.10608775913715363,
0.1252228021621704,
-0.36665812134742737,
0.036646634340286255,
-0.2769365906715393,
0.2287324219942093,
-0.28053078055381775,
0.4499381482601166,
-0.05200483277440071,
0.07928746938705444,
0.30918240547180176,
-0.12994636595249176,
0.6826696395874023,
-0.10951872169971466,
-0.0622529573738575,
-0.098155677318573,
-0.4054394066333771,
0.21310511231422424,
-0.050968922674655914,
-0.11253535002470016,
0.4870852828025818,
0.3105390667915344,
-0.03151711821556091,
0.10962021350860596,
-0.1682976931333542,
-0.08650418370962143,
0.23247836530208588,
0.3147867023944855,
-0.3461243510246277,
0.10328856110572815,
0.14266733825206757,
0.10562389343976974,
-0.255789190530777,
-0.14296549558639526,
-0.08944112807512283,
-0.040883928537368774,
-0.28125065565109253,
-0.10944754630327225,
0.30467158555984497,
-0.3293420076370239,
-0.051808882504701614,
0.1893707811832428,
-0.7700589299201965,
-0.16984598338603973,
-0.0743689090013504,
0.3433125615119934,
0.09223923832178116,
0.23937150835990906,
-0.16603609919548035,
0.15355432033538818,
-0.0043020229786634445,
-0.24397848546504974,
0.04068890959024429,
-0.14607404172420502,
-0.2566799223423004,
0.2699205279350281,
-0.11316867172718048,
-0.129240944981575,
-0.04892946779727936,
0.05986078828573227,
0.4044991731643677,
-0.14436045289039612,
0.4734461009502411,
-0.05476071685552597,
0.15054714679718018,
0.4587123990058899,
0.2154918611049652,
0.14479738473892212,
0.1125209629535675,
0.11401733756065369,
0.11600876599550247,
0.06414376199245453,
-0.5008353590965271,
-0.6754109263420105,
-0.20954345166683197,
0.005073049105703831,
-0.03455784544348717,
-0.0692087784409523,
0.27994030714035034,
-0.31138527393341064,
-0.16804239153862,
-0.440553218126297,
-0.13085460662841797,
0.07475213706493378,
-0.19431595504283905,
-0.08094530552625656,
-0.0466812402009964,
0.4341384768486023,
0.010157544165849686,
0.4655013084411621,
-0.3387538492679596,
0.3258253037929535,
0.21599958837032318,
0.385442852973938,
-0.43666866421699524,
0.11905921995639801,
-0.24598653614521027,
-0.1699962019920349,
-0.061017848551273346,
-0.3542778491973877,
-0.49154552817344666,
0.3505573868751526,
0.01136162132024765,
-0.13637803494930267,
0.015387967228889465,
-0.10257768630981445,
0.13425959646701813,
0.11216887831687927,
0.209039106965065,
-0.010611992329359055,
-0.14410945773124695,
0.16037477552890778,
-0.33390292525291443,
-0.32146868109703064,
-0.16095854341983795,
0.26815736293792725,
0.13806119561195374,
0.013228580355644226,
0.2260376513004303,
-0.08400993049144745,
0.1535705327987671,
-0.19504034519195557,
-0.30865752696990967,
0.18935281038284302,
0.006089989095926285,
-0.04496742784976959,
0.012065915390849113,
0.20881623029708862,
-0.28577592968940735,
0.09315503388643265,
-0.4490283727645874,
0.2647961378097534,
0.2011948525905609,
0.12529531121253967,
-0.3098521828651428,
0.19228002429008484,
-0.0508061908185482,
-0.07748919725418091,
-0.00871216505765915,
0.22368578612804413,
-0.2901361584663391,
-0.10027316212654114,
-0.09995979815721512,
0.47255274653434753,
0.21692781150341034,
0.011342190206050873,
-0.25961849093437195,
0.2975619435310364,
-0.08678663522005081,
0.103201724588871,
0.1341410130262375,
-0.06678418070077896,
0.18086257576942444,
-0.0030179263558238745,
-0.40090975165367126,
0.20101946592330933,
0.17203132808208466,
-0.000875331461429596,
0.318606972694397,
0.3717554211616516,
0.13639682531356812,
-0.14781877398490906,
0.1456035077571869,
0.18375110626220703,
0.040722690522670746,
0.2259516417980194,
-0.1382213830947876,
0.2717614769935608,
-0.1824481338262558,
0.11955580115318298,
-0.21391822397708893,
0.38133516907691956,
0.1200454831123352,
-0.04518921300768852,
-0.1890975832939148,
-0.12034955620765686,
0.3008344769477844,
0.1318986415863037,
0.44352853298187256,
0.1602235585451126,
-0.2849338948726654,
-0.17770323157310486,
-0.03735433891415596,
-0.06786143779754639,
0.05084965005517006,
0.08765877783298492,
-0.24965032935142517,
-0.006574543192982674,
0.20169173181056976,
0.4746968448162079,
0.3439956307411194,
0.1430421769618988,
-0.5446863770484924,
0.15647897124290466,
-0.24231022596359253,
-0.06531612575054169,
0.04198919236660004,
0.40425580739974976,
0.7995312213897705,
0.340751051902771,
0.23757454752922058,
0.14343847334384918,
-0.17697373032569885,
-0.5317542552947998,
-0.03213709965348244,
0.13903836905956268,
-0.3055349886417389,
0.14235690236091614,
-0.1652136743068695,
-0.07996496558189392,
-0.09505361318588257,
0.24596631526947021,
-0.3469238579273224,
-0.32391849160194397,
-0.2535281181335449,
-0.09511002898216248,
-0.3008136749267578,
0.04986196756362915,
-0.21835419535636902,
0.12950864434242249,
-0.13311953842639923,
0.16294294595718384,
0.09982535243034363,
-0.25978589057922363,
-0.027143113315105438,
-0.12382294237613678,
0.47079116106033325,
-0.41979601979255676,
0.05416953191161156,
-0.02642601542174816,
0.3818323016166687,
-0.4889298677444458,
-0.03515556827187538,
0.3380056917667389,
0.2338465452194214,
0.009470190852880478,
0.022998638451099396,
0.12433911859989166,
-0.23942163586616516,
0.13935868442058563,
0.19373036921024323,
0.09273538738489151,
0.11570718884468079,
0.08882808685302734,
-0.2749524414539337,
0.030249591916799545,
0.2273087501525879,
-0.1381053328514099,
-0.26007339358329773,
-0.5794451832771301,
-0.2574005126953125,
-0.10947877168655396,
0.01249312236905098,
0.33922985196113586,
0.05749570205807686,
0.01962214708328247,
-0.300595223903656,
-0.3893893361091614,
-0.1530473232269287,
-0.37252944707870483,
0.3347471356391907,
-0.24033577740192413,
-0.3761212229728699,
-0.06698381900787354,
-0.005369627848267555,
-0.10827453434467316,
0.32529693841934204,
-0.25862646102905273,
0.1385422796010971,
-0.10277454555034637,
-0.3008289337158203,
-0.34874847531318665,
-0.21464261412620544,
0.3086971640586853,
-0.006660441402345896,
0.023515520617365837,
-0.14215147495269775,
-0.15363295376300812,
-0.03264612704515457,
0.10095427930355072,
0.07987044006586075,
-0.23184946179389954,
0.17327624559402466,
-0.013606429100036621,
0.4899490475654602,
0.018336612731218338,
0.04101228341460228,
0.353010356426239,
-0.07542814314365387,
0.20363111793994904,
-0.08832968026399612,
-0.09872827678918839,
-0.08107627183198929,
-0.23653924465179443,
-0.46263957023620605,
0.2611178159713745,
0.01635001227259636,
-0.2330009490251541,
-0.2622841000556946,
-0.010360481217503548,
-0.13290978968143463,
-0.13020189106464386,
0.21755674481391907,
-0.023443542420864105,
0.27979400753974915,
0.41845476627349854,
0.12604489922523499,
-0.16765724122524261,
-0.28944912552833557,
-0.04021693766117096,
-0.17844028770923615,
0.1376597285270691,
0.08506549149751663,
-0.47552400827407837,
-0.14188311994075775,
0.015350297093391418,
0.5629478693008423,
0.2790478765964508,
0.26644864678382874,
0.056290920823812485,
0.12166062742471695,
0.012423738837242126,
-0.014271970838308334,
0.27897557616233826,
-0.33230429887771606,
-0.29478639364242554,
0.30651968717575073,
0.05007494240999222,
-0.3117161989212036,
-0.20103144645690918,
-0.11298280954360962,
0.15084590017795563,
-0.30564671754837036,
0.28597939014434814,
0.05164923518896103,
-0.15081527829170227,
-0.003546951338648796,
0.21054475009441376,
0.00455021858215332,
-0.14608100056648254,
-0.2058085799217224,
-0.29200753569602966,
-0.3549550771713257,
-0.2170695960521698,
-0.2375379502773285,
0.17295338213443756,
0.029973872005939484,
0.07834161818027496,
-0.10482935607433319,
0.14456385374069214,
0.15818282961845398,
-0.08657476305961609,
0.6396427750587463,
0.14194625616073608,
0.08379895985126495,
0.14218607544898987,
0.4292033314704895,
0.24928702414035797,
0.5170942544937134,
0.17432712018489838,
-0.060539424419403076,
0.22627729177474976,
-0.12071244418621063,
-0.06486537307500839,
0.2901926040649414,
0.08663759380578995,
-0.5511314272880554,
0.11018853634595871,
0.1306854635477066,
0.023875268176198006,
0.11949440836906433,
0.0031266408041119576,
-0.12186983227729797,
-0.5185556411743164,
-0.01572038047015667,
0.5977813005447388,
0.11771629750728607,
-0.14924326539039612,
0.4217754006385803,
0.048467278480529785,
0.11307553946971893,
0.4315870404243469,
0.3920227587223053,
0.8132179379463196,
-0.37276768684387207,
0.3099876344203949,
0.359985888004303,
-0.10061132907867432,
0.3033595085144043,
-0.5267518162727356,
0.22201064229011536,
-0.46718233823776245,
-0.3839357793331146,
-0.15277644991874695,
-0.3235844075679779,
0.06026136875152588,
0.10888122022151947,
0.09874653816223145,
-0.032168250530958176,
0.04090140014886856,
0.30753040313720703,
0.2957502603530884,
0.2937299609184265,
-0.19664770364761353,
-0.30305036902427673,
-0.3169528841972351,
0.0018364060670137405,
-0.15710735321044922,
0.011663982644677162,
-0.19333556294441223,
-0.2457238882780075,
-0.30245810747146606,
0.12316717207431793,
-0.18377424776554108,
0.19531649351119995,
-0.22932153940200806,
0.23783381283283234,
0.05397321283817291,
-0.005999423563480377,
-0.023047396913170815,
0.3239498436450958,
0.03724440187215805,
-0.12809360027313232,
-0.32609015703201294,
0.19200605154037476,
-0.11834799498319626,
-0.12368501722812653,
0.11635393649339676,
-0.03248888626694679,
0.36158493161201477,
-0.10751385986804962,
0.025383763015270233,
0.177484393119812,
-0.08640271425247192,
-0.042472537606954575,
-0.3627001643180847,
0.19794172048568726,
0.08597875386476517,
-0.4183754622936249,
-0.12712547183036804,
-0.14720335602760315,
0.06304067373275757,
0.021534588187932968,
-0.018949739634990692,
0.07464110106229782,
0.3671874701976776,
0.1284414827823639,
0.18524570763111115,
-0.5114939212799072,
-0.04153409227728844,
0.17107370495796204,
0.022933203727006912,
0.26992157101631165,
0.08295471966266632,
0.1748908907175064,
0.05975756794214249,
-0.007610540837049484,
0.6210010051727295,
-0.031495600938797,
-0.5102534890174866,
0.140061154961586,
-0.3123990297317505,
-0.15266850590705872,
-0.1207195594906807,
0.28155651688575745,
0.20051422715187073,
-0.29859328269958496,
0.23387153446674347,
-0.4860271215438843,
-0.1580057144165039,
0.4720728397369385,
-0.12652114033699036,
-0.030057866126298904,
0.16565555334091187,
0.15403898060321808,
-0.0821898877620697,
-0.4261889159679413,
-0.1269555389881134,
-0.035542361438274384,
-0.0736413300037384,
-0.1407361924648285,
-0.1501263529062271,
-0.17970910668373108,
0.34748655557632446,
-0.03273215889930725,
-0.09621448069810867,
0.19894163310527802,
-0.36201974749565125,
-0.025679051876068115,
-0.04088932275772095,
0.24693667888641357,
0.10832983255386353,
-0.3801209032535553,
0.17737063765525818,
-0.2720492482185364,
-0.22831198573112488,
-0.13314487040042877,
-0.08321403712034225,
0.13488033413887024,
-0.029350899159908295,
-0.3988731801509857,
-0.3249548375606537,
-0.17111828923225403,
-0.5501367449760437,
0.21144206821918488,
0.2953190803527832,
0.22358591854572296,
0.05215675011277199,
0.21508340537548065,
0.08712208271026611,
-0.16038966178894043,
-0.42012134194374084,
0.04883330315351486,
0.1763526201248169,
0.10182280838489532,
0.5127034187316895,
-0.5270681977272034,
0.17426437139511108,
0.4486145079135895,
0.3451085388660431,
0.03360333666205406,
-0.2696174681186676,
-0.08493693917989731,
-0.1800716519355774,
0.009585742838680744,
-0.1603621393442154,
-0.1103888675570488,
0.04328762739896774,
0.07933973520994186,
-0.18191036581993103,
0.0932895690202713,
0.4428086578845978,
-0.1137864962220192,
-0.23941199481487274,
0.07829947769641876,
0.47776171565055847,
0.09387495368719101,
0.17496258020401,
0.27296754717826843,
-0.1434319019317627,
0.15309420228004456,
-0.01532570831477642,
0.030559347942471504,
0.20852354168891907,
0.5171518325805664,
0.15487292408943176,
0.2331361025571823,
0.10916690528392792,
0.1705237776041031,
-0.04394475370645523,
-0.6614458560943604,
0.23714974522590637,
0.42333123087882996,
0.19511264562606812,
-0.022374257445335388,
-0.11655117571353912,
0.016338564455509186,
0.07874434441328049,
-0.06220405176281929,
-0.2638103663921356,
0.13356906175613403,
0.1478729546070099,
0.05885196849703789,
-0.014317607507109642,
-0.19765986502170563,
0.042000122368335724,
0.3851832449436188,
-0.0647558718919754,
0.24312004446983337,
0.12139949947595596,
0.21629934012889862,
0.034387968480587006,
-0.1891794353723526,
0.2976471185684204,
0.4485316276550293,
0.031217705458402634,
-0.39818182587623596,
0.1707991361618042,
0.13894662261009216,
-0.2967089116573334,
0.18596060574054718,
0.031335361301898956,
0.532224714756012,
0.14473354816436768,
-0.3054318130016327,
0.08463682234287262,
-0.23285765945911407,
0.168081596493721,
0.2225363850593567,
-0.15591876208782196,
0.2153174877166748,
0.06523437798023224,
0.5209811925888062,
-0.04136677086353302,
-0.03366588428616524,
0.03317340090870857,
-0.14687208831310272,
0.3198468089103699,
0.03341438248753548,
-0.1648710072040558,
0.1090421974658966,
-0.03229118138551712,
0.10549195855855942,
0.07124500721693039,
-0.11649974435567856,
0.10530896484851837,
0.2834138870239258,
0.028125647455453873,
0.05623387545347214,
-0.05539760738611221,
-0.01860019378364086,
-0.059559162706136703,
0.3683058023452759,
0.14192162454128265,
0.33386003971099854,
-0.12062182277441025,
-0.13456325232982635,
-0.5409656763076782,
0.29231128096580505,
-0.2239699363708496,
0.08097337931394577,
0.24222995340824127,
-0.09028296172618866,
0.3014988303184509,
0.23281900584697723,
0.27969348430633545,
0.25688186287879944,
-0.04418567568063736,
0.06669735163450241,
-0.23338572680950165,
-0.049606774002313614,
-0.06244693696498871,
0.08154296875,
-0.17736582458019257,
-0.2844250798225403,
0.2202054262161255,
-0.26283884048461914,
0.008486032485961914,
-0.03017597645521164,
-0.13144364953041077,
-0.20669478178024292,
-0.34778541326522827,
0.27167898416519165,
0.08159972727298737,
0.336816668510437,
0.040112510323524475,
-0.1988706886768341,
-0.3163682818412781,
-0.20644690096378326,
0.08828458189964294,
-0.08462976664304733,
0.31212761998176575,
0.47627124190330505,
-0.1441267728805542,
0.3246957063674927,
-0.38887399435043335,
0.28048285841941833,
0.004888866096735001,
0.33774706721305847,
-0.28583455085754395,
0.19422973692417145,
-0.2582116723060608,
-0.01693311333656311,
0.26141539216041565,
0.3332204520702362,
0.16971080005168915,
0.16799122095108032,
-0.06774204224348068,
-0.3816128671169281,
0.5351583361625671,
-0.1083739772439003,
-0.03181891888380051,
0.2700538635253906,
0.09359674155712128,
0.03164874389767647,
-0.0005795340985059738,
-0.22130918502807617,
0.14249324798583984,
0.051943086087703705,
0.09776875376701355,
-0.15601029992103577,
-0.2733044922351837,
0.29760146141052246,
-0.25855934619903564,
-0.08088350296020508,
0.31453415751457214,
0.06256496906280518,
-0.3507770895957947,
-0.057155393064022064,
0.3165154457092285
] |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi, thanks for getting back to me so quick! And yeah, I figured that was probably the problem. I was going to try to delete the repo, but couldn't through the website, so if that's the easiest way to solve it, I can regenerate the dataset in a different format with less tiny files, and you guys can delete the repo as it is. Zarr just saves everything as lots of small files to make chunks easy to load, which is why I was preferring that format, but maybne that just doesn't work well for HF datasets. | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 97 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
Hi, thanks for getting back to me so quick! And yeah, I figured that was probably the problem. I was going to try to delete the repo, but couldn't through the website, so if that's the easiest way to solve it, I can regenerate the dataset in a different format with less tiny files, and you guys can delete the repo as it is. Zarr just saves everything as lots of small files to make chunks easy to load, which is why I was preferring that format, but maybne that just doesn't work well for HF datasets. | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
-0.13337665796279907,
0.16917124390602112,
-0.0300632044672966,
0.09354977309703827,
-0.15183016657829285,
0.07442647218704224,
-0.2984040379524231,
-0.09417323768138885,
-0.08768651634454727,
0.15547646582126617,
-0.18407267332077026,
-0.19445136189460754,
0.14732079207897186,
0.4725472033023834,
-0.303749144077301,
-0.39319083094596863,
-0.005084928125143051,
-0.1785402148962021,
0.5827432870864868,
0.3816307485103607,
-0.00011870769230881706,
0.2011726051568985,
0.3711705803871155,
-0.04137904942035675,
-0.2092219889163971,
-0.1555027812719345,
-0.2414226531982422,
-0.28095680475234985,
-0.04618283361196518,
0.10891560465097427,
0.38190338015556335,
-0.25849056243896484,
0.018576569855213165,
-0.4012303054332733,
0.3119853436946869,
0.3165651857852936,
0.05653059482574463,
0.004761684685945511,
-0.000719025731086731,
-0.2311091125011444,
0.3572828471660614,
-0.03119117021560669,
-0.1348472684621811,
-0.057564493268728256,
0.025500092655420303,
0.19465108215808868,
-0.28541693091392517,
0.21301165223121643,
-0.21884486079216003,
0.09535855054855347,
0.26662328839302063,
-0.05070895701646805,
-0.42680495977401733,
-0.03198246657848358,
0.17511290311813354,
0.3958950936794281,
0.9463439583778381,
-0.10778985172510147,
-0.36815643310546875,
-0.037000153213739395,
-0.1416630744934082,
-0.3509467542171478,
0.23888716101646423,
0.60360187292099,
0.10608775913715363,
0.1252228021621704,
-0.36665812134742737,
0.036646634340286255,
-0.2769365906715393,
0.2287324219942093,
-0.28053078055381775,
0.4499381482601166,
-0.05200483277440071,
0.07928746938705444,
0.30918240547180176,
-0.12994636595249176,
0.6826696395874023,
-0.10951872169971466,
-0.0622529573738575,
-0.098155677318573,
-0.4054394066333771,
0.21310511231422424,
-0.050968922674655914,
-0.11253535002470016,
0.4870852828025818,
0.3105390667915344,
-0.03151711821556091,
0.10962021350860596,
-0.1682976931333542,
-0.08650418370962143,
0.23247836530208588,
0.3147867023944855,
-0.3461243510246277,
0.10328856110572815,
0.14266733825206757,
0.10562389343976974,
-0.255789190530777,
-0.14296549558639526,
-0.08944112807512283,
-0.040883928537368774,
-0.28125065565109253,
-0.10944754630327225,
0.30467158555984497,
-0.3293420076370239,
-0.051808882504701614,
0.1893707811832428,
-0.7700589299201965,
-0.16984598338603973,
-0.0743689090013504,
0.3433125615119934,
0.09223923832178116,
0.23937150835990906,
-0.16603609919548035,
0.15355432033538818,
-0.0043020229786634445,
-0.24397848546504974,
0.04068890959024429,
-0.14607404172420502,
-0.2566799223423004,
0.2699205279350281,
-0.11316867172718048,
-0.129240944981575,
-0.04892946779727936,
0.05986078828573227,
0.4044991731643677,
-0.14436045289039612,
0.4734461009502411,
-0.05476071685552597,
0.15054714679718018,
0.4587123990058899,
0.2154918611049652,
0.14479738473892212,
0.1125209629535675,
0.11401733756065369,
0.11600876599550247,
0.06414376199245453,
-0.5008353590965271,
-0.6754109263420105,
-0.20954345166683197,
0.005073049105703831,
-0.03455784544348717,
-0.0692087784409523,
0.27994030714035034,
-0.31138527393341064,
-0.16804239153862,
-0.440553218126297,
-0.13085460662841797,
0.07475213706493378,
-0.19431595504283905,
-0.08094530552625656,
-0.0466812402009964,
0.4341384768486023,
0.010157544165849686,
0.4655013084411621,
-0.3387538492679596,
0.3258253037929535,
0.21599958837032318,
0.385442852973938,
-0.43666866421699524,
0.11905921995639801,
-0.24598653614521027,
-0.1699962019920349,
-0.061017848551273346,
-0.3542778491973877,
-0.49154552817344666,
0.3505573868751526,
0.01136162132024765,
-0.13637803494930267,
0.015387967228889465,
-0.10257768630981445,
0.13425959646701813,
0.11216887831687927,
0.209039106965065,
-0.010611992329359055,
-0.14410945773124695,
0.16037477552890778,
-0.33390292525291443,
-0.32146868109703064,
-0.16095854341983795,
0.26815736293792725,
0.13806119561195374,
0.013228580355644226,
0.2260376513004303,
-0.08400993049144745,
0.1535705327987671,
-0.19504034519195557,
-0.30865752696990967,
0.18935281038284302,
0.006089989095926285,
-0.04496742784976959,
0.012065915390849113,
0.20881623029708862,
-0.28577592968940735,
0.09315503388643265,
-0.4490283727645874,
0.2647961378097534,
0.2011948525905609,
0.12529531121253967,
-0.3098521828651428,
0.19228002429008484,
-0.0508061908185482,
-0.07748919725418091,
-0.00871216505765915,
0.22368578612804413,
-0.2901361584663391,
-0.10027316212654114,
-0.09995979815721512,
0.47255274653434753,
0.21692781150341034,
0.011342190206050873,
-0.25961849093437195,
0.2975619435310364,
-0.08678663522005081,
0.103201724588871,
0.1341410130262375,
-0.06678418070077896,
0.18086257576942444,
-0.0030179263558238745,
-0.40090975165367126,
0.20101946592330933,
0.17203132808208466,
-0.000875331461429596,
0.318606972694397,
0.3717554211616516,
0.13639682531356812,
-0.14781877398490906,
0.1456035077571869,
0.18375110626220703,
0.040722690522670746,
0.2259516417980194,
-0.1382213830947876,
0.2717614769935608,
-0.1824481338262558,
0.11955580115318298,
-0.21391822397708893,
0.38133516907691956,
0.1200454831123352,
-0.04518921300768852,
-0.1890975832939148,
-0.12034955620765686,
0.3008344769477844,
0.1318986415863037,
0.44352853298187256,
0.1602235585451126,
-0.2849338948726654,
-0.17770323157310486,
-0.03735433891415596,
-0.06786143779754639,
0.05084965005517006,
0.08765877783298492,
-0.24965032935142517,
-0.006574543192982674,
0.20169173181056976,
0.4746968448162079,
0.3439956307411194,
0.1430421769618988,
-0.5446863770484924,
0.15647897124290466,
-0.24231022596359253,
-0.06531612575054169,
0.04198919236660004,
0.40425580739974976,
0.7995312213897705,
0.340751051902771,
0.23757454752922058,
0.14343847334384918,
-0.17697373032569885,
-0.5317542552947998,
-0.03213709965348244,
0.13903836905956268,
-0.3055349886417389,
0.14235690236091614,
-0.1652136743068695,
-0.07996496558189392,
-0.09505361318588257,
0.24596631526947021,
-0.3469238579273224,
-0.32391849160194397,
-0.2535281181335449,
-0.09511002898216248,
-0.3008136749267578,
0.04986196756362915,
-0.21835419535636902,
0.12950864434242249,
-0.13311953842639923,
0.16294294595718384,
0.09982535243034363,
-0.25978589057922363,
-0.027143113315105438,
-0.12382294237613678,
0.47079116106033325,
-0.41979601979255676,
0.05416953191161156,
-0.02642601542174816,
0.3818323016166687,
-0.4889298677444458,
-0.03515556827187538,
0.3380056917667389,
0.2338465452194214,
0.009470190852880478,
0.022998638451099396,
0.12433911859989166,
-0.23942163586616516,
0.13935868442058563,
0.19373036921024323,
0.09273538738489151,
0.11570718884468079,
0.08882808685302734,
-0.2749524414539337,
0.030249591916799545,
0.2273087501525879,
-0.1381053328514099,
-0.26007339358329773,
-0.5794451832771301,
-0.2574005126953125,
-0.10947877168655396,
0.01249312236905098,
0.33922985196113586,
0.05749570205807686,
0.01962214708328247,
-0.300595223903656,
-0.3893893361091614,
-0.1530473232269287,
-0.37252944707870483,
0.3347471356391907,
-0.24033577740192413,
-0.3761212229728699,
-0.06698381900787354,
-0.005369627848267555,
-0.10827453434467316,
0.32529693841934204,
-0.25862646102905273,
0.1385422796010971,
-0.10277454555034637,
-0.3008289337158203,
-0.34874847531318665,
-0.21464261412620544,
0.3086971640586853,
-0.006660441402345896,
0.023515520617365837,
-0.14215147495269775,
-0.15363295376300812,
-0.03264612704515457,
0.10095427930355072,
0.07987044006586075,
-0.23184946179389954,
0.17327624559402466,
-0.013606429100036621,
0.4899490475654602,
0.018336612731218338,
0.04101228341460228,
0.353010356426239,
-0.07542814314365387,
0.20363111793994904,
-0.08832968026399612,
-0.09872827678918839,
-0.08107627183198929,
-0.23653924465179443,
-0.46263957023620605,
0.2611178159713745,
0.01635001227259636,
-0.2330009490251541,
-0.2622841000556946,
-0.010360481217503548,
-0.13290978968143463,
-0.13020189106464386,
0.21755674481391907,
-0.023443542420864105,
0.27979400753974915,
0.41845476627349854,
0.12604489922523499,
-0.16765724122524261,
-0.28944912552833557,
-0.04021693766117096,
-0.17844028770923615,
0.1376597285270691,
0.08506549149751663,
-0.47552400827407837,
-0.14188311994075775,
0.015350297093391418,
0.5629478693008423,
0.2790478765964508,
0.26644864678382874,
0.056290920823812485,
0.12166062742471695,
0.012423738837242126,
-0.014271970838308334,
0.27897557616233826,
-0.33230429887771606,
-0.29478639364242554,
0.30651968717575073,
0.05007494240999222,
-0.3117161989212036,
-0.20103144645690918,
-0.11298280954360962,
0.15084590017795563,
-0.30564671754837036,
0.28597939014434814,
0.05164923518896103,
-0.15081527829170227,
-0.003546951338648796,
0.21054475009441376,
0.00455021858215332,
-0.14608100056648254,
-0.2058085799217224,
-0.29200753569602966,
-0.3549550771713257,
-0.2170695960521698,
-0.2375379502773285,
0.17295338213443756,
0.029973872005939484,
0.07834161818027496,
-0.10482935607433319,
0.14456385374069214,
0.15818282961845398,
-0.08657476305961609,
0.6396427750587463,
0.14194625616073608,
0.08379895985126495,
0.14218607544898987,
0.4292033314704895,
0.24928702414035797,
0.5170942544937134,
0.17432712018489838,
-0.060539424419403076,
0.22627729177474976,
-0.12071244418621063,
-0.06486537307500839,
0.2901926040649414,
0.08663759380578995,
-0.5511314272880554,
0.11018853634595871,
0.1306854635477066,
0.023875268176198006,
0.11949440836906433,
0.0031266408041119576,
-0.12186983227729797,
-0.5185556411743164,
-0.01572038047015667,
0.5977813005447388,
0.11771629750728607,
-0.14924326539039612,
0.4217754006385803,
0.048467278480529785,
0.11307553946971893,
0.4315870404243469,
0.3920227587223053,
0.8132179379463196,
-0.37276768684387207,
0.3099876344203949,
0.359985888004303,
-0.10061132907867432,
0.3033595085144043,
-0.5267518162727356,
0.22201064229011536,
-0.46718233823776245,
-0.3839357793331146,
-0.15277644991874695,
-0.3235844075679779,
0.06026136875152588,
0.10888122022151947,
0.09874653816223145,
-0.032168250530958176,
0.04090140014886856,
0.30753040313720703,
0.2957502603530884,
0.2937299609184265,
-0.19664770364761353,
-0.30305036902427673,
-0.3169528841972351,
0.0018364060670137405,
-0.15710735321044922,
0.011663982644677162,
-0.19333556294441223,
-0.2457238882780075,
-0.30245810747146606,
0.12316717207431793,
-0.18377424776554108,
0.19531649351119995,
-0.22932153940200806,
0.23783381283283234,
0.05397321283817291,
-0.005999423563480377,
-0.023047396913170815,
0.3239498436450958,
0.03724440187215805,
-0.12809360027313232,
-0.32609015703201294,
0.19200605154037476,
-0.11834799498319626,
-0.12368501722812653,
0.11635393649339676,
-0.03248888626694679,
0.36158493161201477,
-0.10751385986804962,
0.025383763015270233,
0.177484393119812,
-0.08640271425247192,
-0.042472537606954575,
-0.3627001643180847,
0.19794172048568726,
0.08597875386476517,
-0.4183754622936249,
-0.12712547183036804,
-0.14720335602760315,
0.06304067373275757,
0.021534588187932968,
-0.018949739634990692,
0.07464110106229782,
0.3671874701976776,
0.1284414827823639,
0.18524570763111115,
-0.5114939212799072,
-0.04153409227728844,
0.17107370495796204,
0.022933203727006912,
0.26992157101631165,
0.08295471966266632,
0.1748908907175064,
0.05975756794214249,
-0.007610540837049484,
0.6210010051727295,
-0.031495600938797,
-0.5102534890174866,
0.140061154961586,
-0.3123990297317505,
-0.15266850590705872,
-0.1207195594906807,
0.28155651688575745,
0.20051422715187073,
-0.29859328269958496,
0.23387153446674347,
-0.4860271215438843,
-0.1580057144165039,
0.4720728397369385,
-0.12652114033699036,
-0.030057866126298904,
0.16565555334091187,
0.15403898060321808,
-0.0821898877620697,
-0.4261889159679413,
-0.1269555389881134,
-0.035542361438274384,
-0.0736413300037384,
-0.1407361924648285,
-0.1501263529062271,
-0.17970910668373108,
0.34748655557632446,
-0.03273215889930725,
-0.09621448069810867,
0.19894163310527802,
-0.36201974749565125,
-0.025679051876068115,
-0.04088932275772095,
0.24693667888641357,
0.10832983255386353,
-0.3801209032535553,
0.17737063765525818,
-0.2720492482185364,
-0.22831198573112488,
-0.13314487040042877,
-0.08321403712034225,
0.13488033413887024,
-0.029350899159908295,
-0.3988731801509857,
-0.3249548375606537,
-0.17111828923225403,
-0.5501367449760437,
0.21144206821918488,
0.2953190803527832,
0.22358591854572296,
0.05215675011277199,
0.21508340537548065,
0.08712208271026611,
-0.16038966178894043,
-0.42012134194374084,
0.04883330315351486,
0.1763526201248169,
0.10182280838489532,
0.5127034187316895,
-0.5270681977272034,
0.17426437139511108,
0.4486145079135895,
0.3451085388660431,
0.03360333666205406,
-0.2696174681186676,
-0.08493693917989731,
-0.1800716519355774,
0.009585742838680744,
-0.1603621393442154,
-0.1103888675570488,
0.04328762739896774,
0.07933973520994186,
-0.18191036581993103,
0.0932895690202713,
0.4428086578845978,
-0.1137864962220192,
-0.23941199481487274,
0.07829947769641876,
0.47776171565055847,
0.09387495368719101,
0.17496258020401,
0.27296754717826843,
-0.1434319019317627,
0.15309420228004456,
-0.01532570831477642,
0.030559347942471504,
0.20852354168891907,
0.5171518325805664,
0.15487292408943176,
0.2331361025571823,
0.10916690528392792,
0.1705237776041031,
-0.04394475370645523,
-0.6614458560943604,
0.23714974522590637,
0.42333123087882996,
0.19511264562606812,
-0.022374257445335388,
-0.11655117571353912,
0.016338564455509186,
0.07874434441328049,
-0.06220405176281929,
-0.2638103663921356,
0.13356906175613403,
0.1478729546070099,
0.05885196849703789,
-0.014317607507109642,
-0.19765986502170563,
0.042000122368335724,
0.3851832449436188,
-0.0647558718919754,
0.24312004446983337,
0.12139949947595596,
0.21629934012889862,
0.034387968480587006,
-0.1891794353723526,
0.2976471185684204,
0.4485316276550293,
0.031217705458402634,
-0.39818182587623596,
0.1707991361618042,
0.13894662261009216,
-0.2967089116573334,
0.18596060574054718,
0.031335361301898956,
0.532224714756012,
0.14473354816436768,
-0.3054318130016327,
0.08463682234287262,
-0.23285765945911407,
0.168081596493721,
0.2225363850593567,
-0.15591876208782196,
0.2153174877166748,
0.06523437798023224,
0.5209811925888062,
-0.04136677086353302,
-0.03366588428616524,
0.03317340090870857,
-0.14687208831310272,
0.3198468089103699,
0.03341438248753548,
-0.1648710072040558,
0.1090421974658966,
-0.03229118138551712,
0.10549195855855942,
0.07124500721693039,
-0.11649974435567856,
0.10530896484851837,
0.2834138870239258,
0.028125647455453873,
0.05623387545347214,
-0.05539760738611221,
-0.01860019378364086,
-0.059559162706136703,
0.3683058023452759,
0.14192162454128265,
0.33386003971099854,
-0.12062182277441025,
-0.13456325232982635,
-0.5409656763076782,
0.29231128096580505,
-0.2239699363708496,
0.08097337931394577,
0.24222995340824127,
-0.09028296172618866,
0.3014988303184509,
0.23281900584697723,
0.27969348430633545,
0.25688186287879944,
-0.04418567568063736,
0.06669735163450241,
-0.23338572680950165,
-0.049606774002313614,
-0.06244693696498871,
0.08154296875,
-0.17736582458019257,
-0.2844250798225403,
0.2202054262161255,
-0.26283884048461914,
0.008486032485961914,
-0.03017597645521164,
-0.13144364953041077,
-0.20669478178024292,
-0.34778541326522827,
0.27167898416519165,
0.08159972727298737,
0.336816668510437,
0.040112510323524475,
-0.1988706886768341,
-0.3163682818412781,
-0.20644690096378326,
0.08828458189964294,
-0.08462976664304733,
0.31212761998176575,
0.47627124190330505,
-0.1441267728805542,
0.3246957063674927,
-0.38887399435043335,
0.28048285841941833,
0.004888866096735001,
0.33774706721305847,
-0.28583455085754395,
0.19422973692417145,
-0.2582116723060608,
-0.01693311333656311,
0.26141539216041565,
0.3332204520702362,
0.16971080005168915,
0.16799122095108032,
-0.06774204224348068,
-0.3816128671169281,
0.5351583361625671,
-0.1083739772439003,
-0.03181891888380051,
0.2700538635253906,
0.09359674155712128,
0.03164874389767647,
-0.0005795340985059738,
-0.22130918502807617,
0.14249324798583984,
0.051943086087703705,
0.09776875376701355,
-0.15601029992103577,
-0.2733044922351837,
0.29760146141052246,
-0.25855934619903564,
-0.08088350296020508,
0.31453415751457214,
0.06256496906280518,
-0.3507770895957947,
-0.057155393064022064,
0.3165154457092285
] |
https://github.com/huggingface/datasets/issues/3823 | 500 internal server error when trying to open a dataset composed of Zarr stores | Hi @jacobbieker,
For future use cases, our Hub team is still pondering whether to limit the maximum number of files per repo to avoid technical issues...
On the meantime, they have made a fix and your dataset is working: https://huggingface.co/datasets/openclimatefix/mrms | ## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
| 40 | 500 internal server error when trying to open a dataset composed of Zarr stores
## Describe the bug
The dataset [openclimatefix/mrms](https://huggingface.co/datasets/openclimatefix/mrms) gives a 500 server error when trying to open it on the website, or through code.
The dataset doesn't have a loading script yet, and I did push two [xarray](https://docs.xarray.dev/en/stable/) Zarr stores of data there recentlyish. The Zarr stores are composed of lots of small files, which I am guessing is probably the problem, as we have another [OCF dataset](https://huggingface.co/datasets/openclimatefix/eumetsat_uk_hrv) using xarray and Zarr, but with the Zarr stored on GCP public datasets instead of directly in HF datasets, and that one opens fine.
In general, we were hoping to use HF datasets to release some more public geospatial datasets as benchmarks, which are commonly stored as Zarr stores as they can be compressed well and deal with the multi-dimensional data and coordinates fairly easily compared to other formats, but with this error, I'm assuming we should try a different format?
For context, we are trying to have complete public model+data reimplementations of some SOTA weather and solar nowcasting models, like [MetNet, MetNet-2,](https://github.com/openclimatefix/metnet) [DGMR](https://github.com/openclimatefix/skillful_nowcasting), and [others](https://github.com/openclimatefix/graph_weather), which all have large, complex datasets.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("openclimatefix/mrms")
```
## Expected results
The dataset should be downloaded or open up
## Actual results
A 500 internal server error
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.15.25-1-MANJARO-x86_64-with-glibc2.35
- Python version: 3.9.10
- PyArrow version: 7.0.0
Hi @jacobbieker,
For future use cases, our Hub team is still pondering whether to limit the maximum number of files per repo to avoid technical issues...
On the meantime, they have made a fix and your dataset is working: https://huggingface.co/datasets/openclimatefix/mrms | [
-0.3984357416629791,
0.10997399687767029,
0.07565905153751373,
0.2678702473640442,
0.3084733486175537,
-0.03786580264568329,
0.3065187633037567,
0.18530090153217316,
0.18796823918819427,
0.18372386693954468,
-0.3976971507072449,
0.2528078854084015,
0.06052853912115097,
0.3931148052215576,
-0.13337665796279907,
0.16917124390602112,
-0.0300632044672966,
0.09354977309703827,
-0.15183016657829285,
0.07442647218704224,
-0.2984040379524231,
-0.09417323768138885,
-0.08768651634454727,
0.15547646582126617,
-0.18407267332077026,
-0.19445136189460754,
0.14732079207897186,
0.4725472033023834,
-0.303749144077301,
-0.39319083094596863,
-0.005084928125143051,
-0.1785402148962021,
0.5827432870864868,
0.3816307485103607,
-0.00011870769230881706,
0.2011726051568985,
0.3711705803871155,
-0.04137904942035675,
-0.2092219889163971,
-0.1555027812719345,
-0.2414226531982422,
-0.28095680475234985,
-0.04618283361196518,
0.10891560465097427,
0.38190338015556335,
-0.25849056243896484,
0.018576569855213165,
-0.4012303054332733,
0.3119853436946869,
0.3165651857852936,
0.05653059482574463,
0.004761684685945511,
-0.000719025731086731,
-0.2311091125011444,
0.3572828471660614,
-0.03119117021560669,
-0.1348472684621811,
-0.057564493268728256,
0.025500092655420303,
0.19465108215808868,
-0.28541693091392517,
0.21301165223121643,
-0.21884486079216003,
0.09535855054855347,
0.26662328839302063,
-0.05070895701646805,
-0.42680495977401733,
-0.03198246657848358,
0.17511290311813354,
0.3958950936794281,
0.9463439583778381,
-0.10778985172510147,
-0.36815643310546875,
-0.037000153213739395,
-0.1416630744934082,
-0.3509467542171478,
0.23888716101646423,
0.60360187292099,
0.10608775913715363,
0.1252228021621704,
-0.36665812134742737,
0.036646634340286255,
-0.2769365906715393,
0.2287324219942093,
-0.28053078055381775,
0.4499381482601166,
-0.05200483277440071,
0.07928746938705444,
0.30918240547180176,
-0.12994636595249176,
0.6826696395874023,
-0.10951872169971466,
-0.0622529573738575,
-0.098155677318573,
-0.4054394066333771,
0.21310511231422424,
-0.050968922674655914,
-0.11253535002470016,
0.4870852828025818,
0.3105390667915344,
-0.03151711821556091,
0.10962021350860596,
-0.1682976931333542,
-0.08650418370962143,
0.23247836530208588,
0.3147867023944855,
-0.3461243510246277,
0.10328856110572815,
0.14266733825206757,
0.10562389343976974,
-0.255789190530777,
-0.14296549558639526,
-0.08944112807512283,
-0.040883928537368774,
-0.28125065565109253,
-0.10944754630327225,
0.30467158555984497,
-0.3293420076370239,
-0.051808882504701614,
0.1893707811832428,
-0.7700589299201965,
-0.16984598338603973,
-0.0743689090013504,
0.3433125615119934,
0.09223923832178116,
0.23937150835990906,
-0.16603609919548035,
0.15355432033538818,
-0.0043020229786634445,
-0.24397848546504974,
0.04068890959024429,
-0.14607404172420502,
-0.2566799223423004,
0.2699205279350281,
-0.11316867172718048,
-0.129240944981575,
-0.04892946779727936,
0.05986078828573227,
0.4044991731643677,
-0.14436045289039612,
0.4734461009502411,
-0.05476071685552597,
0.15054714679718018,
0.4587123990058899,
0.2154918611049652,
0.14479738473892212,
0.1125209629535675,
0.11401733756065369,
0.11600876599550247,
0.06414376199245453,
-0.5008353590965271,
-0.6754109263420105,
-0.20954345166683197,
0.005073049105703831,
-0.03455784544348717,
-0.0692087784409523,
0.27994030714035034,
-0.31138527393341064,
-0.16804239153862,
-0.440553218126297,
-0.13085460662841797,
0.07475213706493378,
-0.19431595504283905,
-0.08094530552625656,
-0.0466812402009964,
0.4341384768486023,
0.010157544165849686,
0.4655013084411621,
-0.3387538492679596,
0.3258253037929535,
0.21599958837032318,
0.385442852973938,
-0.43666866421699524,
0.11905921995639801,
-0.24598653614521027,
-0.1699962019920349,
-0.061017848551273346,
-0.3542778491973877,
-0.49154552817344666,
0.3505573868751526,
0.01136162132024765,
-0.13637803494930267,
0.015387967228889465,
-0.10257768630981445,
0.13425959646701813,
0.11216887831687927,
0.209039106965065,
-0.010611992329359055,
-0.14410945773124695,
0.16037477552890778,
-0.33390292525291443,
-0.32146868109703064,
-0.16095854341983795,
0.26815736293792725,
0.13806119561195374,
0.013228580355644226,
0.2260376513004303,
-0.08400993049144745,
0.1535705327987671,
-0.19504034519195557,
-0.30865752696990967,
0.18935281038284302,
0.006089989095926285,
-0.04496742784976959,
0.012065915390849113,
0.20881623029708862,
-0.28577592968940735,
0.09315503388643265,
-0.4490283727645874,
0.2647961378097534,
0.2011948525905609,
0.12529531121253967,
-0.3098521828651428,
0.19228002429008484,
-0.0508061908185482,
-0.07748919725418091,
-0.00871216505765915,
0.22368578612804413,
-0.2901361584663391,
-0.10027316212654114,
-0.09995979815721512,
0.47255274653434753,
0.21692781150341034,
0.011342190206050873,
-0.25961849093437195,
0.2975619435310364,
-0.08678663522005081,
0.103201724588871,
0.1341410130262375,
-0.06678418070077896,
0.18086257576942444,
-0.0030179263558238745,
-0.40090975165367126,
0.20101946592330933,
0.17203132808208466,
-0.000875331461429596,
0.318606972694397,
0.3717554211616516,
0.13639682531356812,
-0.14781877398490906,
0.1456035077571869,
0.18375110626220703,
0.040722690522670746,
0.2259516417980194,
-0.1382213830947876,
0.2717614769935608,
-0.1824481338262558,
0.11955580115318298,
-0.21391822397708893,
0.38133516907691956,
0.1200454831123352,
-0.04518921300768852,
-0.1890975832939148,
-0.12034955620765686,
0.3008344769477844,
0.1318986415863037,
0.44352853298187256,
0.1602235585451126,
-0.2849338948726654,
-0.17770323157310486,
-0.03735433891415596,
-0.06786143779754639,
0.05084965005517006,
0.08765877783298492,
-0.24965032935142517,
-0.006574543192982674,
0.20169173181056976,
0.4746968448162079,
0.3439956307411194,
0.1430421769618988,
-0.5446863770484924,
0.15647897124290466,
-0.24231022596359253,
-0.06531612575054169,
0.04198919236660004,
0.40425580739974976,
0.7995312213897705,
0.340751051902771,
0.23757454752922058,
0.14343847334384918,
-0.17697373032569885,
-0.5317542552947998,
-0.03213709965348244,
0.13903836905956268,
-0.3055349886417389,
0.14235690236091614,
-0.1652136743068695,
-0.07996496558189392,
-0.09505361318588257,
0.24596631526947021,
-0.3469238579273224,
-0.32391849160194397,
-0.2535281181335449,
-0.09511002898216248,
-0.3008136749267578,
0.04986196756362915,
-0.21835419535636902,
0.12950864434242249,
-0.13311953842639923,
0.16294294595718384,
0.09982535243034363,
-0.25978589057922363,
-0.027143113315105438,
-0.12382294237613678,
0.47079116106033325,
-0.41979601979255676,
0.05416953191161156,
-0.02642601542174816,
0.3818323016166687,
-0.4889298677444458,
-0.03515556827187538,
0.3380056917667389,
0.2338465452194214,
0.009470190852880478,
0.022998638451099396,
0.12433911859989166,
-0.23942163586616516,
0.13935868442058563,
0.19373036921024323,
0.09273538738489151,
0.11570718884468079,
0.08882808685302734,
-0.2749524414539337,
0.030249591916799545,
0.2273087501525879,
-0.1381053328514099,
-0.26007339358329773,
-0.5794451832771301,
-0.2574005126953125,
-0.10947877168655396,
0.01249312236905098,
0.33922985196113586,
0.05749570205807686,
0.01962214708328247,
-0.300595223903656,
-0.3893893361091614,
-0.1530473232269287,
-0.37252944707870483,
0.3347471356391907,
-0.24033577740192413,
-0.3761212229728699,
-0.06698381900787354,
-0.005369627848267555,
-0.10827453434467316,
0.32529693841934204,
-0.25862646102905273,
0.1385422796010971,
-0.10277454555034637,
-0.3008289337158203,
-0.34874847531318665,
-0.21464261412620544,
0.3086971640586853,
-0.006660441402345896,
0.023515520617365837,
-0.14215147495269775,
-0.15363295376300812,
-0.03264612704515457,
0.10095427930355072,
0.07987044006586075,
-0.23184946179389954,
0.17327624559402466,
-0.013606429100036621,
0.4899490475654602,
0.018336612731218338,
0.04101228341460228,
0.353010356426239,
-0.07542814314365387,
0.20363111793994904,
-0.08832968026399612,
-0.09872827678918839,
-0.08107627183198929,
-0.23653924465179443,
-0.46263957023620605,
0.2611178159713745,
0.01635001227259636,
-0.2330009490251541,
-0.2622841000556946,
-0.010360481217503548,
-0.13290978968143463,
-0.13020189106464386,
0.21755674481391907,
-0.023443542420864105,
0.27979400753974915,
0.41845476627349854,
0.12604489922523499,
-0.16765724122524261,
-0.28944912552833557,
-0.04021693766117096,
-0.17844028770923615,
0.1376597285270691,
0.08506549149751663,
-0.47552400827407837,
-0.14188311994075775,
0.015350297093391418,
0.5629478693008423,
0.2790478765964508,
0.26644864678382874,
0.056290920823812485,
0.12166062742471695,
0.012423738837242126,
-0.014271970838308334,
0.27897557616233826,
-0.33230429887771606,
-0.29478639364242554,
0.30651968717575073,
0.05007494240999222,
-0.3117161989212036,
-0.20103144645690918,
-0.11298280954360962,
0.15084590017795563,
-0.30564671754837036,
0.28597939014434814,
0.05164923518896103,
-0.15081527829170227,
-0.003546951338648796,
0.21054475009441376,
0.00455021858215332,
-0.14608100056648254,
-0.2058085799217224,
-0.29200753569602966,
-0.3549550771713257,
-0.2170695960521698,
-0.2375379502773285,
0.17295338213443756,
0.029973872005939484,
0.07834161818027496,
-0.10482935607433319,
0.14456385374069214,
0.15818282961845398,
-0.08657476305961609,
0.6396427750587463,
0.14194625616073608,
0.08379895985126495,
0.14218607544898987,
0.4292033314704895,
0.24928702414035797,
0.5170942544937134,
0.17432712018489838,
-0.060539424419403076,
0.22627729177474976,
-0.12071244418621063,
-0.06486537307500839,
0.2901926040649414,
0.08663759380578995,
-0.5511314272880554,
0.11018853634595871,
0.1306854635477066,
0.023875268176198006,
0.11949440836906433,
0.0031266408041119576,
-0.12186983227729797,
-0.5185556411743164,
-0.01572038047015667,
0.5977813005447388,
0.11771629750728607,
-0.14924326539039612,
0.4217754006385803,
0.048467278480529785,
0.11307553946971893,
0.4315870404243469,
0.3920227587223053,
0.8132179379463196,
-0.37276768684387207,
0.3099876344203949,
0.359985888004303,
-0.10061132907867432,
0.3033595085144043,
-0.5267518162727356,
0.22201064229011536,
-0.46718233823776245,
-0.3839357793331146,
-0.15277644991874695,
-0.3235844075679779,
0.06026136875152588,
0.10888122022151947,
0.09874653816223145,
-0.032168250530958176,
0.04090140014886856,
0.30753040313720703,
0.2957502603530884,
0.2937299609184265,
-0.19664770364761353,
-0.30305036902427673,
-0.3169528841972351,
0.0018364060670137405,
-0.15710735321044922,
0.011663982644677162,
-0.19333556294441223,
-0.2457238882780075,
-0.30245810747146606,
0.12316717207431793,
-0.18377424776554108,
0.19531649351119995,
-0.22932153940200806,
0.23783381283283234,
0.05397321283817291,
-0.005999423563480377,
-0.023047396913170815,
0.3239498436450958,
0.03724440187215805,
-0.12809360027313232,
-0.32609015703201294,
0.19200605154037476,
-0.11834799498319626,
-0.12368501722812653,
0.11635393649339676,
-0.03248888626694679,
0.36158493161201477,
-0.10751385986804962,
0.025383763015270233,
0.177484393119812,
-0.08640271425247192,
-0.042472537606954575,
-0.3627001643180847,
0.19794172048568726,
0.08597875386476517,
-0.4183754622936249,
-0.12712547183036804,
-0.14720335602760315,
0.06304067373275757,
0.021534588187932968,
-0.018949739634990692,
0.07464110106229782,
0.3671874701976776,
0.1284414827823639,
0.18524570763111115,
-0.5114939212799072,
-0.04153409227728844,
0.17107370495796204,
0.022933203727006912,
0.26992157101631165,
0.08295471966266632,
0.1748908907175064,
0.05975756794214249,
-0.007610540837049484,
0.6210010051727295,
-0.031495600938797,
-0.5102534890174866,
0.140061154961586,
-0.3123990297317505,
-0.15266850590705872,
-0.1207195594906807,
0.28155651688575745,
0.20051422715187073,
-0.29859328269958496,
0.23387153446674347,
-0.4860271215438843,
-0.1580057144165039,
0.4720728397369385,
-0.12652114033699036,
-0.030057866126298904,
0.16565555334091187,
0.15403898060321808,
-0.0821898877620697,
-0.4261889159679413,
-0.1269555389881134,
-0.035542361438274384,
-0.0736413300037384,
-0.1407361924648285,
-0.1501263529062271,
-0.17970910668373108,
0.34748655557632446,
-0.03273215889930725,
-0.09621448069810867,
0.19894163310527802,
-0.36201974749565125,
-0.025679051876068115,
-0.04088932275772095,
0.24693667888641357,
0.10832983255386353,
-0.3801209032535553,
0.17737063765525818,
-0.2720492482185364,
-0.22831198573112488,
-0.13314487040042877,
-0.08321403712034225,
0.13488033413887024,
-0.029350899159908295,
-0.3988731801509857,
-0.3249548375606537,
-0.17111828923225403,
-0.5501367449760437,
0.21144206821918488,
0.2953190803527832,
0.22358591854572296,
0.05215675011277199,
0.21508340537548065,
0.08712208271026611,
-0.16038966178894043,
-0.42012134194374084,
0.04883330315351486,
0.1763526201248169,
0.10182280838489532,
0.5127034187316895,
-0.5270681977272034,
0.17426437139511108,
0.4486145079135895,
0.3451085388660431,
0.03360333666205406,
-0.2696174681186676,
-0.08493693917989731,
-0.1800716519355774,
0.009585742838680744,
-0.1603621393442154,
-0.1103888675570488,
0.04328762739896774,
0.07933973520994186,
-0.18191036581993103,
0.0932895690202713,
0.4428086578845978,
-0.1137864962220192,
-0.23941199481487274,
0.07829947769641876,
0.47776171565055847,
0.09387495368719101,
0.17496258020401,
0.27296754717826843,
-0.1434319019317627,
0.15309420228004456,
-0.01532570831477642,
0.030559347942471504,
0.20852354168891907,
0.5171518325805664,
0.15487292408943176,
0.2331361025571823,
0.10916690528392792,
0.1705237776041031,
-0.04394475370645523,
-0.6614458560943604,
0.23714974522590637,
0.42333123087882996,
0.19511264562606812,
-0.022374257445335388,
-0.11655117571353912,
0.016338564455509186,
0.07874434441328049,
-0.06220405176281929,
-0.2638103663921356,
0.13356906175613403,
0.1478729546070099,
0.05885196849703789,
-0.014317607507109642,
-0.19765986502170563,
0.042000122368335724,
0.3851832449436188,
-0.0647558718919754,
0.24312004446983337,
0.12139949947595596,
0.21629934012889862,
0.034387968480587006,
-0.1891794353723526,
0.2976471185684204,
0.4485316276550293,
0.031217705458402634,
-0.39818182587623596,
0.1707991361618042,
0.13894662261009216,
-0.2967089116573334,
0.18596060574054718,
0.031335361301898956,
0.532224714756012,
0.14473354816436768,
-0.3054318130016327,
0.08463682234287262,
-0.23285765945911407,
0.168081596493721,
0.2225363850593567,
-0.15591876208782196,
0.2153174877166748,
0.06523437798023224,
0.5209811925888062,
-0.04136677086353302,
-0.03366588428616524,
0.03317340090870857,
-0.14687208831310272,
0.3198468089103699,
0.03341438248753548,
-0.1648710072040558,
0.1090421974658966,
-0.03229118138551712,
0.10549195855855942,
0.07124500721693039,
-0.11649974435567856,
0.10530896484851837,
0.2834138870239258,
0.028125647455453873,
0.05623387545347214,
-0.05539760738611221,
-0.01860019378364086,
-0.059559162706136703,
0.3683058023452759,
0.14192162454128265,
0.33386003971099854,
-0.12062182277441025,
-0.13456325232982635,
-0.5409656763076782,
0.29231128096580505,
-0.2239699363708496,
0.08097337931394577,
0.24222995340824127,
-0.09028296172618866,
0.3014988303184509,
0.23281900584697723,
0.27969348430633545,
0.25688186287879944,
-0.04418567568063736,
0.06669735163450241,
-0.23338572680950165,
-0.049606774002313614,
-0.06244693696498871,
0.08154296875,
-0.17736582458019257,
-0.2844250798225403,
0.2202054262161255,
-0.26283884048461914,
0.008486032485961914,
-0.03017597645521164,
-0.13144364953041077,
-0.20669478178024292,
-0.34778541326522827,
0.27167898416519165,
0.08159972727298737,
0.336816668510437,
0.040112510323524475,
-0.1988706886768341,
-0.3163682818412781,
-0.20644690096378326,
0.08828458189964294,
-0.08462976664304733,
0.31212761998176575,
0.47627124190330505,
-0.1441267728805542,
0.3246957063674927,
-0.38887399435043335,
0.28048285841941833,
0.004888866096735001,
0.33774706721305847,
-0.28583455085754395,
0.19422973692417145,
-0.2582116723060608,
-0.01693311333656311,
0.26141539216041565,
0.3332204520702362,
0.16971080005168915,
0.16799122095108032,
-0.06774204224348068,
-0.3816128671169281,
0.5351583361625671,
-0.1083739772439003,
-0.03181891888380051,
0.2700538635253906,
0.09359674155712128,
0.03164874389767647,
-0.0005795340985059738,
-0.22130918502807617,
0.14249324798583984,
0.051943086087703705,
0.09776875376701355,
-0.15601029992103577,
-0.2733044922351837,
0.29760146141052246,
-0.25855934619903564,
-0.08088350296020508,
0.31453415751457214,
0.06256496906280518,
-0.3507770895957947,
-0.057155393064022064,
0.3165154457092285
] |
https://github.com/huggingface/datasets/issues/3822 | Add Biwi Kinect Head Pose Database | Official dataset location : https://icu.ee.ethz.ch/research/datsets.html
In the "Biwi Kinect Head Pose Database" section, I do not find any information regarding "Downloading the dataset." . Do we mail the authors regarding this ?
I found the dataset on Kaggle : [Link](https://www.kaggle.com/kmader/biwi-kinect-head-pose-database) , but since 🤗 does not host any of the datasets, this would require the user to provide their Kaggle username and API key to download.
Any inputs on how we could proceed ? Thank you.
[ Need your inputs here, @lhoestq or @mariosasko ] | ## Adding a Dataset
- **Name:** Biwi Kinect Head Pose Database
- **Description:** Over 15K images of 20 people recorded with a Kinect while turning their heads around freely. For each frame, depth and rgb images are provided, together with ground in the form of the 3D location of the head and its rotation angles.
- **Data:** [*link to the Github repository or current dataset location*](https://icu.ee.ethz.ch/research/datsets.html)
- **Motivation:** Useful pose estimation dataset
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 85 | Add Biwi Kinect Head Pose Database
## Adding a Dataset
- **Name:** Biwi Kinect Head Pose Database
- **Description:** Over 15K images of 20 people recorded with a Kinect while turning their heads around freely. For each frame, depth and rgb images are provided, together with ground in the form of the 3D location of the head and its rotation angles.
- **Data:** [*link to the Github repository or current dataset location*](https://icu.ee.ethz.ch/research/datsets.html)
- **Motivation:** Useful pose estimation dataset
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Official dataset location : https://icu.ee.ethz.ch/research/datsets.html
In the "Biwi Kinect Head Pose Database" section, I do not find any information regarding "Downloading the dataset." . Do we mail the authors regarding this ?
I found the dataset on Kaggle : [Link](https://www.kaggle.com/kmader/biwi-kinect-head-pose-database) , but since 🤗 does not host any of the datasets, this would require the user to provide their Kaggle username and API key to download.
Any inputs on how we could proceed ? Thank you.
[ Need your inputs here, @lhoestq or @mariosasko ] | [
0.09413449466228485,
0.05142126977443695,
-0.03335180506110191,
0.21059121191501617,
-0.3765190839767456,
0.40544700622558594,
0.12584327161312103,
0.1778406947851181,
0.27648061513900757,
0.15597157180309296,
-0.010699332691729069,
-0.17998413741588593,
0.10054203867912292,
0.1961020529270172,
0.11114829778671265,
-0.07730168104171753,
0.05610238015651703,
-0.08387325704097748,
0.26236364245414734,
-0.21032574772834778,
-0.16194848716259003,
0.009264868684113026,
-0.019609462469816208,
-0.26815271377563477,
-0.2831791937351227,
-0.4066942036151886,
-0.2260456085205078,
0.14156857132911682,
-0.336992472410202,
-0.26371827721595764,
0.4439833164215088,
0.11567100882530212,
0.18988732993602753,
0.07422803342342377,
-0.00011926006118301302,
-0.10333685576915741,
0.05271147936582565,
-0.23569390177726746,
-0.011088132858276367,
0.05760641396045685,
-0.5756692886352539,
-0.29892492294311523,
-0.24866099655628204,
-0.3991955816745758,
0.009730566293001175,
0.35804644227027893,
0.14940784871578217,
-0.18273130059242249,
0.007373280823230743,
0.16145484149456024,
0.10239870101213455,
0.11919352412223816,
0.15865065157413483,
-0.29799413681030273,
0.21139469742774963,
0.29695913195610046,
-0.09562528878450394,
-0.030070163309574127,
0.04779013991355896,
0.2333853840827942,
-0.03396783024072647,
0.21893846988677979,
0.009493010118603706,
0.04925626516342163,
0.1390037089586258,
0.20670045912265778,
0.17073136568069458,
-0.5475083589553833,
0.28727713227272034,
0.09330099821090698,
0.669858992099762,
-0.0497613400220871,
-0.24445897340774536,
-0.009235233068466187,
0.3526725172996521,
0.07398200035095215,
0.15387997031211853,
0.5694820284843445,
-0.34327104687690735,
-0.2204059362411499,
-0.3089028298854828,
-0.44451019167900085,
-0.29905277490615845,
0.0922410786151886,
-0.2237788885831833,
0.4176446497440338,
0.09901078790426254,
-0.07528559118509293,
-0.0728210061788559,
0.03594747558236122,
0.2629644274711609,
-0.06600022315979004,
0.058480408042669296,
0.1306062787771225,
-0.09432195127010345,
-0.02696172334253788,
0.03432932123541832,
0.431772917509079,
0.3823193609714508,
0.04658907279372215,
0.18442876636981964,
-0.12225734442472458,
-0.14163117110729218,
-0.014368303120136261,
0.22741520404815674,
-0.2533208429813385,
-0.025541573762893677,
0.050907742232084274,
0.16000719368457794,
0.3557755947113037,
0.3564315438270569,
-0.10785355418920517,
0.004236500710248947,
0.03141311928629875,
-0.35050252079963684,
-0.19933563470840454,
0.22510702908039093,
-0.1601240336894989,
-0.12559537589550018,
-0.10534004867076874,
-0.30259329080581665,
0.013479767367243767,
-0.07293564826250076,
0.2272930145263672,
-0.20519818365573883,
-0.11149898916482925,
0.30866819620132446,
0.00003726780414581299,
0.014774328097701073,
0.12046123296022415,
-0.21840979158878326,
0.18730302155017853,
0.036224473267793655,
-0.004338491708040237,
0.22219286859035492,
-0.42490726709365845,
0.2675151228904724,
-0.19372424483299255,
0.38815009593963623,
0.028963148593902588,
0.01263199932873249,
0.2062349021434784,
0.25002244114875793,
0.3449639678001404,
0.23772940039634705,
0.0854477509856224,
-0.349150151014328,
-0.07238161563873291,
-0.28526002168655396,
0.212708979845047,
-0.30350592732429504,
-0.07907936722040176,
-0.33752572536468506,
0.0435616597533226,
-0.1865537464618683,
-0.22521767020225525,
0.04995322972536087,
0.23230668902397156,
-0.06754498928785324,
-0.08843497931957245,
0.22905609011650085,
0.4585988521575928,
-0.32322070002555847,
-0.3684561550617218,
0.49897095561027527,
0.5692394375801086,
-0.3336060047149658,
-0.07396487146615982,
-0.015178315341472626,
0.2666885554790497,
-0.10253959149122238,
0.16217181086540222,
-0.16194933652877808,
0.31088727712631226,
-0.26911646127700806,
-0.10970429331064224,
0.2958831191062927,
-0.5843708515167236,
-0.2913614511489868,
-0.6096639633178711,
-0.20029468834400177,
-0.18600618839263916,
0.030200034379959106,
0.4294591248035431,
0.05446098744869232,
-0.23385284841060638,
-0.3288492262363434,
0.39622628688812256,
-0.261200487613678,
-0.048890724778175354,
0.1197783499956131,
-0.32652565836906433,
-0.1448606252670288,
0.26977238059043884,
0.0960683673620224,
-0.20632675290107727,
0.4805859625339508,
0.42308884859085083,
0.23694002628326416,
-0.041412945836782455,
0.07136067748069763,
0.20872975885868073,
-0.10766534507274628,
-0.08160723745822906,
-0.1300687938928604,
0.12026850134134293,
-0.4002211093902588,
0.05905056744813919,
-0.016729675233364105,
0.1145133525133133,
-0.30266237258911133,
-0.27084025740623474,
-0.15116018056869507,
0.10351163148880005,
-0.24314568936824799,
-0.034508686512708664,
0.06561686098575592,
0.05074381083250046,
0.3842446208000183,
0.251099169254303,
-0.11984799802303314,
0.1775939017534256,
0.006135908886790276,
-0.058015987277030945,
-0.6463117003440857,
0.33908405900001526,
0.11209305375814438,
0.20718558132648468,
-0.0424407534301281,
0.3018845021724701,
0.08891122788190842,
-0.0721217468380928,
0.2147475779056549,
0.2220047414302826,
-0.002894252073019743,
0.2063736617565155,
0.3781704604625702,
0.2083507776260376,
0.3393723964691162,
-0.3275669813156128,
0.43225106596946716,
-0.23705421388149261,
0.043424274772405624,
-0.19031187891960144,
-0.3089827299118042,
0.16737762093544006,
-0.30716216564178467,
-0.009622171521186829,
-0.2100958675146103,
0.18047365546226501,
0.020882250741124153,
0.11143851280212402,
0.06050969660282135,
-0.1304573118686676,
-0.07735885679721832,
0.1498488336801529,
-0.037227924913167953,
-0.15360255539417267,
-0.29078298807144165,
-0.009486764669418335,
0.4822547733783722,
0.049012441188097,
0.2125629186630249,
-0.14431428909301758,
-0.13358783721923828,
-0.05650434270501137,
0.16774137318134308,
0.0841449648141861,
0.02239503711462021,
0.0121221374720335,
0.20239321887493134,
-0.12677666544914246,
0.2541953921318054,
-0.11438050121068954,
0.07490307092666626,
0.1586565524339676,
-0.022327762097120285,
-0.07215272635221481,
0.058078832924366,
-0.010735814459621906,
0.006729844957590103,
0.04939922317862511,
0.0365414097905159,
-0.1599123328924179,
-0.08062443137168884,
-0.3222392499446869,
0.11785164475440979,
-0.14963680505752563,
-0.12939034402370453,
-0.26931366324424744,
-0.25743043422698975,
-0.14934055507183075,
0.11097575724124908,
-0.05161885544657707,
0.18775638937950134,
0.055417805910110474,
-0.07442955672740936,
0.6403456330299377,
-0.09597010910511017,
-0.3285408020019531,
-0.028215600177645683,
-0.07711253315210342,
0.07924661040306091,
0.08459100127220154,
0.03779572993516922,
0.061002541333436966,
0.42884355783462524,
-0.4109116792678833,
0.5638787746429443,
-0.5343512296676636,
-0.4746139943599701,
-0.0950312465429306,
0.13910284638404846,
-0.057164184749126434,
0.2595437169075012,
0.2581927180290222,
-0.2353050261735916,
-0.12661153078079224,
-0.07465353608131409,
0.2074790745973587,
-0.17100907862186432,
-0.07643534243106842,
-0.14168789982795715,
0.10644793510437012,
0.1230902373790741,
-0.04136282950639725,
-0.4215523302555084,
-0.12054401636123657,
0.2479080855846405,
0.5945838093757629,
0.0722370594739914,
-0.32309556007385254,
0.06415363401174545,
0.15007437765598297,
-0.14123907685279846,
0.010790344327688217,
0.09667877852916718,
-0.6578958630561829,
0.4996114671230316,
-0.2699282765388489,
-0.3931700587272644,
0.4361579418182373,
0.02114090323448181,
0.3017808496952057,
-0.01398099958896637,
-0.592659592628479,
-0.12099345028400421,
-0.0033056121319532394,
0.7819664478302002,
0.13885897397994995,
0.44641008973121643,
0.4231779873371124,
0.11314523965120316,
0.10283610224723816,
-0.15936318039894104,
-0.5519499778747559,
0.011338189244270325,
0.2923409342765808,
0.3630940616130829,
-0.09419483691453934,
-0.11711878329515457,
0.07851848006248474,
0.738491952419281,
0.33253705501556396,
-0.2121264487504959,
-0.0008040890097618103,
0.1544215828180313,
0.20786727964878082,
0.18827283382415771,
-0.2735122740268707,
0.10805874317884445,
0.19369639456272125,
-0.06799820065498352,
0.09550441801548004,
0.12434639036655426,
-0.14468532800674438,
-0.48475295305252075,
-0.21766632795333862,
-0.228692889213562,
-0.2503575384616852,
-0.3192647099494934,
0.0577414445579052,
0.2481042742729187,
-0.21858619153499603,
0.03125777840614319,
-0.14435698091983795,
-0.4191480576992035,
0.23903310298919678,
0.13393568992614746,
-0.023745909333229065,
0.050633277744054794,
-0.2506970763206482,
-0.3227420449256897,
-0.3525324761867523,
0.31002455949783325,
0.10677477717399597,
-0.010700075887143612,
0.01289382204413414,
0.09463872760534286,
0.27191483974456787,
-0.1519501656293869,
0.355398952960968,
-0.27770158648490906,
-0.02934182435274124,
-0.4018203318119049,
0.05733053386211395,
0.17242126166820526,
0.21977336704730988,
-0.08288459479808807,
0.1518077850341797,
-0.0981481522321701,
-0.47424769401550293,
-0.2843988239765167,
0.08287454396486282,
0.46782049536705017,
0.008479975163936615,
-0.3408733308315277,
-0.04649178683757782,
-0.03001978062093258,
-0.4772436320781708,
-0.1853359490633011,
-0.025653190910816193,
-0.1612495630979538,
-0.035496823489665985,
0.4743640422821045,
-0.046010397374629974,
0.06422432512044907,
0.3931789696216583,
-0.07880762219429016,
-0.05432084575295448,
-0.19763553142547607,
0.5778360366821289,
-0.02550690621137619,
0.41080257296562195,
-0.07898889482021332,
0.4218086004257202,
0.6974053978919983,
0.2335606962442398,
-0.1793619692325592,
-0.10200180858373642,
0.15828125178813934,
0.2558416724205017,
0.3502991795539856,
0.2234242856502533,
0.11998466402292252,
0.28809940814971924,
-0.13033154606819153,
-0.25675106048583984,
0.012218326330184937,
0.24670569598674774,
-0.2727806568145752,
-0.33747488260269165,
-0.30524003505706787,
0.37721025943756104,
0.08953763544559479,
0.08255250751972198,
0.08413894474506378,
0.4025004506111145,
-0.15225054323673248,
0.06294391304254532,
0.4580267071723938,
1.0340516567230225,
-0.11621318757534027,
0.03022785671055317,
-0.10792449861764908,
-0.6249091625213623,
1.0073671340942383,
-0.13019666075706482,
-0.05499948561191559,
-0.12231838703155518,
0.29241058230400085,
-0.25908640027046204,
-0.06124250963330269,
0.014306001365184784,
-0.3218328356742859,
0.01172592118382454,
-0.0707414522767067,
-0.19324031472206116,
-0.10689589381217957,
-0.17444539070129395,
0.4901515245437622,
-0.08017992973327637,
-0.3526841998100281,
-0.055441588163375854,
0.04524745047092438,
-0.2810779809951782,
0.09123599529266357,
-0.04426773637533188,
-0.27933794260025024,
-0.12149053812026978,
0.21403397619724274,
-0.35933631658554077,
0.12085167318582535,
-0.3466925621032715,
0.1348419189453125,
-0.36416417360305786,
-0.06580846011638641,
0.13521641492843628,
0.4880518913269043,
0.27393776178359985,
-0.021777745336294174,
-0.44529643654823303,
0.32394006848335266,
-0.057492829859256744,
-0.4141162931919098,
0.2746146321296692,
0.14384949207305908,
0.11950066685676575,
-0.07016883790493011,
-0.15227842330932617,
0.26052525639533997,
0.10785052180290222,
-0.07590353488922119,
-0.2603955864906311,
0.16386352479457855,
0.13923078775405884,
0.05175236985087395,
-0.18014822900295258,
0.18265721201896667,
-0.11845961213111877,
0.00048795342445373535,
0.0682634711265564,
0.4443542957305908,
-0.03313152864575386,
0.09412217140197754,
0.14094892144203186,
-0.158675879240036,
-0.21238252520561218,
0.46604064106941223,
-0.15695294737815857,
-0.23759128153324127,
0.09764932096004486,
0.21627090871334076,
-0.1330244243144989,
0.0012350231409072876,
-0.03583070635795593,
0.03201860934495926,
-0.7682152390480042,
-0.25186192989349365,
0.35043251514434814,
0.20690123736858368,
-0.2937890589237213,
0.2942597270011902,
0.20707887411117554,
-0.36015185713768005,
0.10104626417160034,
-0.20755212008953094,
-0.24824798107147217,
0.38942593336105347,
-0.02198399230837822,
0.3131379187107086,
0.03424055874347687,
-0.12537702918052673,
-0.03126683831214905,
0.18524467945098877,
-0.20669284462928772,
0.053946323692798615,
-0.2050514817237854,
-0.08329140394926071,
-0.04999174922704697,
0.24117714166641235,
0.18138891458511353,
0.02696177363395691,
0.01475265808403492,
-0.19143995642662048,
-0.30886921286582947,
-0.01954573392868042,
0.0982096940279007,
0.197840616106987,
0.0736963227391243,
0.02050243504345417,
-0.05198758468031883,
-0.6277329921722412,
-0.12539920210838318,
0.08732568472623825,
0.06842643022537231,
0.18482664227485657,
0.03432068973779678,
-0.02038605883717537,
0.12128956615924835,
0.07709664106369019,
-0.3208410143852234,
-0.008685890585184097,
0.293210506439209,
-0.04112604260444641,
-0.1200036108493805,
0.05345746874809265,
-0.2636510133743286,
-0.11022496223449707,
0.4672059118747711,
0.2948863208293915,
0.10386144369840622,
0.030190058052539825,
0.43019309639930725,
-0.09607847034931183,
0.1330244094133377,
0.25211766362190247,
0.006494782865047455,
0.01564706489443779,
-0.15024971961975098,
0.07390325516462326,
-0.12264963239431381,
0.11420978605747223,
-0.26993444561958313,
-0.14034265279769897,
-0.07997183501720428,
0.09126652032136917,
-0.054730117321014404,
0.39275166392326355,
0.22730359435081482,
0.038608573377132416,
0.07376769185066223,
-0.0046728383749723434,
-0.02174634113907814,
-0.3738800287246704,
0.12430369853973389,
0.3837043344974518,
-0.20204897224903107,
0.11168879270553589,
0.2218187153339386,
0.5340975522994995,
-0.05070727318525314,
0.18310441076755524,
0.020595736801624298,
0.3021988868713379,
0.49356701970100403,
-0.260844349861145,
0.34872227907180786,
-0.20151281356811523,
0.4240608513355255,
0.08418413251638412,
0.3157958388328552,
0.06951195746660233,
0.0726737380027771,
-0.009703442454338074,
-0.02904082089662552,
-0.03308089077472687,
-0.36461713910102844,
0.05651503801345825,
0.04215399920940399,
0.28655552864074707,
-0.3993331491947174,
-0.26542073488235474,
-0.011122994124889374,
0.12305724620819092,
0.15100863575935364,
-0.4752565622329712,
0.2632130980491638,
-0.04427994787693024,
-0.2202739268541336,
-0.12100879848003387,
-0.0011151768267154694,
0.033330369740724564,
0.3100728690624237,
-0.11808441579341888,
0.19285167753696442,
0.14125928282737732,
-0.22633525729179382,
0.21659477055072784,
0.4811114966869354,
-0.00586077943444252,
0.0037331562489271164,
0.04160560667514801,
0.49557363986968994,
0.269854873418808,
-0.2059391885995865,
0.1965373158454895,
0.265103280544281,
0.24928590655326843,
-0.04467594996094704,
0.15289700031280518,
0.07405318319797516,
-0.05435556545853615,
-0.05771995708346367,
0.12357692420482635,
0.05046846717596054,
-0.09502561390399933,
0.1682276576757431,
-0.5067191123962402,
-0.18628010153770447,
-0.1268652379512787,
0.0293361097574234,
-0.1499522626399994,
-0.2780546545982361,
0.1805158108472824,
-0.1641836315393448,
-0.09638519585132599,
-0.2853679060935974,
0.0067924559116363525,
-0.016729258000850677,
0.3905349373817444,
0.44427600502967834,
0.26185452938079834,
-0.12526629865169525,
-0.07127456367015839,
-0.2768113613128662,
-0.055956028401851654,
0.277200847864151,
-0.30760714411735535,
0.06363469362258911,
0.270367294549942,
0.04446724057197571,
-0.007870309054851532,
0.10542510449886322,
-0.3644643723964691,
0.5541279315948486,
0.2049047350883484,
-0.24852898716926575,
-0.13169342279434204,
-0.1047554463148117,
0.06737907230854034,
-0.012541893869638443,
-0.11105334013700485,
0.2266283482313156,
-0.2577793598175049,
-0.09497447311878204,
-0.22984258830547333,
-0.11879869550466537,
0.019727464765310287,
0.40468037128448486,
0.2708372175693512,
-0.1492459774017334,
0.24494217336177826,
-0.1583339273929596,
-0.1343681514263153,
-0.27621057629585266,
0.14526689052581787,
-0.12860088050365448,
0.31099674105644226,
-0.057015929371118546,
0.4902239739894867,
-0.05165792256593704,
-0.17114676535129547,
0.08878712356090546,
-0.08441505581140518,
-0.03771691396832466,
0.2073194533586502,
-0.08861343562602997,
-0.049300916492938995,
-0.29738691449165344,
0.06338202208280563,
0.6342900395393372,
0.07968170195817947,
-0.08922383189201355,
-0.06071595102548599,
-0.1361340880393982,
-0.224740669131279,
0.3609428405761719,
0.01803666725754738,
-0.11440268158912659,
0.22466133534908295,
0.212092787027359,
-0.01919809728860855,
0.03301093354821205,
-0.7726343274116516,
0.3557829260826111,
0.2965497374534607,
-0.06564628332853317,
-0.14719605445861816,
0.3104010224342346,
-0.07361392676830292,
-0.07975072413682938,
-0.16459356248378754,
0.3809086084365845,
-0.2124837338924408,
-0.22273406386375427,
-0.0831107646226883,
-0.2689833641052246
] |
https://github.com/huggingface/datasets/issues/3820 | `pubmed_qa` checksum mismatch | Hi @jon-tow, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today.
In the meantime, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | ## Describe the bug
Loading [`pubmed_qa`](https://huggingface.co/datasets/pubmed_qa) results in a mismatched checksum error.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
import datasets
try:
datasets.load_dataset("pubmed_qa", "pqa_labeled")
except Exception as e:
print(e)
try:
datasets.load_dataset("pubmed_qa", "pqa_unlabeled")
except Exception as e:
print(e)
try:
datasets.load_dataset("pubmed_qa", "pqa_artificial")
except Exception as e:
print(e)
```
## Expected results
Successful download.
## Actual results
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/usr/local/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.9/site-packages/datasets/builder.py", line 665, in _download_and_prepare
verify_checksums(
File "/usr/local/lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1RsGLINVce-0GsDkCLDuLZmoLuzfmoCuQ', 'https://drive.google.com/uc?export=download&id=15v1x6aQDlZymaHGP7cZJZZYFfeJt2NdS']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: macOS
- Python version: 3.8.1
- PyArrow version: 3.0.0
| 109 | `pubmed_qa` checksum mismatch
## Describe the bug
Loading [`pubmed_qa`](https://huggingface.co/datasets/pubmed_qa) results in a mismatched checksum error.
## Steps to reproduce the bug
```python
# Sample code to reproduce the bug
import datasets
try:
datasets.load_dataset("pubmed_qa", "pqa_labeled")
except Exception as e:
print(e)
try:
datasets.load_dataset("pubmed_qa", "pqa_unlabeled")
except Exception as e:
print(e)
try:
datasets.load_dataset("pubmed_qa", "pqa_artificial")
except Exception as e:
print(e)
```
## Expected results
Successful download.
## Actual results
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/usr/local/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.9/site-packages/datasets/builder.py", line 665, in _download_and_prepare
verify_checksums(
File "/usr/local/lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1RsGLINVce-0GsDkCLDuLZmoLuzfmoCuQ', 'https://drive.google.com/uc?export=download&id=15v1x6aQDlZymaHGP7cZJZZYFfeJt2NdS']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: macOS
- Python version: 3.8.1
- PyArrow version: 3.0.0
Hi @jon-tow, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
We are planning to make a patch release today.
In the meantime, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | [
-0.0026249922811985016,
0.1502344012260437,
-0.09011387825012207,
0.18270298838615417,
0.30384743213653564,
-0.052859432995319366,
0.21182644367218018,
0.33244481682777405,
0.03438430279493332,
0.1883316934108734,
-0.07668943703174591,
0.11536233872175217,
0.30355945229530334,
0.06690220534801483,
0.08028994500637054,
0.04654141515493393,
0.04970606416463852,
-0.03261324763298035,
-0.017425090074539185,
-0.020458344370126724,
-0.22443029284477234,
0.3450910151004791,
-0.2007197141647339,
-0.08859020471572876,
0.42031994462013245,
0.08588710427284241,
0.23135840892791748,
0.1695876568555832,
-0.06313363462686539,
-0.31606870889663696,
0.1222042590379715,
0.08636857569217682,
-0.26120510697364807,
0.5264270901679993,
-0.00011030885798390955,
0.03448374569416046,
0.3809785842895508,
-0.016994627192616463,
-0.26852452754974365,
0.03338422626256943,
-0.2106979489326477,
-0.201679065823555,
-0.15572910010814667,
-0.20838110148906708,
0.09006158262491226,
-0.12066493183374405,
-0.0792783573269844,
-0.18359707295894623,
-0.11018171906471252,
0.22408674657344818,
0.2462407946586609,
0.5687367916107178,
0.1278003752231598,
-0.07913185656070709,
0.1922243982553482,
-0.4594305157661438,
0.10907649248838425,
0.48727381229400635,
0.401870459318161,
0.11781789362430573,
0.115859754383564,
0.21786536276340485,
-0.16472090780735016,
-0.07809729874134064,
0.1283901333808899,
0.05257990211248398,
0.014256644994020462,
-0.014561064541339874,
0.15344832837581635,
0.3935367465019226,
0.1389758288860321,
-0.3990601599216461,
-0.3674914240837097,
-0.1277904063463211,
-0.07028577476739883,
-0.001743219792842865,
0.3739832937717438,
0.08789204061031342,
-0.12852218747138977,
-0.0528365783393383,
-0.19746878743171692,
0.14555507898330688,
0.1516219526529312,
-0.021979741752147675,
-0.0003781355917453766,
0.025903359055519104,
0.0400114469230175,
0.00434001162648201,
-0.00732610747218132,
-0.028741396963596344,
-0.015901733189821243,
-0.14874516427516937,
-0.006812650710344315,
0.06529519706964493,
-0.37586697936058044,
-0.0783468559384346,
0.008874088525772095,
0.18676067888736725,
0.49488383531570435,
0.4220803380012512,
0.2280326634645462,
0.14755812287330627,
-0.05961621180176735,
0.058218374848365784,
0.04296199232339859,
0.0027747610583901405,
-0.13352590799331665,
0.20076583325862885,
0.392304003238678,
0.5517102479934692,
0.03450125828385353,
0.08584901690483093,
0.1782538890838623,
-0.19935311377048492,
0.3639618158340454,
0.1579543948173523,
0.13575752079486847,
-0.4726055860519409,
-0.39266860485076904,
0.24998849630355835,
0.06345636397600174,
-0.1459268182516098,
-0.1217162236571312,
0.3019617795944214,
-0.18985657393932343,
-0.07834135740995407,
0.07933542132377625,
0.17118917405605316,
-0.33121004700660706,
-0.01887601800262928,
-0.26916056871414185,
-0.10150638222694397,
-0.026591571047902107,
-0.01812516339123249,
0.15373766422271729,
-0.39914456009864807,
0.3094806373119354,
-0.17821046710014343,
0.25199243426322937,
-0.12363739311695099,
0.06516518443822861,
0.015556544065475464,
-0.1878650188446045,
0.3819116950035095,
-0.0464065819978714,
0.09872650355100632,
0.17386242747306824,
-0.13285541534423828,
-0.14228162169456482,
0.04052155464887619,
-0.18856295943260193,
-0.04772622883319855,
-0.174493670463562,
0.2967728078365326,
-0.2863495349884033,
-0.0524330735206604,
-0.1831131875514984,
-0.2661026120185852,
0.22631493210792542,
-0.39867231249809265,
0.044979747384786606,
-0.08935100585222244,
-0.12635423243045807,
-0.2974003851413727,
0.41947290301322937,
0.21892893314361572,
0.020168770104646683,
-0.12335498631000519,
-0.06737488508224487,
-0.17231562733650208,
0.042677488178014755,
0.21511581540107727,
-0.04832100123167038,
0.08276007324457169,
-0.27454012632369995,
0.019321806728839874,
0.18407383561134338,
-0.5328789353370667,
-0.7661897540092468,
-0.13296528160572052,
0.026142433285713196,
0.16920366883277893,
0.002822794020175934,
-0.0657259002327919,
0.055498719215393066,
-0.20782466232776642,
0.15619656443595886,
0.22637304663658142,
0.046917274594306946,
0.20513078570365906,
-0.40431371331214905,
-0.3778974711894989,
0.057821162045001984,
0.130406454205513,
0.0679551512002945,
-0.026251576840877533,
0.3796049952507019,
-0.06518156081438065,
0.3314707279205322,
0.023158039897680283,
-0.26126939058303833,
0.16378463804721832,
0.26339948177337646,
-0.08500498533248901,
0.14771896600723267,
-0.3369235694408417,
-0.3175123631954193,
0.40386590361595154,
-0.31846120953559875,
0.14233165979385376,
-0.33703774213790894,
-0.20605313777923584,
-0.4266799986362457,
-0.12505567073822021,
-0.050060246139764786,
-0.12503647804260254,
0.17383679747581482,
0.27888768911361694,
0.15094107389450073,
0.3079705834388733,
-0.07767003774642944,
-0.03011532686650753,
-0.2269471138715744,
0.13715262711048126,
-0.47140294313430786,
0.26912474632263184,
-0.13566729426383972,
-0.006541721522808075,
0.15883824229240417,
0.18326681852340698,
0.038953397423028946,
0.05623408034443855,
-0.10839501023292542,
0.502291738986969,
-0.06671252846717834,
0.24185512959957123,
0.14688602089881897,
0.1739688664674759,
0.057641297578811646,
-0.34715792536735535,
-0.09055142849683762,
0.3580242693424225,
0.2346956729888916,
0.054105982184410095,
-0.1796027421951294,
0.2575962543487549,
-0.2281068116426468,
0.015247352421283722,
0.03346986323595047,
-0.09843655675649643,
0.2091042548418045,
-0.044181060045957565,
-0.14905422925949097,
-0.24716967344284058,
0.31331658363342285,
0.38416165113449097,
-0.11945441365242004,
-0.05159645527601242,
0.01002967357635498,
0.092534139752388,
0.48086145520210266,
-0.2687681317329407,
-0.029367618262767792,
-0.09765083342790604,
-0.007005177438259125,
0.075270876288414,
-0.05916187912225723,
0.3960861265659332,
0.3434847891330719,
0.15656794607639313,
0.04793522506952286,
0.16546747088432312,
-0.16571728885173798,
-0.21343033015727997,
0.013921424746513367,
0.08435656130313873,
0.014402023516595364,
0.3533497750759125,
0.15496781468391418,
0.04971357434988022,
-0.1387680023908615,
0.080510213971138,
0.012654813006520271,
0.18443049490451813,
-0.5168878436088562,
0.02899964340031147,
-0.2334522306919098,
0.07034920156002045,
-0.3359556496143341,
-0.04528631642460823,
-0.2127528339624405,
-0.3675152063369751,
-0.057250864803791046,
0.2249247431755066,
-0.07513847947120667,
0.24362440407276154,
-0.3425513505935669,
0.051619574427604675,
-0.006537320092320442,
-0.4962707757949829,
0.24021080136299133,
0.17439427971839905,
-0.053320981562137604,
0.11120936274528503,
0.3545040190219879,
0.10130873322486877,
0.47816091775894165,
-0.3472071886062622,
-0.13239912688732147,
-0.36367177963256836,
-0.4309232532978058,
0.04844513535499573,
-0.13487407565116882,
0.5298694372177124,
0.21158576011657715,
0.08105035126209259,
0.051099732518196106,
-0.11436361819505692,
0.21481908857822418,
-0.02677072584629059,
-0.35748291015625,
0.20047862827777863,
0.12295264005661011,
0.030858615413308144,
-0.0013485290110111237,
-0.35383573174476624,
0.07182005792856216,
-0.22025814652442932,
-0.33360427618026733,
-0.11848831176757812,
0.1804867684841156,
0.0028019691817462444,
-0.08137176930904388,
0.12248708307743073,
-0.02801184542477131,
0.2799742519855499,
-0.30936360359191895,
-0.35944849252700806,
0.34440410137176514,
0.030757736414670944,
-0.4610399305820465,
-0.07863390445709229,
0.026456277817487717,
0.06778338551521301,
0.20434242486953735,
-0.5702890157699585,
-0.4192379117012024,
-0.16669873893260956,
0.06921607255935669,
0.20695160329341888,
-0.033524855971336365,
0.2707751393318176,
-0.1066509559750557,
-0.10193735361099243,
-0.152816042304039,
-0.23895330727100372,
0.06796132028102875,
-0.21026739478111267,
0.3185432553291321,
-0.09280462563037872,
0.18130084872245789,
-0.07674118876457214,
0.5886955261230469,
0.4875960946083069,
0.055786240845918655,
0.12985149025917053,
0.05817432701587677,
0.45490601658821106,
-0.03655651956796646,
-0.14375293254852295,
-0.030654266476631165,
0.09406810253858566,
0.20145751535892487,
0.23506012558937073,
-0.07640537619590759,
0.15267258882522583,
-0.09563449025154114,
-0.12079311907291412,
-0.49756142497062683,
-0.3683652877807617,
-0.040292754769325256,
-0.2521102726459503,
0.2129119336605072,
0.07166978716850281,
0.10643097013235092,
0.0465836338698864,
-0.2060689628124237,
0.25523650646209717,
0.44804275035858154,
-0.19774049520492554,
-0.022614484652876854,
-0.22803480923175812,
-0.13219520449638367,
-0.14752662181854248,
0.29929298162460327,
0.15910403430461884,
0.3050869107246399,
-0.04665680602192879,
-0.21990522742271423,
0.007517717778682709,
-0.21530093252658844,
0.373553991317749,
-0.3341567814350128,
0.3330196738243103,
0.06551721692085266,
0.20240624248981476,
-0.21366342902183533,
-0.1614275574684143,
-0.1148352324962616,
-0.23310166597366333,
-0.04342576488852501,
0.3547385036945343,
-0.4409036636352539,
0.20014533400535583,
0.2800096273422241,
0.246972918510437,
-0.2074747085571289,
-0.17743313312530518,
-0.46957746148109436,
-0.5096511840820312,
-0.5273476839065552,
-0.10048002749681473,
-0.09287484735250473,
0.30273982882499695,
-0.1784524768590927,
-0.09563064575195312,
0.0692119374871254,
0.03682070970535278,
0.10659997910261154,
0.134220153093338,
0.3872176706790924,
-0.07302366197109222,
0.3340388834476471,
0.07114038616418839,
-0.06751807034015656,
0.21791252493858337,
0.7537617683410645,
-0.29642969369888306,
-0.2526216506958008,
-0.06956365704536438,
-0.13976407051086426,
-0.2937844693660736,
0.17928358912467957,
-0.10175707191228867,
0.16095507144927979,
0.4952755570411682,
-0.013867661356925964,
-0.002766944468021393,
-0.13876742124557495,
0.17069976031780243,
0.12986980378627777,
-0.1721714437007904,
-0.30596354603767395,
0.2878880500793457,
0.007927360013127327,
-0.14318624138832092,
0.17032715678215027,
0.4125826358795166,
-0.222749724984169,
0.16426824033260345,
0.1169695109128952,
0.894582211971283,
-0.15036211907863617,
-0.04895017668604851,
0.2460402548313141,
-0.16249141097068787,
0.2394976019859314,
0.14344556629657745,
0.04465638846158981,
-0.4514523446559906,
-0.6278319954872131,
0.008828552439808846,
-0.11850498616695404,
0.03864549100399017,
-0.23268891870975494,
-0.11436082422733307,
0.30011534690856934,
-0.10780953615903854,
0.13457956910133362,
0.2465999871492386,
0.0676577091217041,
-0.2649541199207306,
0.14430755376815796,
-0.26599451899528503,
0.2119428813457489,
-0.05168437957763672,
0.1371230036020279,
-0.16746670007705688,
0.15041714906692505,
-0.3039940595626831,
-0.20380888879299164,
-0.38434898853302,
0.19563782215118408,
0.034580688923597336,
-0.058742962777614594,
0.33261165022850037,
-0.10088935494422913,
-0.16973544657230377,
0.1543457955121994,
0.35189276933670044,
0.2844889163970947,
-0.22410553693771362,
0.17584921419620514,
0.04485330730676651,
0.10623965412378311,
0.20453351736068726,
-0.15443873405456543,
0.443710595369339,
-0.16450735926628113,
-0.3517349660396576,
0.1287892907857895,
0.029243577271699905,
-0.4660770297050476,
-0.004645586013793945,
-0.10882197320461273,
-0.13601185381412506,
-0.16016604006290436,
0.02109983004629612,
-0.18120411038398743,
0.11126366257667542,
-0.16533558070659637,
0.17798447608947754,
0.19586940109729767,
-0.055291805416345596,
0.260703980922699,
0.20991449058055878,
-0.35709911584854126,
-0.0437290258705616,
0.42027848958969116,
0.22591650485992432,
-0.15663670003414154,
0.46153947710990906,
-0.0527351014316082,
-0.11335977911949158,
-0.176766037940979,
-0.29140767455101013,
-0.10356170684099197,
-0.23283374309539795,
0.05001239851117134,
-0.38358423113822937,
0.15898768603801727,
0.07236266881227493,
0.40819066762924194,
0.2638126015663147,
-0.135949045419693,
0.11555005609989166,
-0.7190187573432922,
0.05719812959432602,
0.20341673493385315,
-0.008589096367359161,
0.16184474527835846,
0.11971268802881241,
-0.10783664882183075,
-0.1758808046579361,
-0.1203039288520813,
-0.3777896463871002,
0.12008394300937653,
-0.29947271943092346,
-0.051494941115379333,
-0.009972982108592987,
0.10088370740413666,
0.2923789918422699,
-0.0969374030828476,
0.17483370006084442,
0.13378097116947174,
-0.037094492465257645,
-0.2587077021598816,
-0.06903237104415894,
0.14617326855659485,
-0.013861432671546936,
-0.07087115943431854,
0.06806149333715439,
-0.12574481964111328,
-0.01986848935484886,
-0.11176714301109314,
0.23774901032447815,
-0.02863522246479988,
0.05844268202781677,
-0.1672598123550415,
0.1593698412179947,
0.18572017550468445,
-0.06301585584878922,
0.035490356385707855,
-0.4569384753704071,
-0.021719850599765778,
0.1515975445508957,
0.035658493638038635,
-0.16515004634857178,
0.053586140275001526,
0.22038327157497406,
0.24023956060409546,
0.2298695147037506,
0.21272435784339905,
0.4325380325317383,
-0.10806088149547577,
-0.06194039806723595,
0.24057458341121674,
0.2936141788959503,
0.26227709650993347,
-0.6192496418952942,
-0.28544390201568604,
0.08580340445041656,
0.278831422328949,
-0.39730775356292725,
0.002044627908617258,
-0.24586504697799683,
-0.13142181932926178,
0.008303288370370865,
0.20141983032226562,
0.14084115624427795,
-0.30159345269203186,
0.1715310662984848,
0.12036477774381638,
0.5387970805168152,
-0.12896306812763214,
0.12492255866527557,
0.18892735242843628,
-0.018211353570222855,
0.07425963878631592,
0.17902535200119019,
-0.20766517519950867,
-0.09561378508806229,
0.018602561205625534,
0.03730800747871399,
0.23324039578437805,
-0.24999234080314636,
0.07756578177213669,
-0.1768735647201538,
-0.3615279197692871,
0.5529688596725464,
0.3551423251628876,
0.033343344926834106,
0.14589720964431763,
0.2772223949432373,
0.1343822181224823,
-0.1586776077747345,
0.27494001388549805,
-0.4358689785003662,
0.09588275849819183,
0.06374021619558334,
-0.04167657345533371,
-0.10857866704463959,
-0.31067487597465515,
0.0006766095757484436,
0.09815797209739685,
0.02304205112159252,
-0.1629490703344345,
0.043868597596883774,
-0.041967518627643585,
-0.39548975229263306,
-0.5578052997589111,
-0.06858900189399719,
0.03842533379793167,
0.2474292814731598,
-0.20924891531467438,
0.20652829110622406,
0.2459985464811325,
-0.08272950351238251,
0.2738962471485138,
0.43613556027412415,
0.26429665088653564,
0.18344233930110931,
0.1170780211687088,
-0.150922492146492,
0.07261651009321213,
0.2004086673259735,
0.11767888069152832,
0.39582115411758423,
0.039618510752916336,
0.04420340061187744,
0.39967286586761475,
0.22499629855155945,
-0.19263236224651337,
-0.0878991186618805,
0.06699533015489578,
0.11055348813533783,
-0.15343306958675385,
0.4179057478904724,
-0.30642667412757874,
0.2961878478527069,
-0.18439576029777527,
0.085636205971241,
-0.46744638681411743,
-0.14837472140789032,
0.11003002524375916,
0.09013519436120987,
0.20989948511123657,
-0.07776020467281342,
0.11945651471614838,
0.21908731758594513,
0.44106027483940125,
0.29027020931243896,
0.01255020871758461,
-0.08462302386760712,
-0.2164398729801178,
-0.846866250038147,
0.4502348005771637,
-0.012715421617031097,
0.06278117001056671,
-0.05597904324531555,
0.06056267023086548,
0.06960675120353699,
0.09589066356420517,
0.36064308881759644,
0.1257351040840149,
-0.1772327870130539,
-0.08048585057258606,
-0.25281450152397156,
-0.4541126787662506,
-0.17268766462802887,
-0.2853080630302429,
-0.15144851803779602,
-0.3142205476760864,
0.19733959436416626,
-0.17461413145065308,
0.1525477170944214,
0.09010728448629379,
-0.1343616545200348,
0.14892499148845673,
0.029780039563775063,
0.3062991499900818,
0.23481979966163635,
0.46565988659858704,
-0.09115425497293472,
-0.3071604371070862,
-0.11434940993785858,
0.08133438229560852,
-0.2999773621559143,
0.4516861140727997,
-0.049653638154268265,
0.10259418189525604,
0.19589322805404663,
-0.07642842829227448,
-0.12034211307764053,
0.4880348742008209,
0.11374244093894958,
-0.3558672368526459,
-0.3188796937465668,
-0.02720392495393753,
0.23029106855392456,
-0.1772960126399994,
0.06332750618457794,
0.04775875806808472,
0.058173615485429764,
0.44956085085868835,
-0.16026368737220764,
-0.38718098402023315,
0.33699703216552734,
-0.14900340139865875,
0.02498113363981247,
0.004160760901868343,
0.29706794023513794,
-0.41050639748573303,
-0.12909433245658875,
-0.9376075267791748,
0.168241947889328,
0.3792925179004669,
-0.007942095398902893,
-0.09334562718868256,
0.24666468799114227,
-0.2413899302482605,
0.096930131316185,
-0.022788304835557938,
0.15182292461395264,
0.03266459330916405,
-0.2888319790363312,
0.08170661330223083,
-0.04477100074291229
] |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | Hi, thanks for reporting! We can add a `sources: datasets.Value("string")` feature to the `Features` dict in the `SARI` script to fix this. Would you be interested in submitting a PR? | **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
| 30 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
Hi, thanks for reporting! We can add a `sources: datasets.Value("string")` feature to the `Features` dict in the `SARI` script to fix this. Would you be interested in submitting a PR? | [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.03241298347711563,
0.08960279822349548,
-0.36780479550361633,
0.05030354484915733,
0.14371439814567566,
-0.09446190297603607,
0.15110032260417938,
-0.5576465129852295,
0.08840791881084442,
-0.1839941143989563,
-0.23982100188732147,
-0.12749157845973969,
0.027171555906534195,
-0.23697063326835632,
-0.18091559410095215,
-0.24230463802814484,
-0.5351157784461975,
0.21281348168849945,
0.1841915249824524,
0.030027378350496292,
0.328779399394989,
-0.0001185520741273649,
0.11093707382678986,
0.276250958442688,
-0.13287360966205597,
-0.4383607506752014,
-0.18208850920200348,
-0.3840428590774536,
-0.2386554777622223,
-0.25545668601989746,
-0.28830769658088684,
-0.06697513163089752,
0.10148390382528305,
-0.24511830508708954,
-0.03781107813119888,
-0.12359504401683807,
0.2556285560131073,
0.12964890897274017,
0.43649402260780334,
0.11773374676704407,
-0.31967705488204956,
0.11267882585525513,
0.1221240982413292,
-0.23143215477466583,
0.1621471494436264,
0.28627729415893555,
0.2523854076862335,
0.10446248203516006,
0.3575455844402313,
-0.10116396844387054,
-0.1528930813074112,
0.3361632227897644,
0.1865539699792862,
0.21779748797416687,
-0.11241483688354492,
0.07214532047510147,
-0.022128887474536896,
0.4007416367530823,
-0.22464218735694885,
-0.7027822136878967,
-0.11284329742193222,
0.01568341627717018,
-0.4567687213420868,
-0.10059712082147598,
0.017396513372659683,
-0.3704310655593872,
0.05893958359956741,
-0.20429198443889618,
-0.2757096290588379,
-0.4550822675228119,
-0.02045518159866333,
0.26646992564201355,
0.4806871712207794,
-0.01089936401695013,
0.12773732841014862,
0.2977893352508545,
-0.14931026101112366,
-0.20831817388534546,
-0.2281208634376526,
-0.03543379530310631,
0.2015785574913025,
-0.2583947479724884,
-0.13118872046470642,
0.037313349545001984,
0.26273906230926514,
0.3208865523338318,
-0.14548230171203613,
-0.12142923474311829,
0.08871200680732727,
0.10686543583869934,
0.18636584281921387,
0.03150137513875961,
0.18316678702831268,
0.12111136317253113,
0.12865594029426575,
0.1919882446527481,
0.14059452712535858,
0.434431254863739,
-0.12302660197019577,
0.30877450108528137,
-0.5872987508773804,
0.13333067297935486,
0.07114450633525848,
0.1389215737581253,
0.004220437258481979,
-0.09173838049173355,
-0.23615767061710358,
0.19701704382896423,
-0.2742692828178406,
0.3080247640609741,
0.13250768184661865,
0.08010508120059967,
0.2156476080417633,
0.05633355677127838,
0.3079833984375,
0.03387778252363205,
-0.2010413259267807,
-0.17552450299263,
0.13499511778354645,
-0.34877845644950867,
0.33395352959632874,
0.08428020775318146,
-0.4368996024131775,
0.23985281586647034,
0.18668514490127563,
0.3053176701068878,
0.24144068360328674,
-0.1046384796500206,
-0.0915885865688324,
0.06773128360509872,
0.26852884888648987,
-0.17558717727661133,
-0.10769546031951904,
-0.0455673448741436,
-0.07633893191814423,
-0.1254887878894806,
0.2220953404903412,
-0.3980185091495514,
-0.248884916305542,
-0.02165173925459385,
0.08884849399328232,
-0.22367145121097565,
0.08602246642112732,
-0.4042806327342987,
0.4411889910697937,
-0.05360891669988632,
-0.11593329906463623,
-0.13124531507492065,
0.02457593008875847,
-0.4395686686038971,
-0.25817427039146423,
0.4780132472515106,
0.37687575817108154,
-0.27058500051498413,
-0.2682243585586548,
0.015260299667716026,
-0.27779170870780945,
-0.00017437338829040527,
-0.04871306195855141,
-0.13498495519161224,
0.2266245186328888,
-0.09006541222333908,
0.009133517742156982,
0.4235928952693939,
-0.604447066783905,
-0.2491818368434906,
0.1749856024980545,
0.26293569803237915,
0.02132994495332241,
0.2808437943458557,
0.24419398605823517,
0.36556732654571533,
-0.10358022153377533,
0.5832074880599976,
-0.010074712336063385,
0.05779940262436867,
-0.19513745605945587,
-0.09838041663169861,
-0.2154649794101715,
-0.3887764811515808,
0.14918005466461182,
0.31461262702941895,
0.28701314330101013,
0.11720841377973557,
-0.27439084649086,
0.1582755148410797,
-0.2240351140499115,
0.1490284502506256,
0.21032188832759857,
0.42844295501708984,
-0.1786857396364212,
0.009594805538654327,
-0.46751320362091064,
-0.1849883794784546,
0.2353612780570984,
-0.03878331929445267,
0.14294761419296265,
-0.16613183915615082,
-0.23371031880378723,
-0.4295104742050171,
0.23375527560710907,
0.07303813844919205,
0.1595887690782547,
0.008318159729242325,
0.019376683980226517,
0.18872854113578796,
-0.06502033770084381,
-0.15049338340759277,
-0.051103442907333374,
-0.02184014767408371,
0.1324145644903183,
-0.07355132699012756,
0.22901226580142975,
0.008716899901628494,
-0.24237611889839172,
0.12291021645069122,
0.2345898449420929,
0.3444210886955261,
-0.005803708918392658,
0.06997883319854736,
0.43608757853507996,
-0.14225731790065765,
0.2842976450920105,
0.1106192022562027,
0.40463000535964966,
0.29120346903800964,
0.15826039016246796,
0.040424227714538574,
-0.3556537628173828,
0.1786971539258957,
-0.036075301468372345,
0.05733262374997139,
0.3717135787010193,
-0.04580555483698845,
0.22345715761184692,
0.03956449776887894,
0.05303388833999634,
0.30497094988822937,
-0.023393938317894936,
-0.3434014916419983,
-0.3567792475223541,
-0.11453959345817566,
-0.32089298963546753,
-0.06972816586494446,
-0.05802491307258606,
-0.16546693444252014,
-0.02410139888525009,
0.1833825707435608,
-0.015596574172377586,
0.12043194472789764,
0.0668269470334053,
-0.07300148159265518,
0.09859897941350937,
-0.135738804936409,
0.06952619552612305,
0.5584737062454224,
0.15008310973644257,
-0.0911993533372879,
-0.037359192967414856,
-0.02411852777004242,
-0.20287275314331055,
0.2230866551399231,
0.2470092624425888,
-0.25158002972602844,
0.1927695870399475,
-0.0019772457890212536,
0.006764085963368416,
0.05436837673187256,
0.12137548625469208,
0.038090236485004425,
0.02631976827979088,
-0.31694838404655457,
-0.003107234835624695,
0.0437699630856514,
0.1455574929714203,
-0.29431718587875366,
-0.4739551544189453,
0.05680186301469803,
-0.09620978683233261,
0.09184932708740234,
0.11232846975326538,
0.036077965050935745,
0.2308141142129898,
-0.09245426952838898,
0.4944142699241638,
-0.059325650334358215,
-0.3651406764984131,
-0.17016571760177612,
-0.18731337785720825,
0.1883338987827301,
0.015879664570093155,
-0.05315442010760307,
0.02994058094918728,
0.3106326460838318,
-0.14460748434066772,
0.20417346060276031,
-0.46503689885139465,
-0.4353863596916199,
-0.028963953256607056,
0.0004463605582714081,
0.7503477931022644,
0.28315114974975586,
-0.009219907224178314,
0.13653694093227386,
-0.13270753622055054,
0.2965182065963745,
-0.07795743644237518,
0.16478818655014038,
-0.17119745910167694,
-0.24691593647003174,
-0.1490934193134308,
-0.2791830003261566,
-0.23900780081748962,
-0.04508268088102341,
-0.28696689009666443,
-0.26764148473739624,
-0.12031771242618561,
-0.18546515703201294,
0.12746118009090424,
0.44137486815452576,
0.1953524649143219,
0.3598140478134155,
-0.04272174835205078,
-0.01411944255232811,
-0.3076486885547638,
0.6466606259346008,
-0.3484894037246704,
-0.22772587835788727,
0.11271339654922485,
-0.22078998386859894,
0.31513679027557373,
0.4210936427116394,
-0.1847180277109146,
-0.6845136880874634,
-0.1306389719247818,
0.21735703945159912,
0.05512814223766327,
0.21061554551124573,
0.0781693309545517,
0.04054179787635803,
-0.038955673575401306,
-0.29105138778686523,
-0.5418055057525635,
0.14733737707138062,
-0.237999826669693,
0.14557188749313354,
0.2954827547073364,
0.4121634066104889,
-0.004101704806089401,
1.1683151721954346,
0.057790305465459824,
-0.2287493199110031,
0.18216097354888916,
0.3092632591724396,
0.438536673784256,
0.31509408354759216,
-0.3524238169193268,
0.268749475479126,
0.1835828423500061,
0.052274979650974274,
0.08979494869709015,
0.20094484090805054,
0.1160590723156929,
-0.3454359769821167,
-0.25793734192848206,
-0.11428088694810867,
-0.24389596283435822,
0.05731678754091263,
0.2957512140274048,
0.8740599751472473,
-0.12034052610397339,
0.10873230546712875,
-0.49950912594795227,
-0.12247567623853683,
-0.10953761637210846,
0.23597601056098938,
0.3663058876991272,
-0.11784174293279648,
-0.31628313660621643,
0.15051348507404327,
-0.5581763982772827,
0.36046212911605835,
0.27521979808807373,
0.17558567225933075,
-0.07712313532829285,
0.29984375834465027,
-0.051099568605422974,
0.049178898334503174,
0.4413941502571106,
-0.24466602504253387,
-0.1455823928117752,
-0.13879072666168213,
-0.11093287169933319,
-0.31280428171157837,
0.08536171913146973,
-0.02200307883322239,
0.08058042824268341,
0.03807978332042694,
0.6715143322944641,
-0.41980984807014465,
-0.18152746558189392,
0.30101078748703003,
0.15762419998645782,
-0.10560809075832367,
-0.25847357511520386,
-0.2796650230884552,
-0.3872827887535095,
-0.09257292747497559,
0.018247611820697784,
0.17024371027946472,
0.19765250384807587,
0.15407589077949524,
-0.060281820595264435,
0.1877220720052719,
0.06846898049116135,
0.24987123906612396,
0.07814709842205048,
0.04418708011507988,
0.3356931805610657,
0.1431902050971985,
0.012489236891269684,
-0.16785092651844025,
0.5937154293060303,
0.35980114340782166,
-0.5014068484306335,
-0.6765733957290649,
-0.16566869616508484,
-0.005305911879986525,
0.4782353639602661,
0.2610807418823242,
-0.1754039078950882,
0.27212488651275635,
0.04046740382909775,
-0.04398028552532196,
-0.2732146680355072,
-0.09288161247968674,
0.40487799048423767,
-0.0060179936699569225,
-0.2668346166610718,
-0.3853682279586792,
0.2860562205314636,
0.20282506942749023,
-0.12477757036685944,
0.05750914663076401,
0.26858049631118774,
-0.2931140661239624,
-0.12603674829006195,
0.2827643156051636,
0.8093631267547607,
0.18496498465538025,
-0.19874140620231628,
0.23735731840133667,
-0.39129936695098877,
0.17353759706020355,
0.3258042335510254,
0.19644686579704285,
-0.07152178138494492,
-0.16768601536750793,
0.0033900458365678787,
-0.19124144315719604,
0.2198759913444519,
0.0391988642513752,
-0.20026299357414246,
0.18799693882465363,
-0.2627170979976654,
-0.020785581320524216,
0.1934497356414795,
0.06261418014764786,
0.015575248748064041,
-0.3994121551513672,
-0.1405239999294281,
0.12674301862716675,
-0.13852976262569427,
-0.2877703607082367,
-0.16255313158035278,
-0.3271583914756775,
0.23119008541107178,
-0.030722614377737045,
-0.24962007999420166,
-0.1372496336698532,
0.04162474349141121,
-0.11205203831195831,
0.42781513929367065,
-0.15605205297470093,
0.36184102296829224,
0.4231203496456146,
0.6328619122505188,
-0.04700470343232155,
-0.019040411338210106,
0.2865561842918396,
-0.5811448097229004,
0.10919765383005142,
-0.06952474266290665,
0.02115466818213463,
0.3637412190437317,
-0.11280534416437149,
-0.2683667838573456,
0.39518076181411743,
0.03804410994052887,
-0.4126926064491272,
-0.4083389937877655,
-0.12858660519123077,
0.15509910881519318,
-0.1274903416633606,
-0.01713791862130165,
-0.09132194519042969,
0.14575965702533722,
-0.1762223243713379,
0.05601240694522858,
0.045590780675411224,
-0.1964067965745926,
0.36020442843437195,
-0.35954779386520386,
-0.04219622164964676,
0.13598357141017914,
0.32749247550964355,
-0.0708407461643219,
-0.31278088688850403,
0.17714443802833557,
-0.20981459319591522,
-0.11805788427591324,
-0.03643639385700226,
-0.29998281598091125,
-0.4740273952484131,
-0.18647173047065735,
0.3557358980178833,
0.5639723539352417,
0.25453507900238037,
0.035391535609960556,
0.44658637046813965,
-0.011680305004119873,
-0.00044605880975723267,
-0.09472924470901489,
-0.3009779453277588,
-0.08581731468439102,
0.10689730197191238,
-0.12831611931324005,
0.059338800609111786,
-0.04559434577822685,
-0.15750564634799957,
-0.014266880229115486,
0.285086065530777,
-0.29981356859207153,
-0.17913122475147247,
-0.17387761175632477,
0.1690596640110016,
0.21163690090179443,
0.08055752515792847,
0.03734506666660309,
0.15467433631420135,
-0.03086133301258087,
-0.04324045032262802,
-0.2993813753128052,
-0.05600662901997566,
-0.2180895060300827,
0.15706565976142883,
-0.1570737659931183,
0.06310467422008514,
-0.029802925884723663,
-0.06988003849983215,
-0.09874629974365234,
-0.046413354575634,
0.2455904185771942,
0.5867995619773865,
-0.2052561491727829,
0.10781216621398926,
-0.001599874347448349,
0.3424164652824402,
0.16235294938087463,
0.12918812036514282,
0.20903156697750092,
0.1955406218767166,
0.15993958711624146,
0.24761247634887695,
-0.19884373247623444,
-0.18127906322479248,
0.12393895536661148,
0.07277891039848328,
0.45603156089782715,
0.05277900770306587,
0.16353479027748108,
0.04051007330417633,
-0.010235961526632309,
0.48197007179260254,
0.13772046566009521,
-0.20074450969696045,
-0.12016333639621735,
0.14478176832199097,
0.1110791340470314,
0.13840480148792267,
-0.2659981846809387,
-0.18945112824440002,
-0.10606500506401062,
0.05131199583411217,
0.2744714021682739,
0.2343549132347107,
0.2734927535057068,
-0.25742411613464355,
0.5626609921455383,
-0.029707666486501694,
0.11856357008218765,
0.017692096531391144,
0.3184843361377716,
0.21373526751995087,
0.1904301941394806,
0.041262149810791016,
0.37990066409111023,
0.07235212624073029,
0.2668747007846832,
0.0019168779253959656,
-0.3717423975467682,
0.4069308936595917,
-0.03232704848051071,
-0.07724796235561371,
0.12012889981269836,
0.18615271151065826,
-0.13530266284942627,
0.017421767115592957,
-0.126323863863945,
0.10725652426481247,
-0.13316220045089722,
0.36263129115104675,
-0.23391872644424438,
-0.08099211007356644,
-0.2220790982246399,
-0.0083949975669384,
0.009941454976797104,
-0.10282300412654877,
-0.35537371039390564,
-0.21318212151527405,
-0.01880364492535591,
-0.09196171164512634,
0.14981700479984283,
0.001293092966079712,
0.24256426095962524,
-0.17242072522640228,
0.09846952557563782,
0.21357740461826324,
-0.040505193173885345,
0.426107257604599,
0.11634841561317444,
0.012582223862409592,
-0.01610547862946987,
0.19854018092155457,
-0.0138629749417305,
0.27898791432380676,
0.4825240969657898,
0.30789706110954285,
0.36836278438568115,
0.3962295353412628,
-0.02190791815519333,
-0.11840179562568665,
0.07497068494558334,
0.12800979614257812,
0.15862461924552917,
0.1807720959186554,
-0.2740677297115326,
0.37581443786621094,
0.10794156789779663,
-0.1389625370502472,
0.208084836602211,
-0.18709054589271545,
0.275652676820755,
-0.6289276480674744,
0.5551919341087341,
-0.05798541009426117,
-0.03129185736179352,
-0.017001908272504807,
-0.11614309996366501,
-0.2227247655391693,
-0.2297757863998413,
0.32347938418388367,
-0.36314067244529724,
-0.1576046645641327,
-0.1457936018705368,
0.045443445444107056,
0.072426438331604,
0.2747465670108795,
0.21441414952278137,
-0.06936997920274734,
-0.41053506731987,
-0.15553244948387146,
-0.49219566583633423,
-0.24484646320343018,
0.24840867519378662,
0.21720793843269348,
-0.15043312311172485,
0.011733479797840118,
-0.019912518560886383,
0.14894461631774902,
0.12803685665130615,
-0.5978555083274841,
-0.05155722424387932,
-0.05268985778093338,
-0.38828566670417786,
0.09176155179738998,
-0.3581448197364807,
-0.12709176540374756,
0.15647220611572266,
-0.07852733880281448,
-0.19814808666706085,
-0.1317707747220993,
0.0013393610715866089,
-0.23212848603725433,
0.012755483388900757,
0.2574651539325714,
0.2629474103450775,
0.3509385585784912,
0.18392612040042877,
0.32522308826446533,
-0.13654394447803497,
0.012418774887919426,
-0.10163344442844391,
-0.1668960154056549,
-0.0971493050456047,
-0.09613972157239914,
-0.13207484781742096,
0.21791039407253265,
-0.34808021783828735,
-0.11490009725093842,
-0.25735095143318176,
0.20197997987270355,
0.08001461625099182,
-0.45746171474456787,
0.10996255278587341,
0.15682582557201385,
-0.30490195751190186,
-0.23068305850028992,
0.36110666394233704,
0.2639641761779785,
-0.052282966673374176,
0.2535315155982971,
-0.005681000649929047,
-0.19936160743236542,
0.432039737701416,
-0.31156229972839355,
-0.23183616995811462,
-0.1553097814321518,
0.32514482736587524,
-0.11448656767606735,
0.0445433035492897,
-0.4876834452152252,
0.003051444888114929,
0.28698140382766724,
0.30008557438850403,
0.019970718771219254,
0.37648072838783264,
-0.05167901888489723,
0.05201166495680809,
-0.05053887143731117,
-0.42212721705436707,
0.1774391233921051,
-0.001938825473189354,
-0.01680230349302292,
-0.2132989466190338
] |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | Hi Mario,
Thanks for your message. I did try to add `sources` into the `Features` dict using a script for the metric:
```
features=datasets.Features(
{
"sources": datasets.Value("string", id="sequence"),
"predictions": datasets.Value("string", id="sequence"),
"references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
}
),
```
But that only avoids a failure in `encode_batch` in the `add_batch` method:
```
batch = {"predictions": predictions, "references": references}
batch = self.info.features.encode_batch(batch)
```
The real problem is that `add_batch()`, `add()` and `compute()` does not receive a `sources` param:
```
def add_batch(self, *, predictions=None, references=None):
def add(self, *, prediction=None, reference=None):
def compute(self, *, predictions=None, references=None, **kwargs)
```
And then, it fails:
`TypeError: add_batch() got an unexpected keyword argument sources`
I need this for adding any metric based on SARI or alike, not only for sari.py :)
Let me know if I understood correctly the proposed solution.
| **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
| 133 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
Hi Mario,
Thanks for your message. I did try to add `sources` into the `Features` dict using a script for the metric:
```
features=datasets.Features(
{
"sources": datasets.Value("string", id="sequence"),
"predictions": datasets.Value("string", id="sequence"),
"references": datasets.Sequence(datasets.Value("string", id="sequence"), id="references"),
}
),
```
But that only avoids a failure in `encode_batch` in the `add_batch` method:
```
batch = {"predictions": predictions, "references": references}
batch = self.info.features.encode_batch(batch)
```
The real problem is that `add_batch()`, `add()` and `compute()` does not receive a `sources` param:
```
def add_batch(self, *, predictions=None, references=None):
def add(self, *, prediction=None, reference=None):
def compute(self, *, predictions=None, references=None, **kwargs)
```
And then, it fails:
`TypeError: add_batch() got an unexpected keyword argument sources`
I need this for adding any metric based on SARI or alike, not only for sari.py :)
Let me know if I understood correctly the proposed solution.
| [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.03241298347711563,
0.08960279822349548,
-0.36780479550361633,
0.05030354484915733,
0.14371439814567566,
-0.09446190297603607,
0.15110032260417938,
-0.5576465129852295,
0.08840791881084442,
-0.1839941143989563,
-0.23982100188732147,
-0.12749157845973969,
0.027171555906534195,
-0.23697063326835632,
-0.18091559410095215,
-0.24230463802814484,
-0.5351157784461975,
0.21281348168849945,
0.1841915249824524,
0.030027378350496292,
0.328779399394989,
-0.0001185520741273649,
0.11093707382678986,
0.276250958442688,
-0.13287360966205597,
-0.4383607506752014,
-0.18208850920200348,
-0.3840428590774536,
-0.2386554777622223,
-0.25545668601989746,
-0.28830769658088684,
-0.06697513163089752,
0.10148390382528305,
-0.24511830508708954,
-0.03781107813119888,
-0.12359504401683807,
0.2556285560131073,
0.12964890897274017,
0.43649402260780334,
0.11773374676704407,
-0.31967705488204956,
0.11267882585525513,
0.1221240982413292,
-0.23143215477466583,
0.1621471494436264,
0.28627729415893555,
0.2523854076862335,
0.10446248203516006,
0.3575455844402313,
-0.10116396844387054,
-0.1528930813074112,
0.3361632227897644,
0.1865539699792862,
0.21779748797416687,
-0.11241483688354492,
0.07214532047510147,
-0.022128887474536896,
0.4007416367530823,
-0.22464218735694885,
-0.7027822136878967,
-0.11284329742193222,
0.01568341627717018,
-0.4567687213420868,
-0.10059712082147598,
0.017396513372659683,
-0.3704310655593872,
0.05893958359956741,
-0.20429198443889618,
-0.2757096290588379,
-0.4550822675228119,
-0.02045518159866333,
0.26646992564201355,
0.4806871712207794,
-0.01089936401695013,
0.12773732841014862,
0.2977893352508545,
-0.14931026101112366,
-0.20831817388534546,
-0.2281208634376526,
-0.03543379530310631,
0.2015785574913025,
-0.2583947479724884,
-0.13118872046470642,
0.037313349545001984,
0.26273906230926514,
0.3208865523338318,
-0.14548230171203613,
-0.12142923474311829,
0.08871200680732727,
0.10686543583869934,
0.18636584281921387,
0.03150137513875961,
0.18316678702831268,
0.12111136317253113,
0.12865594029426575,
0.1919882446527481,
0.14059452712535858,
0.434431254863739,
-0.12302660197019577,
0.30877450108528137,
-0.5872987508773804,
0.13333067297935486,
0.07114450633525848,
0.1389215737581253,
0.004220437258481979,
-0.09173838049173355,
-0.23615767061710358,
0.19701704382896423,
-0.2742692828178406,
0.3080247640609741,
0.13250768184661865,
0.08010508120059967,
0.2156476080417633,
0.05633355677127838,
0.3079833984375,
0.03387778252363205,
-0.2010413259267807,
-0.17552450299263,
0.13499511778354645,
-0.34877845644950867,
0.33395352959632874,
0.08428020775318146,
-0.4368996024131775,
0.23985281586647034,
0.18668514490127563,
0.3053176701068878,
0.24144068360328674,
-0.1046384796500206,
-0.0915885865688324,
0.06773128360509872,
0.26852884888648987,
-0.17558717727661133,
-0.10769546031951904,
-0.0455673448741436,
-0.07633893191814423,
-0.1254887878894806,
0.2220953404903412,
-0.3980185091495514,
-0.248884916305542,
-0.02165173925459385,
0.08884849399328232,
-0.22367145121097565,
0.08602246642112732,
-0.4042806327342987,
0.4411889910697937,
-0.05360891669988632,
-0.11593329906463623,
-0.13124531507492065,
0.02457593008875847,
-0.4395686686038971,
-0.25817427039146423,
0.4780132472515106,
0.37687575817108154,
-0.27058500051498413,
-0.2682243585586548,
0.015260299667716026,
-0.27779170870780945,
-0.00017437338829040527,
-0.04871306195855141,
-0.13498495519161224,
0.2266245186328888,
-0.09006541222333908,
0.009133517742156982,
0.4235928952693939,
-0.604447066783905,
-0.2491818368434906,
0.1749856024980545,
0.26293569803237915,
0.02132994495332241,
0.2808437943458557,
0.24419398605823517,
0.36556732654571533,
-0.10358022153377533,
0.5832074880599976,
-0.010074712336063385,
0.05779940262436867,
-0.19513745605945587,
-0.09838041663169861,
-0.2154649794101715,
-0.3887764811515808,
0.14918005466461182,
0.31461262702941895,
0.28701314330101013,
0.11720841377973557,
-0.27439084649086,
0.1582755148410797,
-0.2240351140499115,
0.1490284502506256,
0.21032188832759857,
0.42844295501708984,
-0.1786857396364212,
0.009594805538654327,
-0.46751320362091064,
-0.1849883794784546,
0.2353612780570984,
-0.03878331929445267,
0.14294761419296265,
-0.16613183915615082,
-0.23371031880378723,
-0.4295104742050171,
0.23375527560710907,
0.07303813844919205,
0.1595887690782547,
0.008318159729242325,
0.019376683980226517,
0.18872854113578796,
-0.06502033770084381,
-0.15049338340759277,
-0.051103442907333374,
-0.02184014767408371,
0.1324145644903183,
-0.07355132699012756,
0.22901226580142975,
0.008716899901628494,
-0.24237611889839172,
0.12291021645069122,
0.2345898449420929,
0.3444210886955261,
-0.005803708918392658,
0.06997883319854736,
0.43608757853507996,
-0.14225731790065765,
0.2842976450920105,
0.1106192022562027,
0.40463000535964966,
0.29120346903800964,
0.15826039016246796,
0.040424227714538574,
-0.3556537628173828,
0.1786971539258957,
-0.036075301468372345,
0.05733262374997139,
0.3717135787010193,
-0.04580555483698845,
0.22345715761184692,
0.03956449776887894,
0.05303388833999634,
0.30497094988822937,
-0.023393938317894936,
-0.3434014916419983,
-0.3567792475223541,
-0.11453959345817566,
-0.32089298963546753,
-0.06972816586494446,
-0.05802491307258606,
-0.16546693444252014,
-0.02410139888525009,
0.1833825707435608,
-0.015596574172377586,
0.12043194472789764,
0.0668269470334053,
-0.07300148159265518,
0.09859897941350937,
-0.135738804936409,
0.06952619552612305,
0.5584737062454224,
0.15008310973644257,
-0.0911993533372879,
-0.037359192967414856,
-0.02411852777004242,
-0.20287275314331055,
0.2230866551399231,
0.2470092624425888,
-0.25158002972602844,
0.1927695870399475,
-0.0019772457890212536,
0.006764085963368416,
0.05436837673187256,
0.12137548625469208,
0.038090236485004425,
0.02631976827979088,
-0.31694838404655457,
-0.003107234835624695,
0.0437699630856514,
0.1455574929714203,
-0.29431718587875366,
-0.4739551544189453,
0.05680186301469803,
-0.09620978683233261,
0.09184932708740234,
0.11232846975326538,
0.036077965050935745,
0.2308141142129898,
-0.09245426952838898,
0.4944142699241638,
-0.059325650334358215,
-0.3651406764984131,
-0.17016571760177612,
-0.18731337785720825,
0.1883338987827301,
0.015879664570093155,
-0.05315442010760307,
0.02994058094918728,
0.3106326460838318,
-0.14460748434066772,
0.20417346060276031,
-0.46503689885139465,
-0.4353863596916199,
-0.028963953256607056,
0.0004463605582714081,
0.7503477931022644,
0.28315114974975586,
-0.009219907224178314,
0.13653694093227386,
-0.13270753622055054,
0.2965182065963745,
-0.07795743644237518,
0.16478818655014038,
-0.17119745910167694,
-0.24691593647003174,
-0.1490934193134308,
-0.2791830003261566,
-0.23900780081748962,
-0.04508268088102341,
-0.28696689009666443,
-0.26764148473739624,
-0.12031771242618561,
-0.18546515703201294,
0.12746118009090424,
0.44137486815452576,
0.1953524649143219,
0.3598140478134155,
-0.04272174835205078,
-0.01411944255232811,
-0.3076486885547638,
0.6466606259346008,
-0.3484894037246704,
-0.22772587835788727,
0.11271339654922485,
-0.22078998386859894,
0.31513679027557373,
0.4210936427116394,
-0.1847180277109146,
-0.6845136880874634,
-0.1306389719247818,
0.21735703945159912,
0.05512814223766327,
0.21061554551124573,
0.0781693309545517,
0.04054179787635803,
-0.038955673575401306,
-0.29105138778686523,
-0.5418055057525635,
0.14733737707138062,
-0.237999826669693,
0.14557188749313354,
0.2954827547073364,
0.4121634066104889,
-0.004101704806089401,
1.1683151721954346,
0.057790305465459824,
-0.2287493199110031,
0.18216097354888916,
0.3092632591724396,
0.438536673784256,
0.31509408354759216,
-0.3524238169193268,
0.268749475479126,
0.1835828423500061,
0.052274979650974274,
0.08979494869709015,
0.20094484090805054,
0.1160590723156929,
-0.3454359769821167,
-0.25793734192848206,
-0.11428088694810867,
-0.24389596283435822,
0.05731678754091263,
0.2957512140274048,
0.8740599751472473,
-0.12034052610397339,
0.10873230546712875,
-0.49950912594795227,
-0.12247567623853683,
-0.10953761637210846,
0.23597601056098938,
0.3663058876991272,
-0.11784174293279648,
-0.31628313660621643,
0.15051348507404327,
-0.5581763982772827,
0.36046212911605835,
0.27521979808807373,
0.17558567225933075,
-0.07712313532829285,
0.29984375834465027,
-0.051099568605422974,
0.049178898334503174,
0.4413941502571106,
-0.24466602504253387,
-0.1455823928117752,
-0.13879072666168213,
-0.11093287169933319,
-0.31280428171157837,
0.08536171913146973,
-0.02200307883322239,
0.08058042824268341,
0.03807978332042694,
0.6715143322944641,
-0.41980984807014465,
-0.18152746558189392,
0.30101078748703003,
0.15762419998645782,
-0.10560809075832367,
-0.25847357511520386,
-0.2796650230884552,
-0.3872827887535095,
-0.09257292747497559,
0.018247611820697784,
0.17024371027946472,
0.19765250384807587,
0.15407589077949524,
-0.060281820595264435,
0.1877220720052719,
0.06846898049116135,
0.24987123906612396,
0.07814709842205048,
0.04418708011507988,
0.3356931805610657,
0.1431902050971985,
0.012489236891269684,
-0.16785092651844025,
0.5937154293060303,
0.35980114340782166,
-0.5014068484306335,
-0.6765733957290649,
-0.16566869616508484,
-0.005305911879986525,
0.4782353639602661,
0.2610807418823242,
-0.1754039078950882,
0.27212488651275635,
0.04046740382909775,
-0.04398028552532196,
-0.2732146680355072,
-0.09288161247968674,
0.40487799048423767,
-0.0060179936699569225,
-0.2668346166610718,
-0.3853682279586792,
0.2860562205314636,
0.20282506942749023,
-0.12477757036685944,
0.05750914663076401,
0.26858049631118774,
-0.2931140661239624,
-0.12603674829006195,
0.2827643156051636,
0.8093631267547607,
0.18496498465538025,
-0.19874140620231628,
0.23735731840133667,
-0.39129936695098877,
0.17353759706020355,
0.3258042335510254,
0.19644686579704285,
-0.07152178138494492,
-0.16768601536750793,
0.0033900458365678787,
-0.19124144315719604,
0.2198759913444519,
0.0391988642513752,
-0.20026299357414246,
0.18799693882465363,
-0.2627170979976654,
-0.020785581320524216,
0.1934497356414795,
0.06261418014764786,
0.015575248748064041,
-0.3994121551513672,
-0.1405239999294281,
0.12674301862716675,
-0.13852976262569427,
-0.2877703607082367,
-0.16255313158035278,
-0.3271583914756775,
0.23119008541107178,
-0.030722614377737045,
-0.24962007999420166,
-0.1372496336698532,
0.04162474349141121,
-0.11205203831195831,
0.42781513929367065,
-0.15605205297470093,
0.36184102296829224,
0.4231203496456146,
0.6328619122505188,
-0.04700470343232155,
-0.019040411338210106,
0.2865561842918396,
-0.5811448097229004,
0.10919765383005142,
-0.06952474266290665,
0.02115466818213463,
0.3637412190437317,
-0.11280534416437149,
-0.2683667838573456,
0.39518076181411743,
0.03804410994052887,
-0.4126926064491272,
-0.4083389937877655,
-0.12858660519123077,
0.15509910881519318,
-0.1274903416633606,
-0.01713791862130165,
-0.09132194519042969,
0.14575965702533722,
-0.1762223243713379,
0.05601240694522858,
0.045590780675411224,
-0.1964067965745926,
0.36020442843437195,
-0.35954779386520386,
-0.04219622164964676,
0.13598357141017914,
0.32749247550964355,
-0.0708407461643219,
-0.31278088688850403,
0.17714443802833557,
-0.20981459319591522,
-0.11805788427591324,
-0.03643639385700226,
-0.29998281598091125,
-0.4740273952484131,
-0.18647173047065735,
0.3557358980178833,
0.5639723539352417,
0.25453507900238037,
0.035391535609960556,
0.44658637046813965,
-0.011680305004119873,
-0.00044605880975723267,
-0.09472924470901489,
-0.3009779453277588,
-0.08581731468439102,
0.10689730197191238,
-0.12831611931324005,
0.059338800609111786,
-0.04559434577822685,
-0.15750564634799957,
-0.014266880229115486,
0.285086065530777,
-0.29981356859207153,
-0.17913122475147247,
-0.17387761175632477,
0.1690596640110016,
0.21163690090179443,
0.08055752515792847,
0.03734506666660309,
0.15467433631420135,
-0.03086133301258087,
-0.04324045032262802,
-0.2993813753128052,
-0.05600662901997566,
-0.2180895060300827,
0.15706565976142883,
-0.1570737659931183,
0.06310467422008514,
-0.029802925884723663,
-0.06988003849983215,
-0.09874629974365234,
-0.046413354575634,
0.2455904185771942,
0.5867995619773865,
-0.2052561491727829,
0.10781216621398926,
-0.001599874347448349,
0.3424164652824402,
0.16235294938087463,
0.12918812036514282,
0.20903156697750092,
0.1955406218767166,
0.15993958711624146,
0.24761247634887695,
-0.19884373247623444,
-0.18127906322479248,
0.12393895536661148,
0.07277891039848328,
0.45603156089782715,
0.05277900770306587,
0.16353479027748108,
0.04051007330417633,
-0.010235961526632309,
0.48197007179260254,
0.13772046566009521,
-0.20074450969696045,
-0.12016333639621735,
0.14478176832199097,
0.1110791340470314,
0.13840480148792267,
-0.2659981846809387,
-0.18945112824440002,
-0.10606500506401062,
0.05131199583411217,
0.2744714021682739,
0.2343549132347107,
0.2734927535057068,
-0.25742411613464355,
0.5626609921455383,
-0.029707666486501694,
0.11856357008218765,
0.017692096531391144,
0.3184843361377716,
0.21373526751995087,
0.1904301941394806,
0.041262149810791016,
0.37990066409111023,
0.07235212624073029,
0.2668747007846832,
0.0019168779253959656,
-0.3717423975467682,
0.4069308936595917,
-0.03232704848051071,
-0.07724796235561371,
0.12012889981269836,
0.18615271151065826,
-0.13530266284942627,
0.017421767115592957,
-0.126323863863945,
0.10725652426481247,
-0.13316220045089722,
0.36263129115104675,
-0.23391872644424438,
-0.08099211007356644,
-0.2220790982246399,
-0.0083949975669384,
0.009941454976797104,
-0.10282300412654877,
-0.35537371039390564,
-0.21318212151527405,
-0.01880364492535591,
-0.09196171164512634,
0.14981700479984283,
0.001293092966079712,
0.24256426095962524,
-0.17242072522640228,
0.09846952557563782,
0.21357740461826324,
-0.040505193173885345,
0.426107257604599,
0.11634841561317444,
0.012582223862409592,
-0.01610547862946987,
0.19854018092155457,
-0.0138629749417305,
0.27898791432380676,
0.4825240969657898,
0.30789706110954285,
0.36836278438568115,
0.3962295353412628,
-0.02190791815519333,
-0.11840179562568665,
0.07497068494558334,
0.12800979614257812,
0.15862461924552917,
0.1807720959186554,
-0.2740677297115326,
0.37581443786621094,
0.10794156789779663,
-0.1389625370502472,
0.208084836602211,
-0.18709054589271545,
0.275652676820755,
-0.6289276480674744,
0.5551919341087341,
-0.05798541009426117,
-0.03129185736179352,
-0.017001908272504807,
-0.11614309996366501,
-0.2227247655391693,
-0.2297757863998413,
0.32347938418388367,
-0.36314067244529724,
-0.1576046645641327,
-0.1457936018705368,
0.045443445444107056,
0.072426438331604,
0.2747465670108795,
0.21441414952278137,
-0.06936997920274734,
-0.41053506731987,
-0.15553244948387146,
-0.49219566583633423,
-0.24484646320343018,
0.24840867519378662,
0.21720793843269348,
-0.15043312311172485,
0.011733479797840118,
-0.019912518560886383,
0.14894461631774902,
0.12803685665130615,
-0.5978555083274841,
-0.05155722424387932,
-0.05268985778093338,
-0.38828566670417786,
0.09176155179738998,
-0.3581448197364807,
-0.12709176540374756,
0.15647220611572266,
-0.07852733880281448,
-0.19814808666706085,
-0.1317707747220993,
0.0013393610715866089,
-0.23212848603725433,
0.012755483388900757,
0.2574651539325714,
0.2629474103450775,
0.3509385585784912,
0.18392612040042877,
0.32522308826446533,
-0.13654394447803497,
0.012418774887919426,
-0.10163344442844391,
-0.1668960154056549,
-0.0971493050456047,
-0.09613972157239914,
-0.13207484781742096,
0.21791039407253265,
-0.34808021783828735,
-0.11490009725093842,
-0.25735095143318176,
0.20197997987270355,
0.08001461625099182,
-0.45746171474456787,
0.10996255278587341,
0.15682582557201385,
-0.30490195751190186,
-0.23068305850028992,
0.36110666394233704,
0.2639641761779785,
-0.052282966673374176,
0.2535315155982971,
-0.005681000649929047,
-0.19936160743236542,
0.432039737701416,
-0.31156229972839355,
-0.23183616995811462,
-0.1553097814321518,
0.32514482736587524,
-0.11448656767606735,
0.0445433035492897,
-0.4876834452152252,
0.003051444888114929,
0.28698140382766724,
0.30008557438850403,
0.019970718771219254,
0.37648072838783264,
-0.05167901888489723,
0.05201166495680809,
-0.05053887143731117,
-0.42212721705436707,
0.1774391233921051,
-0.001938825473189354,
-0.01680230349302292,
-0.2132989466190338
] |
https://github.com/huggingface/datasets/issues/3818 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI | The `Metric` class has been modified recently to support this use-case, but the `add_batch` + `compute` pattern still doesn't work correctly. I'll open a PR. | **Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
| 25 | Support for "sources" parameter in the add() and add_batch() methods in datasets.metric - SARI
**Is your feature request related to a problem? Please describe.**
The methods `add_batch` and `add` from the `Metric` [class](https://github.com/huggingface/datasets/blob/1675ad6a958435b675a849eafa8a7f10fe0f43bc/src/datasets/metric.py) does not work with [SARI](https://github.com/huggingface/datasets/blob/master/metrics/sari/sari.py) metric. This metric not only relies on the predictions and references, but also in the input.
For example, when the `add_batch` method is used, then the `compute()` method fails:
```
metric = load_metric("sari")
metric.add_batch(
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
metric.compute()
> TypeError: _compute() missing 1 required positional argument: 'sources'
```
Therefore, the `compute() `method can only be used standalone:
```
metric = load_metric("sari")
result = metric.compute(
sources=["About 95 species are currently accepted ."],
predictions=["About 95 you now get in ."],
references=[["About 95 species are currently known .","About 95 species are now accepted .","95 species are now accepted ."]])
> {'sari': 26.953601953601954}
```
**Describe the solution you'd like**
Support for an additional parameter `sources` in the `add_batch` and `add` of the `Metric` class.
```
add_batch(*, sources=None, predictions=None, references=None, **kwargs)
add(*, sources=None, predictions=None, references=None, **kwargs)
compute()
```
**Describe alternatives you've considered**
I've tried to override the `add_batch` and `add`, however, these are highly dependent to the `Metric` class. We could also write a simple function that compute the scores of a sentences list, but then we lose the functionality from the original [add](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add) and [add_batch method](https://huggingface.co/docs/datasets/_modules/datasets/metric.html#Metric.add_batch).
**Additional context**
These methods are used in the transformers [pytorch examples](https://github.com/huggingface/transformers/blob/master/examples/pytorch/summarization/run_summarization_no_trainer.py).
The `Metric` class has been modified recently to support this use-case, but the `add_batch` + `compute` pattern still doesn't work correctly. I'll open a PR. | [
-0.41885754466056824,
0.27242520451545715,
-0.009295830503106117,
-0.10950388014316559,
0.12285435944795609,
-0.07086557149887085,
0.23206757009029388,
0.21514850854873657,
-0.18371306359767914,
0.22034338116645813,
-0.2901643216609955,
0.2855445146560669,
0.13469690084457397,
0.03241298347711563,
0.08960279822349548,
-0.36780479550361633,
0.05030354484915733,
0.14371439814567566,
-0.09446190297603607,
0.15110032260417938,
-0.5576465129852295,
0.08840791881084442,
-0.1839941143989563,
-0.23982100188732147,
-0.12749157845973969,
0.027171555906534195,
-0.23697063326835632,
-0.18091559410095215,
-0.24230463802814484,
-0.5351157784461975,
0.21281348168849945,
0.1841915249824524,
0.030027378350496292,
0.328779399394989,
-0.0001185520741273649,
0.11093707382678986,
0.276250958442688,
-0.13287360966205597,
-0.4383607506752014,
-0.18208850920200348,
-0.3840428590774536,
-0.2386554777622223,
-0.25545668601989746,
-0.28830769658088684,
-0.06697513163089752,
0.10148390382528305,
-0.24511830508708954,
-0.03781107813119888,
-0.12359504401683807,
0.2556285560131073,
0.12964890897274017,
0.43649402260780334,
0.11773374676704407,
-0.31967705488204956,
0.11267882585525513,
0.1221240982413292,
-0.23143215477466583,
0.1621471494436264,
0.28627729415893555,
0.2523854076862335,
0.10446248203516006,
0.3575455844402313,
-0.10116396844387054,
-0.1528930813074112,
0.3361632227897644,
0.1865539699792862,
0.21779748797416687,
-0.11241483688354492,
0.07214532047510147,
-0.022128887474536896,
0.4007416367530823,
-0.22464218735694885,
-0.7027822136878967,
-0.11284329742193222,
0.01568341627717018,
-0.4567687213420868,
-0.10059712082147598,
0.017396513372659683,
-0.3704310655593872,
0.05893958359956741,
-0.20429198443889618,
-0.2757096290588379,
-0.4550822675228119,
-0.02045518159866333,
0.26646992564201355,
0.4806871712207794,
-0.01089936401695013,
0.12773732841014862,
0.2977893352508545,
-0.14931026101112366,
-0.20831817388534546,
-0.2281208634376526,
-0.03543379530310631,
0.2015785574913025,
-0.2583947479724884,
-0.13118872046470642,
0.037313349545001984,
0.26273906230926514,
0.3208865523338318,
-0.14548230171203613,
-0.12142923474311829,
0.08871200680732727,
0.10686543583869934,
0.18636584281921387,
0.03150137513875961,
0.18316678702831268,
0.12111136317253113,
0.12865594029426575,
0.1919882446527481,
0.14059452712535858,
0.434431254863739,
-0.12302660197019577,
0.30877450108528137,
-0.5872987508773804,
0.13333067297935486,
0.07114450633525848,
0.1389215737581253,
0.004220437258481979,
-0.09173838049173355,
-0.23615767061710358,
0.19701704382896423,
-0.2742692828178406,
0.3080247640609741,
0.13250768184661865,
0.08010508120059967,
0.2156476080417633,
0.05633355677127838,
0.3079833984375,
0.03387778252363205,
-0.2010413259267807,
-0.17552450299263,
0.13499511778354645,
-0.34877845644950867,
0.33395352959632874,
0.08428020775318146,
-0.4368996024131775,
0.23985281586647034,
0.18668514490127563,
0.3053176701068878,
0.24144068360328674,
-0.1046384796500206,
-0.0915885865688324,
0.06773128360509872,
0.26852884888648987,
-0.17558717727661133,
-0.10769546031951904,
-0.0455673448741436,
-0.07633893191814423,
-0.1254887878894806,
0.2220953404903412,
-0.3980185091495514,
-0.248884916305542,
-0.02165173925459385,
0.08884849399328232,
-0.22367145121097565,
0.08602246642112732,
-0.4042806327342987,
0.4411889910697937,
-0.05360891669988632,
-0.11593329906463623,
-0.13124531507492065,
0.02457593008875847,
-0.4395686686038971,
-0.25817427039146423,
0.4780132472515106,
0.37687575817108154,
-0.27058500051498413,
-0.2682243585586548,
0.015260299667716026,
-0.27779170870780945,
-0.00017437338829040527,
-0.04871306195855141,
-0.13498495519161224,
0.2266245186328888,
-0.09006541222333908,
0.009133517742156982,
0.4235928952693939,
-0.604447066783905,
-0.2491818368434906,
0.1749856024980545,
0.26293569803237915,
0.02132994495332241,
0.2808437943458557,
0.24419398605823517,
0.36556732654571533,
-0.10358022153377533,
0.5832074880599976,
-0.010074712336063385,
0.05779940262436867,
-0.19513745605945587,
-0.09838041663169861,
-0.2154649794101715,
-0.3887764811515808,
0.14918005466461182,
0.31461262702941895,
0.28701314330101013,
0.11720841377973557,
-0.27439084649086,
0.1582755148410797,
-0.2240351140499115,
0.1490284502506256,
0.21032188832759857,
0.42844295501708984,
-0.1786857396364212,
0.009594805538654327,
-0.46751320362091064,
-0.1849883794784546,
0.2353612780570984,
-0.03878331929445267,
0.14294761419296265,
-0.16613183915615082,
-0.23371031880378723,
-0.4295104742050171,
0.23375527560710907,
0.07303813844919205,
0.1595887690782547,
0.008318159729242325,
0.019376683980226517,
0.18872854113578796,
-0.06502033770084381,
-0.15049338340759277,
-0.051103442907333374,
-0.02184014767408371,
0.1324145644903183,
-0.07355132699012756,
0.22901226580142975,
0.008716899901628494,
-0.24237611889839172,
0.12291021645069122,
0.2345898449420929,
0.3444210886955261,
-0.005803708918392658,
0.06997883319854736,
0.43608757853507996,
-0.14225731790065765,
0.2842976450920105,
0.1106192022562027,
0.40463000535964966,
0.29120346903800964,
0.15826039016246796,
0.040424227714538574,
-0.3556537628173828,
0.1786971539258957,
-0.036075301468372345,
0.05733262374997139,
0.3717135787010193,
-0.04580555483698845,
0.22345715761184692,
0.03956449776887894,
0.05303388833999634,
0.30497094988822937,
-0.023393938317894936,
-0.3434014916419983,
-0.3567792475223541,
-0.11453959345817566,
-0.32089298963546753,
-0.06972816586494446,
-0.05802491307258606,
-0.16546693444252014,
-0.02410139888525009,
0.1833825707435608,
-0.015596574172377586,
0.12043194472789764,
0.0668269470334053,
-0.07300148159265518,
0.09859897941350937,
-0.135738804936409,
0.06952619552612305,
0.5584737062454224,
0.15008310973644257,
-0.0911993533372879,
-0.037359192967414856,
-0.02411852777004242,
-0.20287275314331055,
0.2230866551399231,
0.2470092624425888,
-0.25158002972602844,
0.1927695870399475,
-0.0019772457890212536,
0.006764085963368416,
0.05436837673187256,
0.12137548625469208,
0.038090236485004425,
0.02631976827979088,
-0.31694838404655457,
-0.003107234835624695,
0.0437699630856514,
0.1455574929714203,
-0.29431718587875366,
-0.4739551544189453,
0.05680186301469803,
-0.09620978683233261,
0.09184932708740234,
0.11232846975326538,
0.036077965050935745,
0.2308141142129898,
-0.09245426952838898,
0.4944142699241638,
-0.059325650334358215,
-0.3651406764984131,
-0.17016571760177612,
-0.18731337785720825,
0.1883338987827301,
0.015879664570093155,
-0.05315442010760307,
0.02994058094918728,
0.3106326460838318,
-0.14460748434066772,
0.20417346060276031,
-0.46503689885139465,
-0.4353863596916199,
-0.028963953256607056,
0.0004463605582714081,
0.7503477931022644,
0.28315114974975586,
-0.009219907224178314,
0.13653694093227386,
-0.13270753622055054,
0.2965182065963745,
-0.07795743644237518,
0.16478818655014038,
-0.17119745910167694,
-0.24691593647003174,
-0.1490934193134308,
-0.2791830003261566,
-0.23900780081748962,
-0.04508268088102341,
-0.28696689009666443,
-0.26764148473739624,
-0.12031771242618561,
-0.18546515703201294,
0.12746118009090424,
0.44137486815452576,
0.1953524649143219,
0.3598140478134155,
-0.04272174835205078,
-0.01411944255232811,
-0.3076486885547638,
0.6466606259346008,
-0.3484894037246704,
-0.22772587835788727,
0.11271339654922485,
-0.22078998386859894,
0.31513679027557373,
0.4210936427116394,
-0.1847180277109146,
-0.6845136880874634,
-0.1306389719247818,
0.21735703945159912,
0.05512814223766327,
0.21061554551124573,
0.0781693309545517,
0.04054179787635803,
-0.038955673575401306,
-0.29105138778686523,
-0.5418055057525635,
0.14733737707138062,
-0.237999826669693,
0.14557188749313354,
0.2954827547073364,
0.4121634066104889,
-0.004101704806089401,
1.1683151721954346,
0.057790305465459824,
-0.2287493199110031,
0.18216097354888916,
0.3092632591724396,
0.438536673784256,
0.31509408354759216,
-0.3524238169193268,
0.268749475479126,
0.1835828423500061,
0.052274979650974274,
0.08979494869709015,
0.20094484090805054,
0.1160590723156929,
-0.3454359769821167,
-0.25793734192848206,
-0.11428088694810867,
-0.24389596283435822,
0.05731678754091263,
0.2957512140274048,
0.8740599751472473,
-0.12034052610397339,
0.10873230546712875,
-0.49950912594795227,
-0.12247567623853683,
-0.10953761637210846,
0.23597601056098938,
0.3663058876991272,
-0.11784174293279648,
-0.31628313660621643,
0.15051348507404327,
-0.5581763982772827,
0.36046212911605835,
0.27521979808807373,
0.17558567225933075,
-0.07712313532829285,
0.29984375834465027,
-0.051099568605422974,
0.049178898334503174,
0.4413941502571106,
-0.24466602504253387,
-0.1455823928117752,
-0.13879072666168213,
-0.11093287169933319,
-0.31280428171157837,
0.08536171913146973,
-0.02200307883322239,
0.08058042824268341,
0.03807978332042694,
0.6715143322944641,
-0.41980984807014465,
-0.18152746558189392,
0.30101078748703003,
0.15762419998645782,
-0.10560809075832367,
-0.25847357511520386,
-0.2796650230884552,
-0.3872827887535095,
-0.09257292747497559,
0.018247611820697784,
0.17024371027946472,
0.19765250384807587,
0.15407589077949524,
-0.060281820595264435,
0.1877220720052719,
0.06846898049116135,
0.24987123906612396,
0.07814709842205048,
0.04418708011507988,
0.3356931805610657,
0.1431902050971985,
0.012489236891269684,
-0.16785092651844025,
0.5937154293060303,
0.35980114340782166,
-0.5014068484306335,
-0.6765733957290649,
-0.16566869616508484,
-0.005305911879986525,
0.4782353639602661,
0.2610807418823242,
-0.1754039078950882,
0.27212488651275635,
0.04046740382909775,
-0.04398028552532196,
-0.2732146680355072,
-0.09288161247968674,
0.40487799048423767,
-0.0060179936699569225,
-0.2668346166610718,
-0.3853682279586792,
0.2860562205314636,
0.20282506942749023,
-0.12477757036685944,
0.05750914663076401,
0.26858049631118774,
-0.2931140661239624,
-0.12603674829006195,
0.2827643156051636,
0.8093631267547607,
0.18496498465538025,
-0.19874140620231628,
0.23735731840133667,
-0.39129936695098877,
0.17353759706020355,
0.3258042335510254,
0.19644686579704285,
-0.07152178138494492,
-0.16768601536750793,
0.0033900458365678787,
-0.19124144315719604,
0.2198759913444519,
0.0391988642513752,
-0.20026299357414246,
0.18799693882465363,
-0.2627170979976654,
-0.020785581320524216,
0.1934497356414795,
0.06261418014764786,
0.015575248748064041,
-0.3994121551513672,
-0.1405239999294281,
0.12674301862716675,
-0.13852976262569427,
-0.2877703607082367,
-0.16255313158035278,
-0.3271583914756775,
0.23119008541107178,
-0.030722614377737045,
-0.24962007999420166,
-0.1372496336698532,
0.04162474349141121,
-0.11205203831195831,
0.42781513929367065,
-0.15605205297470093,
0.36184102296829224,
0.4231203496456146,
0.6328619122505188,
-0.04700470343232155,
-0.019040411338210106,
0.2865561842918396,
-0.5811448097229004,
0.10919765383005142,
-0.06952474266290665,
0.02115466818213463,
0.3637412190437317,
-0.11280534416437149,
-0.2683667838573456,
0.39518076181411743,
0.03804410994052887,
-0.4126926064491272,
-0.4083389937877655,
-0.12858660519123077,
0.15509910881519318,
-0.1274903416633606,
-0.01713791862130165,
-0.09132194519042969,
0.14575965702533722,
-0.1762223243713379,
0.05601240694522858,
0.045590780675411224,
-0.1964067965745926,
0.36020442843437195,
-0.35954779386520386,
-0.04219622164964676,
0.13598357141017914,
0.32749247550964355,
-0.0708407461643219,
-0.31278088688850403,
0.17714443802833557,
-0.20981459319591522,
-0.11805788427591324,
-0.03643639385700226,
-0.29998281598091125,
-0.4740273952484131,
-0.18647173047065735,
0.3557358980178833,
0.5639723539352417,
0.25453507900238037,
0.035391535609960556,
0.44658637046813965,
-0.011680305004119873,
-0.00044605880975723267,
-0.09472924470901489,
-0.3009779453277588,
-0.08581731468439102,
0.10689730197191238,
-0.12831611931324005,
0.059338800609111786,
-0.04559434577822685,
-0.15750564634799957,
-0.014266880229115486,
0.285086065530777,
-0.29981356859207153,
-0.17913122475147247,
-0.17387761175632477,
0.1690596640110016,
0.21163690090179443,
0.08055752515792847,
0.03734506666660309,
0.15467433631420135,
-0.03086133301258087,
-0.04324045032262802,
-0.2993813753128052,
-0.05600662901997566,
-0.2180895060300827,
0.15706565976142883,
-0.1570737659931183,
0.06310467422008514,
-0.029802925884723663,
-0.06988003849983215,
-0.09874629974365234,
-0.046413354575634,
0.2455904185771942,
0.5867995619773865,
-0.2052561491727829,
0.10781216621398926,
-0.001599874347448349,
0.3424164652824402,
0.16235294938087463,
0.12918812036514282,
0.20903156697750092,
0.1955406218767166,
0.15993958711624146,
0.24761247634887695,
-0.19884373247623444,
-0.18127906322479248,
0.12393895536661148,
0.07277891039848328,
0.45603156089782715,
0.05277900770306587,
0.16353479027748108,
0.04051007330417633,
-0.010235961526632309,
0.48197007179260254,
0.13772046566009521,
-0.20074450969696045,
-0.12016333639621735,
0.14478176832199097,
0.1110791340470314,
0.13840480148792267,
-0.2659981846809387,
-0.18945112824440002,
-0.10606500506401062,
0.05131199583411217,
0.2744714021682739,
0.2343549132347107,
0.2734927535057068,
-0.25742411613464355,
0.5626609921455383,
-0.029707666486501694,
0.11856357008218765,
0.017692096531391144,
0.3184843361377716,
0.21373526751995087,
0.1904301941394806,
0.041262149810791016,
0.37990066409111023,
0.07235212624073029,
0.2668747007846832,
0.0019168779253959656,
-0.3717423975467682,
0.4069308936595917,
-0.03232704848051071,
-0.07724796235561371,
0.12012889981269836,
0.18615271151065826,
-0.13530266284942627,
0.017421767115592957,
-0.126323863863945,
0.10725652426481247,
-0.13316220045089722,
0.36263129115104675,
-0.23391872644424438,
-0.08099211007356644,
-0.2220790982246399,
-0.0083949975669384,
0.009941454976797104,
-0.10282300412654877,
-0.35537371039390564,
-0.21318212151527405,
-0.01880364492535591,
-0.09196171164512634,
0.14981700479984283,
0.001293092966079712,
0.24256426095962524,
-0.17242072522640228,
0.09846952557563782,
0.21357740461826324,
-0.040505193173885345,
0.426107257604599,
0.11634841561317444,
0.012582223862409592,
-0.01610547862946987,
0.19854018092155457,
-0.0138629749417305,
0.27898791432380676,
0.4825240969657898,
0.30789706110954285,
0.36836278438568115,
0.3962295353412628,
-0.02190791815519333,
-0.11840179562568665,
0.07497068494558334,
0.12800979614257812,
0.15862461924552917,
0.1807720959186554,
-0.2740677297115326,
0.37581443786621094,
0.10794156789779663,
-0.1389625370502472,
0.208084836602211,
-0.18709054589271545,
0.275652676820755,
-0.6289276480674744,
0.5551919341087341,
-0.05798541009426117,
-0.03129185736179352,
-0.017001908272504807,
-0.11614309996366501,
-0.2227247655391693,
-0.2297757863998413,
0.32347938418388367,
-0.36314067244529724,
-0.1576046645641327,
-0.1457936018705368,
0.045443445444107056,
0.072426438331604,
0.2747465670108795,
0.21441414952278137,
-0.06936997920274734,
-0.41053506731987,
-0.15553244948387146,
-0.49219566583633423,
-0.24484646320343018,
0.24840867519378662,
0.21720793843269348,
-0.15043312311172485,
0.011733479797840118,
-0.019912518560886383,
0.14894461631774902,
0.12803685665130615,
-0.5978555083274841,
-0.05155722424387932,
-0.05268985778093338,
-0.38828566670417786,
0.09176155179738998,
-0.3581448197364807,
-0.12709176540374756,
0.15647220611572266,
-0.07852733880281448,
-0.19814808666706085,
-0.1317707747220993,
0.0013393610715866089,
-0.23212848603725433,
0.012755483388900757,
0.2574651539325714,
0.2629474103450775,
0.3509385585784912,
0.18392612040042877,
0.32522308826446533,
-0.13654394447803497,
0.012418774887919426,
-0.10163344442844391,
-0.1668960154056549,
-0.0971493050456047,
-0.09613972157239914,
-0.13207484781742096,
0.21791039407253265,
-0.34808021783828735,
-0.11490009725093842,
-0.25735095143318176,
0.20197997987270355,
0.08001461625099182,
-0.45746171474456787,
0.10996255278587341,
0.15682582557201385,
-0.30490195751190186,
-0.23068305850028992,
0.36110666394233704,
0.2639641761779785,
-0.052282966673374176,
0.2535315155982971,
-0.005681000649929047,
-0.19936160743236542,
0.432039737701416,
-0.31156229972839355,
-0.23183616995811462,
-0.1553097814321518,
0.32514482736587524,
-0.11448656767606735,
0.0445433035492897,
-0.4876834452152252,
0.003051444888114929,
0.28698140382766724,
0.30008557438850403,
0.019970718771219254,
0.37648072838783264,
-0.05167901888489723,
0.05201166495680809,
-0.05053887143731117,
-0.42212721705436707,
0.1774391233921051,
-0.001938825473189354,
-0.01680230349302292,
-0.2132989466190338
] |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | I would like to take this up and give it a shot. Any image specific - dataset guidelines to keep in mind ? Thank you. | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 25 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I would like to take this up and give it a shot. Any image specific - dataset guidelines to keep in mind ? Thank you. | [
-0.08063692599534988,
-0.0981549620628357,
-0.11934749782085419,
0.055312372744083405,
0.30788809061050415,
-0.1292068362236023,
0.020914487540721893,
-0.005607254803180695,
0.13249768316745758,
-0.04770669341087341,
0.08887439221143723,
-0.03326202183961868,
-0.2426597625017166,
0.25718212127685547,
0.08377239108085632,
-0.10632167756557465,
0.15829956531524658,
-0.08815965056419373,
-0.10223586857318878,
-0.18676595389842987,
-0.24497069418430328,
-0.3292400538921356,
0.2425888329744339,
-0.29650288820266724,
-0.36167389154434204,
-0.10308963805437088,
-0.24395862221717834,
0.16315408051013947,
-0.33469563722610474,
-0.13750268518924713,
-0.0018790513277053833,
0.21875707805156708,
0.08805332332849503,
0.5687711834907532,
-0.00010722359729697928,
-0.08702466636896133,
-0.04313347488641739,
-0.27512073516845703,
0.1904851347208023,
-0.0804944634437561,
-0.4750128388404846,
-0.2762613892555237,
-0.2749950885772705,
-0.20586659014225006,
-0.07712994515895844,
-0.10043618828058243,
0.09590409696102142,
-0.13234888017177582,
0.5059859156608582,
0.27073055505752563,
0.247127965092659,
-0.3086118698120117,
-0.14927949011325836,
0.02473595179617405,
0.204459086060524,
0.6788592338562012,
-0.26672664284706116,
-0.21127966046333313,
0.2783687710762024,
0.25916048884391785,
0.01804620772600174,
0.2829154431819916,
0.057910531759262085,
0.18404564261436462,
0.6363853216171265,
-0.12907743453979492,
-0.23959094285964966,
-0.3995325267314911,
-0.1944018006324768,
0.49129539728164673,
0.3364046514034271,
0.055990297347307205,
-0.249986469745636,
-0.2782716751098633,
-0.17601318657398224,
0.0057294052094221115,
0.043115340173244476,
0.457791805267334,
-0.09155575931072235,
-0.11886639893054962,
-0.3102506995201111,
-0.12861111760139465,
-0.2617158889770508,
0.1167679950594902,
0.006084837019443512,
0.12508979439735413,
-0.03675678372383118,
0.09229397773742676,
0.14883795380592346,
-0.18080128729343414,
-0.3503502607345581,
-0.14281733334064484,
-0.025570135563611984,
0.01219230331480503,
-0.005233380943536758,
-0.11644096672534943,
0.052236203104257584,
0.027493026107549667,
0.43155595660209656,
-0.05176614969968796,
-0.014339516870677471,
-0.029326938092708588,
-0.15675894916057587,
-0.026176556944847107,
0.20562483370304108,
-0.3562363088130951,
-0.18919721245765686,
-0.0611066035926342,
0.033332459628582,
-0.08370248973369598,
-0.0582030788064003,
-0.043306559324264526,
0.10155078768730164,
-0.044788092374801636,
-0.29817089438438416,
-0.36545753479003906,
0.2336859554052353,
-0.2841871678829193,
0.09964517503976822,
-0.058156467974185944,
0.346734881401062,
-0.2967643737792969,
-0.05578326806426048,
0.059435926377773285,
0.33999553322792053,
-0.3247305750846863,
-0.1192372739315033,
0.34924525022506714,
0.0014019515365362167,
-0.15335498750209808,
-0.11252634227275848,
0.18966393172740936,
-0.29219257831573486,
0.1068834438920021,
0.13087764382362366,
0.10009503364562988,
0.013661269098520279,
-0.03107062354683876,
0.10263402760028839,
0.17360720038414001,
0.19447095692157745,
-0.12980782985687256,
0.5268263816833496,
0.3511091470718384,
-0.08131133019924164,
-0.08063281327486038,
-0.16488420963287354,
0.3052356243133545,
-0.31614381074905396,
0.26887863874435425,
-0.0768253430724144,
-0.11646939814090729,
-0.12983070313930511,
0.19440442323684692,
-0.37139254808425903,
-0.11324559152126312,
-0.24127990007400513,
0.46634602546691895,
-0.20682993531227112,
0.16274313628673553,
0.2716245949268341,
0.11688530445098877,
-0.28395241498947144,
-0.25064927339553833,
-0.06636685132980347,
0.439361035823822,
-0.17941266298294067,
0.12060749530792236,
-0.09125257283449173,
-0.04005470499396324,
-0.13859215378761292,
0.13628926873207092,
-0.07756916433572769,
0.1682339310646057,
-0.06606283038854599,
0.08705033361911774,
0.1911989450454712,
-0.05966920778155327,
-0.09102456271648407,
-0.07644273340702057,
0.0007622614502906799,
-0.1495521068572998,
0.1060776486992836,
0.449544221162796,
0.19807729125022888,
-0.3665607273578644,
-0.29913073778152466,
0.3447690010070801,
-0.38250967860221863,
0.13323628902435303,
0.012885592877864838,
-0.3783044219017029,
-0.15732790529727936,
0.19359013438224792,
-0.01339724287390709,
-0.22102293372154236,
0.18753808736801147,
-0.06568604707717896,
-0.2725297510623932,
-0.33479809761047363,
0.02802819199860096,
-0.039872944355010986,
0.49948349595069885,
0.053778275847435,
-0.16593940556049347,
-0.016558349132537842,
-0.38806429505348206,
0.203965961933136,
0.4082164168357849,
0.38861531019210815,
-0.11017177999019623,
-0.0821506679058075,
0.2972352206707001,
-0.2280925065279007,
-0.2682793140411377,
-0.07352112233638763,
0.1863560974597931,
-0.02057316154241562,
0.08630247414112091,
-0.24699781835079193,
-0.13528363406658173,
-0.12535181641578674,
-0.07198990136384964,
0.19843170046806335,
0.01501330453902483,
0.22161869704723358,
0.08791311085224152,
-0.06651439517736435,
-0.09804844856262207,
-0.01165754348039627,
0.09650625288486481,
-0.2961215674877167,
-0.03081756830215454,
0.15776169300079346,
0.07494651526212692,
0.20684152841567993,
0.20593753457069397,
0.5141115188598633,
0.31215399503707886,
-0.44662851095199585,
0.4281500577926636,
-0.25166743993759155,
-0.0421580895781517,
-0.2014382779598236,
-0.27201366424560547,
0.08026032894849777,
-0.27333956956863403,
0.11220666766166687,
-0.15331877768039703,
0.02265203930437565,
0.1232229620218277,
-0.06307390332221985,
-0.05591881275177002,
-0.16328471899032593,
0.15423499047756195,
0.4310774505138397,
-0.08202263712882996,
0.04894789308309555,
-0.06901814043521881,
0.03518189489841461,
0.1547566056251526,
-0.017039943486452103,
0.15167969465255737,
0.28688445687294006,
0.059349916875362396,
0.1336824893951416,
0.22834748029708862,
0.1495661586523056,
0.275118350982666,
0.3341166079044342,
-0.16572344303131104,
-0.0026588793843984604,
-0.04182205721735954,
-0.10281921178102493,
0.014392882585525513,
0.3576345443725586,
0.23396655917167664,
-0.3091070353984833,
0.07606033235788345,
0.1671634018421173,
-0.4774658977985382,
-0.1646915078163147,
-0.10611552745103836,
-0.0682462751865387,
-0.06544341146945953,
-0.06746155768632889,
0.16841444373130798,
-0.19847828149795532,
-0.03758060559630394,
-0.06423012167215347,
-0.2903844118118286,
-0.11408108472824097,
0.05813775956630707,
-0.282392293214798,
-0.20825184881687164,
-0.025475459173321724,
-0.12487363815307617,
0.42277494072914124,
-0.22675466537475586,
-0.26097777485847473,
0.02129106968641281,
-0.19842013716697693,
-0.008394554257392883,
0.18506468832492828,
0.41272538900375366,
0.02268785424530506,
0.8276757001876831,
-0.19509446620941162,
0.22945840656757355,
-0.20509986579418182,
-0.6781929135322571,
0.11278429627418518,
-0.3867538571357727,
0.11842893809080124,
0.1493428647518158,
0.41775596141815186,
0.26468098163604736,
0.13199898600578308,
0.16139580309391022,
-0.06761323660612106,
-0.006979608908295631,
-0.01831037551164627,
-0.07611235976219177,
-0.04933233559131622,
-0.1688328981399536,
0.008013643324375153,
-0.0752813071012497,
-0.12506277859210968,
0.23048193752765656,
0.39197129011154175,
0.11685387790203094,
0.18165718019008636,
0.36584898829460144,
-0.20395787060260773,
-0.26006019115448,
0.247044175863266,
-0.17430704832077026,
-0.402227520942688,
0.15960367023944855,
-0.12080039829015732,
-0.3903035521507263,
0.30285578966140747,
0.019155316054821014,
-0.06084922328591347,
0.25905942916870117,
-0.4030798673629761,
-0.2714330852031708,
-0.1416618525981903,
0.15361057221889496,
0.32073765993118286,
0.11756287515163422,
0.10916032642126083,
0.08658014982938766,
-0.13054513931274414,
-0.23485222458839417,
-0.18177251517772675,
0.2536052465438843,
0.1961793601512909,
0.07174764573574066,
0.19128015637397766,
0.31760281324386597,
0.20218144357204437,
0.4311877489089966,
0.03505726531147957,
-0.3972938656806946,
0.4045543372631073,
-0.09589085727930069,
0.2444383203983307,
0.007290773093700409,
-0.1448660045862198,
0.6722421646118164,
0.06789745390415192,
-0.10285162925720215,
-0.03578212857246399,
0.23709112405776978,
0.24542120099067688,
-0.14052385091781616,
0.4610106647014618,
-0.3729972839355469,
-0.19364787638187408,
0.25779736042022705,
0.23300951719284058,
0.06067301705479622,
-0.11717347800731659,
-0.2740773558616638,
-0.2732439637184143,
-0.15815621614456177,
0.07914033532142639,
0.375771701335907,
-0.008303284645080566,
-0.09595396369695663,
-0.36916354298591614,
0.051493216305971146,
-0.4022344648838043,
0.2582146227359772,
0.04230143129825592,
-0.07793837785720825,
-0.21395403146743774,
-0.03926485404372215,
-0.031110674142837524,
0.013951795175671577,
0.4281017780303955,
-0.40148305892944336,
-0.10755522549152374,
-0.11058707535266876,
-0.017656276002526283,
-0.19775675237178802,
0.01095578446984291,
-0.14645600318908691,
-0.047553468495607376,
-0.033362288028001785,
0.06516143679618835,
-0.3153388500213623,
-0.09803733974695206,
0.2087443470954895,
0.05978241190314293,
-0.0038957297801971436,
0.04701673611998558,
0.03890923783183098,
-0.3472649157047272,
-0.2192990928888321,
-0.15342596173286438,
0.016373569145798683,
-0.2492150515317917,
0.1989755928516388,
-0.17145468294620514,
0.006026875227689743,
0.12585997581481934,
0.1748085618019104,
-0.04021022468805313,
-0.12447068840265274,
0.4378024935722351,
0.26882442831993103,
0.11906241625547409,
0.004895411431789398,
0.5409371852874756,
0.7483999133110046,
-0.3648605942726135,
0.07371353358030319,
-0.08019281923770905,
-0.28377050161361694,
-0.014337174594402313,
0.369955837726593,
0.4072831869125366,
-0.3313988447189331,
-0.20285484194755554,
0.01865183189511299,
-0.5730272531509399,
0.26886412501335144,
0.31902453303337097,
0.05171048641204834,
-0.2655497193336487,
-0.35942772030830383,
0.5206122398376465,
0.1408437192440033,
-0.050641018897295,
0.284395694732666,
0.3970039486885071,
-0.3059149384498596,
-0.06424912810325623,
0.6364046335220337,
0.9744555950164795,
-0.2444973737001419,
0.24364791810512543,
0.12433944642543793,
0.010745711624622345,
0.3346884548664093,
0.11494152247905731,
-0.3636959195137024,
0.013865772634744644,
-0.21343988180160522,
-0.15542559325695038,
-0.2868441939353943,
0.2556646168231964,
0.14745056629180908,
0.0924513041973114,
-0.12112683057785034,
0.20659713447093964,
0.281701922416687,
-0.046252183616161346,
0.3123421370983124,
0.032543305307626724,
-0.35290488600730896,
-0.02110302820801735,
0.2851409614086151,
-0.11208145320415497,
-0.11069093644618988,
-0.04286611080169678,
-0.15881143510341644,
-0.30903831124305725,
0.015626434236764908,
-0.22129158675670624,
-0.20786616206169128,
-0.0833657830953598,
-0.2863389849662781,
-0.18975383043289185,
-0.19835810363292694,
0.23522162437438965,
-0.1636747121810913,
0.3441660404205322,
-0.3037942349910736,
-0.2580813765525818,
0.1674528270959854,
0.01393037661910057,
0.0527084544301033,
-0.10236218571662903,
-0.1668519675731659,
0.18607144057750702,
0.012582238763570786,
0.08239496499300003,
-0.0856863334774971,
0.15716761350631714,
0.15855896472930908,
-0.35010454058647156,
-0.2880982756614685,
0.12816977500915527,
-0.28978362679481506,
-0.17797118425369263,
0.1147022545337677,
-0.044902317225933075,
0.055640947073698044,
0.17178377509117126,
0.1524997502565384,
0.247100368142128,
0.3299960792064667,
0.06380316615104675,
0.04790389537811279,
-0.1401403397321701,
-0.08489116281270981,
0.14172786474227905,
-0.12862667441368103,
-0.14212627708911896,
0.04183177277445793,
0.047644808888435364,
-0.23007240891456604,
0.2865246534347534,
0.0723620280623436,
-0.40407225489616394,
-0.1908682882785797,
-0.09352625161409378,
-0.12072963267564774,
-0.020356325432658195,
0.44070813059806824,
0.32640552520751953,
-0.16225871443748474,
0.4150427281856537,
0.0630301833152771,
-0.186627596616745,
0.34122031927108765,
-0.25278422236442566,
0.46497562527656555,
-0.4006931781768799,
0.08578675985336304,
0.1622789055109024,
0.3142688274383545,
-0.39816364645957947,
0.11055008322000504,
0.3170067369937897,
0.11331596225500107,
0.2881743311882019,
0.20557880401611328,
-0.0026733484119176865,
-0.32977059483528137,
0.03238149732351303,
0.030301081016659737,
-0.5007466077804565,
-0.18221846222877502,
0.015192601829767227,
0.12684287130832672,
0.2648879587650299,
-0.2642149329185486,
0.08537308126688004,
-0.2576351761817932,
-0.17700700461864471,
-0.030691467225551605,
-0.07947034388780594,
-0.05885205417871475,
-0.3734806776046753,
0.017502356320619583,
0.22107963263988495,
-0.1706501543521881,
0.20744508504867554,
0.0508231520652771,
-0.06312565505504608,
0.5235396027565002,
0.33382317423820496,
-0.005548328161239624,
0.03537953272461891,
-0.1494971215724945,
-0.002976318122819066,
0.28097742795944214,
0.01840672641992569,
0.04872651398181915,
0.017133183777332306,
0.09157545864582062,
0.301718533039093,
0.2522345185279846,
0.5027561187744141,
0.15976741909980774,
-0.5128323435783386,
0.09356816858053207,
-0.006981933489441872,
0.3016488254070282,
-0.17914800345897675,
0.011852323077619076,
0.22329400479793549,
0.06091639772057533,
0.21182173490524292,
0.37790417671203613,
0.313352108001709,
0.27069440484046936,
-0.20239965617656708,
0.12707987427711487,
0.253038614988327,
0.14968587458133698,
0.22104497253894806,
0.12592193484306335,
-0.4002995193004608,
0.04831211268901825,
0.3773488700389862,
0.3669816553592682,
0.15124067664146423,
0.3962554931640625,
-0.09737782925367355,
0.5817509293556213,
0.08460548520088196,
-0.0718902051448822,
0.2441295087337494,
-0.33289286494255066,
0.6117133498191833,
0.2239006608724594,
0.22609996795654297,
0.06625649333000183,
0.06985894590616226,
-0.012074247002601624,
0.1254311054944992,
-0.3815159499645233,
-0.05593084171414375,
0.19555334746837616,
0.15748418867588043,
0.25817838311195374,
-0.49713900685310364,
-0.25910988450050354,
-0.07519005984067917,
-0.06382832676172256,
-0.09900158643722534,
-0.6088516712188721,
0.4781714677810669,
0.13767385482788086,
0.12550294399261475,
-0.04463958740234375,
0.006569385528564453,
-0.1454227864742279,
0.16004979610443115,
-0.015095241367816925,
0.17117811739444733,
0.29379788041114807,
-0.2759498357772827,
0.6234060525894165,
0.43998342752456665,
0.19579510390758514,
0.03954068943858147,
-0.12287671864032745,
0.5196822881698608,
0.15707653760910034,
-0.17916417121887207,
-0.03620454668998718,
0.09736399352550507,
-0.09357519447803497,
0.02129366248846054,
0.21022465825080872,
0.18934857845306396,
-0.1798330396413803,
-0.07858595252037048,
0.022010527551174164,
-0.055346015840768814,
-0.23178380727767944,
-0.1073317900300026,
0.038576606661081314,
-0.0036295056343078613,
-0.10193946957588196,
-0.08186938613653183,
-0.25450241565704346,
-0.3589567244052887,
0.18971452116966248,
-0.46921008825302124,
0.0028574559837579727,
0.12377419322729111,
0.09321616590023041,
0.005169333890080452,
0.1868784874677658,
0.12136954069137573,
0.07673198729753494,
-0.16050255298614502,
-0.3118813633918762,
-0.6393009424209595,
-0.013415656983852386,
-0.2556952238082886,
-0.3857097327709198,
-0.00252404622733593,
0.0023117735981941223,
0.2733481824398041,
0.2239297330379486,
0.298890084028244,
-0.17756019532680511,
-0.03933793306350708,
0.36806830763816833,
-0.2517459988594055,
0.07488805055618286,
0.05040441453456879,
0.32796335220336914,
-0.04777560383081436,
0.009522676467895508,
0.23772312700748444,
0.0497567243874073,
0.10570055991411209,
-0.2311740666627884,
0.0238090381026268,
-0.05462299659848213,
-0.17202667891979218,
0.44424718618392944,
-0.015425411984324455,
0.31468528509140015,
-0.17008301615715027,
-0.232207253575325,
-0.01348976418375969,
0.13405261933803558,
-0.18806704878807068,
0.1195756196975708,
0.0030665360391139984,
0.3986949026584625,
-0.16803433001041412,
0.07416892051696777,
-0.1395297646522522,
-0.200148805975914,
-0.06276759505271912,
0.16155746579170227,
-0.5420820116996765,
0.22347788512706757,
-0.01893407478928566,
-0.05576908960938454,
0.11990553140640259,
0.24159693717956543,
0.07157416641712189,
-0.04506576433777809,
-0.17473645508289337,
-0.2723182737827301,
0.400831401348114,
-0.1861954778432846,
-0.02230886183679104,
-0.13472868502140045,
0.0011785104870796204,
-0.40778568387031555,
0.18397904932498932,
-0.37891894578933716,
0.14830344915390015,
0.24036738276481628,
-0.04514480382204056,
-0.14842729270458221,
0.33487582206726074,
0.06342539191246033,
-0.424530029296875,
-0.05371997877955437,
0.0562402680516243,
-0.23212167620658875,
-0.13547535240650177,
-0.10414290428161621,
-0.02668720856308937
] |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | I've started working on adding this dataset. I require some inputs on the following :
Ref for the initial draft [here](https://github.com/dnaveenr/datasets/blob/add_metashift_dataset/datasets/metashift/metashift.py)
1. The dataset does not have a typical - train/test/val split. What do we do for the _split_generators() function ? How do we go about this ?
2. This dataset builds on the Visual Genome dataset, using a metadata file. The dataset is generated using generate_full_MetaShift.py script. By default, the authors choose to generate the dataset only for a SELECTED_CLASSES. The following script is used :
Code : https://github.com/Weixin-Liang/MetaShift/blob/main/dataset/generate_full_MetaShift.py
Info : https://metashift.readthedocs.io/en/latest/sub_pages/download_MetaShift.html#generate-the-full-metashift-dataset
Can I just copy over the required functions into the metashift.py to generate the dataset ?
3. How do we complete the _generate_examples for this dataset ?
The user has the ability to use default selected classes, get the complete dataset or add more specific additional classes. I think config would be a good option here.
Inputs, suggestions would be helpful. Thank you. | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 156 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
I've started working on adding this dataset. I require some inputs on the following :
Ref for the initial draft [here](https://github.com/dnaveenr/datasets/blob/add_metashift_dataset/datasets/metashift/metashift.py)
1. The dataset does not have a typical - train/test/val split. What do we do for the _split_generators() function ? How do we go about this ?
2. This dataset builds on the Visual Genome dataset, using a metadata file. The dataset is generated using generate_full_MetaShift.py script. By default, the authors choose to generate the dataset only for a SELECTED_CLASSES. The following script is used :
Code : https://github.com/Weixin-Liang/MetaShift/blob/main/dataset/generate_full_MetaShift.py
Info : https://metashift.readthedocs.io/en/latest/sub_pages/download_MetaShift.html#generate-the-full-metashift-dataset
Can I just copy over the required functions into the metashift.py to generate the dataset ?
3. How do we complete the _generate_examples for this dataset ?
The user has the ability to use default selected classes, get the complete dataset or add more specific additional classes. I think config would be a good option here.
Inputs, suggestions would be helpful. Thank you. | [
-0.020686784759163857,
-0.16771310567855835,
-0.004767347127199173,
0.09127802401781082,
0.32281750440597534,
0.05552733689546585,
0.2001727819442749,
0.3405483365058899,
-0.02903602458536625,
0.010151810944080353,
0.0464552566409111,
0.16041426360607147,
-0.11582880467176437,
0.3556981384754181,
0.2689019441604614,
-0.25597187876701355,
0.04396137222647667,
0.13243824243545532,
-0.10620541870594025,
-0.39097779989242554,
-0.24999244511127472,
-0.30703702569007874,
0.15984076261520386,
-0.12815438210964203,
-0.24443069100379944,
-0.07794510573148727,
-0.18180376291275024,
0.3909645080566406,
-0.4350220561027527,
-0.19639985263347626,
0.029126467183232307,
0.1213013231754303,
-0.016966238617897034,
0.44194498658180237,
-0.00011172195809194818,
-0.1091141551733017,
-0.0916457325220108,
-0.2711806893348694,
-0.08421313762664795,
-0.26860475540161133,
-0.496356725692749,
-0.10053439438343048,
-0.25250375270843506,
-0.23699146509170532,
-0.1385633647441864,
-0.0824790671467781,
-0.00908300094306469,
-0.21198083460330963,
0.4098363518714905,
0.31202274560928345,
0.1434294432401657,
-0.3956242501735687,
-0.04412391036748886,
-0.07448180019855499,
0.3937607705593109,
0.65807044506073,
-0.19629225134849548,
-0.09315691888332367,
0.2014017105102539,
0.18246415257453918,
0.04138588532805443,
0.23277634382247925,
0.2404884696006775,
-0.14742761850357056,
0.5799274444580078,
0.07723803073167801,
-0.27420660853385925,
-0.6429895162582397,
-0.20622742176055908,
0.4753029942512512,
0.24262389540672302,
-0.12391633540391922,
-0.19126322865486145,
-0.24939945340156555,
-0.026903849095106125,
-0.2995615005493164,
0.13179922103881836,
0.3998022675514221,
-0.26644769310951233,
-0.054498616605997086,
-0.1656278371810913,
-0.2559870481491089,
-0.3928062319755554,
0.13061794638633728,
0.29783642292022705,
0.06512851268053055,
-0.020244095474481583,
0.07492489367723465,
0.2489352971315384,
-0.12859655916690826,
-0.3605821430683136,
-0.3436276316642761,
0.15392087399959564,
0.2429579198360443,
-0.13092608749866486,
-0.14360767602920532,
0.1041339635848999,
-0.22563588619232178,
0.28918513655662537,
0.08876363933086395,
-0.009259176440536976,
-0.018513597548007965,
-0.1693701297044754,
-0.07568671554327011,
0.08068579435348511,
-0.08486534655094147,
0.06122814118862152,
0.2900938093662262,
0.01672574132680893,
0.026563506573438644,
0.014428611844778061,
-0.002400558441877365,
-0.0010852512205019593,
-0.1301272213459015,
-0.18275240063667297,
0.014045652002096176,
0.05791182816028595,
-0.0783403217792511,
0.2900908589363098,
0.14261983335018158,
0.008929181843996048,
-0.2557218074798584,
0.041595783084630966,
0.3251180350780487,
0.12588733434677124,
-0.1469595730304718,
-0.02221328392624855,
0.26769039034843445,
-0.14022612571716309,
-0.19351722300052643,
-0.08029891550540924,
0.22975584864616394,
-0.29129475355148315,
0.07058417052030563,
0.27161988615989685,
0.1323472559452057,
0.06308288872241974,
0.037118636071681976,
0.044460639357566833,
-0.03751703351736069,
0.050214000046253204,
-0.07961946725845337,
0.5250807404518127,
0.3514076769351959,
-0.012378770858049393,
0.19541646540164948,
-0.04398580268025398,
0.24482934176921844,
-0.3101828992366791,
0.19910210371017456,
-0.08719883114099503,
-0.2950674593448639,
0.16522201895713806,
0.1696425974369049,
-0.2600921392440796,
0.06321721524000168,
0.01973341405391693,
0.30136412382125854,
-0.16504862904548645,
0.17943570017814636,
0.05033896863460541,
-0.1709410399198532,
-0.11529988050460815,
-0.4966239631175995,
0.4196908473968506,
0.5085249543190002,
-0.38903021812438965,
-0.09136255085468292,
0.03143732249736786,
-0.1265828013420105,
-0.0344991460442543,
-0.09185992181301117,
-0.10082273930311203,
0.42231500148773193,
-0.02481846883893013,
0.1993246227502823,
0.574074387550354,
-0.04538451135158539,
-0.08828961849212646,
-0.0271028783172369,
0.004986323416233063,
0.02998345158994198,
0.15153522789478302,
0.40340325236320496,
0.18134313821792603,
-0.22381900250911713,
-0.13091591000556946,
0.47984927892684937,
-0.5663665533065796,
-0.12158973515033722,
0.03457063063979149,
-0.19696220755577087,
-0.11254121363162994,
0.280490517616272,
0.09347815811634064,
-0.3504614233970642,
0.11075109243392944,
-0.19244839251041412,
-0.02695559710264206,
-0.5108351111412048,
0.21648524701595306,
0.037549544125795364,
0.48900365829467773,
0.3026665449142456,
-0.04924216866493225,
-0.003106251358985901,
-0.2808515131473541,
0.25722405314445496,
0.08875611424446106,
0.370516300201416,
0.00032898783683776855,
-0.12966403365135193,
-0.16378509998321533,
-0.14842572808265686,
-0.4111126661300659,
0.028730042278766632,
0.0884605124592781,
-0.12453615665435791,
0.0896502137184143,
-0.30357763171195984,
-0.1188172698020935,
-0.17959262430667877,
-0.3262944221496582,
0.2600651681423187,
-0.3436361849308014,
0.27352312207221985,
-0.15966297686100006,
-0.11548595130443573,
0.023369722068309784,
0.21720156073570251,
0.04434783384203911,
-0.32166993618011475,
-0.04680180177092552,
0.3044568598270416,
0.1252991259098053,
-0.010173201560974121,
0.04905911162495613,
0.6786636114120483,
0.20338526368141174,
-0.4108329713344574,
0.3198058307170868,
-0.3394104540348053,
0.12572942674160004,
-0.1778268814086914,
-0.28617197275161743,
0.21286317706108093,
-0.19670256972312927,
0.04532904550433159,
0.025522403419017792,
0.10871104151010513,
0.32960405945777893,
-0.16760267317295074,
-0.0856235921382904,
-0.10938334465026855,
-0.10907348990440369,
0.14517967402935028,
-0.15958456695079803,
-0.0758407860994339,
-0.25658926367759705,
0.3288550078868866,
0.3633610010147095,
-0.11290216445922852,
0.06205340474843979,
0.1040598452091217,
-0.20018988847732544,
0.10191484540700912,
0.01649484410881996,
0.24066565930843353,
0.2199082374572754,
0.17449365556240082,
-0.10105422139167786,
0.09601418673992157,
-0.1851557493209839,
-0.07616443186998367,
0.20301774144172668,
0.3190695643424988,
0.31470566987991333,
0.02054084837436676,
-0.3371982276439667,
0.18430818617343903,
-0.201864093542099,
-0.04069962352514267,
0.0032964181154966354,
0.028880421072244644,
-0.30173641443252563,
-0.041587188839912415,
0.1439259946346283,
-0.07017028331756592,
-0.15215031802654266,
-0.3320413827896118,
-0.007660925388336182,
-0.19943250715732574,
0.0714874267578125,
-0.41832464933395386,
-0.2813177704811096,
0.16244716942310333,
0.01883978769183159,
0.24171282351016998,
0.04357108473777771,
-0.27664148807525635,
0.1167268455028534,
-0.2544822692871094,
-0.026023603975772858,
0.11907993257045746,
0.3677414655685425,
0.2760867178440094,
0.5672628879547119,
-0.2306261509656906,
0.1738225370645523,
0.07491479068994522,
-0.4850107729434967,
0.20905163884162903,
-0.4541383981704712,
0.28389060497283936,
0.20771408081054688,
0.18057268857955933,
0.4613538384437561,
-0.13696272671222687,
0.20270420610904694,
-0.15106938779354095,
0.014687174931168556,
-0.07114597409963608,
-0.0210821945220232,
-0.1815546154975891,
-0.22334152460098267,
-0.6576332449913025,
0.015076382085680962,
-0.13791614770889282,
-0.01261214166879654,
0.43383052945137024,
0.3187152147293091,
0.027007590979337692,
0.3651016652584076,
-0.04074643924832344,
-0.21758456528186798,
0.290558397769928,
-0.15109989047050476,
-0.32852548360824585,
0.3293648958206177,
-0.28979581594467163,
-0.35020682215690613,
0.45929113030433655,
-0.2511923015117645,
0.022744564339518547,
0.06599461287260056,
-0.20329657196998596,
0.07671461254358292,
-0.20452477037906647,
0.2577970325946808,
0.03346453607082367,
0.3147861957550049,
0.30882546305656433,
0.14901186525821686,
0.012209517881274223,
-0.2746924161911011,
-0.13636136054992676,
0.37955567240715027,
0.04472757875919342,
0.23091408610343933,
-0.16250145435333252,
0.48710569739341736,
0.09301967918872833,
0.7472654581069946,
0.14887197315692902,
-0.29024600982666016,
-0.12798035144805908,
-0.04143662005662918,
0.1364268958568573,
0.11670499294996262,
-0.18138918280601501,
0.4593183100223541,
0.018669486045837402,
0.11928045749664307,
0.11948083341121674,
0.1972838044166565,
0.3516221046447754,
-0.11873729526996613,
0.3840291500091553,
-0.4362190365791321,
-0.47951778769493103,
0.4784618020057678,
-0.03345172852277756,
0.16258415579795837,
-0.1931670755147934,
-0.05849030613899231,
-0.4938769042491913,
-0.04217468947172165,
-0.0009738225489854813,
0.3321523666381836,
0.15049344301223755,
-0.12747706472873688,
-0.38140425086021423,
0.02404003217816353,
-0.28261470794677734,
0.11393222957849503,
0.19890828430652618,
-0.027357783168554306,
-0.10183141380548477,
-0.27834200859069824,
-0.016043566167354584,
-0.00405598571524024,
0.4298836588859558,
-0.43565788865089417,
0.1381877064704895,
0.11626100540161133,
-0.01917419768869877,
0.04274152219295502,
0.00741046667098999,
-0.32536792755126953,
-0.09934034943580627,
0.2625592052936554,
-0.008565999567508698,
-0.4066394865512848,
-0.17162656784057617,
0.5531160831451416,
0.17343783378601074,
-0.18523065745830536,
-0.0017162635922431946,
0.14815643429756165,
-0.06379595398902893,
-0.29610294103622437,
-0.27403175830841064,
-0.16362489759922028,
-0.023363832384347916,
-0.20367710292339325,
-0.11800351738929749,
0.18997624516487122,
0.005369178950786591,
0.4580475091934204,
0.1921609342098236,
0.005690461024641991,
0.31970542669296265,
0.11695447564125061,
0.08136051893234253,
-0.2729708254337311,
0.44332167506217957,
0.6283643245697021,
-0.1851075440645218,
-0.04726600646972656,
-0.032714683562517166,
-0.27398428320884705,
0.33517777919769287,
0.2180560827255249,
0.11276040226221085,
-0.358808696269989,
-0.23911619186401367,
-0.1129455715417862,
-0.6224666833877563,
0.39927682280540466,
0.3437926471233368,
-0.04005509614944458,
-0.23347921669483185,
-0.5499114990234375,
0.3618713319301605,
-0.044848114252090454,
-0.16210655868053436,
0.3362635374069214,
0.22563393414020538,
-0.29751333594322205,
0.0836925208568573,
0.4588198661804199,
0.9775354862213135,
-0.2634729743003845,
0.0917847529053688,
0.16461101174354553,
0.20022596418857574,
0.3880780041217804,
-0.011209633201360703,
-0.18414731323719025,
-0.25575965642929077,
-0.22013667225837708,
-0.07668216526508331,
-0.310858815908432,
0.3348841965198517,
0.09767423570156097,
-0.17196768522262573,
-0.01766849309206009,
0.05506810545921326,
0.4461127519607544,
0.01879609376192093,
0.3136589229106903,
0.20164607465267181,
-0.41873398423194885,
0.05540723353624344,
0.16302195191383362,
-0.00022578611969947815,
-0.14473176002502441,
-0.02678794413805008,
-0.2682739496231079,
-0.5852993130683899,
-0.012628193944692612,
-0.10915058851242065,
0.1425769329071045,
-0.04027688130736351,
-0.27165156602859497,
-0.2478557527065277,
-0.22707679867744446,
0.4115317761898041,
-0.0204865001142025,
0.2854503095149994,
0.09895545989274979,
-0.1184757798910141,
0.2686869502067566,
0.1157119870185852,
-0.03712154179811478,
-0.01835496723651886,
0.0810546875,
0.4845937490463257,
0.024413250386714935,
-0.0546061135828495,
0.2411741316318512,
-0.05117888003587723,
0.13636364042758942,
-0.26828545331954956,
-0.3735942244529724,
0.306368350982666,
-0.45635855197906494,
-0.14514702558517456,
0.11827577650547028,
-0.17465205490589142,
-0.038366008549928665,
0.10388335585594177,
0.2679070234298706,
-0.16094893217086792,
0.3208157420158386,
-0.14600858092308044,
0.018958091735839844,
-0.15297652781009674,
-0.24887925386428833,
0.14037437736988068,
-0.11824792623519897,
0.11466596275568008,
0.12663140892982483,
0.13437505066394806,
-0.22295591235160828,
0.18006855249404907,
0.053286679089069366,
-0.41863173246383667,
-0.1533050835132599,
0.08926503360271454,
-0.11262843757867813,
0.07790297269821167,
0.42233601212501526,
0.21045425534248352,
-0.0778883770108223,
0.13829299807548523,
-0.04711698368191719,
-0.22636856138706207,
0.11792193353176117,
-0.2520635724067688,
0.3860790431499481,
-0.2922421097755432,
0.38826027512550354,
0.1037953794002533,
0.5354453325271606,
-0.3375142216682434,
-0.03901491314172745,
0.04490881413221359,
0.2392081916332245,
0.354189395904541,
0.11448503285646439,
-0.053067319095134735,
-0.30616068840026855,
-0.00178513303399086,
-0.2661617398262024,
-0.5317457914352417,
-0.13677874207496643,
-0.04985075071454048,
0.12149068713188171,
0.10367843508720398,
-0.04613491892814636,
0.02993781492114067,
-0.21660439670085907,
-0.22450727224349976,
-0.12081567943096161,
0.042452018707990646,
-0.1573767364025116,
-0.2642155885696411,
0.21557864546775818,
0.24581274390220642,
-0.07755815237760544,
0.058487460017204285,
0.13338394463062286,
-0.24032005667686462,
0.4727020263671875,
0.17086566984653473,
-0.05165024846792221,
-0.13789084553718567,
-0.32139045000076294,
-0.13085798919200897,
0.34498530626296997,
0.1613767445087433,
-0.014029469341039658,
0.44368746876716614,
0.05504009872674942,
0.2196875512599945,
0.08202897757291794,
0.19340604543685913,
0.28117623925209045,
-0.29699620604515076,
0.2625177204608917,
-0.03415073826909065,
0.19432121515274048,
-0.10973824560642242,
0.1455189287662506,
0.10391813516616821,
0.01838330179452896,
0.3435487449169159,
0.458685040473938,
0.34775182604789734,
0.2320113182067871,
-0.222440704703331,
0.02555655688047409,
0.13243325054645538,
0.2979474663734436,
0.5305933952331543,
0.552699089050293,
-0.397946834564209,
-0.008524004369974136,
0.30960550904273987,
0.16948114335536957,
0.17944186925888062,
0.18869051337242126,
-0.013310745358467102,
0.3336203098297119,
0.04468357190489769,
-0.10295510292053223,
0.22002431750297546,
-0.47290557622909546,
0.20296719670295715,
-0.01344919204711914,
-0.04487115144729614,
0.17046649754047394,
0.017376303672790527,
0.12838175892829895,
0.038234565407037735,
-0.3916573226451874,
-0.017639823257923126,
0.27048158645629883,
0.13000208139419556,
0.2170156091451645,
-0.6855769157409668,
-0.23299941420555115,
-0.1202678233385086,
-0.22556455433368683,
-0.07795625925064087,
-0.4536442756652832,
0.2064361572265625,
0.058134835213422775,
0.0848659798502922,
0.13385343551635742,
0.11597438901662827,
0.04137472063302994,
0.03536050021648407,
-0.09656485915184021,
0.1069551333785057,
0.229667529463768,
-0.23104289174079895,
0.2944243252277374,
0.05347922816872597,
0.10275516659021378,
0.20514079928398132,
-0.2099768966436386,
0.45305368304252625,
0.26384034752845764,
-0.130715474486351,
0.11469705402851105,
-0.009196501225233078,
-0.01763705164194107,
0.09828533232212067,
0.34195709228515625,
0.141000896692276,
-0.15118639171123505,
-0.37071821093559265,
0.018218141049146652,
0.14396630227565765,
-0.03785340115427971,
0.17771126329898834,
0.215485617518425,
-0.1881742775440216,
-0.15553000569343567,
-0.028123930096626282,
-0.32355841994285583,
-0.3003581762313843,
0.2999058961868286,
-0.19978979229927063,
0.051227688789367676,
-0.23717454075813293,
0.07646318525075912,
-0.029944516718387604,
0.4849894642829895,
-0.012760218232870102,
-0.1482570767402649,
-0.3857283592224121,
-0.3253651261329651,
-0.5345598459243774,
-0.27504825592041016,
-0.2070433497428894,
-0.36267998814582825,
0.03848053514957428,
0.1458020955324173,
0.45661604404449463,
0.14358684420585632,
0.10823800414800644,
-0.13622334599494934,
0.07117844372987747,
0.2770991921424866,
-0.1768907606601715,
-0.14597803354263306,
-0.14223292469978333,
0.16161245107650757,
-0.13468214869499207,
-0.06390747427940369,
0.15828624367713928,
-0.12632380425930023,
0.050262801349163055,
0.10125976800918579,
-0.023975372314453125,
0.1363418996334076,
-0.1312256008386612,
0.45646488666534424,
0.08772768080234528,
0.30616629123687744,
-0.1251773089170456,
-0.1654682755470276,
-0.13786426186561584,
0.10098683834075928,
-0.04715793952345848,
0.23153534531593323,
-0.04607858136296272,
0.4959162771701813,
-0.1128266379237175,
0.1384914666414261,
-0.4054860472679138,
-0.24311049282550812,
0.08009564876556396,
0.08486752957105637,
-0.43208980560302734,
0.24019429087638855,
-0.21864309906959534,
0.2660848796367645,
0.4493654668331146,
0.3407481610774994,
-0.17581182718276978,
0.1427791714668274,
-0.153880774974823,
-0.2295604646205902,
0.3135376274585724,
-0.004262983798980713,
-0.21488460898399353,
-0.26418817043304443,
0.13243567943572998,
-0.20286825299263,
0.42260318994522095,
-0.31849902868270874,
0.13583120703697205,
0.23850196599960327,
-0.031602125614881516,
-0.1346716582775116,
0.29717233777046204,
-0.20981013774871826,
-0.26779603958129883,
-0.026202239096164703,
0.09389173239469528,
-0.10697240382432938,
0.13704413175582886,
-0.19145113229751587,
-0.17761929333209991
] |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | Hi ! Thanks for adding this dataset :) Let me answer your questions:
1. in this case you can put everything in the "train" split
2. Yes you can copy the script (provided you also include the MIT license of the code in the file header for example). Though we ideally try to not create new directories nor files when generating dataset, so if possible this script should be adapted to not create the file structure they mentioned, but instead yield the images one by one in `_generate_examples`. Let me know if you think this is feasible
3. see point 2 haha
> The user has the ability to use default selected classes, get the complete dataset or add more specific additional classes. I think config would be a good option here.
Yup ! We can also define a `selected_classes` parameter such that users can do
```python
load_dataset("metashift", selected_classes=["cat", "dog", ...])
``` | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 152 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Hi ! Thanks for adding this dataset :) Let me answer your questions:
1. in this case you can put everything in the "train" split
2. Yes you can copy the script (provided you also include the MIT license of the code in the file header for example). Though we ideally try to not create new directories nor files when generating dataset, so if possible this script should be adapted to not create the file structure they mentioned, but instead yield the images one by one in `_generate_examples`. Let me know if you think this is feasible
3. see point 2 haha
> The user has the ability to use default selected classes, get the complete dataset or add more specific additional classes. I think config would be a good option here.
Yup ! We can also define a `selected_classes` parameter such that users can do
```python
load_dataset("metashift", selected_classes=["cat", "dog", ...])
``` | [
-0.17137493193149567,
-0.08549250662326813,
-0.14299961924552917,
0.12203137576580048,
0.24328169226646423,
0.021915271878242493,
0.5056430101394653,
0.29208895564079285,
0.18030717968940735,
0.12950855493545532,
-0.12590907514095306,
0.3187865614891052,
-0.3814880847930908,
0.3359365165233612,
0.22253264486789703,
-0.3426354229450226,
-0.04536192864179611,
-0.016943201422691345,
-0.435762494802475,
-0.2787144184112549,
-0.1351095288991928,
-0.1734778881072998,
0.19187892973423004,
-0.1671462208032608,
-0.1744370460510254,
-0.10036904364824295,
-0.2789420783519745,
0.2975194752216339,
-0.2775050103664398,
-0.21039581298828125,
0.029508793726563454,
0.1951223760843277,
0.12123055756092072,
0.48127996921539307,
-0.00010262597061228007,
-0.03596621751785278,
-0.2641313672065735,
-0.22603291273117065,
0.026249520480632782,
-0.27937549352645874,
-0.173537015914917,
0.03213605284690857,
-0.18537801504135132,
-0.4760913550853729,
-0.2596637010574341,
0.054311610758304596,
0.14926894009113312,
-0.18454474210739136,
0.6137756705284119,
0.27836382389068604,
0.25641560554504395,
-0.24332603812217712,
-0.25566422939300537,
-0.028624197468161583,
0.29653242230415344,
0.4603511095046997,
-0.17271599173545837,
0.07371518015861511,
0.21402394771575928,
0.13227613270282745,
0.004336096346378326,
0.2569502890110016,
0.16805264353752136,
-0.24180187284946442,
0.47141361236572266,
0.17088410258293152,
-0.06440632790327072,
-0.6214827299118042,
-0.19121965765953064,
0.462972491979599,
0.1736660897731781,
-0.10541520267724991,
-0.17640073597431183,
-0.19332599639892578,
-0.0077538397163152695,
-0.13639624416828156,
-0.1740729808807373,
0.5972145199775696,
-0.2103251814842224,
0.06388735771179199,
-0.23371019959449768,
0.014994869008660316,
-0.47629961371421814,
0.06609661877155304,
0.22606134414672852,
0.07066226750612259,
-0.05159257352352142,
0.05742362141609192,
0.1356961578130722,
0.007831258699297905,
-0.09396056830883026,
-0.1884717494249344,
0.2775956392288208,
0.20865203440189362,
0.09531620144844055,
-0.17304036021232605,
-0.050659000873565674,
-0.18252688646316528,
0.3284853398799896,
0.23553010821342468,
0.08819746226072311,
0.05139545351266861,
-0.025858797132968903,
0.060443129390478134,
0.20101748406887054,
-0.22317516803741455,
-0.1864120364189148,
0.07699500769376755,
0.03466631472110748,
0.10753703117370605,
-0.1812855452299118,
0.007239770144224167,
-0.06264801323413849,
-0.01964622363448143,
-0.2486252635717392,
0.006752551533281803,
-0.02189645729959011,
0.11942365765571594,
0.22237327694892883,
0.021279437467455864,
0.22136402130126953,
-0.10382607579231262,
-0.09804739058017731,
0.4619571268558502,
0.03585721552371979,
-0.16799592971801758,
0.1324813812971115,
0.1421523094177246,
-0.054166100919246674,
-0.13433873653411865,
-0.07550559937953949,
0.2693355679512024,
-0.24996531009674072,
0.13333548605442047,
0.06593254208564758,
0.0768384039402008,
0.19749286770820618,
-0.08780760318040848,
0.3309428095817566,
0.062993124127388,
0.2227972447872162,
-0.16932108998298645,
0.3840785622596741,
0.17253147065639496,
-0.01140664890408516,
-0.1005859300494194,
-0.058007899671792984,
0.17419855296611786,
-0.43909555673599243,
0.17458903789520264,
-0.08841436356306076,
-0.15126220881938934,
0.10414610803127289,
0.26324546337127686,
-0.05229227617383003,
-0.10106658935546875,
-0.1502705216407776,
0.308792382478714,
-0.20925047993659973,
0.25811830163002014,
0.15640324354171753,
-0.181483194231987,
-0.1651248186826706,
-0.45048660039901733,
0.11244425922632217,
0.507538914680481,
-0.08420997858047485,
-0.1288880705833435,
0.1051090881228447,
-0.11672872304916382,
-0.004317320883274078,
-0.07369951903820038,
-0.2457018494606018,
0.3596149981021881,
-0.13270224630832672,
0.19808770716190338,
0.47033724188804626,
-0.057562828063964844,
-0.07105045020580292,
-0.15116065740585327,
0.03384663909673691,
0.06587470322847366,
0.21302655339241028,
0.4191643297672272,
0.3640284240245819,
-0.2067691534757614,
-0.12006451189517975,
0.5442054271697998,
-0.27329686284065247,
0.04687989503145218,
0.13053834438323975,
-0.36323392391204834,
-0.04332464933395386,
0.3602810502052307,
0.21869339048862457,
-0.05411437898874283,
0.13004958629608154,
-0.00662734592333436,
0.20393797755241394,
-0.5015251040458679,
0.03867064416408539,
0.044849980622529984,
0.3631572425365448,
0.3604661822319031,
-0.02976147271692753,
-0.3296714425086975,
-0.21819138526916504,
0.19916823506355286,
0.07541760057210922,
0.21734704077243805,
-0.09988602995872498,
-0.3326765298843384,
-0.05089792609214783,
-0.18811950087547302,
-0.3735206425189972,
-0.026967186480760574,
0.19712567329406738,
-0.11250671744346619,
0.07844159007072449,
-0.22773832082748413,
-0.27126848697662354,
-0.10360107570886612,
-0.3305697739124298,
0.22570763528347015,
-0.12825176119804382,
0.2994076907634735,
-0.20912104845046997,
-0.0003203572705388069,
0.01194780319929123,
0.045156870037317276,
-0.10720621794462204,
-0.38081642985343933,
0.1719532310962677,
0.30744415521621704,
0.14918507635593414,
-0.008669592440128326,
0.020551221445202827,
0.40429627895355225,
0.15198662877082825,
-0.4811360239982605,
0.31693485379219055,
-0.034508638083934784,
0.045038096606731415,
0.05895476043224335,
-0.2861289978027344,
0.43487370014190674,
-0.13215838372707367,
0.04295682534575462,
0.25072014331817627,
0.02004488743841648,
0.1081310510635376,
-0.19083529710769653,
-0.05350722372531891,
-0.09686264395713806,
-0.11937163770198822,
0.20381174981594086,
-0.10547128319740295,
-0.028132563456892967,
-0.2974167466163635,
0.24928420782089233,
0.5039888024330139,
0.044576045125722885,
0.0181443952023983,
0.05717630311846733,
-0.07057734578847885,
0.2856906056404114,
-0.011645717546343803,
0.13804538547992706,
0.3094791769981384,
0.3308018743991852,
-0.07803940773010254,
0.10106779634952545,
0.0013265283778309822,
-0.022829405963420868,
0.21931427717208862,
0.152389258146286,
0.19077205657958984,
-0.0635640099644661,
-0.17397698760032654,
0.13850846886634827,
-0.4159291088581085,
-0.3361174464225769,
-0.10388172417879105,
-0.1864600032567978,
-0.011874541640281677,
0.1094726100564003,
0.1973595917224884,
-0.14694899320602417,
-0.16463331878185272,
0.05700211599469185,
-0.07721951603889465,
0.12096495926380157,
0.1977941393852234,
-0.29752978682518005,
-0.27122411131858826,
0.09350190311670303,
-0.15507692098617554,
0.42233794927597046,
-0.06374214589595795,
-0.13303469121456146,
0.1484808623790741,
-0.08960993587970734,
0.019523190334439278,
0.20014704763889313,
0.38111114501953125,
0.00938134454190731,
0.6987696886062622,
-0.22128498554229736,
-0.035437777638435364,
-0.08864060044288635,
-0.3641219437122345,
0.19654403626918793,
-0.25508224964141846,
0.08153078705072403,
0.2120422124862671,
0.2983916103839874,
0.206559419631958,
-0.11299430578947067,
0.27234354615211487,
-0.1536823958158493,
-0.1097235158085823,
-0.243902325630188,
0.23798294365406036,
-0.07666222006082535,
-0.3094431161880493,
-0.5846551656723022,
-0.30718547105789185,
-0.20878414809703827,
0.19345253705978394,
0.6218826174736023,
0.3419739007949829,
0.05329487845301628,
0.3993541896343231,
-0.07393866777420044,
-0.14815069735050201,
0.4150901138782501,
-0.1228412315249443,
-0.34771037101745605,
0.1952231526374817,
-0.3329266607761383,
-0.470080703496933,
0.13458293676376343,
-0.18472963571548462,
-0.055387672036886215,
0.09301552921533585,
-0.35897648334503174,
-0.34986191987991333,
-0.15998554229736328,
0.17799021303653717,
-0.08839428424835205,
0.3428146541118622,
0.2566940188407898,
0.08707278221845627,
-0.1553487628698349,
-0.19671374559402466,
0.09753718972206116,
0.25504863262176514,
-0.06379860639572144,
0.010286383330821991,
0.028899479657411575,
0.2491098940372467,
0.16022653877735138,
0.6947696805000305,
0.19188424944877625,
-0.25776615738868713,
0.1521678864955902,
-0.16384394466876984,
0.14080767333507538,
-0.0512356236577034,
-0.06379733234643936,
0.3741254508495331,
-0.08030882477760315,
0.031442299485206604,
0.15960022807121277,
0.08826605975627899,
0.2263370305299759,
-0.020396756008267403,
0.43391403555870056,
-0.4578203558921814,
-0.38888558745384216,
0.4166075885295868,
0.17622724175453186,
0.07500860095024109,
-0.27997153997421265,
-0.1776193380355835,
-0.28990066051483154,
0.021300652995705605,
0.2009110450744629,
0.4565480351448059,
0.009700164198875427,
-0.14413757622241974,
-0.4622204601764679,
-0.03014414757490158,
-0.22631213068962097,
0.0994265079498291,
0.11119897663593292,
-0.3457053601741791,
-0.11700546741485596,
-0.21748903393745422,
0.16271758079528809,
-0.12784913182258606,
0.5118933916091919,
-0.21914207935333252,
-0.0530984029173851,
-0.03873598203063011,
-0.171397402882576,
-0.08182227611541748,
0.053554717451334,
-0.25800156593322754,
-0.22228358685970306,
0.1400834023952484,
-0.015703655779361725,
-0.39855527877807617,
-0.1508038341999054,
0.3671635389328003,
0.13718050718307495,
-0.3048361837863922,
-0.023449648171663284,
0.09695324301719666,
-0.19251352548599243,
-0.3605975806713104,
-0.1059243455529213,
0.04675474762916565,
-0.05560265854001045,
-0.16657142341136932,
-0.1818302422761917,
0.0076068975031375885,
0.0023782290518283844,
0.2851446568965912,
0.05897165462374687,
0.16257980465888977,
0.23946629464626312,
0.010115981101989746,
-0.1350414752960205,
-0.0268641859292984,
0.42886313796043396,
0.7318587303161621,
-0.3714848756790161,
0.007981836795806885,
-0.1783847212791443,
-0.1400386095046997,
0.22764571011066437,
0.39703619480133057,
0.1518535017967224,
-0.2940838932991028,
-0.11894762516021729,
0.00008986890316009521,
-0.3728364408016205,
0.3405437767505646,
0.19100096821784973,
-0.20633099973201752,
-0.06288347393274307,
-0.6923650503158569,
0.31144610047340393,
-0.015277665108442307,
0.013824403285980225,
0.011755052953958511,
0.000945553183555603,
-0.3985520899295807,
0.26434195041656494,
0.4365752935409546,
1.0492805242538452,
-0.3730936050415039,
0.5925390720367432,
-0.011666957288980484,
0.20670448243618011,
0.3642190098762512,
-0.019443728029727936,
-0.1303369402885437,
-0.3114544153213501,
-0.208888441324234,
-0.15671159327030182,
-0.2576846480369568,
0.08670424669981003,
0.21089830994606018,
-0.15018679201602936,
-0.07846648246049881,
-0.07981764525175095,
0.2631131410598755,
-0.15873560309410095,
0.23185619711875916,
-0.09311146289110184,
-0.35887661576271057,
-0.11223950982093811,
0.25302329659461975,
0.15268003940582275,
-0.11195744574069977,
-0.04942769184708595,
-0.2615134119987488,
-0.439963161945343,
0.054472655057907104,
-0.039742689579725266,
0.1197686567902565,
-0.20398318767547607,
-0.06949623674154282,
-0.26662224531173706,
-0.22282807528972626,
0.1062505841255188,
0.23280541598796844,
0.07900345325469971,
0.0002152658998966217,
0.02223452925682068,
0.12019704282283783,
0.001773729920387268,
-0.04076071456074715,
-0.03448845446109772,
0.10000546276569366,
0.46322789788246155,
-0.005589783191680908,
0.16325387358665466,
0.09963514655828476,
0.04690232500433922,
0.00027313828468322754,
-0.2660752534866333,
-0.1352384090423584,
0.45892608165740967,
-0.36293599009513855,
-0.2624051868915558,
0.07081397622823715,
-0.24455797672271729,
-0.03944424167275429,
0.19309177994728088,
0.09701861441135406,
-0.04001433029770851,
0.31692713499069214,
-0.024146493524312973,
0.008875653147697449,
-0.07542939484119415,
-0.1538083553314209,
0.3424282670021057,
-0.06072563678026199,
0.13201574981212616,
0.07064841687679291,
0.042780257761478424,
-0.3247106373310089,
0.15533128380775452,
0.1496732383966446,
-0.39379143714904785,
0.0886954590678215,
-0.06333603709936142,
-0.0748840793967247,
-0.03974585607647896,
0.3471167981624603,
0.24517731368541718,
-0.13302960991859436,
-0.006480902433395386,
-0.06520061194896698,
-0.23127827048301697,
0.20098161697387695,
0.03495018929243088,
0.5911198854446411,
-0.1675928831100464,
0.3338262140750885,
-0.04906048625707626,
0.0699385404586792,
-0.4522162973880768,
0.0089369285851717,
-0.040858905762434006,
0.056287944316864014,
0.28767675161361694,
0.22493433952331543,
-0.05375503748655319,
-0.08240193128585815,
0.11485205590724945,
0.010832089930772781,
-0.4080407917499542,
-0.2973955571651459,
-0.2215549349784851,
0.078276127576828,
0.181098073720932,
-0.05609879642724991,
0.045252956449985504,
-0.1162148118019104,
-0.2052588313817978,
-0.05116173252463341,
0.15427368879318237,
-0.05570530518889427,
-0.20808176696300507,
0.10453666746616364,
0.22231270372867584,
-0.025223612785339355,
0.0815238431096077,
0.04811083525419235,
-0.27666905522346497,
0.43422508239746094,
0.2893525958061218,
-0.01892249286174774,
-0.14447425305843353,
-0.22150440514087677,
0.037403639405965805,
0.19553601741790771,
0.25200480222702026,
0.05337173864245415,
0.29023733735084534,
0.09139849245548248,
0.11864675581455231,
-0.05470727011561394,
0.30131393671035767,
0.36861422657966614,
-0.46166399121284485,
0.22951804101467133,
0.27664056420326233,
0.32261571288108826,
-0.2257634997367859,
0.06401702016592026,
0.09111697971820831,
-0.23399469256401062,
0.21257463097572327,
0.5097537040710449,
0.10748490691184998,
0.2491629421710968,
-0.2670203447341919,
-0.008241738192737103,
0.04898815229535103,
0.26687437295913696,
0.4016723036766052,
0.3006322979927063,
-0.22606365382671356,
0.10044192522764206,
0.19901542365550995,
0.3176673948764801,
0.2704278826713562,
0.21995878219604492,
-0.1778484582901001,
0.41017183661460876,
-0.05928797274827957,
-0.13932785391807556,
0.23585763573646545,
-0.16632097959518433,
0.3143170177936554,
0.05221771448850632,
0.22627365589141846,
0.30602890253067017,
-0.01237577199935913,
0.2491709589958191,
-0.025858666747808456,
-0.4608791768550873,
-0.01524145994335413,
0.24869148433208466,
0.10649660229682922,
0.1413372904062271,
-0.4958561956882477,
-0.11579857766628265,
-0.07685740292072296,
-0.01886608451604843,
-0.05210147425532341,
-0.538642168045044,
0.15175506472587585,
0.14352545142173767,
0.08471079170703888,
0.05661691725254059,
-0.1277734637260437,
-0.06273213028907776,
0.09346149116754532,
-0.14834800362586975,
-0.01287129707634449,
0.14827598631381989,
-0.05909295380115509,
0.2561350166797638,
0.1026943102478981,
0.03105420619249344,
0.22727058827877045,
-0.06178164854645729,
0.23454581201076508,
0.20539915561676025,
-0.012476449832320213,
-0.039749547839164734,
-0.25036394596099854,
0.200927734375,
0.15120460093021393,
0.31464987993240356,
0.1746397763490677,
-0.2678675949573517,
-0.2865401804447174,
0.06587298959493637,
0.000321144238114357,
-0.15872031450271606,
0.08154404163360596,
0.207573801279068,
-0.24035179615020752,
-0.14107438921928406,
-0.0835176482796669,
-0.5823759436607361,
-0.32698798179626465,
0.20969605445861816,
-0.21507017314434052,
0.11120108515024185,
-0.08990463614463806,
0.11925476789474487,
0.04603834077715874,
0.37588104605674744,
-0.0015455447137355804,
-0.00040739402174949646,
-0.15957322716712952,
-0.22895453870296478,
-0.4162360429763794,
-0.13948240876197815,
-0.16352325677871704,
-0.3949635326862335,
-0.06854607164859772,
0.1626788228750229,
0.22016200423240662,
0.14157049357891083,
0.2644249498844147,
-0.14631900191307068,
0.18135018646717072,
0.3989313244819641,
-0.3308018147945404,
-0.03148885443806648,
-0.06766147911548615,
0.42879945039749146,
0.05344463139772415,
-0.10102543234825134,
0.011716939508914948,
-0.22413693368434906,
0.12414493411779404,
0.0397014319896698,
0.04612339287996292,
-0.08581006526947021,
-0.315959632396698,
0.5329833626747131,
-0.1814405769109726,
0.23193949460983276,
-0.16867372393608093,
-0.1130882129073143,
0.033305633813142776,
-0.017122214660048485,
-0.15505459904670715,
0.08814633637666702,
0.13986411690711975,
0.4393784999847412,
-0.16266345977783203,
-0.07133185863494873,
-0.17259588837623596,
-0.07605475187301636,
0.15332551300525665,
-0.1420598328113556,
-0.24544818699359894,
0.06547871232032776,
-0.025282714515924454,
0.1291855275630951,
0.1288650631904602,
0.4807793200016022,
-0.21283021569252014,
-0.18718938529491425,
-0.2190365195274353,
-0.315736323595047,
0.4578384459018707,
-0.23144280910491943,
-0.30651965737342834,
-0.1335584968328476,
0.06871472299098969,
-0.32968226075172424,
0.40150755643844604,
-0.33004093170166016,
0.16756325960159302,
0.1631666123867035,
-0.06737594306468964,
-0.1537957340478897,
0.4520428478717804,
-0.21546097099781036,
-0.3184318542480469,
-0.04921863228082657,
-0.010478734970092773,
-0.1713731288909912,
-0.04948652535676956,
-0.235065758228302,
-0.28907310962677
] |
https://github.com/huggingface/datasets/issues/3813 | Add MetaShift dataset | Great. This is helpful. Thanks @lhoestq .
Regarding Point 2, I'll try using yield instead of creating the directories and see if its feasible. selected_classes config sounds good. | ## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
| 28 | Add MetaShift dataset
## Adding a Dataset
- **Name:** MetaShift
- **Description:** collection of 12,868 sets of natural images across 410 classes-
- **Paper:** https://arxiv.org/abs/2202.06523v1
- **Data:** https://github.com/weixin-liang/metashift
Instructions to add a new dataset can be found [here](https://github.com/huggingface/datasets/blob/master/ADD_NEW_DATASET.md).
Great. This is helpful. Thanks @lhoestq .
Regarding Point 2, I'll try using yield instead of creating the directories and see if its feasible. selected_classes config sounds good. | [
-0.38951724767684937,
-0.050942711532115936,
-0.1791786104440689,
0.16719426214694977,
0.32360851764678955,
-0.2388731837272644,
0.24628126621246338,
0.2632826268672943,
0.11789961159229279,
0.34439578652381897,
-0.1489602029323578,
0.1883939802646637,
-0.18336334824562073,
0.26545166969299316,
-0.08898982405662537,
-0.1708965301513672,
0.009817183017730713,
0.021987363696098328,
-0.4625789225101471,
-0.3382689356803894,
-0.2971762418746948,
-0.02642371691763401,
0.1553833782672882,
-0.2777857780456543,
-0.2578546404838562,
0.11346520483493805,
-0.1777401864528656,
0.32002270221710205,
-0.228658527135849,
-0.1323249787092209,
0.02341647259891033,
0.17277367413043976,
0.029427699744701385,
0.4867742657661438,
-0.00009736171341501176,
-0.07285155355930328,
-0.1010107696056366,
-0.2816463112831116,
-0.07926121354103088,
0.02390167862176895,
-0.1853613555431366,
-0.026451708748936653,
-0.25076553225517273,
-0.37036317586898804,
-0.35692936182022095,
0.06498324871063232,
0.02752572111785412,
-0.16320456564426422,
0.2688807249069214,
0.034193798899650574,
0.370120644569397,
-0.23614317178726196,
-0.17967256903648376,
-0.16054999828338623,
0.20422828197479248,
0.6134072542190552,
-0.3163790702819824,
0.00395312812179327,
0.26587438583374023,
0.052566997706890106,
-0.034057773649692535,
0.4224967956542969,
0.1473829746246338,
-0.03294144943356514,
0.48400357365608215,
0.3195938169956207,
-0.0030697956681251526,
-0.368384450674057,
-0.14137163758277893,
0.13820964097976685,
0.19553130865097046,
-0.012441791594028473,
-0.15946368873119354,
-0.22422263026237488,
-0.2817411422729492,
-0.06630359590053558,
0.11023852229118347,
0.49699389934539795,
-0.09246256947517395,
-0.030690673738718033,
-0.28188973665237427,
0.04450234770774841,
-0.39803969860076904,
0.10957282781600952,
0.38198384642601013,
0.1387384533882141,
-0.06354133784770966,
-0.06861432641744614,
0.2186116725206375,
-0.08020619302988052,
-0.30902889370918274,
-0.2534581422805786,
0.08622434735298157,
0.08860576152801514,
0.07910080254077911,
-0.17614442110061646,
0.2053525745868683,
-0.04140438884496689,
0.36199402809143066,
0.20267657935619354,
-0.06816060841083527,
0.15724676847457886,
-0.020887626335024834,
0.029931027442216873,
0.018379732966423035,
-0.0034686876460909843,
0.021033484488725662,
-0.0077195377089083195,
0.25744953751564026,
0.3339688777923584,
-0.18320061266422272,
0.06114046275615692,
0.16747330129146576,
-0.06772716343402863,
-0.29307782649993896,
-0.03725453093647957,
-0.0814453661441803,
-0.08023853600025177,
0.2445181906223297,
-0.0408579520881176,
0.31058433651924133,
-0.17556676268577576,
-0.10193741321563721,
0.4551903009414673,
0.16269756853580475,
-0.20591607689857483,
0.1878744214773178,
0.14874854683876038,
-0.16274158656597137,
-0.17611904442310333,
-0.18384099006652832,
0.09964005649089813,
-0.3680686056613922,
0.18920212984085083,
0.08593124151229858,
0.18591377139091492,
0.156072199344635,
-0.16878582537174225,
0.2741815447807312,
0.11721199750900269,
0.007069749757647514,
-0.010948234237730503,
0.2854578495025635,
0.2076704055070877,
-0.08182524144649506,
-0.14421990513801575,
0.009851567447185516,
0.08353567123413086,
-0.3049459457397461,
0.04392431303858757,
0.15045684576034546,
-0.2718985080718994,
0.09290681779384613,
0.30828195810317993,
0.21052683889865875,
0.05500868335366249,
-0.10483752936124802,
0.4233039915561676,
-0.14872342348098755,
0.2918606400489807,
0.09146703034639359,
0.10459373891353607,
-0.07670865952968597,
-0.26510679721832275,
0.14567862451076508,
0.5464302897453308,
-0.03449350595474243,
-0.1847725510597229,
0.1367257833480835,
-0.13539785146713257,
0.06199150159955025,
0.11428099870681763,
-0.22559556365013123,
0.045899197459220886,
-0.23967191576957703,
0.26573771238327026,
0.24194693565368652,
-0.1014275997877121,
-0.17631351947784424,
-0.16549630463123322,
-0.08451632410287857,
-0.20332510769367218,
0.2644895613193512,
0.3263707458972931,
0.14422714710235596,
-0.31429970264434814,
-0.12367174029350281,
0.42599838972091675,
-0.315828412771225,
0.21980416774749756,
-0.13399943709373474,
-0.33480387926101685,
-0.2860121726989746,
0.2864803671836853,
0.1712380200624466,
-0.06842280179262161,
0.2690219581127167,
-0.11396334320306778,
0.1214430183172226,
-0.5862212181091309,
0.2238142043352127,
0.09738138318061829,
0.4004167318344116,
0.11383447051048279,
-0.07579673826694489,
-0.13721954822540283,
-0.2899135947227478,
0.1901639997959137,
-0.132829487323761,
0.41836655139923096,
-0.0016057193279266357,
-0.2518883943557739,
0.09407790005207062,
-0.11875765770673752,
-0.19841007888317108,
-0.08748634159564972,
0.2967781126499176,
0.053565580397844315,
0.15724200010299683,
-0.2649134397506714,
-0.030440809205174446,
-0.34131598472595215,
-0.26195836067199707,
0.20320095121860504,
-0.0475008599460125,
0.3176572918891907,
-0.2450198084115982,
-0.1494392305612564,
0.039955392479896545,
-0.09736161679029465,
-0.004936978220939636,
-0.32668331265449524,
0.04266614094376564,
0.24077436327934265,
-0.044451165944337845,
0.08214644342660904,
0.2627735733985901,
0.5095672011375427,
0.12720970809459686,
-0.3854151964187622,
0.24972738325595856,
-0.06853120028972626,
-0.10143445432186127,
-0.0005714744329452515,
-0.2917212247848511,
0.3151193857192993,
0.0013700425624847412,
0.10339035093784332,
0.19578330218791962,
-0.07336471229791641,
0.18287384510040283,
-0.155460923910141,
0.13986921310424805,
-0.19621309638023376,
0.03073248639702797,
0.24866461753845215,
-0.24421852827072144,
0.09851592779159546,
-0.24011124670505524,
0.3804864287376404,
0.23502381145954132,
0.16303077340126038,
0.22685953974723816,
0.33214694261550903,
-0.006108641624450684,
0.18345806002616882,
0.052432507276535034,
0.08450321853160858,
0.3677014112472534,
0.3613259792327881,
0.03458365052938461,
-0.059326089918613434,
-0.05387026071548462,
-0.14216159284114838,
0.32066091895103455,
0.02456929162144661,
0.10977930575609207,
0.1540376991033554,
-0.003167124930769205,
-0.12867766618728638,
-0.5678730010986328,
-0.17971985042095184,
-0.22927114367485046,
-0.16120432317256927,
0.09268993139266968,
0.07644349336624146,
0.26096999645233154,
-0.15511542558670044,
0.1066303551197052,
-0.12924408912658691,
-0.04549276456236839,
0.061867013573646545,
0.3464686870574951,
0.01853194832801819,
-0.4552508294582367,
0.18779537081718445,
-0.04650034010410309,
0.4725930690765381,
-0.0013098884373903275,
-0.08033387362957001,
-0.05568944662809372,
-0.010987278074026108,
-0.08766680210828781,
0.21064618229866028,
0.28448542952537537,
-0.1625899225473404,
0.5464717149734497,
-0.12182099372148514,
0.19172652065753937,
-0.3975760042667389,
-0.30668771266937256,
0.13650749623775482,
-0.1862076222896576,
0.12089764326810837,
0.16278120875358582,
0.19100317358970642,
0.2794443368911743,
-0.08606967329978943,
0.513556718826294,
-0.21696153283119202,
-0.11269032955169678,
-0.19728149473667145,
0.16508398950099945,
-0.034544188529253006,
-0.34706899523735046,
-0.4522973597049713,
-0.12012595683336258,
-0.4027174711227417,
0.2353227287530899,
0.4801429808139801,
0.3007180690765381,
0.19285203516483307,
0.2721501886844635,
-0.21540187299251556,
-0.1439513862133026,
0.34417009353637695,
-0.17330710589885712,
-0.28454065322875977,
0.21009108424186707,
-0.2663012444972992,
-0.3854210674762726,
0.05626374110579491,
-0.23432275652885437,
-0.10324858129024506,
0.030534228309988976,
-0.2833213806152344,
-0.22404439747333527,
-0.13447222113609314,
0.23152759671211243,
0.07546809315681458,
0.2604387402534485,
0.33947962522506714,
0.16269247233867645,
-0.3701765537261963,
-0.162421315908432,
0.06338705122470856,
0.3434886932373047,
-0.005195707082748413,
0.16857415437698364,
-0.18654614686965942,
0.10254938900470734,
-0.01698319800198078,
0.5331879258155823,
-0.005851203575730324,
-0.10752516984939575,
0.38470688462257385,
0.04286317527294159,
0.20676052570343018,
-0.01291346549987793,
-0.040983788669109344,
0.3642287850379944,
0.040931545197963715,
0.0052911676466465,
0.3603668212890625,
0.3996036946773529,
0.08006483316421509,
-0.14478927850723267,
0.3276374340057373,
-0.3367677927017212,
-0.4067907929420471,
0.24683094024658203,
0.41087958216667175,
0.1539956033229828,
-0.13231313228607178,
-0.23224255442619324,
-0.044877395033836365,
0.08144686371088028,
0.28857022523880005,
0.28835541009902954,
-0.06898880749940872,
-0.24140995740890503,
-0.3822082281112671,
0.03843286260962486,
-0.2896496653556824,
0.13039124011993408,
0.12409224361181259,
-0.43083661794662476,
-0.27402159571647644,
-0.2695979177951813,
0.05430450662970543,
-0.0900128111243248,
0.5606808066368103,
-0.16116958856582642,
0.007457032799720764,
0.026292819529771805,
-0.2679098844528198,
0.023914406076073647,
0.08012253046035767,
-0.21750187873840332,
-0.3662864863872528,
0.07076707482337952,
0.16703015565872192,
-0.6060906648635864,
-0.11675875633955002,
0.11232363432645798,
0.056045446544885635,
-0.17322185635566711,
0.04342382028698921,
0.035430315881967545,
-0.09721887111663818,
-0.33349379897117615,
-0.09188757091760635,
-0.06867578625679016,
-0.051336970180273056,
-0.02802593819797039,
-0.20062106847763062,
0.13334639370441437,
-0.08903777599334717,
0.08175525069236755,
-0.03950510174036026,
0.25973257422447205,
0.262452095746994,
-0.002344192937016487,
-0.02872244268655777,
0.0037741251289844513,
0.4788917005062103,
0.5992895364761353,
-0.24145883321762085,
0.1002752035856247,
-0.06411372125148773,
-0.07294699549674988,
0.005402766168117523,
0.3178955912590027,
0.1683003157377243,
-0.11467216163873672,
-0.17612308263778687,
0.15017837285995483,
-0.41673097014427185,
0.16477560997009277,
0.10382648557424545,
-0.029570918530225754,
0.17004820704460144,
-0.19410744309425354,
0.28651389479637146,
-0.23480837047100067,
-0.12628920376300812,
0.18379536271095276,
0.07402664422988892,
-0.4090924561023712,
0.017273249104619026,
0.45154789090156555,
0.994640588760376,
-0.09821534156799316,
0.381863534450531,
0.1087695062160492,
0.0199238583445549,
0.26475921273231506,
-0.05308988317847252,
-0.006317269057035446,
-0.289980411529541,
-0.25975388288497925,
0.050499506294727325,
-0.18334078788757324,
0.026385340839624405,
0.1988973617553711,
-0.15877419710159302,
-0.06865782290697098,
0.015089824795722961,
0.046446364372968674,
-0.18932458758354187,
-0.010023947805166245,
-0.00015000998973846436,
-0.49500778317451477,
-0.2669181823730469,
0.3274957537651062,
0.028751589357852936,
0.005775304511189461,
-0.13685429096221924,
-0.16194875538349152,
-0.32245510816574097,
-0.01868707872927189,
0.10873965919017792,
0.14146298170089722,
-0.032622456550598145,
-0.026313025504350662,
0.007000060752034187,
-0.13832196593284607,
-0.11820010840892792,
0.09639513492584229,
0.13520261645317078,
-0.11886237561702728,
-0.08903568983078003,
0.10921184718608856,
-0.07958636432886124,
0.14496800303459167,
-0.08849707990884781,
-0.03047572448849678,
0.19568581879138947,
0.014798302203416824,
0.18708163499832153,
-0.07582605630159378,
-0.05997737497091293,
-0.06642194092273712,
-0.27536314725875854,
-0.2141752690076828,
0.2541158199310303,
-0.16855844855308533,
-0.005121556576341391,
0.03613978624343872,
-0.3471735417842865,
-0.07143908739089966,
0.24935367703437805,
0.07602132856845856,
0.02916189283132553,
0.2801450192928314,
0.1607569456100464,
0.007439561188220978,
-0.1578313708305359,
0.05618491396307945,
0.1664794683456421,
-0.006881698966026306,
-0.06111936271190643,
0.20738066732883453,
-0.10196283459663391,
-0.3732457160949707,
0.0973508432507515,
-0.025159506127238274,
-0.3076421618461609,
0.22051078081130981,
0.09287459403276443,
-0.37034380435943604,
0.04858638718724251,
0.556807816028595,
0.4162536859512329,
-0.06828830391168594,
-0.029160166159272194,
0.06620223820209503,
-0.32932454347610474,
0.2718060612678528,
-0.15740898251533508,
0.4422110617160797,
-0.15788286924362183,
0.16773724555969238,
0.11625127494335175,
0.03658844530582428,
-0.5133355855941772,
-0.15301774442195892,
-0.24693462252616882,
0.06901093572378159,
0.1616864800453186,
0.037364423274993896,
0.1371801495552063,
0.003842374309897423,
0.14851513504981995,
-0.16495467722415924,
-0.4576263725757599,
-0.3581535518169403,
-0.0018946900963783264,
0.06566844135522842,
0.15376552939414978,
0.08163673430681229,
0.07448103278875351,
-0.14207106828689575,
-0.18373581767082214,
-0.14550194144248962,
-0.0007662978023290634,
-0.22827723622322083,
-0.2630844712257385,
-0.1588907241821289,
0.20867294073104858,
-0.21064716577529907,
0.1219383180141449,
0.015592822805047035,
-0.14250323176383972,
0.29897820949554443,
0.07527139037847519,
-0.2948007583618164,
-0.17373736202716827,
-0.3731653690338135,
0.020654894411563873,
0.27809229493141174,
0.19769778847694397,
0.20858466625213623,
0.27554914355278015,
0.09111741185188293,
-0.057246264070272446,
0.14000560343265533,
0.4960276782512665,
-0.055606380105018616,
-0.28924354910850525,
0.08445363491773605,
0.06735660880804062,
0.4176348149776459,
-0.27716678380966187,
-0.17857669293880463,
-0.1497340351343155,
-0.19968505203723907,
0.3120507001876831,
0.4022645950317383,
-0.004448093473911285,
0.0885196328163147,
-0.13368871808052063,
0.2137744128704071,
-0.017911098897457123,
0.22153770923614502,
0.1471632719039917,
0.061449456959962845,
-0.2117006629705429,
0.13754938542842865,
0.4522508382797241,
0.09121079742908478,
0.3482075035572052,
0.14951975643634796,
-0.060638852417469025,
0.434036523103714,
-0.1231103166937828,
-0.006870884448289871,
0.041004884988069534,
-0.06954845786094666,
0.19950731098651886,
-0.061526522040367126,
0.23259297013282776,
0.14861439168453217,
-0.05288904905319214,
0.11679350584745407,
-0.2140960544347763,
-0.43172869086265564,
-0.04855647310614586,
0.266239732503891,
-0.03453545272350311,
0.06686213612556458,
-0.37717005610466003,
-0.17251861095428467,
0.23026221990585327,
-0.10532519221305847,
0.013415060937404633,
-0.19843564927577972,
0.254077672958374,
-0.0037258490920066833,
0.2828126549720764,
-0.23247331380844116,
0.07414767891168594,
0.08517977595329285,
0.227974534034729,
-0.08844448626041412,
0.20192821323871613,
0.35373586416244507,
-0.10835401713848114,
0.19794553518295288,
0.31590425968170166,
-0.01825949177145958,
0.3189219534397125,
-0.08633759617805481,
0.10142140835523605,
0.04854324460029602,
-0.01851830817759037,
-0.28378888964653015,
-0.16049836575984955,
0.22132815420627594,
-0.055772457271814346,
0.27841198444366455,
0.2384827435016632,
-0.39453110098838806,
-0.16401587426662445,
0.003949567675590515,
0.04845487326383591,
0.10968901216983795,
-0.013718441128730774,
0.1880555897951126,
-0.18724067509174347,
-0.06546036899089813,
-0.13156017661094666,
-0.464016854763031,
-0.22859275341033936,
0.06956765055656433,
-0.3546332120895386,
0.1308363974094391,
-0.06083642318844795,
0.1591871678829193,
0.12642991542816162,
0.43119409680366516,
-0.20426230132579803,
-0.03320551663637161,
-0.19656236469745636,
-0.3120870888233185,
-0.41144511103630066,
-0.0878802016377449,
0.01918620802462101,
-0.20054136216640472,
-0.2633371651172638,
0.23948617279529572,
0.3135237395763397,
0.037734709680080414,
0.2874736785888672,
-0.05772596225142479,
0.23775321245193481,
0.18731768429279327,
-0.4524020254611969,
-0.02507137879729271,
-0.024344876408576965,
0.27978137135505676,
0.13954173028469086,
-0.1889428198337555,
0.19763155281543732,
-0.13904781639575958,
0.2175578773021698,
0.08623463660478592,
0.2177010476589203,
-0.11439228057861328,
-0.02600092440843582,
0.4300468862056732,
-0.015770146623253822,
0.13164637982845306,
-0.2807145118713379,
-0.19030460715293884,
0.04949062317609787,
-0.24048075079917908,
-0.001357833854854107,
-0.07786529511213303,
0.09345211833715439,
0.5253415107727051,
-0.23366625607013702,
0.0037362761795520782,
-0.27429264783859253,
-0.01706227846443653,
0.34294480085372925,
0.013445362448692322,
-0.2434305101633072,
0.18540069460868835,
0.04885847866535187,
0.013381988741457462,
-0.0467529371380806,
0.2840174734592438,
-0.050928302109241486,
-0.11498645693063736,
-0.17408517003059387,
-0.4737706482410431,
0.5490753650665283,
-0.06029928848147392,
-0.395108163356781,
0.008451140485703945,
0.15708217024803162,
-0.12859061360359192,
0.1309136301279068,
-0.03888064622879028,
0.14813745021820068,
0.0814446285367012,
0.08937167376279831,
-0.25978735089302063,
0.26369616389274597,
-0.2973167300224304,
-0.36184415221214294,
-0.022403474897146225,
0.0970546305179596,
-0.08296555280685425,
-0.038645751774311066,
-0.11627042293548584,
-0.19914549589157104
] |
https://github.com/huggingface/datasets/issues/3809 | Checksums didn't match for datasets on Google Drive | Hi @muelletm, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
Until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | ## Describe the bug
Datasets hosted on Google Drive do not seem to work right now.
Loading them fails with a checksum error.
## Steps to reproduce the bug
```python
from datasets import load_dataset
for dataset in ["head_qa", "yelp_review_full"]:
try:
load_dataset(dataset)
except Exception as exception:
print("Error", dataset, exception)
```
Here is a [colab](https://colab.research.google.com/drive/1wOtHBmL8I65NmUYakzPV5zhVCtHhi7uQ#scrollTo=cDzdCLlk-Bo4).
## Expected results
The datasets should be loaded.
## Actual results
```
Downloading and preparing dataset head_qa/es (download: 75.69 MiB, generated: 2.86 MiB, post-processed: Unknown size, total: 78.55 MiB) to /root/.cache/huggingface/datasets/head_qa/es/1.1.0/583ab408e8baf54aab378c93715fadc4d8aa51b393e27c3484a877e2ac0278e9...
Error head_qa Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?export=download&id=1a_95N5zQQoUCq8IBNVZgziHbeM-QxG2t']
Downloading and preparing dataset yelp_review_full/yelp_review_full (download: 187.06 MiB, generated: 496.94 MiB, post-processed: Unknown size, total: 684.00 MiB) to /root/.cache/huggingface/datasets/yelp_review_full/yelp_review_full/1.0.0/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43...
Error yelp_review_full Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0']
```
## Environment info
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
| 103 | Checksums didn't match for datasets on Google Drive
## Describe the bug
Datasets hosted on Google Drive do not seem to work right now.
Loading them fails with a checksum error.
## Steps to reproduce the bug
```python
from datasets import load_dataset
for dataset in ["head_qa", "yelp_review_full"]:
try:
load_dataset(dataset)
except Exception as exception:
print("Error", dataset, exception)
```
Here is a [colab](https://colab.research.google.com/drive/1wOtHBmL8I65NmUYakzPV5zhVCtHhi7uQ#scrollTo=cDzdCLlk-Bo4).
## Expected results
The datasets should be loaded.
## Actual results
```
Downloading and preparing dataset head_qa/es (download: 75.69 MiB, generated: 2.86 MiB, post-processed: Unknown size, total: 78.55 MiB) to /root/.cache/huggingface/datasets/head_qa/es/1.1.0/583ab408e8baf54aab378c93715fadc4d8aa51b393e27c3484a877e2ac0278e9...
Error head_qa Checksums didn't match for dataset source files:
['https://drive.google.com/u/0/uc?export=download&id=1a_95N5zQQoUCq8IBNVZgziHbeM-QxG2t']
Downloading and preparing dataset yelp_review_full/yelp_review_full (download: 187.06 MiB, generated: 496.94 MiB, post-processed: Unknown size, total: 684.00 MiB) to /root/.cache/huggingface/datasets/yelp_review_full/yelp_review_full/1.0.0/13c31a618ba62568ec8572a222a283dfc29a6517776a3ac5945fb508877dde43...
Error yelp_review_full Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbZlU4dXhHTFhZQU0']
```
## Environment info
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
Hi @muelletm, thanks for reporting.
This issue was already reported and its root cause is a change in the Google Drive service. See:
- #3786
We have already fixed it. See:
- #3787
Until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | [
-0.20049472153186798,
0.1379578709602356,
-0.09350812435150146,
0.38518136739730835,
0.1761961579322815,
0.06696239858865738,
0.286794513463974,
0.2709662616252899,
0.3133200407028198,
0.03521772474050522,
-0.2274777889251709,
-0.13300339877605438,
0.09227832406759262,
0.4749770760536194,
-0.011839675717055798,
0.0952155590057373,
0.20465844869613647,
-0.2078855335712433,
-0.11876247823238373,
-0.07674361765384674,
-0.24405746161937714,
0.273445725440979,
-0.12813645601272583,
-0.26541876792907715,
-0.08449983596801758,
0.1922454982995987,
0.10890793800354004,
0.03039013035595417,
-0.13647618889808655,
-0.07683432102203369,
0.3176579177379608,
0.10804019868373871,
-0.04387277364730835,
0.6045650839805603,
-0.00011529372568475083,
0.16914746165275574,
0.5119215250015259,
-0.10301139205694199,
-0.2532036006450653,
-0.13559062778949738,
-0.2083260715007782,
-0.2300938218832016,
-0.11542980372905731,
-0.05669017881155014,
0.027077756822109222,
-0.0767156332731247,
-0.041802361607551575,
-0.2278386950492859,
0.03432750701904297,
0.16574431955814362,
0.2046627700328827,
0.22911541163921356,
0.16481398046016693,
0.07777624577283859,
0.3041203022003174,
-0.023111790418624878,
-0.029595395550131798,
0.5944209098815918,
0.21600420773029327,
-0.13120482861995697,
0.10987178981304169,
-0.01947042904794216,
-0.15244802832603455,
-0.12109440565109253,
0.10677941143512726,
-0.048452623188495636,
-0.19001555442810059,
-0.05851943790912628,
0.1944255232810974,
0.3027800917625427,
0.22713938355445862,
-0.2340979278087616,
-0.3918515145778656,
-0.2272476851940155,
-0.07188253104686737,
-0.030380304902791977,
0.46620839834213257,
0.36334264278411865,
0.05333429202437401,
-0.009921133518218994,
-0.6728939414024353,
0.178431436419487,
0.16651323437690735,
0.03419537842273712,
-0.07226347178220749,
0.28998512029647827,
0.10731901228427887,
-0.04593805968761444,
-0.009073872119188309,
-0.0415421798825264,
0.3304327726364136,
-0.2977485656738281,
-0.31845927238464355,
-0.058979202061891556,
-0.43020620942115784,
-0.031944580376148224,
-0.021898344159126282,
0.6578826904296875,
0.3799864947795868,
0.4241061806678772,
0.13446399569511414,
0.14016830921173096,
-0.22750596702098846,
0.13715964555740356,
0.1466052532196045,
0.17414942383766174,
0.050791721791028976,
0.15229971706867218,
0.4568635821342468,
0.4636971056461334,
0.06600208580493927,
0.10245382785797119,
0.24785363674163818,
-0.24298202991485596,
0.07579673826694489,
0.19415593147277832,
0.24575547873973846,
-0.4055297374725342,
-0.33485928177833557,
0.27879127860069275,
-0.22816070914268494,
-0.29020291566848755,
0.15226255357265472,
0.3259158134460449,
-0.16120962798595428,
-0.19422698020935059,
0.05512469261884689,
0.20936478674411774,
-0.09993290156126022,
0.1333678662776947,
-0.27917027473449707,
0.06984347105026245,
-0.027942342683672905,
0.05974379926919937,
0.3519749045372009,
-0.5087804198265076,
0.4866880774497986,
-0.07848231494426727,
0.21076098084449768,
-0.2716502845287323,
-0.17154693603515625,
-0.15655547380447388,
-0.1211889460682869,
0.23723824322223663,
0.15466906130313873,
-0.039747823029756546,
0.09025105834007263,
-0.14286839962005615,
-0.05400814861059189,
0.20202124118804932,
-0.3572333753108978,
0.019777517765760422,
-0.0073937904089689255,
0.1894223541021347,
-0.5425912737846375,
0.04290686547756195,
-0.5800548195838928,
-0.1823514699935913,
0.12491240352392197,
-0.1873639076948166,
0.045021701604127884,
-0.2815033197402954,
-0.21062186360359192,
-0.13204681873321533,
0.3063296675682068,
0.3215180039405823,
-0.18969401717185974,
0.024425379931926727,
-0.08852308988571167,
-0.10654015839099884,
0.013145461678504944,
0.3616097569465637,
0.11629796773195267,
0.17363569140434265,
-0.4544728398323059,
-0.035174332559108734,
-0.19766724109649658,
-0.38398462533950806,
-0.5300043821334839,
-0.24862346053123474,
0.20508722960948944,
0.13999082148075104,
-0.10486530512571335,
-0.2803533375263214,
0.1224823072552681,
-0.18644578754901886,
0.04019933193922043,
0.333305299282074,
-0.000398760661482811,
0.2669268250465393,
-0.1876935064792633,
-0.22289468348026276,
-0.13862435519695282,
0.17188747227191925,
-0.041561875492334366,
0.025968939065933228,
0.374271959066391,
-0.36438119411468506,
0.07101688534021378,
-0.04131538048386574,
0.014101224020123482,
0.3013989329338074,
0.5576110482215881,
-0.1074376255273819,
0.11191993206739426,
-0.06109880656003952,
-0.7031604051589966,
0.4163665473461151,
-0.1611439436674118,
-0.05065426975488663,
-0.23877070844173431,
0.00500897690653801,
-0.4453287422657013,
-0.10382506996393204,
-0.1254400610923767,
-0.015931829810142517,
0.0952855795621872,
0.17028182744979858,
-0.0020620208233594894,
0.21923385560512543,
0.023598533123731613,
0.023502420634031296,
-0.16454850137233734,
-0.005266777239739895,
-0.06468303501605988,
0.6858776211738586,
-0.1069708839058876,
-0.24572685360908508,
0.3047248423099518,
0.0825411006808281,
0.21953561902046204,
-0.08280815184116364,
-0.09374156594276428,
0.37172526121139526,
-0.0015266169793903828,
0.4066150188446045,
0.05902755260467529,
0.2769157886505127,
0.19225642085075378,
-0.3241865932941437,
0.01358795166015625,
0.29113537073135376,
0.2097776085138321,
-0.217492014169693,
-0.35393720865249634,
0.4361308217048645,
-0.19276246428489685,
0.10039418190717697,
-0.12247510999441147,
-0.06076943874359131,
0.253486305475235,
-0.037313416600227356,
-0.09058158844709396,
-0.20469368994235992,
0.27631527185440063,
0.280855655670166,
0.3398905396461487,
-0.040272124111652374,
0.005683839321136475,
-0.025136522948741913,
0.4558698236942291,
-0.11912238597869873,
-0.044876761734485626,
0.0108552947640419,
0.051664259284734726,
-0.11818257719278336,
0.23019927740097046,
0.3681415319442749,
0.23184245824813843,
0.09659752249717712,
0.0978776067495346,
0.1922646015882492,
-0.0474933497607708,
-0.2538549304008484,
0.019568145275115967,
0.005693189799785614,
0.09393434971570969,
0.43777844309806824,
0.13519339263439178,
-0.11535877734422684,
-0.2053840160369873,
0.013861436396837234,
-0.03419611603021622,
0.1547340750694275,
-0.5353249907493591,
-0.05494602769613266,
-0.1626688838005066,
0.12314359098672867,
-0.19706358015537262,
0.018384210765361786,
-0.3379391133785248,
-0.4040555953979492,
-0.05772516876459122,
0.34875616431236267,
-0.13313986361026764,
0.1675659716129303,
0.11880376935005188,
0.2955760657787323,
0.1296313852071762,
-0.3248251676559448,
-0.07744577527046204,
-0.003987954463809729,
-0.0432775542140007,
0.08147072792053223,
0.5646175146102905,
0.07416081428527832,
0.21978893876075745,
-0.22832746803760529,
-0.01637551747262478,
-0.6965921521186829,
-0.14239466190338135,
0.12186474353075027,
-0.2779049873352051,
0.6852677464485168,
-0.0469578355550766,
0.14906305074691772,
-0.24668867886066437,
-0.12221484631299973,
0.08656035363674164,
0.11510981619358063,
-0.4383170008659363,
0.1449607014656067,
0.072243832051754,
-0.0023826081305742264,
0.07725419104099274,
0.08858213573694229,
0.16886967420578003,
-0.17898212373256683,
0.014176156371831894,
0.10950721800327301,
0.13909751176834106,
-0.12632381916046143,
0.03151882439851761,
0.07698101550340652,
0.23555289208889008,
-0.06868709623813629,
-0.22504577040672302,
-0.5468576550483704,
0.4623749852180481,
-0.05817248299717903,
-0.3421659767627716,
0.02130122110247612,
0.11619575321674347,
0.027334710583090782,
0.12764497101306915,
-0.5016133189201355,
-0.39972540736198425,
-0.2580123543739319,
0.008607611060142517,
0.343493789434433,
0.09183436632156372,
0.12812909483909607,
-0.09859813749790192,
0.13521482050418854,
-0.15994468331336975,
-0.36964526772499084,
0.06056954711675644,
0.0010759085416793823,
0.3646294176578522,
-0.01845809817314148,
0.22529754042625427,
-0.26335465908050537,
0.4675225615501404,
0.4486217796802521,
0.09842483699321747,
0.3147240877151489,
0.2940503656864166,
0.3990001678466797,
-0.22118020057678223,
-0.16434241831302643,
0.01640922762453556,
0.02377811074256897,
-0.20558105409145355,
0.30208373069763184,
0.026141896843910217,
-0.06079758703708649,
-0.18588751554489136,
-0.10021059215068817,
-0.5017098188400269,
-0.17858774960041046,
-0.20205070078372955,
-0.12779909372329712,
0.08972227573394775,
-0.0667971521615982,
0.00542198121547699,
0.2872888743877411,
-0.4536360204219818,
0.18785837292671204,
0.26120829582214355,
0.11375711113214493,
0.04514742270112038,
-0.2743210196495056,
-0.3014605939388275,
-0.06969470530748367,
0.35413095355033875,
0.01690259575843811,
0.35855239629745483,
-0.13821576535701752,
-0.014216514304280281,
-0.030864134430885315,
-0.11843710392713547,
0.27642107009887695,
-0.27035507559776306,
0.4724327325820923,
-0.07140335440635681,
0.14770309627056122,
0.14482097327709198,
-0.2917379140853882,
-0.17685343325138092,
-0.1277254968881607,
0.1293254941701889,
0.28883305191993713,
-0.38228440284729004,
0.2203149050474167,
0.13540273904800415,
0.23353055119514465,
-0.0698423981666565,
-0.12080321460962296,
-0.23050017654895782,
-0.4189129173755646,
-0.28303062915802,
0.08972659707069397,
0.09209491312503815,
0.13013502955436707,
-0.2968703508377075,
-0.08047039806842804,
0.07522676140069962,
-0.3016209304332733,
0.15578590333461761,
-0.07690586149692535,
0.34195655584335327,
0.0949995294213295,
0.3571751117706299,
-0.10155144333839417,
-0.12041646242141724,
0.3626656234264374,
0.8842464685440063,
-0.07693926990032196,
-0.004766702651977539,
0.09326370060443878,
-0.18398024141788483,
-0.09216644614934921,
0.24392381310462952,
-0.03357468172907829,
-0.08812973648309708,
0.16249676048755646,
0.005051061511039734,
-0.0007810825482010841,
-0.2508617639541626,
-0.19296906888484955,
0.24733933806419373,
-0.41545844078063965,
-0.11936170607805252,
0.44046077132225037,
0.12044019997119904,
-0.05572971701622009,
0.19488848745822906,
0.4694538116455078,
-0.2719288170337677,
0.30031025409698486,
0.2845599055290222,
0.8265959620475769,
-0.2893970012664795,
-0.1447914093732834,
0.0350283682346344,
-0.14263269305229187,
0.09707565605640411,
-0.014101352542638779,
-0.12642744183540344,
-0.3921390771865845,
-0.3846442699432373,
0.01640324480831623,
-0.12931016087532043,
-0.03913737088441849,
-0.0021457336843013763,
-0.11798210442066193,
0.3397379517555237,
-0.11402048170566559,
0.0018323063850402832,
0.027782438322901726,
0.12473219633102417,
-0.32480743527412415,
0.1265995055437088,
0.003256332129240036,
0.1494746208190918,
-0.13408417999744415,
0.24804210662841797,
-0.12527328729629517,
0.16886132955551147,
-0.2506329119205475,
-0.06029132753610611,
-0.6115702390670776,
0.14909124374389648,
-0.07614567875862122,
-0.11522506177425385,
0.21129487454891205,
-0.4906226396560669,
-0.012119976803660393,
0.2016344517469406,
0.3718295097351074,
0.3856649100780487,
-0.4005652964115143,
0.20078037679195404,
0.10522659122943878,
0.1518888920545578,
0.03029102459549904,
-0.11911677569150925,
0.3277145326137543,
-0.07247181236743927,
-0.24909719824790955,
-0.11217550188302994,
0.07570570707321167,
-0.5582981705665588,
-0.045310892164707184,
0.05025932937860489,
-0.6676185727119446,
-0.2785412073135376,
-0.224604070186615,
-0.2955377697944641,
-0.06869939714670181,
-0.10260617733001709,
0.15753059089183807,
0.2158152014017105,
0.23389704525470734,
0.11719837039709091,
0.3820902705192566,
-0.28978896141052246,
-0.13501118123531342,
0.41264674067497253,
-0.0841183066368103,
-0.21645425260066986,
0.5251410603523254,
0.24930758774280548,
-0.09773652255535126,
-0.11751119792461395,
-0.20574265718460083,
-0.0659336969256401,
-0.08411644399166107,
0.08998407423496246,
-0.4900367558002472,
0.15506328642368317,
-0.14514024555683136,
0.3562949299812317,
0.43605029582977295,
0.19560223817825317,
0.3178125321865082,
-0.8237507939338684,
0.03168739378452301,
0.32845982909202576,
-0.040652696043252945,
0.2587669789791107,
-0.09175435453653336,
-0.11835575103759766,
0.015459435060620308,
-0.0347820520401001,
-0.3064877688884735,
0.14192736148834229,
-0.33374160528182983,
-0.09064709395170212,
0.06678983569145203,
0.08496259897947311,
0.13109011948108673,
-0.23232103884220123,
0.14578275382518768,
-0.0892709270119667,
-0.0798121839761734,
-0.2031281590461731,
-0.010477871634066105,
0.10392224043607712,
0.1726273000240326,
-0.13759177923202515,
-0.0014214781112968922,
-0.20376642048358917,
-0.02439175546169281,
-0.2172429859638214,
0.10886140167713165,
0.056961752474308014,
-0.030254125595092773,
-0.08906766027212143,
0.37506726384162903,
-0.03484683483839035,
-0.1871805340051651,
-0.11494715511798859,
-0.26178890466690063,
-0.21285130083560944,
-0.09967843443155289,
-0.03535638749599457,
0.13632901012897491,
0.1032319962978363,
0.05991015210747719,
0.08537027984857559,
0.005687043070793152,
0.3824944794178009,
0.43698427081108093,
-0.10442571341991425,
-0.0940290316939354,
0.22365804016590118,
0.3768748641014099,
0.1638251692056656,
-0.40938183665275574,
-0.08194101601839066,
0.3640469014644623,
0.15790140628814697,
-0.24254244565963745,
-0.05511144548654556,
0.00802810862660408,
0.09883888810873032,
0.0002008676528930664,
0.21218116581439972,
0.30290839076042175,
-0.12343701720237732,
-0.043963924050331116,
0.21189522743225098,
0.4691699147224426,
0.09414368867874146,
0.23688524961471558,
0.045904990285634995,
0.017008785158395767,
0.15157337486743927,
0.17029088735580444,
-0.49654510617256165,
-0.07363448292016983,
-0.11616294085979462,
0.08402474224567413,
0.14727813005447388,
-0.27472251653671265,
0.21024514734745026,
-0.0020156875252723694,
-0.6126357316970825,
0.46410781145095825,
0.03081052005290985,
-0.20542392134666443,
0.07790399342775345,
0.13240137696266174,
0.2303791046142578,
-0.3137660324573517,
0.1803620308637619,
-0.4721142649650574,
0.16874319314956665,
0.004215320572257042,
0.053817372769117355,
-0.08790181577205658,
-0.3016020357608795,
-0.02134760469198227,
0.2604183256626129,
0.012785494327545166,
-0.08238554000854492,
-0.06396426260471344,
0.17649254202842712,
-0.3536227345466614,
0.007159112952649593,
0.02307453192770481,
0.011329365894198418,
0.2244572937488556,
-0.18033066391944885,
0.33588558435440063,
0.003758661448955536,
-0.16444414854049683,
-0.02046477422118187,
0.492458313703537,
0.22197113931179047,
0.2876985967159271,
0.19717389345169067,
-0.11587213724851608,
0.05064892768859863,
-0.008581297472119331,
0.06101209670305252,
0.5031030774116516,
0.003915831446647644,
-0.28222373127937317,
0.18660573661327362,
0.25354281067848206,
-0.10213667899370193,
0.060196712613105774,
-0.08035711944103241,
-0.03696860000491142,
-0.15862159430980682,
0.1864740550518036,
-0.07542799413204193,
0.12190181761980057,
-0.1724703162908554,
-0.13342267274856567,
-0.23401027917861938,
-0.2592122256755829,
0.16200292110443115,
0.038074053823947906,
0.14694476127624512,
-0.05624105781316757,
0.08645287156105042,
0.10110871493816376,
0.43042299151420593,
0.5367588996887207,
0.0889749675989151,
-0.15682171285152435,
-0.3129064440727234,
-0.47907429933547974,
0.09471993148326874,
-0.12548387050628662,
0.3279232382774353,
-0.0033962372690439224,
0.08016280829906464,
-0.19494304060935974,
0.15629997849464417,
0.22784492373466492,
0.2313125729560852,
-0.11496276408433914,
-0.048474229872226715,
-0.42762917280197144,
-0.3509792685508728,
-0.2094491869211197,
-0.25905120372772217,
-0.1522229015827179,
-0.278414785861969,
0.2535113990306854,
0.046093422919511795,
0.03588729351758957,
-0.02833022177219391,
-0.014193981885910034,
-0.012230521067976952,
0.04577456787228584,
0.2555921673774719,
0.11303785443305969,
0.6449953317642212,
-0.020781278610229492,
-0.029535964131355286,
-0.278592586517334,
-0.161917582154274,
-0.08769267052412033,
0.3821881115436554,
-0.19873817265033722,
0.3756825923919678,
0.18060606718063354,
-0.24738682806491852,
-0.07159069925546646,
0.5380215644836426,
-0.054724618792533875,
-0.1552121490240097,
-0.2668095529079437,
-0.21629251539707184,
-0.09952601790428162,
-0.17459939420223236,
0.12765969336032867,
-0.02244717627763748,
-0.059016160666942596,
0.3237236440181732,
-0.2381405383348465,
-0.40053871273994446,
0.3428792953491211,
0.04718931391835213,
0.12339037656784058,
-0.0028895987197756767,
0.15878421068191528,
-0.14465314149856567,
-0.11497005075216293,
-0.6839457154273987,
0.06397087126970291,
0.26666316390037537,
-0.017653681337833405,
-0.05093659833073616,
0.2697363495826721,
-0.08700387179851532,
0.1659563183784485,
-0.03839128836989403,
0.10295021533966064,
0.09524938464164734,
-0.23195017874240875,
-0.009623885154724121,
-0.09209223091602325
] |
https://github.com/huggingface/datasets/issues/3808 | Pre-Processing Cache Fails when using a Factory pattern | Ok - this is still an issue but I believe the root cause is different than I originally thought. I'm now able to get caching to work consistently with the above example as long as I fix the python hash seed `export PYTHONHASHSEED=1234` | ## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmentation=None):
def preprocess_function(examples):
# Tokenize the texts
if augmentation:
conversions1 = [
augmentation(example)
for example in examples[sentence1_key]
]
if sentence2_key is None:
args = (conversions1,)
else:
conversions2 = [
augmentation(example)
for example in examples[sentence2_key]
]
args = (conversions1, conversions2)
else:
args = (
(examples[sentence1_key],)
if sentence2_key is None
else (examples[sentence1_key], examples[sentence2_key])
)
result = tokenizer(
*args, padding=padding, max_length=max_seq_length, truncation=True
)
# Map labels to IDs (not necessary for GLUE tasks)
if label_to_id is not None and "label" in examples:
result["label"] = [
(label_to_id[l] if l != -1 else -1) for l in examples["label"]
]
return result
return preprocess_function
capitalize = lambda x: x.capitalize()
preprocess_function = preprocess_function_factory(augmentation=capitalize)
print(hash(preprocess_function)) # This will change on each run
raw_datasets = raw_datasets.map(
preprocess_function,
batched=True,
load_from_cache_file=True,
desc="Running transformation and tokenizer on dataset",
)
```
## Expected results
Running the code twice will cause the cache to be re-used.
## Actual results
Running the code twice causes the whole dataset to be re-processed
| 43 | Pre-Processing Cache Fails when using a Factory pattern
## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmentation=None):
def preprocess_function(examples):
# Tokenize the texts
if augmentation:
conversions1 = [
augmentation(example)
for example in examples[sentence1_key]
]
if sentence2_key is None:
args = (conversions1,)
else:
conversions2 = [
augmentation(example)
for example in examples[sentence2_key]
]
args = (conversions1, conversions2)
else:
args = (
(examples[sentence1_key],)
if sentence2_key is None
else (examples[sentence1_key], examples[sentence2_key])
)
result = tokenizer(
*args, padding=padding, max_length=max_seq_length, truncation=True
)
# Map labels to IDs (not necessary for GLUE tasks)
if label_to_id is not None and "label" in examples:
result["label"] = [
(label_to_id[l] if l != -1 else -1) for l in examples["label"]
]
return result
return preprocess_function
capitalize = lambda x: x.capitalize()
preprocess_function = preprocess_function_factory(augmentation=capitalize)
print(hash(preprocess_function)) # This will change on each run
raw_datasets = raw_datasets.map(
preprocess_function,
batched=True,
load_from_cache_file=True,
desc="Running transformation and tokenizer on dataset",
)
```
## Expected results
Running the code twice will cause the cache to be re-used.
## Actual results
Running the code twice causes the whole dataset to be re-processed
Ok - this is still an issue but I believe the root cause is different than I originally thought. I'm now able to get caching to work consistently with the above example as long as I fix the python hash seed `export PYTHONHASHSEED=1234` | [
0.045696403831243515,
0.12486942112445831,
-0.07195892930030823,
0.014906898140907288,
0.19251014292240143,
-0.24582484364509583,
0.3033486008644104,
0.2505905032157898,
-0.1709432452917099,
-0.09352941811084747,
0.3817084729671478,
0.17649079859256744,
-0.05780202895402908,
0.15927402675151825,
-0.02887914702296257,
0.2823101282119751,
0.10336442291736603,
0.029113516211509705,
0.13796761631965637,
0.10074186325073242,
-0.0800647884607315,
0.2485741227865219,
-0.11616889387369156,
-0.1958497017621994,
-0.541692852973938,
0.06765734404325485,
-0.020142629742622375,
-0.018981516361236572,
0.23719164729118347,
-0.3668442964553833,
0.19721244275569916,
0.25913670659065247,
-0.07200279831886292,
0.2479802668094635,
-0.00010541100346017629,
0.04642175883054733,
0.0639771893620491,
-0.08144694566726685,
-0.07312913239002228,
0.1504325270652771,
-0.06919753551483154,
0.017850041389465332,
-0.24510620534420013,
-0.06026972457766533,
-0.13505205512046814,
0.13149675726890564,
-0.09417659789323807,
-0.18086275458335876,
0.5449666976928711,
0.14492489397525787,
0.24653276801109314,
-0.18618369102478027,
-0.06435208767652512,
0.08636994659900665,
0.036423489451408386,
0.040569402277469635,
-0.02997945435345173,
0.06070442125201225,
0.11793597042560577,
-0.32185977697372437,
-0.24124598503112793,
0.39023303985595703,
-0.09757940471172333,
0.037588149309158325,
0.042843833565711975,
0.06801846623420715,
0.39717188477516174,
-0.36176225543022156,
0.35169747471809387,
0.009757686406373978,
0.08653269708156586,
-0.3855113983154297,
-0.3593825697898865,
-0.25178611278533936,
-0.24316030740737915,
-0.5261290073394775,
0.20355945825576782,
-0.1297149956226349,
0.18427149951457977,
0.2602304220199585,
-0.09030791372060776,
0.19584031403064728,
0.2555772662162781,
-0.12375876307487488,
0.10550194978713989,
0.1235569566488266,
-0.0928361564874649,
-0.061096109449863434,
-0.03077946975827217,
-0.08589114993810654,
0.12401502579450607,
-0.15146797895431519,
-0.1585734486579895,
0.22803063690662384,
-0.33729735016822815,
-0.08856397867202759,
0.12104827165603638,
0.09896951913833618,
-0.12660808861255646,
0.37102317810058594,
-0.11021387577056885,
0.4977495074272156,
0.17060710489749908,
-0.03165194392204285,
-0.2520301043987274,
0.46557435393333435,
0.025669455528259277,
0.06500041484832764,
0.03269127756357193,
-0.05203857272863388,
-0.4685489237308502,
0.016438279300928116,
0.15554247796535492,
-0.12989579141139984,
0.48571622371673584,
-0.04030897095799446,
-0.15354782342910767,
-0.02396206185221672,
-0.11943414062261581,
0.25225362181663513,
-0.3497690260410309,
-0.06946088373661041,
0.08421250432729721,
0.2620868682861328,
0.06787721812725067,
0.4173577129840851,
0.03741242736577988,
0.11501055210828781,
-0.10909365862607956,
-0.06280996650457382,
-0.2806386649608612,
-0.10824896395206451,
-0.3581160306930542,
0.3813702464103699,
0.2507968842983246,
0.2573084235191345,
0.13269922137260437,
0.39867594838142395,
0.06972846388816833,
-0.3648739159107208,
0.4008065164089203,
-0.1041196882724762,
0.16559544205665588,
0.10379794985055923,
-0.2898261547088623,
0.2746484875679016,
0.19547039270401,
0.06043364107608795,
0.00979062169790268,
-0.006880417466163635,
-0.2795143723487854,
-0.2965002655982971,
0.48345857858657837,
0.24353079497814178,
-0.2935819625854492,
0.1636573225259781,
0.22486397624015808,
0.06810706853866577,
0.6252421736717224,
0.04725686088204384,
-0.018297158181667328,
-0.10446318984031677,
-0.3627287745475769,
-0.18888217210769653,
0.06005607545375824,
0.3668995797634125,
-0.1207936704158783,
0.05608860403299332,
0.09271473437547684,
0.2912808954715729,
0.19750529527664185,
-0.05736425891518593,
-0.18026277422904968,
0.3179456293582916,
-0.1916022151708603,
-0.006774470210075378,
-0.018213264644145966,
-0.08977273851633072,
-0.34846946597099304,
0.24800175428390503,
-0.15008673071861267,
0.39785003662109375,
0.024740688502788544,
-0.21472081542015076,
-0.166792094707489,
-0.284712553024292,
0.08411284536123276,
-0.017652656883001328,
0.01490785926580429,
-0.020460419356822968,
-0.4096454381942749,
0.07945705950260162,
0.014538370072841644,
-0.0950632244348526,
0.2921406328678131,
0.15908724069595337,
-0.3811901807785034,
0.013144583441317081,
-0.08539987355470657,
-0.1212221086025238,
0.1601061075925827,
0.2697564661502838,
-0.07185922563076019,
0.23684191703796387,
0.27764150500297546,
-0.12016677111387253,
0.051558591425418854,
0.4406793713569641,
-0.6433756351470947,
-0.12994463741779327,
0.14023232460021973,
-0.0921194851398468,
-0.021139468997716904,
-0.0011983979493379593,
-0.08604459464550018,
-0.27704840898513794,
0.23112618923187256,
0.09678935259580612,
0.0826522558927536,
-0.15504337847232819,
0.07888485491275787,
0.7570073008537292,
0.2576475441455841,
-0.09643279016017914,
-0.027017980813980103,
-0.15292629599571228,
-0.09779661148786545,
-0.31818509101867676,
-0.3564856946468353,
0.10779082775115967,
0.25338661670684814,
0.07381971180438995,
-0.09753337502479553,
0.2303783893585205,
0.2986837327480316,
0.003505416214466095,
-0.36522403359413147,
0.31761467456817627,
-0.1558322310447693,
0.16444149613380432,
-0.14704009890556335,
0.04773648828268051,
0.16415539383888245,
-0.2811580002307892,
0.3597729504108429,
0.3201102018356323,
0.47506701946258545,
-0.021686241030693054,
-0.21419942378997803,
-0.15848655998706818,
0.16489049792289734,
-0.18868158757686615,
-0.14425460994243622,
-0.1528806984424591,
0.055182989686727524,
-0.18946592509746552,
0.26075202226638794,
0.07704222202301025,
-0.016204532235860825,
0.2817671597003937,
0.22227531671524048,
0.2565101087093353,
0.08048012107610703,
-0.17501676082611084,
-0.1940772831439972,
-0.256009966135025,
-0.12601330876350403,
0.08935785293579102,
0.2545466721057892,
0.06708960235118866,
-0.15392251312732697,
0.1554887741804123,
-0.04504500702023506,
-0.15849171578884125,
0.05118195712566376,
-0.04323694854974747,
0.10762510448694229,
0.05559452623128891,
0.10425905138254166,
0.09467798471450806,
0.021965637803077698,
-0.1271417737007141,
0.2352599799633026,
-0.07267940789461136,
-0.30757468938827515,
0.20818114280700684,
-0.3199576139450073,
0.150826096534729,
-0.15783089399337769,
-0.04652739316225052,
0.13183951377868652,
-0.28822940587997437,
-0.010027311742305756,
0.24830064177513123,
-0.22414755821228027,
0.14607375860214233,
-0.11389842629432678,
0.2523197531700134,
-0.11863236874341965,
-0.23722629249095917,
-0.17582878470420837,
-0.0909784585237503,
-0.4563423693180084,
-0.01918729767203331,
0.1571178138256073,
-0.19604314863681793,
0.10816335678100586,
-0.07843172550201416,
-0.13069146871566772,
-0.08331958204507828,
-0.2311924695968628,
0.04506281763315201,
0.08453908562660217,
0.17273278534412384,
-0.08958713710308075,
-0.3067457675933838,
-0.24285170435905457,
-0.07944134622812271,
0.2815026640892029,
-0.04658539220690727,
0.08906646072864532,
0.15975771844387054,
-0.0452725775539875,
-0.19309787452220917,
-0.23692946135997772,
0.16316846013069153,
0.07238595187664032,
-0.051634542644023895,
-0.28212153911590576,
-0.17224463820457458,
-0.07878497242927551,
0.16597464680671692,
-0.18692083656787872,
-0.1365906298160553,
-0.070742167532444,
-0.07559045404195786,
-0.403056800365448,
-0.4344121813774109,
0.22467635571956635,
-0.14964444935321808,
-0.015058718621730804,
-0.017856314778327942,
-0.2553582787513733,
0.1477358341217041,
0.35068070888519287,
-0.18556441366672516,
-0.26857057213783264,
-0.03954630345106125,
0.053651269525289536,
0.04746170714497566,
-0.04021795839071274,
0.31346532702445984,
0.13096463680267334,
-0.09409981966018677,
-0.2369207739830017,
-0.2920289635658264,
0.21220365166664124,
-0.11309019476175308,
0.17403259873390198,
0.009668180719017982,
-0.14138489961624146,
0.21573275327682495,
0.857388436794281,
0.20074960589408875,
-0.18470288813114166,
0.3335922658443451,
0.240294948220253,
0.2742706835269928,
0.009109631180763245,
-0.0894080102443695,
-0.2826070487499237,
-0.3114883005619049,
0.018948089331388474,
0.03281498700380325,
-0.08071621507406235,
-0.17625921964645386,
0.026328735053539276,
0.3427586555480957,
-0.10336048901081085,
-0.28049829602241516,
0.365750789642334,
-0.7275704741477966,
0.4170518219470978,
0.22901493310928345,
0.1586093306541443,
-0.29136520624160767,
0.05038481205701828,
-0.08899237215518951,
-0.3363463282585144,
0.08486353605985641,
-0.06539227068424225,
-0.22985590994358063,
0.0828205943107605,
-0.16754478216171265,
0.18108952045440674,
0.23569734394550323,
0.26510754227638245,
0.0913885235786438,
-0.14323577284812927,
-0.16190452873706818,
-0.1117553859949112,
0.5956317186355591,
-0.4450293481349945,
0.05224344879388809,
0.2775440514087677,
-0.5397012233734131,
-0.16748644411563873,
-0.308536559343338,
0.13376063108444214,
0.21992449462413788,
0.27937841415405273,
0.16397766768932343,
-0.13504332304000854,
-0.04232253506779671,
-0.42142003774642944,
-0.053562525659799576,
-0.0968574807047844,
-0.22590969502925873,
-0.14401841163635254,
0.015666324645280838,
-0.09015674144029617,
0.17378228902816772,
0.18986380100250244,
0.14045554399490356,
-0.01776040531694889,
0.10209693014621735,
-0.14879457652568817,
-0.001961423084139824,
0.14805743098258972,
0.11113861203193665,
0.3864552676677704,
-0.2851444482803345,
0.2021273523569107,
0.10886584222316742,
-0.05754639953374863,
-0.4372369647026062,
0.06658017635345459,
-0.3373877704143524,
-0.1586037576198578,
0.037338487803936005,
0.18098682165145874,
-0.14878243207931519,
0.5458487272262573,
-0.17786401510238647,
-0.18068844079971313,
0.13236850500106812,
-0.00005447864532470703,
-0.32094547152519226,
0.12240049242973328,
0.09536045044660568,
0.02297235280275345,
-0.41574564576148987,
-0.4712388217449188,
0.06812366843223572,
0.0631745308637619,
-0.26197245717048645,
0.0149482861161232,
-0.06427811086177826,
-0.2572624981403351,
0.4777868390083313,
-0.07270295172929764,
0.8190402388572693,
0.15093019604682922,
0.11865651607513428,
-0.07861125469207764,
0.3799359202384949,
0.08404514193534851,
-0.3193817138671875,
0.34617483615875244,
-0.16696682572364807,
-0.27646610140800476,
0.13357535004615784,
-0.19098445773124695,
-0.10759227722883224,
0.21365518867969513,
-0.014170132577419281,
0.2669382691383362,
0.08505396544933319,
0.3783530592918396,
0.127803236246109,
-0.03376120328903198,
0.03492100536823273,
-0.20542502403259277,
0.2886408865451813,
0.23939424753189087,
0.14759638905525208,
0.28231990337371826,
-0.26280707120895386,
-0.055627062916755676,
0.04371451959013939,
-0.09605401754379272,
-0.3007795810699463,
0.23218339681625366,
-0.2905552387237549,
0.04172731190919876,
0.13036450743675232,
0.342467725276947,
-0.20188070833683014,
-0.04978281632065773,
0.4828453063964844,
0.17909221351146698,
-0.20000596344470978,
0.017064528539776802,
0.13226507604122162,
0.2883608043193817,
0.08971567451953888,
-0.25658708810806274,
0.3912474513053894,
-0.02910798043012619,
0.02127297967672348,
-0.15705248713493347,
-0.05559280514717102,
-0.06645697355270386,
-0.3351101875305176,
0.15884271264076233,
-0.22190909087657928,
-0.1825757473707199,
-0.10712093114852905,
0.3014310896396637,
0.08639653027057648,
-0.19381166994571686,
0.25491178035736084,
0.17594005167484283,
-0.3164386749267578,
0.4819486439228058,
-0.5764307975769043,
-0.1673731952905655,
-0.10642863810062408,
0.23630887269973755,
0.04697822034358978,
-0.08036267757415771,
0.20928147435188293,
-0.1276567578315735,
-0.13441281020641327,
-0.1479281485080719,
-0.4042914807796478,
0.08329565823078156,
-0.5157439708709717,
0.3075656592845917,
-0.22936409711837769,
-0.3244163990020752,
0.14566950500011444,
-0.34696799516677856,
0.11593515425920486,
0.09452471882104874,
0.1575872004032135,
-0.2242308408021927,
-0.08013761788606644,
-0.17103280127048492,
-0.027738135308027267,
0.17939165234565735,
0.11438661068677902,
0.36124369502067566,
-0.07802139967679977,
0.3185444474220276,
-0.3916131258010864,
0.013955485075712204,
0.04409930109977722,
0.1711408793926239,
-0.13896018266677856,
-0.13754066824913025,
0.07725754380226135,
0.05421649292111397,
0.08938553184270859,
0.3874701261520386,
-0.29688143730163574,
-0.2763400375843048,
-0.18194697797298431,
0.028481796383857727,
0.024576852098107338,
-0.10831902176141739,
0.21971218287944794,
0.1359684020280838,
0.15984834730625153,
-0.2542189955711365,
0.2826979458332062,
0.2283375859260559,
-0.15203917026519775,
0.017501357942819595,
0.1087450385093689,
0.31127822399139404,
-0.04214613139629364,
-0.04333338141441345,
-0.033592335879802704,
0.17264723777770996,
0.13368506729602814,
0.24231591820716858,
0.0473783053457737,
-0.004663296043872833,
0.0351109504699707,
-0.022927135229110718,
0.18295300006866455,
-0.06261495500802994,
0.18937042355537415,
-0.3246572017669678,
-0.09111607819795609,
0.15884949266910553,
0.008436964824795723,
0.23609964549541473,
-0.09785666316747665,
-0.23908203840255737,
0.413291335105896,
0.3243744373321533,
-0.08990050107240677,
-0.03607340529561043,
0.1401488184928894,
0.04474137723445892,
0.062781423330307,
0.30870315432548523,
0.5497662425041199,
-0.07572752237319946,
0.26674216985702515,
0.24303758144378662,
0.44305574893951416,
-0.4420720934867859,
0.1774406135082245,
-0.07771492004394531,
0.07449911534786224,
0.3344454765319824,
0.35116299986839294,
0.17122404277324677,
-0.0009672418236732483,
0.3073453903198242,
0.2797529995441437,
0.6400583982467651,
0.04097460210323334,
0.05492294579744339,
-0.13761040568351746,
-0.4330233633518219,
-0.14538505673408508,
0.49109259247779846,
-0.07550373673439026,
0.3664465844631195,
-0.24520060420036316,
-0.21834635734558105,
-0.08254901319742203,
-0.14603279531002045,
-0.17287969589233398,
0.19351230561733246,
-0.28817859292030334,
-0.21191394329071045,
0.33404192328453064,
-0.06323021650314331,
0.01705830544233322,
-0.12546822428703308,
0.000914454460144043,
0.16403694450855255,
0.47220349311828613,
-0.022945135831832886,
-0.14386270940303802,
-0.06759079545736313,
-0.4202500581741333,
-0.13108226656913757,
0.2850763499736786,
-0.20448824763298035,
0.230817049741745,
-0.06460507214069366,
-0.44907644391059875,
-0.11726635694503784,
0.21715828776359558,
0.4995148181915283,
0.3511253297328949,
-0.16985705494880676,
-0.09218334406614304,
-0.09213139116764069,
0.0485495924949646,
-0.35104742646217346,
0.3180862367153168,
0.16344377398490906,
-0.38786396384239197,
-0.08179503679275513,
0.15930578112602234,
-0.2241026908159256,
-0.06323157250881195,
0.17966820299625397,
0.49342110753059387,
-0.13161247968673706,
0.3949703872203827,
0.15715482831001282,
0.19909542798995972,
0.038848478347063065,
0.32997649908065796,
-0.2686964273452759,
0.21503247320652008,
0.33341166377067566,
-0.1410926729440689,
0.08049856871366501,
-0.15188632905483246,
0.14822345972061157,
0.22696465253829956,
0.38158226013183594,
0.11998602747917175,
-0.12858033180236816,
-0.29598692059516907,
0.08745630085468292,
-0.24143965542316437,
0.204123854637146,
-0.33990946412086487,
0.3912338316440582,
-0.12556223571300507,
0.12327072024345398,
-0.10474344342947006,
0.009438365697860718,
0.03503163158893585,
-0.08382739126682281,
-0.20872588455677032,
0.19987618923187256,
-0.372750461101532,
0.11964073777198792,
0.012336976826190948,
-0.021232323721051216,
0.2267378270626068,
-0.3464798629283905,
0.09242786467075348,
0.16066397726535797,
0.2573830187320709,
-0.03082932159304619,
-0.3060528635978699,
0.1736137419939041,
-0.05708096921443939,
0.5417145490646362,
0.42303696274757385,
-0.19066953659057617,
0.09073255211114883,
0.010088814422488213,
-0.5292717218399048,
0.011721685528755188,
-0.17492914199829102,
-0.2727438807487488,
0.11453118920326233,
0.11967116594314575,
-0.5027313232421875,
-0.048141930252313614,
-0.14206793904304504,
-0.10093049705028534,
0.17042382061481476,
-0.08069360256195068,
-0.2690237760543823,
-0.0018719229847192764,
-0.19292926788330078,
0.28241977095603943,
-0.023634349927306175,
0.6254017353057861,
-0.029005348682403564,
0.38423117995262146,
-0.3253869414329529,
-0.15786942839622498,
0.20713719725608826,
-0.32038116455078125,
-0.5285026431083679,
-0.26817190647125244,
0.23519779741764069,
-0.3244529962539673,
-0.11372115463018417,
-0.05946681648492813,
0.004129387438297272,
0.022481560707092285,
0.18636634945869446,
-0.281148225069046,
0.20668862760066986,
-0.04176924005150795,
0.049616482108831406,
-0.11762186884880066,
-0.005810841917991638,
0.23534828424453735,
-0.03668655827641487,
0.07492870092391968,
-0.21673959493637085
] |
https://github.com/huggingface/datasets/issues/3808 | Pre-Processing Cache Fails when using a Factory pattern | Hi!
Yes, our hasher should work with decorators. For instance, this dummy example:
```python
def f(arg):
def f1(ex):
return {"a": ex["col1"] + arg}
return f1
```
gives the same hash across different Python sessions (`datasets.fingerprint.Hasher.hash(f("string1")` returns `"408c9059f89dbd6c"` on my machine).
Could you please make the example self-contained? This way, we can reproduce the bug. Additionally, you can try to find the problematic object yourself by testing their hash with `datasets.fingerprint.Hasher.hash(obj)`
This could be related to https://github.com/huggingface/datasets/issues/3638. | ## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmentation=None):
def preprocess_function(examples):
# Tokenize the texts
if augmentation:
conversions1 = [
augmentation(example)
for example in examples[sentence1_key]
]
if sentence2_key is None:
args = (conversions1,)
else:
conversions2 = [
augmentation(example)
for example in examples[sentence2_key]
]
args = (conversions1, conversions2)
else:
args = (
(examples[sentence1_key],)
if sentence2_key is None
else (examples[sentence1_key], examples[sentence2_key])
)
result = tokenizer(
*args, padding=padding, max_length=max_seq_length, truncation=True
)
# Map labels to IDs (not necessary for GLUE tasks)
if label_to_id is not None and "label" in examples:
result["label"] = [
(label_to_id[l] if l != -1 else -1) for l in examples["label"]
]
return result
return preprocess_function
capitalize = lambda x: x.capitalize()
preprocess_function = preprocess_function_factory(augmentation=capitalize)
print(hash(preprocess_function)) # This will change on each run
raw_datasets = raw_datasets.map(
preprocess_function,
batched=True,
load_from_cache_file=True,
desc="Running transformation and tokenizer on dataset",
)
```
## Expected results
Running the code twice will cause the cache to be re-used.
## Actual results
Running the code twice causes the whole dataset to be re-processed
| 76 | Pre-Processing Cache Fails when using a Factory pattern
## Describe the bug
If you utilize a pre-processing function which is created using a factory pattern, the function hash changes on each run (even if the function is identical) and therefore the data will be reproduced each time.
## Steps to reproduce the bug
```python
def preprocess_function_factory(augmentation=None):
def preprocess_function(examples):
# Tokenize the texts
if augmentation:
conversions1 = [
augmentation(example)
for example in examples[sentence1_key]
]
if sentence2_key is None:
args = (conversions1,)
else:
conversions2 = [
augmentation(example)
for example in examples[sentence2_key]
]
args = (conversions1, conversions2)
else:
args = (
(examples[sentence1_key],)
if sentence2_key is None
else (examples[sentence1_key], examples[sentence2_key])
)
result = tokenizer(
*args, padding=padding, max_length=max_seq_length, truncation=True
)
# Map labels to IDs (not necessary for GLUE tasks)
if label_to_id is not None and "label" in examples:
result["label"] = [
(label_to_id[l] if l != -1 else -1) for l in examples["label"]
]
return result
return preprocess_function
capitalize = lambda x: x.capitalize()
preprocess_function = preprocess_function_factory(augmentation=capitalize)
print(hash(preprocess_function)) # This will change on each run
raw_datasets = raw_datasets.map(
preprocess_function,
batched=True,
load_from_cache_file=True,
desc="Running transformation and tokenizer on dataset",
)
```
## Expected results
Running the code twice will cause the cache to be re-used.
## Actual results
Running the code twice causes the whole dataset to be re-processed
Hi!
Yes, our hasher should work with decorators. For instance, this dummy example:
```python
def f(arg):
def f1(ex):
return {"a": ex["col1"] + arg}
return f1
```
gives the same hash across different Python sessions (`datasets.fingerprint.Hasher.hash(f("string1")` returns `"408c9059f89dbd6c"` on my machine).
Could you please make the example self-contained? This way, we can reproduce the bug. Additionally, you can try to find the problematic object yourself by testing their hash with `datasets.fingerprint.Hasher.hash(obj)`
This could be related to https://github.com/huggingface/datasets/issues/3638. | [
-0.062061458826065063,
0.12366822361946106,
-0.09023407101631165,
0.09065394103527069,
0.15427139401435852,
-0.23903828859329224,
0.3725140690803528,
0.19262242317199707,
-0.24231000244617462,
0.10529598593711853,
0.4187676012516022,
0.14369593560695648,
-0.2627624571323395,
0.06271044164896011,
-0.03210488334298134,
0.2822059690952301,
0.01566360890865326,
0.10751556605100632,
0.14086854457855225,
0.15105558931827545,
-0.06844925880432129,
0.20155957341194153,
0.009653694927692413,
-0.11954593658447266,
-0.5152247548103333,
0.07516004145145416,
-0.048205409198999405,
0.0026573874056339264,
0.06645321846008301,
-0.4019347131252289,
0.14462774991989136,
0.25653162598609924,
-0.012891601771116257,
0.3057132363319397,
-0.00010548640420893207,
0.16285330057144165,
0.06168859824538231,
-0.06538168340921402,
0.01529412530362606,
0.1102631688117981,
-0.06139238178730011,
-0.09113255888223648,
-0.2910899817943573,
-0.14976361393928528,
-0.15154367685317993,
0.10634932667016983,
-0.07683485746383667,
0.030330903828144073,
0.4954395890235901,
0.1672428846359253,
0.22635221481323242,
-0.30219295620918274,
-0.05795683339238167,
0.17007876932621002,
0.12290317565202713,
-0.006657414138317108,
-0.017808254808187485,
0.20249682664871216,
-0.008867956697940826,
-0.10064386576414108,
-0.27536341547966003,
0.4482293128967285,
-0.1389075666666031,
0.011037878692150116,
0.0025624223053455353,
0.1406014859676361,
0.5876590013504028,
-0.32760655879974365,
0.2174796462059021,
-0.06334575265645981,
-0.04898928850889206,
-0.39404237270355225,
-0.2073916792869568,
-0.14152775704860687,
-0.28078019618988037,
-0.6380513310432434,
0.1990482211112976,
-0.22928772866725922,
0.15958476066589355,
0.16551294922828674,
-0.08556615561246872,
0.05253784358501434,
0.2540952265262604,
-0.12406857311725616,
0.1573062390089035,
0.0449582040309906,
-0.15251852571964264,
-0.054011911153793335,
-0.04274963214993477,
-0.019549276679754257,
0.1485746055841446,
-0.1385907381772995,
-0.1261909008026123,
0.17587251961231232,
-0.14287270605564117,
-0.1384238451719284,
0.11483678221702576,
0.06628294289112091,
-0.2514895796775818,
0.47520947456359863,
-0.0038886917755007744,
0.46041953563690186,
0.19262172281742096,
0.125958651304245,
-0.34257957339286804,
0.4094686210155487,
0.11008868366479874,
0.050836749374866486,
0.11019666492938995,
-0.0030263694934546947,
-0.48958003520965576,
-0.0045206546783447266,
0.1759972721338272,
-0.2412380874156952,
0.5337757468223572,
0.14093193411827087,
-0.09298050403594971,
0.057424504309892654,
0.027351805940270424,
0.27212822437286377,
-0.325707346200943,
-0.07252265512943268,
0.05617682263255119,
0.3007161021232605,
-0.047787923365831375,
0.2964473366737366,
0.08727879822254181,
-0.05849732458591461,
-0.027175310999155045,
0.028148770332336426,
-0.2899159789085388,
0.025405680760741234,
-0.2662341892719269,
0.35576507449150085,
0.062450189143419266,
0.003246525302529335,
0.1655954122543335,
0.3438791334629059,
0.20896227657794952,
-0.20882479846477509,
0.3667635917663574,
-0.12522976100444794,
0.24188873171806335,
0.043981485068798065,
-0.18550166487693787,
0.18057850003242493,
0.17917971312999725,
-0.14265787601470947,
-0.07911626994609833,
-0.09602975100278854,
-0.24762451648712158,
-0.31199273467063904,
0.5255045890808105,
0.2651924788951874,
-0.28294646739959717,
0.2601412236690521,
0.17468445003032684,
0.003252476453781128,
0.614109218120575,
0.07125568389892578,
0.023358851671218872,
-0.19738471508026123,
-0.3598620593547821,
-0.2974453866481781,
0.01697889156639576,
0.3339512348175049,
-0.1431952714920044,
-0.08535843342542648,
0.08681309968233109,
0.10327033698558807,
0.22922146320343018,
-0.08131696283817291,
-0.05816689878702164,
0.31161364912986755,
-0.26719462871551514,
-0.12926821410655975,
0.1042289137840271,
-0.028363602235913277,
-0.31867966055870056,
0.25822561979293823,
-0.20359942317008972,
0.42617902159690857,
0.12191943824291229,
-0.267451673746109,
-0.09206099808216095,
-0.2959536612033844,
0.06680253148078918,
-0.058379754424095154,
0.024043766781687737,
-0.051848601549863815,
-0.4311165511608124,
0.09407249093055725,
0.08787301182746887,
-0.08190494775772095,
0.38808396458625793,
0.1310264617204666,
-0.49383747577667236,
0.03267418593168259,
-0.19329151511192322,
-0.07683931291103363,
0.2337358444929123,
0.22234347462654114,
-0.03947502002120018,
0.308513343334198,
0.2856859564781189,
-0.14508359134197235,
0.21500515937805176,
0.3718969523906708,
-0.6784282922744751,
0.03423373028635979,
0.12126771360635757,
-0.05174601078033447,
0.0495646670460701,
0.04568973928689957,
-0.12983031570911407,
-0.42437639832496643,
0.23576736450195312,
0.15881064534187317,
0.15627117455005646,
-0.2222518026828766,
0.036610525101423264,
0.6537888050079346,
0.09885349869728088,
-0.06713881343603134,
-0.03290967270731926,
-0.12075760960578918,
-0.14027315378189087,
-0.3794025182723999,
-0.3581216633319855,
0.08216152340173721,
0.09941299259662628,
0.015915555879473686,
-0.020630912855267525,
0.20654046535491943,
0.25577402114868164,
-0.1629953235387802,
-0.4880131185054779,
0.3234148919582367,
-0.16542266309261322,
0.13930872082710266,
-0.1825595647096634,
0.11441917717456818,
0.09230434149503708,
-0.20559951663017273,
0.4152272343635559,
0.3127865195274353,
0.49201422929763794,
0.004848562180995941,
-0.2875191569328308,
-0.14978331327438354,
0.1791161149740219,
-0.17499256134033203,
-0.06330230087041855,
-0.23714929819107056,
0.02722778357565403,
-0.34380316734313965,
0.2941577434539795,
0.10213029384613037,
0.17020303010940552,
0.09911742806434631,
0.16338355839252472,
0.2768983244895935,
0.1209583580493927,
-0.09370476752519608,
-0.26624417304992676,
-0.23558205366134644,
-0.2491423785686493,
-0.11906129866838455,
0.277052640914917,
0.08191736042499542,
-0.1813865751028061,
0.22197982668876648,
0.16018398106098175,
-0.13066495954990387,
0.047877587378025055,
-0.04901076853275299,
0.1543433666229248,
0.06728481501340866,
0.060529571026563644,
0.04487690329551697,
-0.002956066280603409,
-0.22992894053459167,
0.2815258204936981,
0.04455820471048355,
-0.2940046787261963,
-0.005506191402673721,
-0.3183043301105499,
0.14018893241882324,
-0.10892709344625473,
-0.033325597643852234,
0.07958368957042694,
-0.24213649332523346,
0.027210159227252007,
0.22244495153427124,
-0.24697749316692352,
0.07938352227210999,
0.12804079055786133,
0.17894741892814636,
-0.053003016859292984,
-0.1701989471912384,
-0.21925252676010132,
-0.18615148961544037,
-0.4006759822368622,
0.03120020031929016,
0.11321572959423065,
-0.27609747648239136,
0.09400368481874466,
0.017262646928429604,
-0.06205319985747337,
-0.09648129343986511,
-0.3340960144996643,
0.16031518578529358,
0.01687677577137947,
0.254125714302063,
0.16461138427257538,
-0.24805133044719696,
-0.14524635672569275,
-0.1275632232427597,
0.28422439098358154,
0.01213156245648861,
0.008261756971478462,
0.10318704694509506,
-0.06908577680587769,
-0.11059359461069107,
-0.1872849464416504,
0.1974332481622696,
-0.02872687391936779,
-0.09492072463035583,
-0.3025699257850647,
0.023896045982837677,
-0.027341440320014954,
-0.026884570717811584,
-0.16280628740787506,
-0.1156076192855835,
-0.030375825241208076,
0.026675812900066376,
-0.3090045750141144,
-0.5517365336418152,
0.19791164994239807,
-0.27448800206184387,
0.09253758192062378,
-0.12351416051387787,
-0.3144634962081909,
0.19569885730743408,
0.17245401442050934,
-0.26067569851875305,
-0.32539689540863037,
-0.06677213311195374,
0.06667390465736389,
0.16876564919948578,
-0.08270348608493805,
0.36357271671295166,
0.15517598390579224,
-0.13290251791477203,
-0.18311411142349243,
-0.22631682455539703,
0.19662174582481384,
-0.21180549263954163,
0.14363780617713928,
0.11528152227401733,
-0.009881630539894104,
0.3127545416355133,
0.8620080351829529,
0.1895894706249237,
-0.26157671213150024,
0.24389824271202087,
0.17997458577156067,
0.2370048463344574,
-0.020697273313999176,
-0.09791211783885956,
-0.29062992334365845,
-0.22825568914413452,
0.015206858515739441,
0.01903396099805832,
-0.0894627571105957,
-0.0851467028260231,
0.03135557472705841,
0.10843750834465027,
-0.1046130359172821,
-0.3332357108592987,
0.40011733770370483,
-0.7761691808700562,
0.3989940285682678,
0.06419514119625092,
-0.022867456078529358,
-0.23885118961334229,
0.06322832405567169,
0.0721023678779602,
-0.15909306704998016,
0.13346707820892334,
-0.11981390416622162,
-0.3388197422027588,
0.16333959996700287,
-0.01885756105184555,
0.18161094188690186,
0.35160014033317566,
0.11856455355882645,
0.07395102083683014,
-0.21927222609519958,
-0.25207650661468506,
-0.18774163722991943,
0.6344176530838013,
-0.5378003120422363,
0.07714767754077911,
0.32782310247421265,
-0.646357536315918,
-0.09225039184093475,
-0.2208566814661026,
0.1212165504693985,
0.26562637090682983,
0.2591637670993805,
0.1735258400440216,
-0.16465453803539276,
-0.0042482782155275345,
-0.3214534521102905,
-0.16996648907661438,
-0.20966540277004242,
-0.10477043688297272,
-0.18624618649482727,
0.10882721096277237,
-0.19609688222408295,
0.26686522364616394,
-0.0405963733792305,
0.14410561323165894,
0.06629935652017593,
0.06979234516620636,
-0.14219048619270325,
-0.113701231777668,
0.22897866368293762,
0.06268826127052307,
0.2481383979320526,
-0.3316909074783325,
0.12089566886425018,
0.009271970018744469,
-0.08384183049201965,
-0.5356705784797668,
0.03932537883520126,
-0.2876243591308594,
-0.38792315125465393,
0.06208392232656479,
0.22824391722679138,
0.002538546919822693,
0.4425697326660156,
-0.23182599246501923,
-0.07345999032258987,
0.003863612189888954,
0.1798681616783142,
-0.20542199909687042,
0.22749938070774078,
0.00839969515800476,
0.042406775057315826,
-0.3657492399215698,
-0.4448675513267517,
0.06301497668027878,
0.1976538896560669,
-0.2502666115760803,
-0.05916554480791092,
-0.09210295975208282,
-0.2718105912208557,
0.5486244559288025,
0.07803118228912354,
0.8655495643615723,
0.2285144031047821,
0.09986362606287003,
-0.07565981149673462,
0.33785170316696167,
0.145089253783226,
-0.3780709505081177,
0.1882096230983734,
-0.2643519639968872,
-0.3842628598213196,
0.15123091638088226,
-0.18620021641254425,
0.06909746676683426,
0.178836390376091,
-0.09402550756931305,
0.1737237274646759,
0.050533801317214966,
0.49001047015190125,
0.16430164873600006,
0.025483861565589905,
-0.06410583108663559,
-0.22571127116680145,
0.28608036041259766,
0.23280483484268188,
0.2098686844110489,
0.2417140007019043,
-0.2558230459690094,
-0.045643001794815063,
0.08024798333644867,
-0.12082739919424057,
-0.15779823064804077,
0.23019465804100037,
-0.2551758587360382,
0.1881299763917923,
0.1548604667186737,
0.3102462887763977,
-0.2477158159017563,
-0.042201075702905655,
0.4577346444129944,
0.2794032394886017,
-0.016716768965125084,
0.021127235144376755,
0.20892521739006042,
0.24683453142642975,
0.2708875238895416,
-0.17933309078216553,
0.43471813201904297,
-0.11041188985109329,
0.08169711381196976,
-0.06511952728033066,
-0.0004575280472636223,
-0.199041947722435,
-0.26410111784935,
0.111103355884552,
-0.17951089143753052,
-0.20725105702877045,
-0.1826857030391693,
0.2204652726650238,
-0.04766635596752167,
-0.14963796734809875,
0.24866317212581635,
0.16141045093536377,
-0.3761645555496216,
0.4023035764694214,
-0.4784771502017975,
-0.16046981513500214,
-0.03263251483440399,
0.22468730807304382,
0.21179518103599548,
-0.0992528647184372,
0.1726800799369812,
-0.1142873615026474,
-0.15297719836235046,
-0.16894841194152832,
-0.30567091703414917,
0.1323671191930771,
-0.40670982003211975,
0.4676312506198883,
-0.10415101796388626,
-0.2905581593513489,
0.11066620796918869,
-0.27512452006340027,
0.05960956960916519,
0.1529950648546219,
-0.03571079671382904,
-0.24395988881587982,
-0.13302889466285706,
-0.16039761900901794,
-0.05022313818335533,
0.1649034172296524,
0.1386948525905609,
0.38536837697029114,
-0.1721685528755188,
0.4312053918838501,
-0.41340917348861694,
-0.010649028234183788,
-0.03748168796300888,
0.2346375435590744,
-0.0695614367723465,
-0.06819901615381241,
0.007954925298690796,
0.14188210666179657,
0.10176096111536026,
0.5341266393661499,
-0.24246251583099365,
-0.29953867197036743,
-0.13312779366970062,
0.04303924739360809,
0.036155153065919876,
0.03681021183729172,
0.12376827746629715,
0.31052476167678833,
0.2121506929397583,
-0.17442718148231506,
0.39297524094581604,
0.1741906702518463,
-0.21124713122844696,
0.03103053569793701,
-0.0623692162334919,
0.2711460292339325,
-0.06313695758581161,
-0.05189734697341919,
-0.17094480991363525,
0.17894557118415833,
0.18327496945858002,
0.22340159118175507,
-0.035387683659791946,
-0.03305469825863838,
0.17280256748199463,
0.054546058177948,
0.25804591178894043,
-0.117805115878582,
0.30203011631965637,
-0.2575833201408386,
-0.18024039268493652,
0.12037849426269531,
-0.05538327991962433,
0.05269235745072365,
-0.07079412043094635,
-0.1564445197582245,
0.3984672725200653,
0.3101152181625366,
-0.16044367849826813,
-0.005811660550534725,
0.08961810171604156,
-0.025385785847902298,
0.13127928972244263,
0.3003697991371155,
0.4465777575969696,
0.06386035680770874,
0.21816745400428772,
0.179353266954422,
0.4290822744369507,
-0.5399745106697083,
0.08475317060947418,
0.04642389714717865,
-0.05954030901193619,
0.2982597351074219,
0.4275733530521393,
0.13268651068210602,
0.013221152126789093,
0.23578153550624847,
0.3375467360019684,
0.6847517490386963,
0.0412723682820797,
0.051706746220588684,
0.02503896877169609,
-0.388163685798645,
-0.18606190383434296,
0.5179766416549683,
0.08951259404420853,
0.3295299708843231,
-0.24837154150009155,
-0.13314443826675415,
0.1333206444978714,
-0.02568843588232994,
-0.10052377730607986,
0.2445480227470398,
-0.23299169540405273,
-0.17215174436569214,
0.19774408638477325,
-0.03457065671682358,
-0.1956300288438797,
-0.07059590518474579,
0.04390107840299606,
-0.015035755932331085,
0.37240472435951233,
0.01539171114563942,
-0.1118612140417099,
0.0612601712346077,
-0.4014264643192291,
-0.09866853803396225,
0.19664931297302246,
-0.2784190773963928,
0.08890470862388611,
0.01767110824584961,
-0.31046637892723083,
-0.18986526131629944,
0.19937078654766083,
0.4681720435619354,
0.30055326223373413,
-0.14562246203422546,
-0.12956172227859497,
-0.15085919201374054,
0.0011893343180418015,
-0.4340547025203705,
0.303615003824234,
0.09608440846204758,
-0.3336109220981598,
-0.04925365746021271,
0.20099665224552155,
-0.31313928961753845,
-0.08869975805282593,
0.27909374237060547,
0.5201126933097839,
-0.024180950596928596,
0.4064784646034241,
0.28671735525131226,
0.2007054090499878,
0.08117262274026871,
0.28366923332214355,
-0.3922216594219208,
-0.1686953753232956,
0.3281971514225006,
-0.14190040528774261,
0.05963893234729767,
-0.2633060812950134,
0.1477343738079071,
0.25684767961502075,
0.37868624925613403,
0.14207595586776733,
-0.10436003655195236,
-0.28429925441741943,
0.038972824811935425,
-0.13113629817962646,
0.18256378173828125,
-0.1590050905942917,
0.27307504415512085,
-0.23220807313919067,
0.09783659875392914,
0.038498494774103165,
0.12215274572372437,
-0.22343258559703827,
0.020700830966234207,
-0.20437663793563843,
0.21314339339733124,
-0.36364415287971497,
0.1805066466331482,
0.0054895393550395966,
0.0290345698595047,
0.261208176612854,
-0.30284327268600464,
0.03533551096916199,
0.12483762204647064,
0.26912689208984375,
-0.01648090034723282,
-0.3966357707977295,
0.183888241648674,
-0.07784689962863922,
0.6289039850234985,
0.38331344723701477,
-0.18392181396484375,
-0.037329524755477905,
0.10981885343790054,
-0.3726142644882202,
0.06752338260412216,
-0.18867537379264832,
-0.1588711142539978,
0.19875098764896393,
0.1918039470911026,
-0.43328940868377686,
-0.024659235030412674,
-0.1213233694434166,
-0.05955955758690834,
0.09257850050926208,
-0.03209428861737251,
-0.2579945921897888,
0.031717196106910706,
-0.202617347240448,
0.2732475996017456,
-0.11520697176456451,
0.5321648716926575,
0.017435550689697266,
0.19309842586517334,
-0.29740840196609497,
-0.16407212615013123,
0.24198685586452484,
-0.2773626744747162,
-0.4268306493759155,
-0.3165667653083801,
0.15413321554660797,
-0.19601774215698242,
-0.13355757296085358,
0.0292217880487442,
-0.1339564472436905,
0.042874548584222794,
0.23688837885856628,
-0.30698662996292114,
0.2326335459947586,
0.06332038342952728,
0.12007904052734375,
-0.17130739986896515,
-0.13022556900978088,
0.09501449763774872,
0.02330663986504078,
-0.07027345150709152,
-0.32903677225112915
] |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | Hi @afcruzs-ms, thanks for opening this separate issue for your problem.
The root problem in the other issue (#3792) was a change in the service of Google Drive.
But in your case, the `xcopa` dataset is not hosted on Google Drive. Therefore, the root cause should be a different one.
Let me look at it... | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
| 55 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
Hi @afcruzs-ms, thanks for opening this separate issue for your problem.
The root problem in the other issue (#3792) was a change in the service of Google Drive.
But in your case, the `xcopa` dataset is not hosted on Google Drive. Therefore, the root cause should be a different one.
Let me look at it... | [
-0.13779978454113007,
0.15731242299079895,
-0.054185133427381516,
0.11445774137973785,
0.08197657763957977,
-0.018045108765363693,
0.17932555079460144,
0.2524213194847107,
0.20484386384487152,
0.1784926950931549,
0.17943556606769562,
0.10884596407413483,
0.2294791340827942,
0.05968267470598221,
-0.2593924105167389,
0.4399094581604004,
0.08248945325613022,
-0.029840096831321716,
0.078992560505867,
-0.052730120718479156,
-0.3766104280948639,
0.23319406807422638,
-0.06879649311304092,
-0.2699419856071472,
-0.07713694125413895,
0.25968652963638306,
0.12710852921009064,
0.03199373930692673,
-0.05097055435180664,
-0.34271514415740967,
0.353683739900589,
0.14849276840686798,
-0.12092197686433792,
0.28750261664390564,
-0.00010791026579681784,
0.17747485637664795,
0.5239644050598145,
0.11244067549705505,
-0.24242255091667175,
-0.10622105002403259,
-0.56252121925354,
-0.3199855387210846,
-0.1697114109992981,
-0.1376316249370575,
0.101017527282238,
0.06817708164453506,
-0.05801583081483841,
0.08574025332927704,
0.07318826764822006,
0.13318580389022827,
0.23390191793441772,
0.4367140531539917,
-0.0004435516893863678,
-0.06745786964893341,
0.3653748631477356,
-0.20946140587329865,
-0.02942449413239956,
0.36178529262542725,
0.26167216897010803,
-0.058161742985248566,
-0.18687132000923157,
0.07307231426239014,
-0.13299089670181274,
-0.04755682125687599,
-0.07286214083433151,
0.05554027110338211,
0.11544910073280334,
-0.1035931408405304,
0.27252909541130066,
0.19460779428482056,
0.20918601751327515,
-0.21115097403526306,
-0.23476755619049072,
-0.2218536138534546,
-0.15444780886173248,
-0.2692396342754364,
0.7162631154060364,
0.10356425493955612,
0.0051973555237054825,
-0.03573061153292656,
-0.30161982774734497,
0.4348999857902527,
0.11188240349292755,
0.09854508936405182,
-0.09093672782182693,
0.09784803539514542,
0.06737758219242096,
0.012079957872629166,
-0.04923523589968681,
-0.09278492629528046,
0.49117404222488403,
-0.2794587314128876,
-0.075919508934021,
-0.04318217560648918,
-0.4587823748588562,
-0.026945777237415314,
0.10462041199207306,
0.42033669352531433,
0.35850417613983154,
0.4143480062484741,
0.23995333909988403,
0.20497927069664001,
-0.16446562111377716,
0.2018524408340454,
-0.0423661507666111,
0.33648428320884705,
-0.07242471724748611,
0.09444890171289444,
0.25129443407058716,
0.18948528170585632,
-0.12188173830509186,
0.03334086760878563,
0.12545889616012573,
-0.3153837025165558,
0.5495960116386414,
0.35727187991142273,
0.23421631753444672,
-0.41230008006095886,
-0.3189834654331207,
0.18819209933280945,
-0.015490934252738953,
-0.19128035008907318,
0.09792770445346832,
0.3223877251148224,
-0.1111304834485054,
0.06985415518283844,
-0.10977905243635178,
0.05328744649887085,
-0.11677085608243942,
0.07512249052524567,
-0.22994999587535858,
-0.07822932302951813,
-0.2449658066034317,
0.19344422221183777,
0.23254843056201935,
-0.38721367716789246,
0.23009414970874786,
0.04708155617117882,
0.15831124782562256,
-0.23236660659313202,
0.1668219119310379,
-0.12896336615085602,
-0.1461556851863861,
0.3324533700942993,
0.13834601640701294,
-0.049160186201334,
0.05407048016786575,
-0.01882222294807434,
-0.11248813569545746,
0.13610506057739258,
-0.28817018866539,
-0.09127721935510635,
0.1897296905517578,
0.29899510741233826,
-0.4367683529853821,
-0.14432024955749512,
-0.13747528195381165,
-0.4138563275337219,
0.054340485483407974,
-0.30360832810401917,
-0.0632941946387291,
-0.17904381453990936,
0.02351202443242073,
-0.2289976179599762,
-0.06525403261184692,
0.07725472003221512,
0.30977892875671387,
0.05654993653297424,
-0.08754141628742218,
-0.0808352530002594,
0.20540374517440796,
0.001363975927233696,
-0.041686031967401505,
0.08352482318878174,
-0.34183165431022644,
0.1073310524225235,
-0.055818893015384674,
-0.4534270167350769,
-0.6790643334388733,
-0.014049163088202477,
0.025570057332515717,
0.22769828140735626,
-0.039885394275188446,
-0.07056873291730881,
-0.0028642192482948303,
-0.1427677720785141,
-0.1053040474653244,
0.022364938631653786,
0.07891842722892761,
0.22313013672828674,
-0.31485694646835327,
-0.22736024856567383,
0.022825544700026512,
0.10836558043956757,
0.18195895850658417,
0.04986582696437836,
0.3929024934768677,
-0.5257887840270996,
-0.01122044026851654,
-0.07048889994621277,
-0.13830383121967316,
0.16425733268260956,
0.4214244484901428,
-0.12076869606971741,
0.13777384161949158,
0.1259240210056305,
-0.4432358741760254,
0.44209879636764526,
-0.18616236746311188,
0.04111091047525406,
-0.0006310045719146729,
-0.06387462466955185,
-0.2502092123031616,
-0.18646234273910522,
-0.1506248563528061,
0.08353997766971588,
0.20571106672286987,
0.3989507853984833,
0.2875101566314697,
0.03211835399270058,
0.16657361388206482,
0.0834122896194458,
-0.23890434205532074,
0.023496046662330627,
-0.2599078416824341,
0.4096886217594147,
0.02210945449769497,
-0.14322306215763092,
0.210385262966156,
0.08220406621694565,
0.35584816336631775,
-0.03476467356085777,
-0.19042736291885376,
0.35231122374534607,
0.10094787180423737,
0.45978957414627075,
-0.07589250057935715,
0.43329012393951416,
-0.01766432262957096,
-0.2942332923412323,
-0.06534653156995773,
0.5005336999893188,
0.12757813930511475,
-0.033613935112953186,
-0.26098114252090454,
0.5045990347862244,
0.057415347546339035,
0.10202264785766602,
0.05596072971820831,
-0.07009027898311615,
0.225183367729187,
-0.4201722741127014,
-0.22542639076709747,
-0.023126918822526932,
0.1604853719472885,
0.2245302051305771,
0.31424278020858765,
0.07840126007795334,
0.057859376072883606,
0.03888475522398949,
0.4135451912879944,
-0.1872439831495285,
-0.01994606852531433,
0.17108094692230225,
0.04165353626012802,
-0.02672191895544529,
-0.012005751952528954,
0.7762975692749023,
0.40382444858551025,
0.10056477040052414,
-0.11520160734653473,
0.0698615163564682,
-0.21479715406894684,
-0.07669630646705627,
0.10137847810983658,
0.04613376036286354,
-0.025350071489810944,
0.5941996574401855,
0.2999814748764038,
-0.10336717218160629,
-0.36020490527153015,
-0.20120243728160858,
-0.027136556804180145,
0.18224364519119263,
-0.29048123955726624,
-0.10192809253931046,
-0.18159909546375275,
-0.1187901720404625,
-0.20823551714420319,
0.11400976777076721,
-0.023439638316631317,
-0.5182732343673706,
-0.025498896837234497,
0.2660338282585144,
-0.14824528992176056,
0.1874377727508545,
-0.38290494680404663,
0.1078677549958229,
-0.042212825268507004,
-0.3431224524974823,
-0.029512684792280197,
0.05926663801074028,
-0.10022831708192825,
0.0674281120300293,
0.467001736164093,
-0.04884536564350128,
0.3510499596595764,
-0.30196934938430786,
0.012725073844194412,
-0.589969277381897,
-0.3604612648487091,
0.15525490045547485,
-0.3017241954803467,
-0.08010536432266235,
0.08376488089561462,
-0.12189990282058716,
0.031808070838451385,
-0.265726774930954,
0.21500754356384277,
-0.16606321930885315,
-0.32669368386268616,
0.22576582431793213,
-0.05943135544657707,
-0.06358802318572998,
0.03640307858586311,
-0.22864702343940735,
0.08949849754571915,
-0.14045222103595734,
-0.059213295578956604,
0.14926181733608246,
0.13468384742736816,
0.03732945770025253,
-0.05538289248943329,
-0.02088455855846405,
0.14175871014595032,
-0.008508235216140747,
-0.34561392664909363,
-0.5789299607276917,
0.334819495677948,
0.06543169170618057,
-0.37983983755111694,
0.07483209669589996,
-0.1879071146249771,
0.22801265120506287,
0.24701085686683655,
-0.32276660203933716,
-0.3115943670272827,
-0.3925037980079651,
0.19042381644248962,
0.260983407497406,
-0.12072479724884033,
0.3494987189769745,
0.13209353387355804,
-0.1761506050825119,
-0.15284574031829834,
-0.3358910381793976,
0.02749600261449814,
0.14196890592575073,
0.2565577030181885,
0.07527152448892593,
0.15124189853668213,
-0.20646588504314423,
0.2492569535970688,
0.2062162309885025,
0.08945733308792114,
0.2887156009674072,
0.07504107803106308,
0.18968096375465393,
-0.03344915807247162,
-0.02585381455719471,
0.02156064286828041,
-0.07886479794979095,
-0.16513726115226746,
0.15534928441047668,
0.010724224150180817,
-0.24510107934474945,
-0.0456826314330101,
-0.19116930663585663,
-0.5048603415489197,
-0.2776009440422058,
-0.08533735573291779,
0.24134987592697144,
0.23656579852104187,
0.019683584570884705,
0.0020004436373710632,
-0.18445207178592682,
-0.3070818781852722,
0.1314551681280136,
0.13054797053337097,
-0.08180878311395645,
-0.21052081882953644,
-0.3981355130672455,
0.060650888830423355,
-0.19772225618362427,
0.38111424446105957,
0.08375179767608643,
0.30949652194976807,
0.10361391305923462,
-0.33097630739212036,
0.03948647901415825,
-0.29198381304740906,
0.06544432044029236,
-0.2800310254096985,
0.2777666747570038,
0.08638986945152283,
-0.013742012903094292,
0.1528247743844986,
-0.33846375346183777,
-0.07543420791625977,
-0.058888502418994904,
0.08761944621801376,
0.3530222177505493,
-0.2570468783378601,
0.10829158127307892,
-0.0347994789481163,
0.23108330368995667,
-0.10319110006093979,
-0.3214273750782013,
-0.25635379552841187,
-0.2763988673686981,
-0.3005067706108093,
-0.08080435544252396,
-0.09122329205274582,
0.152870312333107,
-0.38928353786468506,
-0.0487155057489872,
-0.022836362943053246,
-0.17906823754310608,
0.2358463704586029,
0.08592689037322998,
0.23082783818244934,
-0.19667506217956543,
0.353686660528183,
-0.016840625554323196,
0.04625736176967621,
0.3450325131416321,
0.8101038932800293,
-0.02995891496539116,
-0.1772153377532959,
0.22698819637298584,
-0.2262263149023056,
-0.3026673495769501,
0.14428777992725372,
-0.007631166838109493,
-0.004489310085773468,
0.07764178514480591,
0.034642260521650314,
-0.15690432488918304,
-0.24787425994873047,
0.0008179042488336563,
0.2420843094587326,
-0.33199065923690796,
-0.036704033613204956,
0.23971959948539734,
0.105751633644104,
-0.31478774547576904,
0.3705185353755951,
0.04938588663935661,
-0.21578019857406616,
0.3761846423149109,
0.1287151426076889,
0.9009122848510742,
-0.0975809097290039,
-0.10361412167549133,
0.10516511648893356,
0.179581418633461,
0.1085839718580246,
-0.1872696727514267,
0.2099032998085022,
-0.41823050379753113,
-0.6335650682449341,
-0.01518870797008276,
-0.23353292047977448,
0.05981282889842987,
-0.08250181376934052,
-0.095833919942379,
0.35593581199645996,
-0.06642971187829971,
0.1316673308610916,
0.14865949749946594,
0.11233633756637573,
-0.5630491971969604,
0.009385177865624428,
0.14352667331695557,
0.20652586221694946,
0.08505992591381073,
0.2676239311695099,
-0.04184449091553688,
0.10934091359376907,
-0.25060343742370605,
-0.32059699296951294,
-0.33546000719070435,
0.22883623838424683,
0.01898185722529888,
-0.10504446923732758,
0.41771915555000305,
0.13178426027297974,
-0.3203866481781006,
0.023986969143152237,
0.3009025454521179,
-0.003542371094226837,
-0.2955176830291748,
0.22061210870742798,
0.3049248456954956,
0.23259097337722778,
0.004924410488456488,
-0.32424938678741455,
0.29557859897613525,
-0.09233202785253525,
-0.2264900505542755,
0.013153985142707825,
0.001989034004509449,
-0.4635477662086487,
-0.11108654737472534,
0.07906302809715271,
-0.375946581363678,
-0.23233558237552643,
-0.014180847443640232,
-0.07719077169895172,
-0.16530807316303253,
-0.24711456894874573,
0.23024532198905945,
0.16981254518032074,
0.13337361812591553,
0.305441290140152,
0.07682988047599792,
-0.38378968834877014,
-0.09473375976085663,
0.33171093463897705,
0.10463602095842361,
-0.20359057188034058,
0.35927850008010864,
-0.2723420560359955,
-0.09300560504198074,
-0.20928412675857544,
-0.15791791677474976,
-0.0169302336871624,
-0.3251156210899353,
-0.11767279356718063,
-0.4298069477081299,
0.14347638189792633,
0.13554295897483826,
0.43118247389793396,
0.30648326873779297,
0.40275993943214417,
0.15507006645202637,
-0.6578932404518127,
0.07493578642606735,
0.01417192816734314,
0.052458759397268295,
0.2932661175727844,
-0.37778618931770325,
0.011483486741781235,
0.029385628178715706,
-0.23099744319915771,
-0.39093008637428284,
0.17427220940589905,
-0.33579227328300476,
-0.027529705315828323,
0.03854430466890335,
0.03883781284093857,
0.29969123005867004,
-0.07760882377624512,
0.2884533405303955,
0.10236357152462006,
-0.10367467999458313,
-0.24435833096504211,
-0.07131700217723846,
0.10902532935142517,
0.17481669783592224,
-0.058167070150375366,
-0.05649380758404732,
0.011209763586521149,
0.1443539559841156,
-0.0958312377333641,
0.023828167468309402,
0.07877586781978607,
-0.2136315554380417,
-0.1604113131761551,
0.04828212410211563,
-0.06276174634695053,
-0.01948818936944008,
-0.06639004498720169,
-0.37225285172462463,
-0.09015609323978424,
-0.01932608149945736,
-0.011752601712942123,
-0.15681082010269165,
0.17008629441261292,
0.1708759367465973,
0.10763739049434662,
0.07361867278814316,
0.1617375612258911,
0.3169376850128174,
-0.016518019139766693,
-0.09456285834312439,
0.19079895317554474,
0.21112160384655,
0.17288027703762054,
-0.44332513213157654,
-0.11646980792284012,
0.2522096335887909,
0.3310529291629791,
-0.24472253024578094,
-0.09305408596992493,
0.034384794533252716,
-0.06040710210800171,
0.1355781853199005,
0.120596744120121,
0.3251360356807709,
-0.410094678401947,
0.3145189881324768,
0.01381465420126915,
0.5163812637329102,
-0.2887161374092102,
0.15077467262744904,
0.341229110956192,
-0.03692563623189926,
0.09767161309719086,
0.18318724632263184,
-0.3179923892021179,
-0.21971839666366577,
-0.16329793632030487,
-0.10594800859689713,
0.27065327763557434,
-0.17365995049476624,
0.18669867515563965,
-0.23036077618598938,
-0.5291451215744019,
0.5492303967475891,
0.20065158605575562,
-0.18649733066558838,
0.04795993119478226,
0.14047633111476898,
0.047507937997579575,
-0.014554624445736408,
0.42686551809310913,
-0.6220311522483826,
0.03893435373902321,
0.04629658907651901,
-0.10870921611785889,
-0.1675899177789688,
-0.23370987176895142,
-0.080746129155159,
0.1875545233488083,
0.05955226719379425,
-0.055371545255184174,
0.18487226963043213,
0.1723053753376007,
-0.20541943609714508,
-0.09480829536914825,
-0.1685734987258911,
0.00010102614760398865,
0.13983924686908722,
-0.18435713648796082,
0.31067410111427307,
0.08406994491815567,
-0.1604890525341034,
0.08836162090301514,
0.40402764081954956,
0.5066377520561218,
0.40938636660575867,
0.12111598253250122,
-0.02176070585846901,
-0.009356580674648285,
0.09654036164283752,
0.007119825109839439,
0.6516675353050232,
-0.04693208634853363,
-0.13601213693618774,
0.26282504200935364,
0.28449657559394836,
-0.24470216035842896,
-0.08750949800014496,
-0.24134136736392975,
-0.0965176522731781,
-0.043883759528398514,
0.1357378512620926,
0.15093469619750977,
0.3564540445804596,
-0.09364444017410278,
0.2778053283691406,
-0.4690013527870178,
-0.26579558849334717,
0.22800312936306,
0.1460133194923401,
0.29823046922683716,
0.0840534195303917,
0.12402203679084778,
-0.1947551816701889,
0.22182457149028778,
0.30511653423309326,
-0.050993598997592926,
-0.18927958607673645,
-0.306597501039505,
-0.5408633947372437,
0.31484082341194153,
-0.23208707571029663,
0.02018011175096035,
-0.03824709728360176,
0.09469709545373917,
-0.18076589703559875,
0.0632110983133316,
0.4162253737449646,
0.13201802968978882,
0.003710261546075344,
0.03567264974117279,
-0.21248859167099,
-0.06517286598682404,
0.2476051300764084,
-0.2361905574798584,
-0.12297967076301575,
-0.34645313024520874,
0.10507006198167801,
0.19278664886951447,
0.2287885546684265,
-0.06056879460811615,
-0.02436402067542076,
-0.21680739521980286,
0.12267833948135376,
0.3915030062198639,
0.20289693772792816,
0.4989645779132843,
-0.1522262692451477,
-0.11530914157629013,
-0.35018327832221985,
-0.16621404886245728,
-0.008860942907631397,
0.16410639882087708,
0.0669788122177124,
0.07970535010099411,
0.16415613889694214,
0.09463774412870407,
-0.19230574369430542,
0.3203834593296051,
0.10141612589359283,
-0.3075588643550873,
-0.20851418375968933,
0.12486397475004196,
-0.16085174679756165,
0.04573403671383858,
-0.07577599585056305,
0.100545734167099,
0.23881714046001434,
0.2782416045665741,
-0.18162962794303894,
-0.31674614548683167,
0.25492656230926514,
-0.21840065717697144,
-0.05210604518651962,
-0.08557247370481491,
0.20541325211524963,
-0.08014155179262161,
0.11296756565570831,
-0.3738332688808441,
0.22812923789024353,
0.28821003437042236,
0.07486627250909805,
-0.1536894291639328,
0.01783015765249729,
-0.1428067982196808,
0.1285945177078247,
0.11910679936408997,
0.08658108860254288,
0.19370532035827637,
-0.11899207532405853,
-0.023462863638997078,
0.021866656839847565
] |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | @afcruzs-ms, I'm not able to reproduce the issue you reported:
```python
In [1]: from datasets import load_dataset
...: dataset = load_dataset("xcopa", "it")
Downloading builder script: 5.21kB [00:00, 2.75MB/s]
Downloading metadata: 28.6kB [00:00, 14.5MB/s]
Downloading and preparing dataset xcopa/it (download: 627.09 KiB, generated: 76.43 KiB, post-processed: Unknown size, total: 703.52 KiB) to .../.cache/huggingface/datasets/xcopa/it/1.0.0/e1fab65f984b24c8b66bcf7ac27a26a1182f84adfb2e74035861be65e214b9e6...
Downloading data: 642kB [00:00, 5.42MB/s]
Dataset xcopa downloaded and prepared to .../.cache/huggingface/datasets/xcopa/it/1.0.0/e1fab65f984b24c8b66bcf7ac27a26a1182f84adfb2e74035861be65e214b9e6. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 733.27it/s]
In [2]: dataset
Out[2]:
DatasetDict({
test: Dataset({
features: ['premise', 'choice1', 'choice2', 'question', 'label', 'idx', 'changed'],
num_rows: 500
})
validation: Dataset({
features: ['premise', 'choice1', 'choice2', 'question', 'label', 'idx', 'changed'],
num_rows: 100
})
})
```
Maybe you have some issue with your cached data... Could you please try to force the redownload of the data?
```python
dataset = load_dataset("xcopa", "it", download_mode="force_redownload")
``` | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
| 134 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
@afcruzs-ms, I'm not able to reproduce the issue you reported:
```python
In [1]: from datasets import load_dataset
...: dataset = load_dataset("xcopa", "it")
Downloading builder script: 5.21kB [00:00, 2.75MB/s]
Downloading metadata: 28.6kB [00:00, 14.5MB/s]
Downloading and preparing dataset xcopa/it (download: 627.09 KiB, generated: 76.43 KiB, post-processed: Unknown size, total: 703.52 KiB) to .../.cache/huggingface/datasets/xcopa/it/1.0.0/e1fab65f984b24c8b66bcf7ac27a26a1182f84adfb2e74035861be65e214b9e6...
Downloading data: 642kB [00:00, 5.42MB/s]
Dataset xcopa downloaded and prepared to .../.cache/huggingface/datasets/xcopa/it/1.0.0/e1fab65f984b24c8b66bcf7ac27a26a1182f84adfb2e74035861be65e214b9e6. Subsequent calls will reuse this data.
100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 733.27it/s]
In [2]: dataset
Out[2]:
DatasetDict({
test: Dataset({
features: ['premise', 'choice1', 'choice2', 'question', 'label', 'idx', 'changed'],
num_rows: 500
})
validation: Dataset({
features: ['premise', 'choice1', 'choice2', 'question', 'label', 'idx', 'changed'],
num_rows: 100
})
})
```
Maybe you have some issue with your cached data... Could you please try to force the redownload of the data?
```python
dataset = load_dataset("xcopa", "it", download_mode="force_redownload")
``` | [
-0.16302789747714996,
0.019621863961219788,
-0.032544899731874466,
0.15580007433891296,
0.09577517956495285,
0.005795195698738098,
-0.05349938943982124,
0.3396126925945282,
0.16124315559864044,
0.14249184727668762,
0.07432834804058075,
0.2626977562904358,
0.24026170372962952,
-0.04657953977584839,
-0.25784775614738464,
0.5077955722808838,
0.0184929221868515,
0.05163775011897087,
-0.06911170482635498,
-0.020046990364789963,
-0.3381710946559906,
0.16753101348876953,
-0.1068764179944992,
-0.2577939033508301,
-0.06997492909431458,
0.31293919682502747,
0.10214698314666748,
0.01975925639271736,
-0.0848325863480568,
-0.41027718782424927,
0.5081364512443542,
0.13426022231578827,
-0.15959236025810242,
0.28468191623687744,
-0.000110767396108713,
0.11749127507209778,
0.4348934292793274,
0.070735402405262,
-0.18524135649204254,
-0.11145634949207306,
-0.6668501496315002,
-0.41957002878189087,
-0.19807298481464386,
-0.13908199965953827,
0.04908537119626999,
0.2461087852716446,
-0.024499235674738884,
-0.00865364819765091,
0.009182251989841461,
0.03902463614940643,
0.2191254198551178,
0.46618959307670593,
0.0923236608505249,
-0.06710246205329895,
0.2599257528781891,
-0.1323123574256897,
-0.041129425168037415,
0.19998061656951904,
0.26129546761512756,
0.0908370390534401,
-0.19418790936470032,
0.13934524357318878,
-0.1561116874217987,
-0.0067775435745716095,
-0.03518921136856079,
-0.03591809794306755,
0.30156585574150085,
-0.11083453893661499,
0.16009867191314697,
0.2649773061275482,
0.18255288898944855,
-0.35463106632232666,
-0.25498852133750916,
-0.17198127508163452,
-0.2659863531589508,
-0.38055142760276794,
0.5082287788391113,
0.113021619617939,
-0.18220040202140808,
-0.03907426819205284,
-0.3337228000164032,
0.39399996399879456,
0.12280136346817017,
0.11460524052381516,
0.10190674662590027,
0.04968434199690819,
0.06068626046180725,
-0.005783833563327789,
-0.04625362530350685,
-0.02754971757531166,
0.4868713319301605,
-0.2417345643043518,
-0.07348582148551941,
0.14531709253787994,
-0.6300257444381714,
-0.018782150000333786,
-0.04718422889709473,
0.43385806679725647,
0.5211065411567688,
0.34768933057785034,
0.19006557762622833,
0.18392854928970337,
-0.030914921313524246,
0.2191930115222931,
-0.09619604051113129,
0.3911278247833252,
-0.030200347304344177,
0.22829309105873108,
0.13204288482666016,
0.24245476722717285,
-0.1278647780418396,
0.0215506162494421,
0.14053650200366974,
-0.27202337980270386,
0.6138054728507996,
0.28489604592323303,
0.15055471658706665,
-0.5430349707603455,
-0.360847145318985,
0.2732502222061157,
0.04974988102912903,
-0.10360825806856155,
0.2006329745054245,
0.2916671931743622,
-0.2110145539045334,
0.30414313077926636,
-0.041930075734853745,
-0.05402296781539917,
-0.11701769381761551,
-0.02576773799955845,
-0.24342484772205353,
-0.10802759230136871,
-0.2720140218734741,
0.14547200500965118,
0.1451956033706665,
-0.3726762533187866,
0.3002804219722748,
0.04595564678311348,
0.32449156045913696,
-0.21558471024036407,
0.21082696318626404,
-0.03375929594039917,
-0.06609844416379929,
0.3783191442489624,
0.020968280732631683,
0.013246873393654823,
0.12910524010658264,
0.07105500996112823,
-0.12054671347141266,
0.06511525809764862,
-0.2788104712963104,
-0.11150331795215607,
0.1945994347333908,
0.28235653042793274,
-0.45795631408691406,
-0.06616319715976715,
0.0016554221510887146,
-0.515834391117096,
0.33685559034347534,
-0.22369781136512756,
0.009905219078063965,
-0.16208083927631378,
-0.10490491986274719,
-0.24644878506660461,
0.013895725831389427,
0.0679684728384018,
0.24395504593849182,
-0.010404586791992188,
0.04954010248184204,
-0.05072497949004173,
0.3463050425052643,
-0.0009118802845478058,
0.0020242957398295403,
-0.0006275475025177002,
-0.3001214861869812,
0.00234232097864151,
0.04015377163887024,
-0.5451785326004028,
-0.7369338870048523,
0.03776426613330841,
0.10574059188365936,
0.4106006622314453,
0.04027889668941498,
0.02939046546816826,
-0.1434260755777359,
-0.26826536655426025,
-0.12838119268417358,
-0.037171296775341034,
0.01961686462163925,
0.18858689069747925,
-0.37906867265701294,
-0.2511388063430786,
0.16054826974868774,
0.060514409095048904,
0.11225631088018417,
0.01712118834257126,
0.17040246725082397,
-0.3401186168193817,
0.19992735981941223,
-0.03985742852091789,
-0.14646568894386292,
0.006642986088991165,
0.37129300832748413,
-0.09984305500984192,
0.11647717654705048,
-0.09914230555295944,
-0.31649333238601685,
0.45497649908065796,
-0.22470174729824066,
0.020488858222961426,
0.14312100410461426,
-0.14424173533916473,
-0.28428423404693604,
-0.11834630370140076,
-0.2734473943710327,
0.04908905178308487,
0.16238631308078766,
0.3422895073890686,
0.377650648355484,
-0.13318949937820435,
0.02966960147023201,
0.3447777032852173,
-0.32731691002845764,
0.0948447436094284,
-0.41339537501335144,
0.16288204491138458,
0.12404021620750427,
-0.03934108465909958,
0.09593956172466278,
0.2538575828075409,
0.24974098801612854,
-0.0038451978471130133,
-0.1814047396183014,
0.4333851933479309,
0.23622146248817444,
0.10825853794813156,
-0.15488091111183167,
0.34457075595855713,
-0.04504154622554779,
-0.2898607850074768,
-0.2100038081407547,
0.5267946124076843,
0.15907396376132965,
-0.028836622834205627,
-0.03786635398864746,
0.40662842988967896,
0.09372720867395401,
0.19826140999794006,
0.07804055511951447,
-0.06277965009212494,
0.22508689761161804,
-0.369392991065979,
-0.3576960861682892,
-0.03465275466442108,
0.3355722725391388,
-0.012436896562576294,
0.13364727795124054,
0.11520925164222717,
0.13925394415855408,
-0.05990970879793167,
0.21915531158447266,
-0.11105041205883026,
-0.0005873814225196838,
0.13856935501098633,
0.15322521328926086,
0.027094487100839615,
-0.059881679713726044,
0.5775930285453796,
0.38193821907043457,
0.09472394734621048,
-0.11622662842273712,
0.10214375704526901,
-0.2558649778366089,
0.04746396839618683,
-0.030519284307956696,
0.10658173263072968,
0.07664274424314499,
0.577595055103302,
0.19748224318027496,
-0.1472819745540619,
-0.2701244652271271,
-0.1835310161113739,
-0.11939840763807297,
0.2002582997083664,
-0.36344921588897705,
-0.1279531866312027,
-0.2516433298587799,
-0.20121484994888306,
-0.2214488685131073,
-0.07323186099529266,
-0.016690775752067566,
-0.46699053049087524,
-0.08110729604959488,
0.1946982592344284,
0.042241644114255905,
0.27156415581703186,
-0.616266667842865,
-0.009197786450386047,
-0.08089206367731094,
-0.2440531998872757,
0.02341821789741516,
0.1384821981191635,
-0.0638384073972702,
0.05740881338715553,
0.38472840189933777,
-0.06357892602682114,
0.34653201699256897,
-0.42229849100112915,
-0.014208595268428326,
-0.3125957250595093,
-0.361478716135025,
0.14210379123687744,
-0.11128556728363037,
-0.15543977916240692,
0.21206603944301605,
-0.12559668719768524,
0.06416672468185425,
-0.2318175584077835,
0.2537805438041687,
-0.11211156845092773,
-0.4089604616165161,
0.26612773537635803,
-0.08282370120286942,
-0.11114230006933212,
0.08948466181755066,
-0.1588224172592163,
0.017481429502367973,
-0.21033987402915955,
-0.05657358467578888,
0.1686769723892212,
0.1754658818244934,
0.13842791318893433,
-0.0726519376039505,
-0.010339947417378426,
-0.10474361479282379,
0.1048792377114296,
-0.3309297263622284,
-0.7593187689781189,
0.33893096446990967,
0.11705838888883591,
-0.3031058609485626,
0.014787908643484116,
-0.18922699987888336,
0.41141682863235474,
0.17255094647407532,
-0.32981693744659424,
-0.17055408656597137,
-0.3609614372253418,
0.15440790355205536,
0.2018374800682068,
-0.016614848747849464,
0.18446972966194153,
0.044825900346040726,
-0.1298666149377823,
-0.21999147534370422,
-0.1843513697385788,
0.018537424504756927,
-0.047968991100788116,
0.4424380958080292,
-0.017909511923789978,
0.07631663978099823,
-0.02208275906741619,
0.22426742315292358,
0.496859610080719,
0.023571794852614403,
0.23132234811782837,
0.0661172941327095,
0.2258279174566269,
-0.027284957468509674,
-0.13613566756248474,
-0.03259771689772606,
-0.06384013593196869,
-0.07996980100870132,
-0.032004356384277344,
0.055690519511699677,
-0.0667213425040245,
-0.09367315471172333,
-0.12886565923690796,
-0.3300747871398926,
-0.2561757266521454,
-0.08697805553674698,
0.1426427960395813,
0.21794641017913818,
0.0288429856300354,
-0.012851003557443619,
-0.1575710028409958,
-0.3179537355899811,
0.15757811069488525,
0.2137759029865265,
-0.1594015657901764,
-0.2113180160522461,
-0.4722225069999695,
0.04797361046075821,
-0.15875181555747986,
0.3235284090042114,
0.1832573115825653,
0.36521223187446594,
0.19731120765209198,
-0.3504924476146698,
-0.05341479182243347,
-0.14331960678100586,
0.19799992442131042,
-0.19392353296279907,
0.2016589194536209,
0.0934714823961258,
-0.07177434116601944,
-0.01904662884771824,
-0.1713995486497879,
0.1425614356994629,
-0.012311398051679134,
0.19095715880393982,
0.2326364517211914,
-0.2832958400249481,
0.1678857058286667,
-0.051116690039634705,
0.376633882522583,
-0.1655101329088211,
-0.4507182836532593,
-0.3547607362270355,
-0.1678018569946289,
-0.34561508893966675,
-0.1038905456662178,
0.006367642432451248,
0.19421976804733276,
-0.150572270154953,
-0.1514493227005005,
-0.08736332505941391,
-0.07541888952255249,
0.32714760303497314,
0.21736019849777222,
0.2134215235710144,
-0.21984662115573883,
0.4435965120792389,
-0.08018731325864792,
-0.011872202157974243,
0.2308957427740097,
0.781175434589386,
-0.07674907147884369,
-0.3583188056945801,
0.04510987922549248,
-0.13456836342811584,
-0.0991484746336937,
0.008841514587402344,
-0.048099856823682785,
-0.019001029431819916,
0.13044984638690948,
-0.049300417304039,
-0.11266891658306122,
-0.2056066244840622,
-0.047874920070171356,
0.2251465767621994,
-0.339816153049469,
-0.16206322610378265,
0.13386566936969757,
0.10237486660480499,
-0.1559460163116455,
0.3924919664859772,
-0.10921859741210938,
-0.08053765445947647,
0.21646827459335327,
0.15378576517105103,
0.924726665019989,
-0.03810577839612961,
-0.058058250695466995,
0.02092607691884041,
0.2158082276582718,
0.16289396584033966,
-0.16588348150253296,
0.11434975266456604,
-0.4143998920917511,
-0.6261752843856812,
-0.010057616978883743,
-0.2618856728076935,
0.17555470764636993,
-0.14093482494354248,
-0.04656103625893593,
0.44764459133148193,
-0.1096964031457901,
0.14182573556900024,
0.16820219159126282,
0.06487672030925751,
-0.5371584892272949,
-0.07977482676506042,
0.04282013326883316,
0.1968168467283249,
0.06870369613170624,
0.26529374718666077,
-0.03490717336535454,
0.13704341650009155,
-0.2639369070529938,
-0.23802445828914642,
-0.31336647272109985,
0.3121689260005951,
0.01665615104138851,
-0.11361835896968842,
0.504208505153656,
0.26376479864120483,
-0.3448432981967926,
0.07116758078336716,
0.2602384090423584,
0.03548209369182587,
-0.19473248720169067,
0.10059577971696854,
0.453665554523468,
0.22352737188339233,
0.12014725059270859,
-0.23585642874240875,
0.24465756118297577,
-0.12526533007621765,
-0.1791400909423828,
0.1616598665714264,
0.03941136598587036,
-0.36505138874053955,
0.1495150625705719,
-0.04730644077062607,
-0.016208618879318237,
-0.3903440535068512,
-0.0037632612511515617,
-0.0712248682975769,
0.033843282610177994,
-0.25047001242637634,
0.20349574089050293,
0.32769542932510376,
-0.1856156885623932,
0.3609457314014435,
0.06534472852945328,
-0.36583957076072693,
-0.06309047341346741,
0.36746224761009216,
0.17990311980247498,
-0.23864665627479553,
0.2242407351732254,
-0.2659057378768921,
-0.13322460651397705,
-0.15490840375423431,
-0.12063761055469513,
0.005796014331281185,
-0.46588853001594543,
-0.1301373392343521,
-0.2891964614391327,
0.16566668450832367,
-0.011106345802545547,
0.5253891348838806,
0.3771253824234009,
0.2688365578651428,
0.10397380590438843,
-0.6363801956176758,
-0.10803055018186569,
-0.07116076350212097,
0.15200641751289368,
0.33908915519714355,
-0.41620469093322754,
0.0016173673793673515,
-0.05730516463518143,
-0.0943298265337944,
-0.347110390663147,
-0.10444428026676178,
-0.36495110392570496,
-0.030898839235305786,
-0.0857381671667099,
0.18422159552574158,
0.1682712882757187,
-0.06640200316905975,
0.26990851759910583,
0.2776053547859192,
-0.1436406672000885,
-0.2514589726924896,
-0.19472235441207886,
0.10658695548772812,
0.18872883915901184,
-0.036030784249305725,
0.03827238082885742,
0.09850243479013443,
0.1200711578130722,
-0.154823437333107,
-0.06091713532805443,
0.11666121333837509,
-0.11850762367248535,
0.060058970004320145,
0.1119888424873352,
-0.10020818561315536,
-0.05298452079296112,
-0.009133946150541306,
-0.29111212491989136,
-0.10545985400676727,
0.07107115536928177,
-0.050556011497974396,
-0.21604366600513458,
0.10182331502437592,
0.2929023206233978,
0.11866554617881775,
0.08455955982208252,
-0.030152209103107452,
0.3028790056705475,
-0.11156950891017914,
0.02391194924712181,
0.3716612756252289,
0.18810930848121643,
0.2690601646900177,
-0.3561232388019562,
-0.07240843772888184,
0.22927433252334595,
0.29507067799568176,
-0.3363310396671295,
-0.1276908963918686,
0.08399200439453125,
0.08165248483419418,
0.12635953724384308,
0.18587177991867065,
0.18780270218849182,
-0.574652910232544,
0.5080742835998535,
-0.07396797835826874,
0.3743036985397339,
-0.2506616711616516,
0.15433651208877563,
0.5682209134101868,
0.018150027841329575,
0.10270693898200989,
0.17642556130886078,
-0.21421608328819275,
-0.1644573211669922,
-0.1500568389892578,
-0.09221509844064713,
0.3908783793449402,
-0.28247877955436707,
0.2561034560203552,
-0.3602473735809326,
-0.4953061044216156,
0.4332663416862488,
0.229145348072052,
-0.019264109432697296,
0.0970740020275116,
0.1610931009054184,
0.09869509935379028,
0.14993993937969208,
0.4035171866416931,
-0.5139324069023132,
-0.016020741313695908,
0.03840155154466629,
-0.07996334135532379,
-0.19449904561042786,
-0.22324618697166443,
-0.06798649579286575,
0.031212758272886276,
0.07931555062532425,
-0.019753724336624146,
0.2852092385292053,
0.014008913189172745,
-0.16694147884845734,
-0.19770547747612,
-0.22895967960357666,
0.0821719765663147,
0.10438421368598938,
-0.22282356023788452,
0.2910061478614807,
0.15717798471450806,
-0.1861787736415863,
0.09567706286907196,
0.3284163773059845,
0.49412575364112854,
0.422833651304245,
0.18414530158042908,
0.030612558126449585,
-0.04406102001667023,
0.1013450175523758,
-0.04761461168527603,
0.7084618210792542,
-0.12722450494766235,
-0.14454424381256104,
0.3068701922893524,
0.2031952440738678,
-0.23223471641540527,
-0.12290140986442566,
-0.2277960330247879,
0.0241127610206604,
-0.040019817650318146,
0.36362195014953613,
0.10665880888700485,
0.385962575674057,
-0.04821764677762985,
0.32569894194602966,
-0.4465429484844208,
-0.25553521513938904,
0.1888069361448288,
-0.00013404223136603832,
0.22415462136268616,
0.07775818556547165,
0.10570050776004791,
-0.3286650478839874,
0.16809362173080444,
0.2577145993709564,
-0.16476872563362122,
-0.2815743386745453,
-0.30015188455581665,
-0.6647706627845764,
0.3878757953643799,
-0.27749165892601013,
-0.16331340372562408,
0.05643041431903839,
0.07735060900449753,
-0.0956018939614296,
0.23056408762931824,
0.37008699774742126,
-0.04189077019691467,
0.04135160520672798,
0.06563587486743927,
-0.08210909366607666,
-0.10791410505771637,
0.15262764692306519,
-0.23581764101982117,
0.023475706577301025,
-0.3429805338382721,
0.06913293898105621,
0.200407013297081,
0.22518062591552734,
-0.021135807037353516,
-0.13000385463237762,
-0.08198405802249908,
0.06599491089582443,
0.1888478696346283,
0.14727480709552765,
0.39288705587387085,
-0.11109650880098343,
-0.09797590225934982,
-0.21176493167877197,
-0.11283057928085327,
-0.07145247608423233,
0.21967491507530212,
0.0025482214987277985,
0.07611961662769318,
0.07499825209379196,
0.16818848252296448,
-0.27569520473480225,
0.29553624987602234,
0.18896473944187164,
-0.457327663898468,
-0.170871302485466,
0.17223186790943146,
-0.19746246933937073,
0.06745187938213348,
-0.07484957575798035,
0.09345152974128723,
0.1738564372062683,
0.3965121805667877,
-0.08070044964551926,
-0.26878705620765686,
0.37017369270324707,
-0.26863646507263184,
-0.05323242023587227,
-0.1365775316953659,
0.17492127418518066,
-0.1717078685760498,
-0.04112231731414795,
-0.4613739550113678,
0.15919968485832214,
0.3710484504699707,
0.0991736575961113,
-0.10163664817810059,
0.058092471212148666,
-0.31890246272087097,
0.22566966712474823,
0.10719381272792816,
0.22504965960979462,
0.10645300149917603,
-0.09296733886003494,
0.02144608274102211,
-0.06045509874820709
] |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | unfortunately, i am having a similar problem with the irc_disentaglement dataset :/
my code:
```
from datasets import load_dataset
dataset = load_dataset("irc_disentangle", download_mode="force_redownload")
```
however, it produces the same error as @afcruzs-ms
```
[38](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=37) if len(bad_urls) > 0:
[39](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=38) error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> [40](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=39) raise NonMatchingChecksumError(error_msg + str(bad_urls))
[41](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=40) logger.info("All the checksums matched successfully" + for_verification_name)
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/jkkummerfeld/irc-disentanglement/tarball/master']
```
I attempted to use the `ignore_verifications' as such:
```
ds = datasets.load_dataset('irc_disentangle', download_mode="force_redownload", ignore_verifications=True)
```
```
Downloading builder script: 12.0kB [00:00, 5.92MB/s]
Downloading metadata: 7.58kB [00:00, 3.48MB/s]
No config specified, defaulting to: irc_disentangle/ubuntu
Downloading and preparing dataset irc_disentangle/ubuntu (download: 112.98 MiB, generated: 60.05 MiB, post-processed: Unknown size, total: 173.03 MiB) to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5...
Downloading data: 118MB [00:09, 12.1MB/s]
Dataset irc_disentangle downloaded and prepared to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5. Subsequent calls will reuse this data.
100%|██████████| 3/3 [00:00<00:00, 675.38it/s]
```
but, this returns an empty set?
```
DatasetDict({
train: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
test: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
validation: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
})
```
not sure what else to try at this point?
Thanks in advanced🤗 | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
| 205 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
unfortunately, i am having a similar problem with the irc_disentaglement dataset :/
my code:
```
from datasets import load_dataset
dataset = load_dataset("irc_disentangle", download_mode="force_redownload")
```
however, it produces the same error as @afcruzs-ms
```
[38](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=37) if len(bad_urls) > 0:
[39](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=38) error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> [40](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=39) raise NonMatchingChecksumError(error_msg + str(bad_urls))
[41](file:///Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/datasets/utils/info_utils.py?line=40) logger.info("All the checksums matched successfully" + for_verification_name)
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/jkkummerfeld/irc-disentanglement/tarball/master']
```
I attempted to use the `ignore_verifications' as such:
```
ds = datasets.load_dataset('irc_disentangle', download_mode="force_redownload", ignore_verifications=True)
```
```
Downloading builder script: 12.0kB [00:00, 5.92MB/s]
Downloading metadata: 7.58kB [00:00, 3.48MB/s]
No config specified, defaulting to: irc_disentangle/ubuntu
Downloading and preparing dataset irc_disentangle/ubuntu (download: 112.98 MiB, generated: 60.05 MiB, post-processed: Unknown size, total: 173.03 MiB) to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5...
Downloading data: 118MB [00:09, 12.1MB/s]
Dataset irc_disentangle downloaded and prepared to /Users/laylabouzoubaa/.cache/huggingface/datasets/irc_disentangle/ubuntu/1.0.0/0f24ab262a21d8c1d989fa53ed20caa928f5880be26c162bfbc02445dbade7e5. Subsequent calls will reuse this data.
100%|██████████| 3/3 [00:00<00:00, 675.38it/s]
```
but, this returns an empty set?
```
DatasetDict({
train: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
test: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
validation: Dataset({
features: ['id', 'raw', 'ascii', 'tokenized', 'date', 'connections'],
num_rows: 0
})
})
```
not sure what else to try at this point?
Thanks in advanced🤗 | [
-0.19719024002552032,
0.1392849087715149,
0.029066052287817,
0.2536725401878357,
0.087916299700737,
0.008565522730350494,
0.05496441200375557,
0.2888900935649872,
0.3888358473777771,
0.14704257249832153,
-0.014186175540089607,
0.3974843919277191,
0.2978729009628296,
-0.1480468064546585,
-0.4257536232471466,
0.5749813318252563,
0.007955677807331085,
0.146802619099617,
0.0495920404791832,
0.010066024959087372,
-0.2772336006164551,
0.15406417846679688,
-0.18350429832935333,
-0.25625115633010864,
-0.05236048251390457,
0.25844448804855347,
0.0720510333776474,
0.0628320723772049,
-0.022902684286236763,
-0.4937432110309601,
0.7717124819755554,
0.26436370611190796,
-0.06584528088569641,
0.28734415769577026,
-0.00011877726501552388,
0.06146372854709625,
0.4221298098564148,
0.008130284026265144,
-0.1080322265625,
-0.17728732526302338,
-0.7352963089942932,
-0.35158437490463257,
-0.0786912813782692,
-0.21408820152282715,
0.07713466882705688,
0.3193745017051697,
-0.04437275975942612,
-0.0848575085401535,
0.04062908887863159,
0.10646790266036987,
0.1356765776872635,
0.4910425841808319,
0.07341630756855011,
0.0029201218858361244,
0.28829699754714966,
-0.06900142133235931,
-0.01864025369286537,
0.1884917914867401,
0.09950549900531769,
0.02715790458023548,
-0.13854330778121948,
0.09572641551494598,
-0.2246435135602951,
-0.006231257691979408,
-0.005126580595970154,
0.0370953232049942,
0.10557238757610321,
-0.054320789873600006,
0.18160635232925415,
0.3032131791114807,
0.22563672065734863,
-0.37046387791633606,
-0.2062937170267105,
-0.1095188558101654,
-0.12600116431713104,
-0.3525322675704956,
0.49623507261276245,
0.023896746337413788,
-0.054913029074668884,
-0.003958072513341904,
-0.32318511605262756,
0.35994598269462585,
-0.0033119916915893555,
0.19983837008476257,
0.0037004277110099792,
0.028636950999498367,
0.1543465256690979,
0.08316537737846375,
-0.13403405249118805,
-0.09068191051483154,
0.33484116196632385,
-0.13743440806865692,
-0.21240785717964172,
0.13616999983787537,
-0.6844366788864136,
-0.004755750298500061,
-0.13019609451293945,
0.36779165267944336,
0.4709833264350891,
0.46466296911239624,
-0.023645244538784027,
0.06198969855904579,
0.06897112727165222,
0.22354257106781006,
-0.007651221007108688,
0.33785203099250793,
0.029870327562093735,
0.28741440176963806,
0.11230955272912979,
0.25150179862976074,
-0.21860726177692413,
0.05811406672000885,
0.08057370036840439,
-0.25715526938438416,
0.5684627294540405,
0.2839049994945526,
0.19622090458869934,
-0.5610998272895813,
-0.388619989156723,
0.30680540204048157,
-0.05733342468738556,
-0.06967047601938248,
0.08483924716711044,
0.2237737774848938,
-0.22596952319145203,
0.37790095806121826,
-0.09649163484573364,
0.09970700740814209,
-0.10367061197757721,
-0.14154425263404846,
-0.13190974295139313,
-0.03252245858311653,
-0.3578813076019287,
0.08894698321819305,
0.1644434928894043,
-0.26328542828559875,
0.2428167462348938,
-0.017054934054613113,
0.4356954097747803,
-0.21262817084789276,
0.042085468769073486,
-0.07334086298942566,
-0.03219858556985855,
0.31317225098609924,
-0.018611706793308258,
0.09009567648172379,
0.13377417623996735,
-0.08924120664596558,
-0.10254371911287308,
0.021688751876354218,
-0.2585976719856262,
-0.11673711985349655,
0.12483346462249756,
0.16468606889247894,
-0.47928035259246826,
-0.10551778972148895,
0.124163419008255,
-0.549464762210846,
0.33214396238327026,
-0.30178946256637573,
0.07167426496744156,
-0.31394195556640625,
-0.10707409679889679,
-0.29941195249557495,
-0.007744395174086094,
0.25599226355552673,
0.14443077147006989,
0.04800157994031906,
-0.0358564592897892,
0.03739670664072037,
0.42475318908691406,
0.03798064962029457,
0.006288822740316391,
-0.19721204042434692,
-0.327152281999588,
0.08865098655223846,
0.004781395196914673,
-0.5618373155593872,
-0.9041674733161926,
0.16414974629878998,
0.05714239180088043,
0.40801697969436646,
0.06945531070232391,
0.13588957488536835,
0.1413947343826294,
-0.14139404892921448,
-0.15353509783744812,
0.13878381252288818,
-0.08810025453567505,
0.11953610926866531,
-0.33535897731781006,
-0.3195224106311798,
0.2654472589492798,
0.012855403125286102,
0.15305213630199432,
0.062158241868019104,
0.3174292743206024,
-0.3136129379272461,
0.34832870960235596,
-0.027396228164434433,
-0.18842126429080963,
-0.12815998494625092,
0.44118475914001465,
-0.09967103600502014,
0.15173442661762238,
-0.1449459195137024,
-0.3729551434516907,
0.44540366530418396,
-0.1749240756034851,
0.11307938396930695,
0.07205890119075775,
-0.08155632019042969,
-0.43278253078460693,
-0.10483809560537338,
-0.37774091958999634,
0.06067550927400589,
0.018971450626850128,
0.36854276061058044,
0.3284318745136261,
-0.08519391715526581,
-0.11119239777326584,
0.5587255358695984,
-0.32907700538635254,
0.14102554321289062,
-0.44425851106643677,
0.3043103814125061,
0.07526882737874985,
-0.10792868584394455,
0.08973002433776855,
0.3251001238822937,
0.17329004406929016,
-0.03694801405072212,
-0.2120497226715088,
0.46102452278137207,
0.3351738154888153,
0.10332532972097397,
-0.04048757255077362,
0.23121871054172516,
0.007963811978697777,
-0.5267344117164612,
-0.1813618540763855,
0.6229648590087891,
0.15383735299110413,
0.11943063884973526,
0.09599384665489197,
0.5053204894065857,
0.027318298816680908,
0.30672287940979004,
0.06623681634664536,
0.006770925596356392,
0.24727916717529297,
-0.3564421832561493,
-0.3080314099788666,
-0.1720753014087677,
0.39373287558555603,
0.1482173204421997,
0.032881464809179306,
0.1250321865081787,
0.12176626920700073,
0.051592737436294556,
0.19182686507701874,
0.0009869243949651718,
-0.055876344442367554,
0.02823135256767273,
0.16444894671440125,
-0.04544215276837349,
-0.0012276824563741684,
0.5495062470436096,
0.3596946597099304,
0.1134875938296318,
-0.2837957739830017,
0.16687339544296265,
-0.3706197440624237,
0.07739178836345673,
-0.029413066804409027,
0.06758655607700348,
0.09249984472990036,
0.547553539276123,
0.2899344861507416,
-0.09879080951213837,
-0.3249075412750244,
-0.3451784551143646,
-0.23992326855659485,
0.18333137035369873,
-0.38170915842056274,
-0.05562439560890198,
-0.24686993658542633,
-0.26154443621635437,
-0.12434577941894531,
-0.14721354842185974,
-0.10663402080535889,
-0.3942268490791321,
-0.11511421203613281,
0.1266879290342331,
0.11646166443824768,
0.23478390276432037,
-0.7448344230651855,
-0.029630377888679504,
-0.15194150805473328,
-0.30184921622276306,
0.03243909031152725,
-0.0781647264957428,
-0.1676950454711914,
-0.026546230539679527,
0.28094708919525146,
0.06182314082980156,
0.3325826823711395,
-0.4067436158657074,
0.05153096467256546,
-0.24655485153198242,
-0.352888286113739,
0.1465558409690857,
0.003819480538368225,
-0.16298583149909973,
0.20394133031368256,
-0.15195642411708832,
0.017693262547254562,
-0.2745353579521179,
0.21474309265613556,
-0.22040142118930817,
-0.3592868447303772,
0.3148065507411957,
-0.19621877372264862,
-0.16732138395309448,
0.12779688835144043,
-0.31212902069091797,
-0.03109089843928814,
-0.16815318167209625,
-0.07033978402614594,
0.08472885191440582,
0.11632765829563141,
0.1800209879875183,
-0.03491294011473656,
-0.0566914863884449,
-0.20247124135494232,
0.00021905265748500824,
-0.2701304852962494,
-0.634952187538147,
0.3544558882713318,
0.22043223679065704,
-0.2018168717622757,
0.10422906279563904,
-0.23899801075458527,
0.28037476539611816,
0.47318124771118164,
-0.356225848197937,
-0.036938734352588654,
-0.3921961784362793,
0.2344224750995636,
0.21303224563598633,
-0.06415122747421265,
0.11965694278478622,
0.0024189192336052656,
-0.03955275937914848,
-0.15284337103366852,
-0.23170343041419983,
0.07202954590320587,
0.11692526191473007,
0.40933758020401,
-0.014005519449710846,
0.09984639286994934,
-0.07139930129051208,
0.17360253632068634,
0.4756232798099518,
-0.021543364971876144,
0.27066415548324585,
-0.01551949791610241,
0.2607318162918091,
-0.014528363943099976,
-0.21516282856464386,
0.02915051020681858,
0.000037416815757751465,
-0.15523982048034668,
-0.018236927688121796,
-0.03270552307367325,
-0.18897640705108643,
-0.13267478346824646,
-0.08365606516599655,
-0.34929582476615906,
-0.2609117031097412,
-0.20126371085643768,
0.16537737846374512,
0.2535039186477661,
0.10164444148540497,
-0.006117992103099823,
-0.07063218951225281,
-0.44650572538375854,
0.1675400584936142,
0.4123035669326782,
-0.20064020156860352,
-0.08026042580604553,
-0.470431923866272,
-0.12478595227003098,
-0.06301785260438919,
0.3648529648780823,
0.3061797618865967,
0.5281344652175903,
0.258857399225235,
-0.2989848256111145,
-0.049693480134010315,
-0.1605854630470276,
0.13346520066261292,
-0.2491510957479477,
0.11327993869781494,
0.14669908583164215,
0.05563822388648987,
-0.11811955273151398,
-0.23386600613594055,
0.16057173907756805,
-0.20326799154281616,
0.02443334087729454,
0.03146878257393837,
-0.24405136704444885,
0.22845500707626343,
0.11098753660917282,
0.3866752088069916,
-0.17825208604335785,
-0.41214853525161743,
-0.38043448328971863,
-0.07359705865383148,
-0.4115959703922272,
-0.09883006662130356,
-0.09490588307380676,
0.13787084817886353,
-0.026409905403852463,
-0.03788647800683975,
-0.15046538412570953,
-0.03242162615060806,
0.3210271894931793,
0.2694326937198639,
0.30007946491241455,
-0.29121100902557373,
0.3167823851108551,
-0.026933684945106506,
-0.04473844915628433,
0.4099372625350952,
0.7572205662727356,
-0.1786404699087143,
-0.6153638362884521,
-0.03853191062808037,
-0.22002314031124115,
0.039316825568675995,
0.006324931979179382,
-0.03787555918097496,
0.05298307538032532,
0.05444212257862091,
-0.13751927018165588,
0.011569886468350887,
-0.07691150158643723,
-0.05099960416555405,
0.15643036365509033,
-0.2438146322965622,
-0.2143944352865219,
-0.08494863659143448,
0.0723695307970047,
-0.04102645069360733,
0.31178033351898193,
0.04168735072016716,
-0.03975222259759903,
0.30349016189575195,
-0.0008326396346092224,
0.9575329422950745,
0.08099876344203949,
-0.10075345635414124,
0.14096641540527344,
-0.034655697643756866,
0.26776379346847534,
-0.04729224741458893,
0.17491620779037476,
-0.47190061211586,
-0.3538218140602112,
-0.044763967394828796,
-0.27315905690193176,
0.17813849449157715,
-0.06533937901258469,
0.03143046423792839,
0.6096940636634827,
-0.2562694549560547,
0.11262527108192444,
0.16757290065288544,
-0.022159721702337265,
-0.37339112162590027,
-0.0724329948425293,
-0.01689327135682106,
0.09403809159994125,
0.041878487914800644,
0.31833529472351074,
-0.0466289259493351,
0.16930167376995087,
-0.2749148905277252,
-0.20966511964797974,
-0.37795746326446533,
0.39829087257385254,
0.12323720008134842,
-0.056741245090961456,
0.3886861503124237,
0.25840675830841064,
-0.30209654569625854,
0.05984054505825043,
0.3418142795562744,
-0.06707584857940674,
-0.19237421452999115,
0.0514548122882843,
0.374617338180542,
0.11031854152679443,
0.11316311359405518,
-0.21152865886688232,
0.3571201264858246,
-0.02862316183745861,
-0.17554180324077606,
0.17566528916358948,
0.022513587027788162,
-0.3107837438583374,
0.12101930379867554,
0.1073736697435379,
0.14128711819648743,
-0.19424983859062195,
0.2162611186504364,
-0.04426342248916626,
0.02251848578453064,
-0.29254409670829773,
0.0995660126209259,
0.23184669017791748,
0.00905503612011671,
0.3369373083114624,
0.03990666940808296,
-0.42327284812927246,
-0.07985533773899078,
0.3088975250720978,
0.16681960225105286,
-0.39500921964645386,
0.26662418246269226,
-0.32995399832725525,
-0.20274196565151215,
-0.1376243680715561,
-0.19895491003990173,
0.03870682045817375,
-0.6418209075927734,
-0.14207397401332855,
-0.32742273807525635,
0.22991369664669037,
0.07235714048147202,
0.38404685258865356,
0.4488612413406372,
0.20750445127487183,
0.12082289159297943,
-0.7298868298530579,
-0.16667182743549347,
-0.059036582708358765,
0.012514311820268631,
0.23860375583171844,
-0.28017494082450867,
0.0172231737524271,
-0.14452680945396423,
-0.24831315875053406,
-0.23580603301525116,
-0.10084218531847,
-0.2920919954776764,
-0.04842013120651245,
-0.14151640236377716,
0.10226358473300934,
0.1435626894235611,
-0.09493957459926605,
0.1829001009464264,
0.12522661685943604,
-0.13974638283252716,
-0.11644536256790161,
-0.2529182732105255,
0.167323499917984,
0.21246910095214844,
-0.05816936492919922,
0.03834442421793938,
-0.07773663103580475,
0.09216208755970001,
-0.17561903595924377,
-0.044196780771017075,
0.2510389983654022,
-0.12354494631290436,
-0.03375585377216339,
0.06554336845874786,
-0.15499860048294067,
-0.34641754627227783,
0.09207156300544739,
-0.21383553743362427,
0.016292162239551544,
0.12580330669879913,
0.022090662270784378,
-0.31048253178596497,
0.08308430016040802,
0.3661114275455475,
0.2308667004108429,
0.22187379002571106,
-0.02016376703977585,
0.2911212146282196,
-0.16473211348056793,
0.02862003818154335,
0.21240095794200897,
0.172197163105011,
0.3814387023448944,
-0.23546069860458374,
-0.10466775298118591,
0.21178153157234192,
0.1978590041399002,
-0.38998523354530334,
-0.07824019342660904,
0.2886630594730377,
0.03277815505862236,
0.0860256552696228,
0.20030494034290314,
0.2676306366920471,
-0.5876970887184143,
0.3143426179885864,
-0.08711913228034973,
0.43722525238990784,
-0.3352472186088562,
0.09138081967830658,
0.4727250039577484,
0.1107793003320694,
0.14236238598823547,
0.167038232088089,
-0.15211981534957886,
-0.01176704466342926,
-0.14644519984722137,
-0.08506651967763901,
0.49110883474349976,
-0.1094764992594719,
0.23119387030601501,
-0.23911526799201965,
-0.4822477400302887,
0.3227643370628357,
0.2383042573928833,
0.0448572002351284,
0.13456085324287415,
0.25663405656814575,
0.21900799870491028,
0.16923759877681732,
0.3907011151313782,
-0.4355999231338501,
-0.2005874365568161,
0.12324798107147217,
0.034315552562475204,
-0.08376076817512512,
-0.28509196639060974,
-0.27291661500930786,
0.05318306013941765,
0.026952853426337242,
0.06752175092697144,
0.32536113262176514,
0.07880270481109619,
-0.19945396482944489,
-0.43930497765541077,
-0.14690148830413818,
0.14633610844612122,
0.04478461667895317,
-0.17544206976890564,
0.23951005935668945,
0.14255420863628387,
-0.2352287471294403,
0.1685371994972229,
0.19959822297096252,
0.5031505227088928,
0.4238719046115875,
0.19430208206176758,
-0.05388197302818298,
0.09608101844787598,
0.1202525943517685,
-0.0074135782197117805,
0.6319478154182434,
-0.18422716856002808,
-0.19158490002155304,
0.1825808435678482,
0.11819925904273987,
-0.14985226094722748,
-0.03765169903635979,
-0.1971922367811203,
0.08843465149402618,
0.010635046288371086,
0.25005295872688293,
0.1163230612874031,
0.4422995448112488,
0.025621429085731506,
0.40488627552986145,
-0.4666011333465576,
-0.25213074684143066,
0.22267462313175201,
0.027489660307765007,
0.17734938859939575,
0.11463446170091629,
0.04596855491399765,
-0.37573087215423584,
0.028076225891709328,
0.4522514045238495,
-0.03147786110639572,
-0.22292639315128326,
-0.3150676190853119,
-0.6688458919525146,
0.506165623664856,
-0.21219947934150696,
-0.07096797972917557,
0.04697677493095398,
0.2116638869047165,
-0.12763705849647522,
0.17904992401599884,
0.5145941376686096,
-0.03281193971633911,
0.1426539272069931,
-0.015188992023468018,
-0.09853443503379822,
-0.10243260860443115,
0.26089051365852356,
-0.30400899052619934,
-0.0194553229957819,
-0.35050877928733826,
-0.018569525331258774,
0.16115470230579376,
0.09598147124052048,
0.024426264688372612,
-0.12066884338855743,
0.09324817359447479,
-0.033821314573287964,
0.14306338131427765,
0.10191074013710022,
0.5173611640930176,
-0.019695879891514778,
-0.1782708764076233,
-0.26560497283935547,
-0.15768501162528992,
-0.07907478511333466,
0.2614348530769348,
-0.01371193677186966,
0.13516150414943695,
-0.010604538023471832,
0.2859320342540741,
-0.2245968133211136,
0.06695112586021423,
0.3035077452659607,
-0.34571024775505066,
-0.2802535891532898,
0.11912665516138077,
-0.2554629147052765,
0.15056955814361572,
-0.23488369584083557,
0.008693411946296692,
0.2581689655780792,
0.37334340810775757,
0.009726852178573608,
-0.28057268261909485,
0.4032450318336487,
-0.0996483564376831,
-0.13355223834514618,
-0.21864162385463715,
0.25364306569099426,
-0.2549453675746918,
0.041817259043455124,
-0.48117595911026,
0.15871375799179077,
0.34030795097351074,
0.03441425412893295,
-0.13377729058265686,
-0.035619426518678665,
-0.15963135659694672,
0.19485951960086823,
0.08109953999519348,
0.2159016728401184,
0.21033015847206116,
-0.042152367532253265,
0.10524033010005951,
-0.03818217292428017
] |
https://github.com/huggingface/datasets/issues/3807 | NonMatchingChecksumError in xcopa dataset | Thanks @labouz for reporting: yes, better opening a new GitHub issue as you did. I'm addressing it:
- #4376 | ## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
| 19 | NonMatchingChecksumError in xcopa dataset
## Describe the bug
Loading the xcopa dataset doesn't work, it fails due to a mismatch in the checksum.
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
## Expected results
The dataset should be loaded correctly.
## Actual results
Fails with:
```python
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3, and 1.18.4.dev0
- Platform:
- Python version: 3.8
- PyArrow version:
Thanks @labouz for reporting: yes, better opening a new GitHub issue as you did. I'm addressing it:
- #4376 | [
-0.1311444491147995,
0.04470402002334595,
-0.027753664180636406,
0.1082906723022461,
0.11410778760910034,
-0.020578395575284958,
-0.017397087067365646,
0.3379517197608948,
0.18836143612861633,
0.12099512666463852,
0.12528763711452484,
0.286175936460495,
0.26265427470207214,
-0.05870509892702103,
-0.20868642628192902,
0.5152768492698669,
0.04804607853293419,
0.08064312487840652,
-0.03270839899778366,
-0.00009254738688468933,
-0.37345588207244873,
0.14004828035831451,
-0.13703051209449768,
-0.2076384574174881,
-0.017628023400902748,
0.3564365804195404,
0.11086179316043854,
0.013568926602602005,
-0.0786878913640976,
-0.4363195300102234,
0.5378934144973755,
0.11997370421886444,
-0.13968124985694885,
0.2996580898761749,
-0.000108593754703179,
0.1496943235397339,
0.46170443296432495,
0.06222125142812729,
-0.16402402520179749,
-0.10186399519443512,
-0.697937548160553,
-0.40159177780151367,
-0.1880572885274887,
-0.09610181301832199,
0.058013916015625,
0.2309558093547821,
-0.02913222648203373,
-0.02448948472738266,
-0.005619227886199951,
0.053112905472517014,
0.229087233543396,
0.4275551736354828,
0.08526486158370972,
-0.10367460548877716,
0.282284677028656,
-0.1177448183298111,
-0.018016410991549492,
0.24196051061153412,
0.31063199043273926,
-0.0065168035216629505,
-0.19599127769470215,
0.10513268411159515,
-0.18158359825611115,
-0.05786161497235298,
-0.06369096040725708,
-0.03171685338020325,
0.2980904281139374,
-0.1000881940126419,
0.13756290078163147,
0.267604261636734,
0.17119920253753662,
-0.3592459559440613,
-0.18207712471485138,
-0.15253368020057678,
-0.2358676791191101,
-0.3832603693008423,
0.5268687009811401,
0.08882368355989456,
-0.16499489545822144,
-0.03101464733481407,
-0.2779991924762726,
0.3709811866283417,
0.09234188497066498,
0.13302966952323914,
0.14285849034786224,
0.10301169753074646,
0.10982605069875717,
0.014395348727703094,
-0.07057365775108337,
-0.020380962640047073,
0.45749807357788086,
-0.17009393870830536,
-0.11361347138881683,
0.08098715543746948,
-0.5960974097251892,
-0.034210823476314545,
-0.029376156628131866,
0.3935721814632416,
0.5467799305915833,
0.3840358853340149,
0.15583641827106476,
0.21550458669662476,
-0.035523585975170135,
0.2056867778301239,
-0.06890098750591278,
0.27096256613731384,
0.0015809684991836548,
0.2612142562866211,
0.15620368719100952,
0.20429685711860657,
-0.1307671070098877,
0.051770925521850586,
0.14966651797294617,
-0.3053986132144928,
0.5990598797798157,
0.3392859399318695,
0.1788857877254486,
-0.5389724969863892,
-0.3483175039291382,
0.2968042492866516,
-0.0009111613035202026,
-0.11002697795629501,
0.22597943246364594,
0.3307567834854126,
-0.15424306690692902,
0.2392585575580597,
-0.03769943118095398,
0.004932103678584099,
-0.14090880751609802,
-0.056017592549324036,
-0.2442682534456253,
-0.1352514624595642,
-0.2557748854160309,
0.14205244183540344,
0.12021756172180176,
-0.32796165347099304,
0.2983708381652832,
0.08307164907455444,
0.32593125104904175,
-0.2205866575241089,
0.1751135289669037,
-0.012684163637459278,
-0.10562395304441452,
0.3428405523300171,
-0.014277167618274689,
-0.035118699073791504,
0.1407785415649414,
-0.0022363103926181793,
-0.08780720084905624,
0.09674584120512009,
-0.29169318079948425,
-0.16071954369544983,
0.13618524372577667,
0.2982298731803894,
-0.4548582434654236,
-0.11238139867782593,
-0.008520521223545074,
-0.4892849326133728,
0.281665563583374,
-0.2167162150144577,
0.012592442333698273,
-0.17614327371120453,
-0.03502444922924042,
-0.23455607891082764,
0.023393945768475533,
0.046921201050281525,
0.24962425231933594,
0.013556934893131256,
0.0014054407365620136,
-0.05692104622721672,
0.3251948356628418,
-0.04819589480757713,
-0.061912067234516144,
0.004024244844913483,
-0.2941933274269104,
0.030079960823059082,
0.05459243059158325,
-0.5296140909194946,
-0.695961058139801,
-0.014191202819347382,
0.07183901965618134,
0.3566773235797882,
-0.04389481991529465,
0.03848006948828697,
-0.1294260174036026,
-0.28223592042922974,
-0.1177363395690918,
-0.027784988284111023,
-0.0016809459775686264,
0.14761632680892944,
-0.370204359292984,
-0.2229955792427063,
0.18876709043979645,
0.08359883725643158,
0.1212160736322403,
0.002731040120124817,
0.19924882054328918,
-0.35777583718299866,
0.20601427555084229,
-0.0770740956068039,
-0.2285935878753662,
-0.021695490926504135,
0.4222084879875183,
-0.05094853788614273,
0.14324916899204254,
-0.0893447995185852,
-0.246475487947464,
0.44458237290382385,
-0.1749373972415924,
0.03737223148345947,
0.13875025510787964,
-0.10382314026355743,
-0.30048999190330505,
-0.059456683695316315,
-0.25414717197418213,
0.06841406226158142,
0.17474402487277985,
0.3092169165611267,
0.3202288746833801,
-0.05525233596563339,
-0.002118542790412903,
0.28872135281562805,
-0.3768327832221985,
0.07366570830345154,
-0.3478540778160095,
0.2147814780473709,
0.07112666219472885,
-0.051751524209976196,
0.13074876368045807,
0.2797551155090332,
0.26160550117492676,
0.06143466755747795,
-0.18085598945617676,
0.44782763719558716,
0.222653329372406,
0.06884777545928955,
-0.11780012398958206,
0.29050394892692566,
-0.06883829832077026,
-0.34976476430892944,
-0.257845401763916,
0.5290035605430603,
0.13465777039527893,
-0.006153043359518051,
-0.02513657510280609,
0.4405086040496826,
0.10845495760440826,
0.1236937940120697,
0.021693557500839233,
-0.020243359729647636,
0.22673246264457703,
-0.37411969900131226,
-0.3742828667163849,
-0.035166941583156586,
0.3590589761734009,
-0.038516122847795486,
0.0803811103105545,
0.04942520707845688,
0.0717090368270874,
-0.062062494456768036,
0.24243977665901184,
-0.14793330430984497,
0.05513228476047516,
0.1438174694776535,
0.16897407174110413,
0.05700163543224335,
-0.045419856905937195,
0.5647642016410828,
0.37923312187194824,
0.12122220546007156,
-0.22086292505264282,
0.09120869636535645,
-0.3379288613796234,
0.028566773980855942,
-0.008599035441875458,
0.09454742074012756,
0.08175607025623322,
0.5039803385734558,
0.19779939949512482,
-0.14247998595237732,
-0.2865907847881317,
-0.24982823431491852,
-0.14933784306049347,
0.22405152022838593,
-0.4184529185295105,
-0.10678507387638092,
-0.26856255531311035,
-0.24229469895362854,
-0.20472697913646698,
-0.07190456986427307,
-0.016793236136436462,
-0.44896551966667175,
0.005010038614273071,
0.15182431042194366,
0.006197948008775711,
0.3030987083911896,
-0.6013816595077515,
0.0058776140213012695,
-0.08647099882364273,
-0.23292551934719086,
0.032457880675792694,
0.09356707334518433,
-0.06044687330722809,
0.06852757930755615,
0.42174971103668213,
-0.0720771923661232,
0.40862199664115906,
-0.37629762291908264,
-0.007417263463139534,
-0.3388206660747528,
-0.3933713138103485,
0.13044577836990356,
-0.18366685509681702,
-0.1250656396150589,
0.20595937967300415,
-0.1281784623861313,
0.0718233659863472,
-0.24804948270320892,
0.27603259682655334,
-0.11072465032339096,
-0.3637884557247162,
0.34888991713523865,
-0.06802225112915039,
-0.12535680830478668,
0.0661044716835022,
-0.18720552325248718,
0.04972514510154724,
-0.18930043280124664,
-0.10384474694728851,
0.1431145817041397,
0.19155281782150269,
0.12642981112003326,
-0.0539284385740757,
0.011593892239034176,
-0.12193343043327332,
0.03987545147538185,
-0.2980486750602722,
-0.7423326373100281,
0.313131719827652,
0.11927656829357147,
-0.31825342774391174,
0.04956081137061119,
-0.17072483897209167,
0.3542902171611786,
0.14682047069072723,
-0.36937910318374634,
-0.17132112383842468,
-0.2785032093524933,
0.1162872463464737,
0.23310323059558868,
-0.08345186710357666,
0.18357351422309875,
0.030600085854530334,
-0.13303111493587494,
-0.24430307745933533,
-0.21486705541610718,
0.0168948695063591,
-0.04856623709201813,
0.4133816659450531,
-0.0333932526409626,
0.10242538154125214,
-0.04862917214632034,
0.20946434140205383,
0.4455326795578003,
0.042327918112277985,
0.20850931107997894,
0.04809938371181488,
0.18762323260307312,
-0.014020279049873352,
-0.13571806252002716,
-0.07115380465984344,
-0.044273942708969116,
-0.06391820311546326,
-0.0066504329442977905,
0.03910999000072479,
-0.12784792482852936,
-0.06850839406251907,
-0.1170438826084137,
-0.31999850273132324,
-0.2795659601688385,
-0.06688693165779114,
0.09043887257575989,
0.14930680394172668,
-0.001491200178861618,
-0.0052628181874752045,
-0.1785067617893219,
-0.3565359115600586,
0.1521437019109726,
0.21700513362884521,
-0.17445573210716248,
-0.17459170520305634,
-0.49242544174194336,
0.00414960365742445,
-0.10695663839578629,
0.32338184118270874,
0.1473417580127716,
0.4286055266857147,
0.21167881786823273,
-0.37605175375938416,
-0.08166411519050598,
-0.1497650295495987,
0.10310617834329605,
-0.24250440299510956,
0.21779726445674896,
0.10350389778614044,
-0.04819445312023163,
-0.02653438039124012,
-0.19187255203723907,
0.11493568122386932,
-0.002527432981878519,
0.16552074253559113,
0.2685180902481079,
-0.23464560508728027,
0.14526398479938507,
-0.02953394502401352,
0.3136294186115265,
-0.1527007520198822,
-0.4428795874118805,
-0.3834012448787689,
-0.1629614233970642,
-0.3704167902469635,
-0.06292618066072464,
0.021822618320584297,
0.14007017016410828,
-0.19094446301460266,
-0.14445236325263977,
-0.06946234405040741,
-0.0678829699754715,
0.3168793320655823,
0.23702992498874664,
0.20622313022613525,
-0.2536758482456207,
0.365437388420105,
-0.11712349951267242,
-0.01693781465291977,
0.2689040005207062,
0.7531978487968445,
-0.030584905296564102,
-0.39542698860168457,
0.030283313244581223,
-0.16936704516410828,
-0.06653901189565659,
-0.014106154441833496,
-0.0327334851026535,
-0.01620551198720932,
0.15174022316932678,
-0.062242209911346436,
-0.15753985941410065,
-0.203682079911232,
-0.04833346605300903,
0.22887688875198364,
-0.423962265253067,
-0.13192544877529144,
0.13088607788085938,
0.08479119837284088,
-0.14672209322452545,
0.4426228702068329,
-0.052427902817726135,
-0.0910368338227272,
0.27534371614456177,
0.16846857964992523,
0.8717606663703918,
-0.0512087419629097,
-0.09946814179420471,
0.0763656347990036,
0.20212461054325104,
0.1446133255958557,
-0.16825324296951294,
0.1350899338722229,
-0.43507903814315796,
-0.6287295818328857,
0.004144566133618355,
-0.26855725049972534,
0.20252609252929688,
-0.19626478850841522,
-0.09231612086296082,
0.3878506124019623,
-0.09870371967554092,
0.1237935870885849,
0.20187073945999146,
0.011439524590969086,
-0.43749621510505676,
-0.026864193379878998,
0.07124628126621246,
0.22763890027999878,
0.05874849855899811,
0.20367567241191864,
-0.05537790432572365,
0.11798121780157089,
-0.2812163233757019,
-0.2638796865940094,
-0.3471508026123047,
0.3488331735134125,
0.07789816707372665,
-0.12292759120464325,
0.4883594810962677,
0.2662171721458435,
-0.3097835183143616,
0.05115371197462082,
0.28548765182495117,
0.02314484491944313,
-0.22502687573432922,
0.07860155403614044,
0.4440862536430359,
0.20150282979011536,
0.13024954497814178,
-0.24968551099300385,
0.29036974906921387,
-0.12832672894001007,
-0.19639500975608826,
0.18580231070518494,
0.06159711629152298,
-0.48150062561035156,
0.08754429221153259,
-0.007331691682338715,
-0.04421279579401016,
-0.34076642990112305,
0.03752017021179199,
-0.07595045864582062,
0.06886723637580872,
-0.27423354983329773,
0.22076530754566193,
0.329029381275177,
-0.1393425613641739,
0.3562057912349701,
0.07485350221395493,
-0.3646817207336426,
-0.042653586715459824,
0.2817496955394745,
0.17356598377227783,
-0.18915432691574097,
0.22647497057914734,
-0.19318391382694244,
-0.10061996430158615,
-0.1906173825263977,
-0.1155930906534195,
0.031186863780021667,
-0.5041503310203552,
-0.16318656504154205,
-0.3339094817638397,
0.1576576679944992,
0.05741302669048309,
0.5105568766593933,
0.38016974925994873,
0.18960821628570557,
0.1466318964958191,
-0.6660600304603577,
-0.06759349256753922,
-0.04244033247232437,
0.06346449255943298,
0.3167290985584259,
-0.4134940803050995,
0.05308244004845619,
-0.06829825043678284,
-0.09367448836565018,
-0.3692777156829834,
-0.09857784956693649,
-0.38527095317840576,
-0.016271743923425674,
-0.11740992963314056,
0.18394699692726135,
0.1652398407459259,
-0.07438012957572937,
0.28000113368034363,
0.24559347331523895,
-0.11958792805671692,
-0.2592179477214813,
-0.15499989688396454,
0.10476600378751755,
0.18967202305793762,
-0.011439591646194458,
0.01360329519957304,
0.06331824511289597,
0.15884912014007568,
-0.09202737361192703,
-0.09961618483066559,
0.09857582300901413,
-0.11064770817756653,
0.09286659955978394,
0.17484323680400848,
-0.08877568691968918,
-0.03213945031166077,
-0.04380645602941513,
-0.3251338005065918,
-0.06985192000865936,
0.040202658623456955,
-0.09064312279224396,
-0.18920283019542694,
0.09532888233661652,
0.2777130901813507,
0.17624160647392273,
0.08101198822259903,
0.02654113993048668,
0.33242911100387573,
-0.09430462121963501,
0.0206584595143795,
0.4051463007926941,
0.1399492621421814,
0.2435215711593628,
-0.42156466841697693,
-0.03856322169303894,
0.26897674798965454,
0.31313470005989075,
-0.35868915915489197,
-0.11217654496431351,
0.11755551397800446,
0.11736749857664108,
0.07978357374668121,
0.17987653613090515,
0.1612968146800995,
-0.5458699464797974,
0.4618988633155823,
-0.032245248556137085,
0.38889071345329285,
-0.284993052482605,
0.18316598236560822,
0.5313941836357117,
-0.02150987833738327,
0.061713822185993195,
0.12704013288021088,
-0.23032063245773315,
-0.1674502193927765,
-0.1472911834716797,
-0.10497469455003738,
0.36620739102363586,
-0.18896523118019104,
0.20667144656181335,
-0.29728230834007263,
-0.447263240814209,
0.45381566882133484,
0.2133939415216446,
-0.030584082007408142,
0.03548102080821991,
0.1646607667207718,
0.09588078409433365,
0.17506259679794312,
0.420563668012619,
-0.50757896900177,
-0.0649639368057251,
0.022417474538087845,
-0.02253456972539425,
-0.23021678626537323,
-0.19382929801940918,
-0.04233211651444435,
-0.03174327313899994,
0.08550898730754852,
-0.017386823892593384,
0.28951966762542725,
0.05983817204833031,
-0.17412440478801727,
-0.21488656103610992,
-0.1761932373046875,
0.10196564346551895,
0.09378999471664429,
-0.19924531877040863,
0.2717069983482361,
0.1504935920238495,
-0.18223804235458374,
0.1475267857313156,
0.3098785877227783,
0.48037615418434143,
0.4499056935310364,
0.14496654272079468,
0.027056220918893814,
-0.035290442407131195,
0.10429248213768005,
-0.012768412008881569,
0.7162986397743225,
-0.07701945304870605,
-0.10099785029888153,
0.3230312764644623,
0.22794455289840698,
-0.21157817542552948,
-0.09685292840003967,
-0.18523816764354706,
0.02825074829161167,
-0.04238178953528404,
0.3545823097229004,
0.13362491130828857,
0.4088810682296753,
-0.009505748748779297,
0.3003826439380646,
-0.4132019579410553,
-0.23743893206119537,
0.23985186219215393,
0.06590797752141953,
0.21655401587486267,
0.04177721217274666,
0.1170593649148941,
-0.29601168632507324,
0.13310034573078156,
0.2359982132911682,
-0.1698085069656372,
-0.2710564136505127,
-0.2967037558555603,
-0.6457155346870422,
0.47287872433662415,
-0.2820407748222351,
-0.1769152283668518,
0.09929413348436356,
0.08028960973024368,
-0.050043679773807526,
0.227958083152771,
0.3721936345100403,
-0.06880442798137665,
-0.008306514471769333,
0.048832811415195465,
-0.09536770731210709,
-0.08553542196750641,
0.13029775023460388,
-0.23524075746536255,
-0.007150871679186821,
-0.2854888439178467,
0.08214092999696732,
0.17460772395133972,
0.23372861742973328,
-0.018041037023067474,
-0.15915638208389282,
-0.05835022032260895,
0.06917840987443924,
0.2297852635383606,
0.15611675381660461,
0.3788597583770752,
-0.09324318915605545,
-0.10112880170345306,
-0.24257054924964905,
-0.1549386829137802,
-0.07556945830583572,
0.25740495324134827,
0.008806902915239334,
0.061965055763721466,
0.06032119691371918,
0.16055665910243988,
-0.2351340651512146,
0.22478128969669342,
0.14793962240219116,
-0.43256086111068726,
-0.2316598892211914,
0.1714596152305603,
-0.15021160244941711,
0.04496009275317192,
-0.15582770109176636,
0.06663373112678528,
0.19922566413879395,
0.4115888476371765,
-0.06643233448266983,
-0.27015236020088196,
0.36807021498680115,
-0.2642917335033417,
-0.053750261664390564,
-0.1476406753063202,
0.20252032577991486,
-0.20239847898483276,
-0.025999853387475014,
-0.4875919222831726,
0.1114821508526802,
0.35838645696640015,
0.15798482298851013,
-0.08885413408279419,
0.057177525013685226,
-0.2810582220554352,
0.22333680093288422,
0.13260595500469208,
0.2472011297941208,
0.09784705936908722,
-0.08930913358926773,
0.09643840789794922,
-0.06106431782245636
] |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Hi ! Interresting :)
Could you give more details on what kind of separators you would like to use instead ? | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries. | 21 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries.
Hi ! Interresting :)
Could you give more details on what kind of separators you would like to use instead ? | [
-0.5105409026145935,
0.07090319693088531,
-0.16261449456214905,
0.1696150004863739,
-0.16342788934707642,
-0.17726576328277588,
0.5803589820861816,
0.23264862596988678,
0.036054015159606934,
0.16210466623306274,
0.08608246594667435,
0.13267262279987335,
-0.09969516098499298,
0.3431823253631592,
0.025590471923351288,
-0.21699893474578857,
-0.2595997750759125,
0.33399978280067444,
0.1591249257326126,
0.2512859106063843,
-0.20469020307064056,
0.06635017693042755,
-0.1600429117679596,
-0.14605140686035156,
-0.41015422344207764,
-0.011866053566336632,
-0.1335933804512024,
-0.07719647139310837,
-0.18339742720127106,
-0.2509315013885498,
0.17070093750953674,
0.39732077717781067,
-0.13077399134635925,
0.41597703099250793,
-0.00009533940465189517,
-0.18191967904567719,
-0.29804497957229614,
-0.12320195138454437,
-0.24318327009677887,
-0.21087215840816498,
-0.18549257516860962,
-0.4676291048526764,
-0.08389736711978912,
-0.1482422947883606,
-0.22237950563430786,
-0.003766680136322975,
-0.3861866295337677,
0.01264868676662445,
0.26973533630371094,
0.3825807273387909,
0.30113744735717773,
0.07776839286088943,
-0.10198992490768433,
0.001824299106374383,
0.41435346007347107,
0.22413134574890137,
-0.24606531858444214,
-0.1475103199481964,
0.06703801453113556,
0.06682785600423813,
-0.300458699464798,
0.28555548191070557,
-0.18084309995174408,
0.01698392815887928,
0.14831747114658356,
0.27136868238449097,
-0.03321155160665512,
0.005613796412944794,
0.12073173373937607,
0.46960726380348206,
0.3254154920578003,
-0.2517814338207245,
-0.16144129633903503,
-0.5748136043548584,
-0.08916566520929337,
-0.34745004773139954,
0.0015879347920417786,
0.26145172119140625,
-0.25962474942207336,
0.04442529380321503,
-0.18818320333957672,
-0.11399753391742706,
-0.40835368633270264,
-0.16104114055633545,
-0.24926012754440308,
0.11377822607755661,
-0.2341105043888092,
-0.19255036115646362,
0.14700080454349518,
0.00041796639561653137,
0.19999752938747406,
-0.29611802101135254,
0.06754881143569946,
0.02463558129966259,
-0.04940669611096382,
-0.14872735738754272,
-0.1958460807800293,
-0.21961909532546997,
0.16289228200912476,
0.1729707419872284,
0.14163920283317566,
0.04240289330482483,
0.17442674934864044,
-0.06963641196489334,
-0.022826816886663437,
0.06518541276454926,
0.3073052763938904,
0.13300831615924835,
0.11016078293323517,
0.24209873378276825,
-0.030084997415542603,
-0.023357391357421875,
-0.11468423157930374,
-0.29518669843673706,
0.08035485446453094,
0.023234309628605843,
0.12376458942890167,
0.07340632379055023,
-0.16454435884952545,
0.07215122133493423,
0.11376231163740158,
-0.14079192280769348,
0.04624217003583908,
0.05090143904089928,
0.15885837376117706,
-0.12519395351409912,
-0.16734440624713898,
-0.09745796024799347,
-0.07319019734859467,
-0.3160553276538849,
-0.15503238141536713,
-0.16834311187267303,
-0.13877688348293304,
0.09999073296785355,
0.26655450463294983,
-0.11659340560436249,
-0.039864473044872284,
0.19912679493427277,
0.055274445563554764,
-0.15689370036125183,
-0.1390538215637207,
-0.19672468304634094,
0.1644977629184723,
-0.036540474742650986,
-0.02585602179169655,
-0.15197746455669403,
-0.05821872875094414,
-0.19668428599834442,
-0.13170050084590912,
0.19288849830627441,
-0.01601254940032959,
-0.09131688624620438,
-0.3178986608982086,
0.34250396490097046,
0.041941046714782715,
0.012348255142569542,
-0.11864041537046432,
0.30193567276000977,
0.3676421046257019,
0.12978775799274445,
0.2794993221759796,
-0.060486242175102234,
-0.30849000811576843,
-0.12875686585903168,
0.11556682735681534,
0.28838711977005005,
-0.5893888473510742,
-0.18649014830589294,
-0.009642786346375942,
-0.10183696448802948,
0.12311798334121704,
0.1832202821969986,
0.10500704497098923,
0.2665598392486572,
0.012462938204407692,
0.43034154176712036,
0.29954248666763306,
0.2454538643360138,
-0.2903047800064087,
0.34805646538734436,
0.036500588059425354,
0.05867713689804077,
0.23699474334716797,
-0.19761346280574799,
0.6573280096054077,
0.08948861807584763,
0.1872105747461319,
0.30957353115081787,
0.06874173134565353,
0.0860733911395073,
0.04930930957198143,
-0.19009099900722504,
0.028585631400346756,
0.19838406145572662,
-0.007186435163021088,
-0.3065696954727173,
-0.10216964036226273,
-0.3812046945095062,
0.2367325723171234,
-0.2338474690914154,
0.20878174901008606,
0.05719108134508133,
0.2272762805223465,
0.40387189388275146,
-0.05208136886358261,
-0.6515722870826721,
-0.35763511061668396,
0.011942412704229355,
0.08772379904985428,
0.11927804350852966,
-0.0690683126449585,
-0.2320704609155655,
-0.18037936091423035,
0.00044741295278072357,
-0.2596517503261566,
-0.12938827276229858,
0.2495499551296234,
0.037587057799100876,
0.15143103897571564,
-0.24738995730876923,
-0.2637775242328644,
0.0701458752155304,
-0.041609954088926315,
0.32079625129699707,
0.002681422047317028,
0.2481207698583603,
0.09582836180925369,
-0.17603830993175507,
0.0516565665602684,
0.6159965395927429,
0.0032654814422130585,
0.11414157599210739,
0.08232931792736053,
0.28564733266830444,
0.0893702432513237,
-0.16282860934734344,
-0.27900370955467224,
-0.07356877624988556,
0.1858612596988678,
0.06711292266845703,
0.15124265849590302,
-0.0964697003364563,
-0.11959949880838394,
0.03571014851331711,
-0.2586424946784973,
0.5091931819915771,
-0.10787677764892578,
0.3971797525882721,
0.0010356567800045013,
-0.07828041911125183,
0.07508350163698196,
-0.3078019618988037,
0.24346336722373962,
-0.4716215133666992,
0.2531745731830597,
0.013265121728181839,
0.2941814363002777,
0.16537319123744965,
-0.03503471240401268,
0.30173590779304504,
0.36252138018608093,
-0.03431744500994682,
0.09656234085559845,
0.17485767602920532,
-0.1348733901977539,
0.07524341344833374,
-0.08854769915342331,
0.2758379578590393,
0.0042582303285598755,
0.3344571888446808,
0.057465821504592896,
0.13006779551506042,
-0.12215124815702438,
-0.2482266128063202,
0.32045504450798035,
0.009043477475643158,
-0.22356010973453522,
0.4388747215270996,
0.12524054944515228,
-0.10650553554296494,
-0.3016264736652374,
-0.03911915421485901,
-0.20062416791915894,
-0.0012532472610473633,
-0.16681265830993652,
-0.09224841743707657,
-0.2244574874639511,
-0.36207813024520874,
-0.33526310324668884,
-0.26823967695236206,
-0.10995489358901978,
0.04197864979505539,
0.24390621483325958,
-0.0312606580555439,
-0.09087814390659332,
0.08780684322118759,
0.20679409801959991,
0.37760722637176514,
-0.05365792289376259,
-0.045411258935928345,
0.046113237738609314,
-0.230270117521286,
0.07203057408332825,
0.2870161533355713,
0.08114990592002869,
0.31094592809677124,
0.38544929027557373,
-0.0648348331451416,
0.1522287279367447,
-0.13278470933437347,
-0.05010676011443138,
0.18605710566043854,
-0.1564158946275711,
-0.038142718374729156,
0.5177103281021118,
-0.10542954504489899,
0.3196309208869934,
-0.24689018726348877,
0.048794157803058624,
-0.0588911697268486,
-0.31567448377609253,
-0.1668432354927063,
-0.03131742775440216,
-0.058982960879802704,
-0.18337439000606537,
-0.2597483694553375,
-0.1399555504322052,
-0.3942990005016327,
0.3853561282157898,
0.13979248702526093,
0.36230796575546265,
-0.1220880076289177,
0.0187082439661026,
0.10653197020292282,
-0.04538554325699806,
0.001119806431233883,
-0.0969475731253624,
-0.14776231348514557,
0.10106895864009857,
-0.3655277490615845,
-0.026542898267507553,
0.04072907939553261,
-0.12277350574731827,
0.021278847008943558,
0.0033448063768446445,
-0.17546826601028442,
0.27748793363571167,
-0.24423129856586456,
0.35676971077919006,
0.10361425578594208,
0.21207140386104584,
0.2190551608800888,
0.19036538898944855,
-0.07623472064733505,
-0.09622442722320557,
-0.062290117144584656,
0.21350596845149994,
-0.1745707392692566,
-0.12803402543067932,
-0.15733498334884644,
0.41509267687797546,
-0.01502171903848648,
0.3648035526275635,
0.16505445539951324,
0.05654892697930336,
0.013777527958154678,
-0.30300676822662354,
0.052194878458976746,
-0.1443643867969513,
-0.2650170624256134,
-0.049536433070898056,
0.048076264560222626,
0.08824346959590912,
0.32597440481185913,
0.152189701795578,
0.1837823987007141,
0.12087665498256683,
-0.39953815937042236,
0.05003877729177475,
-0.41314563155174255,
0.20703385770320892,
0.014119260013103485,
0.36271581053733826,
-0.2404894232749939,
-0.21040388941764832,
-0.1821114718914032,
-0.1568875014781952,
-0.22878523170948029,
-0.07998907566070557,
0.1699729561805725,
-0.30563241243362427,
-0.2722329795360565,
0.26855865120887756,
-0.14890047907829285,
0.18722748756408691,
0.44253960251808167,
-0.30514806509017944,
0.043194402009248734,
0.04145253449678421,
-0.06380751729011536,
0.220205157995224,
0.4553040862083435,
-0.1749693751335144,
-0.24253995716571808,
-0.024650592356920242,
0.031149975955486298,
-0.2209460437297821,
-0.032345205545425415,
-0.03876682370901108,
0.27331045269966125,
0.16310927271842957,
0.16833245754241943,
-0.426173597574234,
-0.1645204722881317,
0.5156395435333252,
0.2905930280685425,
-0.14546772837638855,
-0.24421007931232452,
-0.021122043952345848,
0.1361079216003418,
-0.23474609851837158,
0.30460381507873535,
0.10262648016214371,
0.3756606876850128,
0.12817595899105072,
-0.15447939932346344,
0.21778373420238495,
-0.23813095688819885,
0.007676735520362854,
-0.039176084101200104,
0.11913777142763138,
-0.33704426884651184,
0.11961755156517029,
0.037112824618816376,
0.0903920978307724,
0.33977317810058594,
0.36989977955818176,
-0.37211811542510986,
-0.48419755697250366,
-0.0865451842546463,
-0.37759929895401,
0.6037836074829102,
0.1884516477584839,
-0.013274624943733215,
0.3208792507648468,
-0.04914145916700363,
0.2529624104499817,
-0.008103550411760807,
-0.19187317788600922,
0.015498580411076546,
0.0630125030875206,
-0.06103944405913353,
-0.5345191359519958,
0.22681862115859985,
-0.16105057299137115,
0.17872361838817596,
0.11943261325359344,
0.12120074778795242,
-0.5102612376213074,
0.2626183032989502,
0.03283469006419182,
0.6449904441833496,
0.33711689710617065,
0.1273728609085083,
-0.05385231226682663,
-0.15858499705791473,
0.21444693207740784,
-0.05004653334617615,
0.07996407896280289,
-0.4085974097251892,
0.02552303671836853,
-0.1104426234960556,
-0.008565820753574371,
0.21507686376571655,
0.2644885182380676,
-0.1347532868385315,
0.11299361288547516,
-0.13380075991153717,
0.27748626470565796,
0.01867602951824665,
0.001813150942325592,
-0.27013805508613586,
-0.43213197588920593,
-0.13547387719154358,
0.11424565315246582,
-0.0011179037392139435,
-0.40235376358032227,
0.04719823971390724,
0.13839375972747803,
0.15744122862815857,
0.029815882444381714,
-0.4279106855392456,
-0.17524611949920654,
-0.42101940512657166,
-0.18389892578125,
0.3456917107105255,
-0.31636476516723633,
0.23300251364707947,
-0.029050026088953018,
0.2160482257604599,
0.2661456763744354,
0.04059283435344696,
0.032160475850105286,
0.02295224741101265,
0.3005962073802948,
0.047151997685432434,
-0.04369909688830376,
0.20348311960697174,
-0.1577674299478531,
-0.24019235372543335,
-0.20493584871292114,
0.23975622653961182,
-0.3901147246360779,
-0.08344116806983948,
-0.037108078598976135,
0.05879807472229004,
-0.5814213156700134,
0.06965453922748566,
-0.19955343008041382,
0.2685628831386566,
-0.3249531388282776,
0.2570614218711853,
-0.04981754720211029,
-0.10538878291845322,
-0.005533814430236816,
-0.24699638783931732,
0.010150372982025146,
-0.15609154105186462,
0.07385870814323425,
0.10714351385831833,
0.037434644997119904,
0.30461788177490234,
0.33055248856544495,
-0.2444334477186203,
-0.49408766627311707,
0.1480526328086853,
0.2835592031478882,
-0.3006591498851776,
0.21177779138088226,
-0.03137483447790146,
-0.15876232087612152,
0.1622488647699356,
0.4409998655319214,
0.06049513444304466,
0.29846739768981934,
-0.15560711920261383,
-0.10393461585044861,
0.019481560215353966,
-0.20932506024837494,
0.26041871309280396,
0.1691957414150238,
0.05220910906791687,
0.40708452463150024,
-0.06619050353765488,
0.06998832523822784,
-0.4569956660270691,
0.2079031616449356,
0.05749208480119705,
-0.039624400436878204,
-0.10305130481719971,
-0.11130435019731522,
-0.02053697779774666,
0.023604992777109146,
0.20948845148086548,
0.18695414066314697,
0.061906877905130386,
-0.40372979640960693,
-0.43322455883026123,
0.022531017661094666,
-0.060807451605796814,
-0.031186724081635475,
-0.1192602664232254,
0.24874247610569,
-0.27511876821517944,
-0.12212751805782318,
0.3600122034549713,
-0.06439702957868576,
-0.022178001701831818,
0.07893868535757065,
-0.057641346007585526,
-0.06420417875051498,
-0.30516767501831055,
-0.0172085240483284,
-0.1450957953929901,
0.17020726203918457,
0.23018251359462738,
0.197581484913826,
-0.32577669620513916,
0.08689656853675842,
0.18381249904632568,
0.20918485522270203,
0.2569136917591095,
-0.04601285606622696,
0.29797297716140747,
-0.12281370162963867,
-0.2992173433303833,
0.16119208931922913,
0.4734063744544983,
0.21982458233833313,
-0.05632377415895462,
0.017826946452260017,
0.08270015567541122,
0.4623861610889435,
-0.24543432891368866,
-0.15774960815906525,
0.38023242354393005,
-0.27895548939704895,
0.3893284797668457,
0.39143991470336914,
0.12932051718235016,
-0.06421540677547455,
-0.03760527819395065,
0.031416404992341995,
0.17523860931396484,
-0.0077481456100940704,
0.06586078554391861,
0.6231891512870789,
0.006998028606176376,
0.06342753022909164,
0.49319925904273987,
0.10904525220394135,
0.34138283133506775,
0.3606380224227905,
-0.019221656024456024,
0.314415842294693,
0.08191703259944916,
0.00273195281624794,
0.2229630947113037,
-0.15369576215744019,
0.03880394622683525,
-0.1182788610458374,
0.04010231792926788,
-0.0325184240937233,
-0.2900087237358093,
0.2536444067955017,
-0.19158248603343964,
0.13606153428554535,
-0.08663754910230637,
0.2512263357639313,
-0.0934118703007698,
-0.08390815556049347,
-0.2922399640083313,
-0.15585263073444366,
-0.06470908224582672,
-0.13352219760417938,
0.016077520325779915,
-0.1066475659608841,
-0.13748687505722046,
-0.1388937532901764,
0.2204912304878235,
-0.03708929568529129,
0.18436452746391296,
-0.32288914918899536,
0.2143983542919159,
-0.19994018971920013,
0.11389453709125519,
0.11891636997461319,
0.02461588755249977,
0.017922373488545418,
0.16570208966732025,
0.11921045184135437,
0.06527687609195709,
-0.0615108348429203,
-0.17119528353214264,
-0.42566344141960144,
-0.02690853364765644,
-0.2033921331167221,
0.13180752098560333,
-0.05050152540206909,
0.35007795691490173,
0.23916469514369965,
0.20385895669460297,
-0.2565518021583557,
0.144100621342659,
0.27207398414611816,
-0.07875937223434448,
-0.3279589116573334,
0.07779595255851746,
0.2685219943523407,
-0.35206902027130127,
-0.060518778860569,
-0.016515664756298065,
-0.10045088827610016,
-0.197696715593338,
0.509071409702301,
-0.17895787954330444,
0.09505825489759445,
-0.005603916477411985,
0.15347203612327576,
0.12196803092956543,
0.38962894678115845,
0.09468004107475281,
0.09377840161323547,
-0.010063917376101017,
-0.24123163521289825,
-0.1804792732000351,
-0.10994159430265427,
-0.05783303454518318,
-0.14912207424640656,
0.20261284708976746,
0.12202142179012299,
-0.10632313042879105,
0.16290588676929474,
-0.002508021891117096,
0.08725231885910034,
0.009572797454893589,
-0.10028597712516785,
-0.3322277069091797,
0.17883488535881042,
0.21256238222122192,
-0.04954688251018524,
0.06763144582509995,
-0.12168141454458237,
0.08227817714214325,
0.08124496042728424,
0.11856121569871902,
-0.035349175333976746,
0.3402523994445801,
0.4187324345111847,
-0.2227921485900879,
-0.16597728431224823,
0.017272165045142174,
0.0753229409456253,
-0.016936447471380234,
0.11326255649328232,
-0.13008029758930206,
0.11901740729808807,
-0.490001380443573,
0.33595868945121765,
0.3456830382347107,
0.27338629961013794,
0.028012776747345924,
-0.0985618531703949,
-0.17972616851329803,
0.25470811128616333,
0.20448578894138336,
0.13941819965839386,
-0.0330810472369194,
0.07532943040132523,
0.05235091596841812,
-0.10423731803894043,
0.0977739468216896,
0.13704654574394226,
-0.24734672904014587,
0.11650435626506805,
0.04381905496120453,
-0.3086133301258087,
-0.030995190143585205,
-0.11477909982204437,
-0.5013336539268494,
-0.05328984186053276,
0.2995172142982483,
0.4748440682888031,
-0.2438252568244934,
-0.5324758291244507,
-0.11863694339990616,
0.358593612909317,
-0.08563750237226486,
-0.12340104579925537,
0.1948442906141281,
0.15246257185935974,
0.05713560804724693,
0.12749171257019043,
0.09628761559724808,
0.1406881958246231,
-0.12840108573436737,
-0.22400154173374176,
-0.3948955535888672
] |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Ok I see, maybe there can be a `sep` parameter to allow users to specify what line/paragraph separator they'd like to use | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries. | 22 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries.
Ok I see, maybe there can be a `sep` parameter to allow users to specify what line/paragraph separator they'd like to use | [
-0.47402480244636536,
0.032496869564056396,
-0.1551949381828308,
0.1238289326429367,
-0.16837181150913239,
-0.17843475937843323,
0.6166978478431702,
0.22916586697101593,
0.020035024732351303,
0.20535904169082642,
0.09697119146585464,
0.12548482418060303,
-0.056737661361694336,
0.3359184265136719,
0.008838631212711334,
-0.21179062128067017,
-0.27594268321990967,
0.3095938563346863,
0.1675323247909546,
0.2514829635620117,
-0.21116198599338531,
0.053963109850883484,
-0.13512003421783447,
-0.1041116714477539,
-0.37379756569862366,
-0.010607665404677391,
-0.11337590217590332,
-0.08286004513502121,
-0.18608000874519348,
-0.23476555943489075,
0.17820467054843903,
0.41162624955177307,
-0.1803232729434967,
0.3764733672142029,
-0.00009333557682111859,
-0.18854185938835144,
-0.29679757356643677,
-0.0933549553155899,
-0.28099241852760315,
-0.22007329761981964,
-0.14262154698371887,
-0.43170952796936035,
-0.08132463693618774,
-0.15905845165252686,
-0.2638038694858551,
-0.0036335960030555725,
-0.3241405189037323,
-0.012926511466503143,
0.28739723563194275,
0.33723220229148865,
0.3278981149196625,
0.124173104763031,
-0.15602338314056396,
0.0015527690993621945,
0.3172157108783722,
0.23654702305793762,
-0.2825537919998169,
-0.2077050358057022,
0.06978768110275269,
0.02051076851785183,
-0.274979829788208,
0.25891780853271484,
-0.16253940761089325,
0.014790406450629234,
0.1825094223022461,
0.231428861618042,
-0.08035304397344589,
0.025384826585650444,
0.09789006412029266,
0.5028624534606934,
0.3203950524330139,
-0.2545522153377533,
-0.16738809645175934,
-0.5474455952644348,
-0.07921486347913742,
-0.3245662450790405,
-0.025596506893634796,
0.27018749713897705,
-0.2906087636947632,
0.04021453857421875,
-0.17841249704360962,
-0.11962631344795227,
-0.36374086141586304,
-0.1488519310951233,
-0.2839439809322357,
0.15226158499717712,
-0.2372271865606308,
-0.20039647817611694,
0.1524234116077423,
-0.023117192089557648,
0.15809735655784607,
-0.30762913823127747,
0.12327802181243896,
0.03437633439898491,
-0.04426949843764305,
-0.16832470893859863,
-0.15287593007087708,
-0.21514412760734558,
0.12330927699804306,
0.15444615483283997,
0.20171521604061127,
0.05877368152141571,
0.14848655462265015,
-0.0681149959564209,
0.024569297209382057,
0.04384239390492439,
0.30953967571258545,
0.11013169586658478,
0.16001033782958984,
0.22055719792842865,
0.030156012624502182,
-0.033863455057144165,
-0.11862045526504517,
-0.2615043818950653,
0.04213948920369148,
-0.0026445910334587097,
0.13545317947864532,
0.0774509608745575,
-0.20924317836761475,
0.07864341884851456,
0.08989690989255905,
-0.11590128391981125,
-0.006562444381415844,
0.04598352685570717,
0.15930193662643433,
-0.14057263731956482,
-0.13419945538043976,
-0.09622420370578766,
-0.07878916710615158,
-0.27625134587287903,
-0.16526305675506592,
-0.16603468358516693,
-0.1836405098438263,
0.13796702027320862,
0.2594224512577057,
-0.12521053850650787,
-0.07522137463092804,
0.1851407289505005,
0.04019550606608391,
-0.15870818495750427,
-0.1426176279783249,
-0.17270097136497498,
0.11408049613237381,
-0.061156321316957474,
-0.053028654307127,
-0.14744000136852264,
-0.04507740959525108,
-0.1616756021976471,
-0.15447287261486053,
0.18500646948814392,
-0.0033074617385864258,
-0.0826660767197609,
-0.2942369878292084,
0.3558356761932373,
0.041558198630809784,
-0.012734703719615936,
-0.07881864160299301,
0.33247923851013184,
0.35101455450057983,
0.11218471825122833,
0.2611929476261139,
-0.00939665362238884,
-0.31728872656822205,
-0.1243906319141388,
0.09825494885444641,
0.3402668237686157,
-0.5613869428634644,
-0.20614378154277802,
-0.03614188730716705,
-0.0909770280122757,
0.07399733364582062,
0.19700664281845093,
0.06267670542001724,
0.26055750250816345,
0.027215177193284035,
0.4517374634742737,
0.31533360481262207,
0.2574656307697296,
-0.24315106868743896,
0.330792099237442,
0.011397629976272583,
0.0754021555185318,
0.22793987393379211,
-0.20272542536258698,
0.605758786201477,
0.04785064607858658,
0.18280373513698578,
0.28921645879745483,
0.10000420361757278,
0.12218189984560013,
0.030393969267606735,
-0.2103390246629715,
-0.004267383366823196,
0.1840367317199707,
0.018433500081300735,
-0.27917808294296265,
-0.05615603178739548,
-0.3116215765476227,
0.24344563484191895,
-0.2434825897216797,
0.20513783395290375,
0.053546637296676636,
0.24862289428710938,
0.38959699869155884,
-0.050998516380786896,
-0.6504823565483093,
-0.3728114068508148,
-0.0019271336495876312,
0.1782890111207962,
0.15113797783851624,
-0.06349091231822968,
-0.2788800299167633,
-0.17680636048316956,
-0.027329357340931892,
-0.23564501106739044,
-0.14701364934444427,
0.28264710307121277,
0.06489938497543335,
0.07648883759975433,
-0.26059582829475403,
-0.255319744348526,
0.09263075888156891,
-0.037237029522657394,
0.3158459961414337,
0.0038095414638519287,
0.22873346507549286,
0.09011398255825043,
-0.14297381043434143,
0.025179415941238403,
0.6023528575897217,
-0.024708226323127747,
0.10589904338121414,
0.10093950480222702,
0.286311537027359,
0.02637254260480404,
-0.11248227953910828,
-0.2644974887371063,
-0.02954690158367157,
0.162229523062706,
0.0562579520046711,
0.1723574846982956,
-0.1313210129737854,
-0.13377879559993744,
0.04917915165424347,
-0.267743855714798,
0.4793365001678467,
-0.0767822265625,
0.378678560256958,
0.02435646951198578,
-0.08209946006536484,
0.012905677780508995,
-0.3038105070590973,
0.21267545223236084,
-0.4468042850494385,
0.23792774975299835,
0.05869676172733307,
0.28055572509765625,
0.16004113852977753,
-0.08104468882083893,
0.3153683841228485,
0.3525792956352234,
0.015165403485298157,
0.12724803388118744,
0.1436394453048706,
-0.10638896375894547,
0.08030281215906143,
-0.07973083853721619,
0.23140905797481537,
0.00646161288022995,
0.3390575051307678,
0.08647746592760086,
0.12552589178085327,
-0.12357664853334427,
-0.2645679712295532,
0.26334694027900696,
0.010181710124015808,
-0.21393175423145294,
0.39013513922691345,
0.10963068157434464,
-0.08696401864290237,
-0.33843114972114563,
-0.00907200202345848,
-0.16952069103717804,
-0.034944191575050354,
-0.16024811565876007,
-0.05446513742208481,
-0.2266969084739685,
-0.34749338030815125,
-0.3482074439525604,
-0.2666228115558624,
-0.08455437421798706,
-0.0017943205311894417,
0.2774222195148468,
-0.053938936442136765,
-0.10610947012901306,
0.07006192952394485,
0.19785349071025848,
0.45192140340805054,
-0.08268658071756363,
-0.041971489787101746,
0.040970683097839355,
-0.2497226446866989,
0.10565684735774994,
0.32480448484420776,
0.07761852443218231,
0.2915724813938141,
0.3854215145111084,
-0.03845825791358948,
0.12911394238471985,
-0.16798000037670135,
-0.06725003570318222,
0.18114154040813446,
-0.13590241968631744,
-0.0011819321662187576,
0.4786897897720337,
-0.08420325815677643,
0.347481369972229,
-0.22306114435195923,
0.05254560336470604,
-0.024633264169096947,
-0.32395797967910767,
-0.17756816744804382,
0.003653958672657609,
-0.03934774175286293,
-0.23399552702903748,
-0.2548280358314514,
-0.10625489056110382,
-0.40065884590148926,
0.39925068616867065,
0.11503513157367706,
0.3221507668495178,
-0.10600442439317703,
0.030798818916082382,
0.06195029988884926,
-0.026045745238661766,
0.030269067734479904,
-0.13826149702072144,
-0.11472180485725403,
0.04224593564867973,
-0.3550351560115814,
-0.03956599906086922,
-0.012576710432767868,
-0.06614381074905396,
0.04802898317575455,
0.044255126267671585,
-0.1804817020893097,
0.21005603671073914,
-0.2275768667459488,
0.35561466217041016,
0.1159961074590683,
0.19020630419254303,
0.24427790939807892,
0.17163021862506866,
-0.1048588752746582,
-0.10620878636837006,
-0.06260272860527039,
0.2017572522163391,
-0.19529318809509277,
-0.13955342769622803,
-0.1746312975883484,
0.3729285001754761,
0.057280879467725754,
0.38040459156036377,
0.1549258530139923,
0.046523384749889374,
0.05870402604341507,
-0.2712293863296509,
0.1022735983133316,
-0.14806604385375977,
-0.2596626877784729,
-0.005514470860362053,
0.051689743995666504,
0.10020196437835693,
0.3416862487792969,
0.143388569355011,
0.1437259018421173,
0.12978582084178925,
-0.37301287055015564,
0.018681176006793976,
-0.4232412576675415,
0.1926834136247635,
0.05738726630806923,
0.38828009366989136,
-0.17571263015270233,
-0.17309615015983582,
-0.17830173671245575,
-0.14553764462471008,
-0.21811185777187347,
-0.011882901191711426,
0.15619060397148132,
-0.28036606311798096,
-0.19670052826404572,
0.2839771807193756,
-0.1346358358860016,
0.2026776522397995,
0.40968841314315796,
-0.31362342834472656,
0.027444202452898026,
0.0016553625464439392,
-0.05274665355682373,
0.1756209284067154,
0.42419421672821045,
-0.13971556723117828,
-0.29693371057510376,
-0.04886912554502487,
0.03600315749645233,
-0.23156867921352386,
0.008128173649311066,
-0.024351542815566063,
0.22237278521060944,
0.17555709183216095,
0.19924160838127136,
-0.45957866311073303,
-0.18849393725395203,
0.5015146732330322,
0.24601879715919495,
-0.12790822982788086,
-0.2402917444705963,
0.003498867154121399,
0.18250691890716553,
-0.2233494222164154,
0.29384157061576843,
0.07803776860237122,
0.3163377046585083,
0.13920587301254272,
-0.14159640669822693,
0.2051856517791748,
-0.2185021936893463,
-0.00183027982711792,
-0.014059221372008324,
0.09436378628015518,
-0.3494328260421753,
0.07713465392589569,
0.02252318523824215,
0.05380824953317642,
0.34885677695274353,
0.3698965013027191,
-0.3721771836280823,
-0.401249498128891,
-0.06528490036725998,
-0.30573955178260803,
0.557864785194397,
0.26571422815322876,
0.0015902332961559296,
0.28091609477996826,
-0.05304359644651413,
0.2523077726364136,
-0.02611968293786049,
-0.14729823172092438,
0.062307171523571014,
0.07447074353694916,
-0.04653700441122055,
-0.5615861415863037,
0.23129570484161377,
-0.14246691763401031,
0.1340491771697998,
0.08461153507232666,
0.16597449779510498,
-0.49225741624832153,
0.20498542487621307,
0.05515286326408386,
0.6634007096290588,
0.30661720037460327,
0.178026482462883,
-0.11126024276018143,
-0.09530289471149445,
0.21173031628131866,
-0.1073513850569725,
0.04256650060415268,
-0.37131574749946594,
0.0740928053855896,
-0.10228005051612854,
0.019089650362730026,
0.2295907437801361,
0.2429559975862503,
-0.13557952642440796,
0.07572229951620102,
-0.06040370836853981,
0.24278800189495087,
0.00021050125360488892,
-0.017030593007802963,
-0.3287833631038666,
-0.4253753423690796,
-0.11905628442764282,
0.1554705649614334,
-0.013183362782001495,
-0.3663106858730316,
0.0383448600769043,
0.14253757894039154,
0.1423959583044052,
0.03978654742240906,
-0.42416107654571533,
-0.16114336252212524,
-0.3900197148323059,
-0.21091952919960022,
0.30705177783966064,
-0.3323214650154114,
0.23163631558418274,
-0.06327816843986511,
0.21501228213310242,
0.2917485237121582,
0.0046397969126701355,
0.016163228079676628,
0.022625423967838287,
0.26535898447036743,
0.011727564036846161,
-0.01975911483168602,
0.24026961624622345,
-0.12169817090034485,
-0.2100505828857422,
-0.20678293704986572,
0.26568803191185,
-0.3811160922050476,
-0.09390605986118317,
-0.031097061932086945,
0.0677097886800766,
-0.6005354523658752,
0.10106365382671356,
-0.1394999623298645,
0.2960270941257477,
-0.3467593193054199,
0.2856592535972595,
-0.0475035160779953,
-0.06094840541481972,
-0.03805781900882721,
-0.20750130712985992,
0.008810333907604218,
-0.16928397119045258,
0.023579634726047516,
0.09470652043819427,
0.05012330412864685,
0.28279465436935425,
0.2939503788948059,
-0.2670970559120178,
-0.5089960694313049,
0.10702834278345108,
0.26278185844421387,
-0.24582168459892273,
0.19402873516082764,
-0.01830727979540825,
-0.20361801981925964,
0.16815416514873505,
0.46390289068222046,
0.019726932048797607,
0.2439943253993988,
-0.16943474113941193,
-0.08129361271858215,
0.08107997477054596,
-0.20099924504756927,
0.19464197754859924,
0.20260292291641235,
0.029002763330936432,
0.44133201241493225,
-0.0618506595492363,
0.03878851979970932,
-0.49070319533348083,
0.14882023632526398,
0.04993489384651184,
-0.041242100298404694,
-0.02134304866194725,
-0.11347880214452744,
0.005478285253047943,
0.0051986947655677795,
0.22040344774723053,
0.20556974411010742,
0.015910862013697624,
-0.43533965945243835,
-0.459920734167099,
0.02528005838394165,
-0.03937641531229019,
-0.018628129735589027,
-0.09132790565490723,
0.2482617348432541,
-0.2131260633468628,
-0.15860207378864288,
0.36891451478004456,
-0.033654309809207916,
-0.004073925316333771,
0.09807820618152618,
0.004504837095737457,
-0.03388670086860657,
-0.21653737127780914,
-0.023855749517679214,
-0.1187470555305481,
0.1554965376853943,
0.19854123890399933,
0.16885235905647278,
-0.35819539427757263,
0.10364069044589996,
0.2099703997373581,
0.2331223487854004,
0.31235623359680176,
0.007593773305416107,
0.2242046594619751,
-0.11319872736930847,
-0.2652896046638489,
0.10412587225437164,
0.4810108542442322,
0.24210771918296814,
-0.03640812635421753,
0.00446959026157856,
0.0884031429886818,
0.4737594425678253,
-0.21071197092533112,
-0.11123033612966537,
0.30628442764282227,
-0.32167795300483704,
0.4248237907886505,
0.4494509696960449,
0.09464462101459503,
-0.04998736456036568,
-0.013462647795677185,
-0.009213058277964592,
0.16518884897232056,
-0.04658835381269455,
0.054551027715206146,
0.5758668184280396,
0.03212923929095268,
0.061613041907548904,
0.5050681829452515,
0.09033628553152084,
0.312486857175827,
0.3264724016189575,
-0.0040128231048583984,
0.25697264075279236,
0.07442829012870789,
0.026054151356220245,
0.22185757756233215,
-0.1273105889558792,
0.10862728953361511,
-0.15316948294639587,
0.05863049253821373,
-0.00605367124080658,
-0.24913230538368225,
0.26322782039642334,
-0.19703605771064758,
0.1584675908088684,
-0.107139952480793,
0.29665109515190125,
-0.1177644208073616,
-0.1339816302061081,
-0.2795614004135132,
-0.15029750764369965,
-0.029343217611312866,
-0.17274019122123718,
0.006822209805250168,
-0.13428905606269836,
-0.14570054411888123,
-0.15735390782356262,
0.2471044361591339,
-0.040495410561561584,
0.179651141166687,
-0.34364527463912964,
0.22951242327690125,
-0.18687476217746735,
0.08998121321201324,
0.02537018060684204,
0.011011157184839249,
-0.011135593056678772,
0.1944531351327896,
0.08241529762744904,
0.05590774118900299,
-0.022842947393655777,
-0.15438811480998993,
-0.42984843254089355,
-0.03676420450210571,
-0.2199048399925232,
0.09451380372047424,
-0.027423933148384094,
0.39087849855422974,
0.2473997324705124,
0.22902439534664154,
-0.29357030987739563,
0.15490339696407318,
0.2431810200214386,
-0.08053696155548096,
-0.3803879916667938,
0.09335988759994507,
0.2484709918498993,
-0.35293227434158325,
-0.041726790368556976,
-0.004269175231456757,
-0.11872738599777222,
-0.18242652714252472,
0.4536190330982208,
-0.1914196014404297,
0.09607374668121338,
-0.04721441492438316,
0.1706967055797577,
0.1965216100215912,
0.3671589493751526,
0.06586764007806778,
0.10034342110157013,
0.030277859419584274,
-0.22546204924583435,
-0.23951637744903564,
-0.08162204176187515,
-0.10450159013271332,
-0.1668473482131958,
0.1468891054391861,
0.10174835473299026,
-0.06454608589410782,
0.20423266291618347,
-0.02813185751438141,
0.09050985425710678,
0.020231857895851135,
-0.10190799832344055,
-0.36986464262008667,
0.13741286098957062,
0.2205093801021576,
-0.09904836863279343,
0.08005909621715546,
-0.08967612683773041,
0.045061562210321426,
0.04721330851316452,
0.15274682641029358,
0.0022717230021953583,
0.29961448907852173,
0.42565906047821045,
-0.17282581329345703,
-0.14910070598125458,
-0.025117358192801476,
0.0648675411939621,
-0.020014982670545578,
0.08639173954725266,
-0.14438404142856598,
0.11552854627370834,
-0.4866451919078827,
0.28511330485343933,
0.31600698828697205,
0.2611701190471649,
-0.00034996215254068375,
-0.15113943815231323,
-0.14554665982723236,
0.21307913959026337,
0.2099570482969284,
0.11247619241476059,
0.021187996491789818,
0.057982541620731354,
0.06996431201696396,
-0.11858487874269485,
0.07211823761463165,
0.1844305694103241,
-0.2072513997554779,
0.08127844333648682,
0.05321367084980011,
-0.3453809916973114,
-0.0302707701921463,
-0.1180926114320755,
-0.46840354800224304,
-0.025223907083272934,
0.2785654067993164,
0.4525906443595886,
-0.2886062562465668,
-0.5620506405830383,
-0.08238615840673447,
0.33727967739105225,
-0.049066171050071716,
-0.10154382884502411,
0.19068454205989838,
0.0866822600364685,
0.03082263097167015,
0.08323822915554047,
0.11274944990873337,
0.1494573950767517,
-0.1512937694787979,
-0.21412701904773712,
-0.39753246307373047
] |
https://github.com/huggingface/datasets/issues/3804 | Text builder with custom separator line boundaries | Thanks for requesting this enhancement. We have recently found a somehow related issue with another dataset:
- #3704
Let me make a PR proposal. | **Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries. | 24 | Text builder with custom separator line boundaries
**Is your feature request related to a problem? Please describe.**
The current [Text](https://github.com/huggingface/datasets/blob/207be676bffe9d164740a41a883af6125edef135/src/datasets/packaged_modules/text/text.py#L23) builder implementation splits texts with `splitlines()` which splits the text on several line boundaries. Not all of them are always wanted.
**Describe the solution you'd like**
```python
if self.config.sample_by == "line":
batch_idx = 0
while True:
batch = f.read(self.config.chunksize)
if not batch:
break
batch += f.readline() # finish current line
if self.config.custom_newline is None:
batch = batch.splitlines(keepends=self.config.keep_linebreaks)
else:
batch = batch.split(self.config.custom_newline)[:-1]
pa_table = pa.Table.from_arrays([pa.array(batch)], schema=schema)
# Uncomment for debugging (will print the Arrow table size and elements)
# logger.warning(f"pa_table: {pa_table} num rows: {pa_table.num_rows}")
# logger.warning('\n'.join(str(pa_table.slice(i, 1).to_pydict()) for i in range(pa_table.num_rows)))
yield (file_idx, batch_idx), pa_table
batch_idx += 1
```
**A clear and concise description of what you want to happen.**
Creating the dataset rows with a subset of the `splitlines()` line boundaries.
Thanks for requesting this enhancement. We have recently found a somehow related issue with another dataset:
- #3704
Let me make a PR proposal. | [
-0.45031315088272095,
0.0747956931591034,
-0.12883387506008148,
0.2104608565568924,
-0.10137884318828583,
-0.18994033336639404,
0.6217503547668457,
0.22347822785377502,
0.01986819878220558,
0.16700111329555511,
0.06577043980360031,
0.14347819983959198,
-0.05694928020238876,
0.30557936429977417,
0.002609492279589176,
-0.2434878945350647,
-0.2827087342739105,
0.2772156000137329,
0.17726227641105652,
0.23593153059482574,
-0.2001570463180542,
0.1065787822008133,
-0.1743895560503006,
-0.1252591907978058,
-0.42159101366996765,
-0.01565883867442608,
-0.10755316913127899,
-0.07072519510984421,
-0.08527076989412308,
-0.2567596137523651,
0.1928037852048874,
0.30109503865242004,
-0.22998757660388947,
0.4306167662143707,
-0.00009604603110346943,
-0.17212632298469543,
-0.23921500146389008,
-0.08330074697732925,
-0.2608180344104767,
-0.25842076539993286,
-0.14084938168525696,
-0.46685948967933655,
-0.0657953992486,
-0.11729119718074799,
-0.22181791067123413,
0.05091133341193199,
-0.4160744249820709,
0.0028374716639518738,
0.2767488360404968,
0.3362386226654053,
0.3173390030860901,
0.15853822231292725,
-0.13953980803489685,
-0.042330317199230194,
0.42696160078048706,
0.22509729862213135,
-0.26835161447525024,
-0.11774833500385284,
0.07588212937116623,
0.028311362490057945,
-0.29423192143440247,
0.308137983083725,
-0.1828732192516327,
0.0808146595954895,
0.10604411363601685,
0.22696620225906372,
-0.07074917107820511,
-0.0007670558989048004,
0.13203415274620056,
0.4570736587047577,
0.25241151452064514,
-0.209905207157135,
-0.18685173988342285,
-0.594171404838562,
-0.054402630776166916,
-0.34259703755378723,
0.03835520148277283,
0.27961307764053345,
-0.28778713941574097,
0.053204476833343506,
-0.1744438111782074,
-0.060892943292856216,
-0.3819037079811096,
-0.162446990609169,
-0.31512466073036194,
0.09617435932159424,
-0.25844302773475647,
-0.16666465997695923,
0.07744358479976654,
0.02046479657292366,
0.15148986876010895,
-0.256564199924469,
0.09788096696138382,
-0.0068043796345591545,
-0.09843732416629791,
-0.07266949862241745,
-0.16242024302482605,
-0.2292206585407257,
0.12411884218454361,
0.17947937548160553,
0.18016363680362701,
0.08047081530094147,
0.1959434300661087,
-0.06699962913990021,
0.058264974504709244,
0.05831364914774895,
0.2712084650993347,
0.10107993334531784,
0.17002429068088531,
0.3145925998687744,
-0.0751635730266571,
0.0013061761856079102,
-0.10681703686714172,
-0.2777058780193329,
0.11374609172344208,
0.01230399589985609,
0.18064528703689575,
0.016317497938871384,
-0.2668167054653168,
0.1544477790594101,
0.09512072056531906,
-0.1067080870270729,
0.0012156115844845772,
0.02911004051566124,
0.16991464793682098,
-0.09840496629476547,
-0.11373469978570938,
-0.08487212657928467,
-0.08735622465610504,
-0.3259406089782715,
-0.17126385867595673,
-0.23133666813373566,
-0.20533215999603271,
0.10749705135822296,
0.27830132842063904,
-0.12354454398155212,
-0.052357904613018036,
0.21514874696731567,
0.032345350831747055,
-0.16750958561897278,
-0.1942753940820694,
-0.2107166200876236,
0.17645594477653503,
0.025036530569195747,
-0.02467964217066765,
-0.1045440286397934,
-0.06498479843139648,
-0.08163601160049438,
-0.07807701826095581,
0.18719720840454102,
0.020518988370895386,
-0.10498490929603577,
-0.2959197759628296,
0.3364582359790802,
-0.01943691447377205,
0.058145105838775635,
-0.07137935608625412,
0.2770933210849762,
0.4173925220966339,
0.08005909621715546,
0.21241509914398193,
-0.044796742498874664,
-0.33193671703338623,
-0.13180390000343323,
0.12252148240804672,
0.31043803691864014,
-0.5823681354522705,
-0.16043907403945923,
-0.028523482382297516,
-0.0851992815732956,
0.19693227112293243,
0.27061787247657776,
0.05902988463640213,
0.23554399609565735,
-0.05486702919006348,
0.41007041931152344,
0.23781409859657288,
0.2568545341491699,
-0.3561355471611023,
0.3386348783969879,
-0.002162836492061615,
0.1555817425251007,
0.17282965779304504,
-0.3054494261741638,
0.6606845855712891,
0.11492372304201126,
0.2502601146697998,
0.2612510323524475,
0.10061103850603104,
0.10786037892103195,
-0.08085248619318008,
-0.1648235321044922,
-0.01922813430428505,
0.17549552023410797,
0.038928139954805374,
-0.29704758524894714,
-0.03945896774530411,
-0.3648354113101959,
0.20333418250083923,
-0.1742992252111435,
0.25559934973716736,
0.037871353328228,
0.2332725077867508,
0.3847273588180542,
0.015762658789753914,
-0.6501404047012329,
-0.32185858488082886,
0.016022641211748123,
0.05090557783842087,
0.14826086163520813,
-0.13464024662971497,
-0.20813629031181335,
-0.15471705794334412,
0.01505470834672451,
-0.2668057978153229,
-0.16786108911037445,
0.26179227232933044,
0.07042407244443893,
0.05681169405579567,
-0.20585589110851288,
-0.25001856684684753,
0.08715804666280746,
-0.09444419294595718,
0.27975448966026306,
0.07382303476333618,
0.2781916558742523,
0.10519169270992279,
-0.1759430319070816,
-0.027549322694540024,
0.6358810067176819,
0.006106752902269363,
0.0893453061580658,
0.02519904635846615,
0.24278518557548523,
0.0425507016479969,
-0.11914920806884766,
-0.3129197359085083,
-0.1512594372034073,
0.16710904240608215,
0.04839404299855232,
0.1235189214348793,
-0.10085983574390411,
-0.09999435395002365,
0.011266596615314484,
-0.21039164066314697,
0.46414101123809814,
-0.11782275140285492,
0.37212464213371277,
0.005662892013788223,
-0.07735554128885269,
0.09838305413722992,
-0.3224306106567383,
0.2388189435005188,
-0.4719056189060211,
0.27286869287490845,
0.046454720199108124,
0.3311285078525543,
0.1743890941143036,
-0.08011647313833237,
0.32125580310821533,
0.3898848295211792,
-0.009573817253112793,
0.1456761658191681,
0.17182821035385132,
-0.13226231932640076,
0.03920764476060867,
-0.10511831939220428,
0.33136990666389465,
0.07553057372570038,
0.3149421215057373,
0.08399779349565506,
0.13689470291137695,
-0.06851213425397873,
-0.2613489627838135,
0.3387507200241089,
0.07717834413051605,
-0.2015601545572281,
0.5223776698112488,
0.20331768691539764,
-0.03444594517350197,
-0.36354145407676697,
0.005923867225646973,
-0.12252464890480042,
-0.014096656814217567,
-0.22957450151443481,
-0.08907522261142731,
-0.2525796890258789,
-0.2830498218536377,
-0.3814730644226074,
-0.24311907589435577,
-0.11246269941329956,
-0.012714747339487076,
0.21885618567466736,
-0.04750509187579155,
-0.12269487977027893,
0.09220580011606216,
0.22146648168563843,
0.41754212975502014,
-0.09939981997013092,
-0.016171885654330254,
0.07137905061244965,
-0.24386218190193176,
-0.013811171054840088,
0.2630322575569153,
0.0822925940155983,
0.2670972943305969,
0.3506162762641907,
-0.04793929308652878,
0.12770190834999084,
-0.17087368667125702,
-0.1123289167881012,
0.19730032980442047,
-0.09639902412891388,
0.008184455335140228,
0.4884719252586365,
-0.12062978744506836,
0.3457544445991516,
-0.2653592526912689,
0.041911136358976364,
-0.06673514097929001,
-0.3116088807582855,
-0.16181331872940063,
-0.05218546837568283,
-0.062033768743276596,
-0.24847286939620972,
-0.2569600045681,
-0.12129872292280197,
-0.42164725065231323,
0.4431917071342468,
0.048558469861745834,
0.2694498300552368,
-0.10737942159175873,
-0.09001114219427109,
0.12255474925041199,
-0.05683974549174309,
-0.03442712873220444,
-0.17622220516204834,
-0.1278194636106491,
0.1047268807888031,
-0.37784937024116516,
-0.1156514585018158,
0.05127466097474098,
-0.08888021111488342,
0.11138699948787689,
0.07046496868133545,
-0.2511367201805115,
0.3246636986732483,
-0.22527725994586945,
0.40005698800086975,
0.0825536698102951,
0.1319587677717209,
0.20897923409938812,
0.11300083249807358,
-0.10636855661869049,
-0.1593795120716095,
-0.09744870662689209,
0.2232801914215088,
-0.19064027070999146,
-0.12448910623788834,
-0.18435978889465332,
0.4161755442619324,
0.05510285869240761,
0.36143219470977783,
0.12380893528461456,
0.0818403959274292,
0.07595574110746384,
-0.23640114068984985,
0.13488249480724335,
-0.18986067175865173,
-0.29703402519226074,
-0.0018106740899384022,
0.021149158477783203,
0.035595785826444626,
0.33305418491363525,
0.11276855319738388,
0.12148500233888626,
0.11877810955047607,
-0.46243906021118164,
0.06789717823266983,
-0.45600637793540955,
0.1464841514825821,
0.04990815371274948,
0.4184630811214447,
-0.1235615611076355,
-0.1426943689584732,
-0.141610249876976,
-0.14425641298294067,
-0.2125541716814041,
-0.06850665807723999,
0.17718437314033508,
-0.3342885375022888,
-0.2624252736568451,
0.29502159357070923,
-0.1496874988079071,
0.15481919050216675,
0.42860615253448486,
-0.22577527165412903,
-0.011120006442070007,
0.013932909816503525,
-0.02236942946910858,
0.18315944075584412,
0.5062947273254395,
-0.1335955113172531,
-0.2480516880750656,
-0.02812301367521286,
-0.009250663220882416,
-0.2826526165008545,
-0.05445512384176254,
-0.023202991113066673,
0.24434520304203033,
0.2379993349313736,
0.14843246340751648,
-0.4253044128417969,
-0.13063953816890717,
0.5525538921356201,
0.25603726506233215,
-0.09251955151557922,
-0.2095361053943634,
0.01754895970225334,
0.13476908206939697,
-0.1926596313714981,
0.2999759018421173,
0.10247088223695755,
0.3146747052669525,
0.08108774572610855,
-0.1568337380886078,
0.2135181427001953,
-0.21794304251670837,
-0.012897513806819916,
-0.03761056065559387,
0.14748510718345642,
-0.3261497914791107,
0.18676675856113434,
0.044747889041900635,
0.0667385458946228,
0.3689199984073639,
0.4202350676059723,
-0.3620736002922058,
-0.487617552280426,
-0.023025933653116226,
-0.4199163019657135,
0.5337610244750977,
0.3127376437187195,
0.00728693138808012,
0.32185253500938416,
-0.15024149417877197,
0.27316272258758545,
0.03868670016527176,
-0.1961725354194641,
0.07347376644611359,
0.07670538872480392,
-0.015219263732433319,
-0.47605472803115845,
0.18015903234481812,
-0.19774137437343597,
0.13680359721183777,
0.15986593067646027,
0.09311681240797043,
-0.4808254539966583,
0.2744941711425781,
-0.01743847131729126,
0.6881256699562073,
0.3481351137161255,
0.1478031575679779,
-0.04654055833816528,
-0.19808703660964966,
0.22030670940876007,
-0.01391298696398735,
0.05956291779875755,
-0.38382989168167114,
0.05692467838525772,
-0.06147778779268265,
0.04981524124741554,
0.23988783359527588,
0.23346145451068878,
-0.11765362322330475,
0.05906175076961517,
-0.12002657353878021,
0.24480055272579193,
0.020750008523464203,
-0.05075093358755112,
-0.25627169013023376,
-0.4295497536659241,
-0.18478858470916748,
0.11678500473499298,
-0.005233321338891983,
-0.3239198923110962,
0.019720613956451416,
0.12437424808740616,
0.13760225474834442,
0.0075153931975364685,
-0.44217467308044434,
-0.07680723071098328,
-0.39235594868659973,
-0.1386566162109375,
0.3712058365345001,
-0.2901168763637543,
0.26461800932884216,
-0.1287141591310501,
0.20650574564933777,
0.23674947023391724,
-0.015516528859734535,
0.11047196388244629,
0.041610702872276306,
0.27230075001716614,
0.050478290766477585,
-0.026153400540351868,
0.24422843754291534,
-0.15884603559970856,
-0.2943628132343292,
-0.25902268290519714,
0.19935812056064606,
-0.33208155632019043,
-0.1425124704837799,
0.03565691411495209,
0.028840821236371994,
-0.6118537187576294,
0.07906302809715271,
-0.20617777109146118,
0.36627039313316345,
-0.38937169313430786,
0.2618274688720703,
-0.07004900276660919,
-0.08123186230659485,
-0.021747827529907227,
-0.23558147251605988,
-0.03720780089497566,
-0.14078475534915924,
0.12394285202026367,
0.06817570328712463,
0.07286428660154343,
0.3553679585456848,
0.30128148198127747,
-0.2403833121061325,
-0.49408116936683655,
0.1088116392493248,
0.27038124203681946,
-0.35631492733955383,
0.21339985728263855,
-0.08701766282320023,
-0.14299090206623077,
0.1877903938293457,
0.45424705743789673,
0.04224464297294617,
0.20882579684257507,
-0.16479001939296722,
-0.1445043683052063,
0.057557426393032074,
-0.24456782639026642,
0.19976064562797546,
0.13798263669013977,
0.0924818143248558,
0.4372939467430115,
-0.04146627336740494,
0.07666043192148209,
-0.45774367451667786,
0.2534346878528595,
0.04269661754369736,
-0.02450018748641014,
-0.08242792636156082,
-0.20305326581001282,
0.03770698979496956,
-0.002104596234858036,
0.21567213535308838,
0.26010793447494507,
0.059559933841228485,
-0.3957596719264984,
-0.43309083580970764,
0.03337262570858002,
-0.07875965535640717,
-0.018669869750738144,
-0.11775793880224228,
0.26554030179977417,
-0.28227698802948,
-0.10663824528455734,
0.4086621105670929,
-0.014386219903826714,
-0.025687649846076965,
0.038288235664367676,
-0.04371386393904686,
-0.03161817789077759,
-0.22628013789653778,
0.013450134545564651,
-0.1605197936296463,
0.1661287248134613,
0.23325219750404358,
0.17013022303581238,
-0.35389432311058044,
0.09757784008979797,
0.14780160784721375,
0.1281663328409195,
0.18833817541599274,
0.05748169869184494,
0.3115116357803345,
-0.18840563297271729,
-0.25906726717948914,
0.15238994359970093,
0.49033138155937195,
0.2195781022310257,
-0.08093135803937912,
-0.05591842532157898,
0.04087517410516739,
0.44488289952278137,
-0.2796018421649933,
-0.16345751285552979,
0.37201744318008423,
-0.24084506928920746,
0.31771841645240784,
0.32522478699684143,
0.2170184850692749,
-0.07357564568519592,
0.004295185208320618,
0.03605730086565018,
0.23926083743572235,
-0.04519621282815933,
0.09153123199939728,
0.6110450029373169,
0.030824903398752213,
0.10553206503391266,
0.4440590441226959,
0.05184611678123474,
0.32577642798423767,
0.3773939609527588,
0.01232215017080307,
0.317751407623291,
0.045871056616306305,
0.04516492038965225,
0.2516268491744995,
-0.22174890339374542,
0.06626252084970474,
-0.13989195227622986,
0.02245766669511795,
0.03563571721315384,
-0.2896040380001068,
0.2760148048400879,
-0.22506114840507507,
0.09175139665603638,
-0.12278862297534943,
0.2859099805355072,
-0.1475038230419159,
-0.10198448598384857,
-0.2938480079174042,
-0.1641227751970291,
-0.019807353615760803,
-0.10768069326877594,
0.017703058198094368,
0.005574401468038559,
-0.09638766944408417,
-0.11452250182628632,
0.1651131808757782,
-0.058328643441200256,
0.12308681011199951,
-0.34366390109062195,
0.26465076208114624,
-0.1731928139925003,
0.11774490028619766,
0.14742852747440338,
0.006129756569862366,
0.03262770175933838,
0.2070072442293167,
0.1793108880519867,
0.10764697939157486,
-0.005759313702583313,
-0.2560364902019501,
-0.372391015291214,
-0.007455471903085709,
-0.20940032601356506,
0.17837674915790558,
-0.013085760176181793,
0.396423876285553,
0.2681623697280884,
0.18431490659713745,
-0.2724788784980774,
0.16168212890625,
0.300312340259552,
-0.044461727142333984,
-0.3788260817527771,
0.1271330714225769,
0.1879877746105194,
-0.34039199352264404,
-0.13870985805988312,
-0.049315862357616425,
-0.08259104192256927,
-0.2176508605480194,
0.5075961947441101,
-0.1703750193119049,
0.09826670587062836,
-0.028312768787145615,
0.1521330028772354,
0.11195744574069977,
0.392416775226593,
0.04977988451719284,
0.035746343433856964,
0.04274000599980354,
-0.22991664707660675,
-0.24970054626464844,
-0.003291711211204529,
-0.09006863832473755,
-0.09142297506332397,
0.25804221630096436,
0.09511532634496689,
-0.12854641675949097,
0.06823503971099854,
0.011448569595813751,
0.05333289876580238,
0.01145606953650713,
-0.14898113906383514,
-0.4454908072948456,
0.16950754821300507,
0.23280301690101624,
-0.14505520462989807,
0.08850821852684021,
-0.12091345340013504,
0.07010536640882492,
0.07013742625713348,
0.11140341311693192,
0.01634921133518219,
0.2935573160648346,
0.3800860643386841,
-0.15706591308116913,
-0.1368972510099411,
0.026303734630346298,
0.11984532326459885,
0.001226186752319336,
0.07564588636159897,
-0.23577353358268738,
0.05307876691222191,
-0.402448445558548,
0.4099167287349701,
0.30471646785736084,
0.28999683260917664,
0.03882034868001938,
-0.18045105040073395,
-0.1475125402212143,
0.2325151115655899,
0.17530277371406555,
0.1815449297428131,
-0.03478383272886276,
0.07166784256696701,
0.055215589702129364,
-0.06127794831991196,
0.15290258824825287,
0.16875320672988892,
-0.2326468527317047,
0.0756928026676178,
0.010689131915569305,
-0.34185054898262024,
0.020586684346199036,
-0.1657133400440216,
-0.5039239525794983,
-0.07849658280611038,
0.3318510353565216,
0.4348873496055603,
-0.30495917797088623,
-0.6315886378288269,
-0.16003486514091492,
0.375262588262558,
-0.06627271324396133,
-0.14041215181350708,
0.1883900761604309,
0.10393904149532318,
0.022572357207536697,
0.1289731115102768,
0.12773582339286804,
0.15914100408554077,
-0.2173314243555069,
-0.1260528415441513,
-0.33799517154693604
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Same issue with `dataset = load_dataset("dbpedia_14")`
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k'] | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 16 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
Same issue with `dataset = load_dataset("dbpedia_14")`
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=0Bz8a_Dbh9QhbQ2Vic1kxMmZZQ1k'] | [
-0.364902526140213,
0.21770551800727844,
-0.1216040849685669,
0.32967209815979004,
0.1562201976776123,
-0.015408746898174286,
0.2091427892446518,
0.38488590717315674,
0.09182319045066833,
0.039235688745975494,
-0.03399178385734558,
0.07757273316383362,
0.0966651663184166,
0.19676388800144196,
-0.06770526617765427,
0.18782709538936615,
0.29032978415489197,
0.01281941682100296,
-0.21217647194862366,
-0.11104371398687363,
-0.25564026832580566,
0.07958544790744781,
0.05404472351074219,
-0.27959996461868286,
-0.2061442732810974,
0.1816609650850296,
0.03761126846075058,
-0.2781572937965393,
-0.21940021216869354,
-0.22391004860401154,
0.4459537863731384,
0.231239452958107,
0.02213459461927414,
0.3329606354236603,
-0.000114654321805574,
0.18097634613513947,
0.27490606904029846,
-0.0818750336766243,
-0.1815720647573471,
0.057661063969135284,
-0.43515557050704956,
-0.24226047098636627,
-0.192951038479805,
-0.12354644387960434,
-0.1279497742652893,
0.07488144934177399,
-0.0712573304772377,
-0.18212611973285675,
0.02857733517885208,
0.2947608232498169,
0.2457015961408615,
0.2427363395690918,
0.10843817889690399,
-0.027831491082906723,
0.1827467978000641,
-0.06662465631961823,
0.05690259486436844,
0.09228375554084778,
0.04092666134238243,
0.09486131370067596,
-0.21603649854660034,
0.2534380257129669,
-0.04077577590942383,
-0.10191510617733002,
0.11295956373214722,
-0.3297680914402008,
-0.010867871344089508,
-0.2410481572151184,
0.28795740008354187,
0.4076491594314575,
0.6579328775405884,
0.007010377943515778,
-0.3093773424625397,
0.038754262030124664,
-0.14180423319339752,
0.02988848276436329,
0.39590346813201904,
0.11475814878940582,
0.05351046845316887,
0.08629945665597916,
-0.37392953038215637,
0.08448478579521179,
0.03294352442026138,
0.14428192377090454,
-0.12060542404651642,
0.34497398138046265,
0.061106834560632706,
-0.08597946912050247,
0.06566470861434937,
-0.0771889016032219,
0.5353931784629822,
-0.2648795247077942,
-0.39488837122917175,
0.1479445993900299,
-0.31481632590293884,
-0.03986246883869171,
-0.061116524040699005,
0.5671244263648987,
0.27062273025512695,
0.1746230125427246,
-0.15881389379501343,
0.2994793653488159,
-0.2750314474105835,
0.09547670930624008,
0.012135105207562447,
0.012972315773367882,
0.03734976798295975,
0.30752700567245483,
0.2601930797100067,
0.14644460380077362,
-0.04138826206326485,
0.15467569231987,
0.11099399626255035,
-0.3335038125514984,
0.2497599571943283,
-0.020651694387197495,
-0.06735917925834656,
-0.26861780881881714,
-0.22887615859508514,
0.341776967048645,
-0.00018587708473205566,
-0.3383464217185974,
0.18269000947475433,
0.31886082887649536,
-0.20537060499191284,
0.2338353395462036,
-0.22013115882873535,
0.16641643643379211,
-0.11314541846513748,
-0.15446141362190247,
-0.2869797945022583,
0.014722206629812717,
-0.05500847473740578,
-0.11126794666051865,
0.24441589415073395,
-0.15082307159900665,
0.37487515807151794,
-0.01799805834889412,
0.04757204279303551,
-0.22064204514026642,
-0.0010542739182710648,
-0.15820753574371338,
-0.05728375166654587,
0.2545308470726013,
-0.053144630044698715,
0.12984713912010193,
0.07277945429086685,
-0.16042660176753998,
0.0026083141565322876,
0.19671714305877686,
-0.2892290949821472,
-0.1030643880367279,
-0.26470810174942017,
0.2805672585964203,
-0.4615340828895569,
-0.16730691492557526,
-0.26379337906837463,
-0.11851067841053009,
0.23319128155708313,
-0.3584413528442383,
0.012085631489753723,
-0.13076722621917725,
-0.21241818368434906,
-0.15389695763587952,
0.16881465911865234,
0.2531226575374603,
-0.44531744718551636,
0.08306823670864105,
-0.1450188308954239,
-0.21616080403327942,
0.19365733861923218,
0.08662544190883636,
-0.1379619985818863,
0.30384594202041626,
-0.32730117440223694,
-0.02204093709588051,
0.3407531976699829,
-0.42401766777038574,
-0.6227239966392517,
-0.07170739769935608,
0.24784119427204132,
0.22931183874607086,
0.21887195110321045,
0.024555861949920654,
0.12781880795955658,
0.08892878890037537,
-0.1366320103406906,
0.00032214634120464325,
0.26684698462486267,
0.09865205734968185,
-0.2074386477470398,
-0.050546251237392426,
0.2802022397518158,
0.23215191066265106,
0.19899432361125946,
-0.12535056471824646,
0.3417198359966278,
-0.017980653792619705,
0.3225957453250885,
-0.21558013558387756,
-0.024820318445563316,
0.16751793026924133,
0.34928077459335327,
-0.051182910799980164,
0.03671147674322128,
-0.14863809943199158,
-0.24428507685661316,
0.26886022090911865,
-0.11068001389503479,
0.044148337095975876,
-0.048520833253860474,
-0.061156876385211945,
-0.28760960698127747,
-0.2925644814968109,
-0.5006020665168762,
-0.08530281484127045,
0.1696048229932785,
0.3580901622772217,
-0.034422867000103,
0.046070780605077744,
0.028774168342351913,
0.12054800242185593,
-0.41295701265335083,
-0.04331420734524727,
-0.09097282588481903,
0.3206448256969452,
-0.11814313381910324,
0.00786891020834446,
0.11740072071552277,
0.1525287926197052,
0.07915414124727249,
-0.05000972002744675,
-0.19821098446846008,
0.35768499970436096,
0.5002594590187073,
0.19292151927947998,
0.1882387101650238,
0.19371743500232697,
0.052637979388237,
-0.41971519589424133,
-0.02319537289440632,
0.11761780083179474,
0.03879496082663536,
-0.21024444699287415,
-0.19717079401016235,
0.3995683789253235,
-0.032038237899541855,
-0.08317925781011581,
-0.10587994009256363,
-0.02472410723567009,
0.46548256278038025,
0.0004974119365215302,
-0.09167646616697311,
-0.29015636444091797,
0.1740640252828598,
0.1931730955839157,
0.06823670864105225,
0.29720523953437805,
-0.07906068861484528,
-0.14446470141410828,
0.43612954020500183,
-0.08517216145992279,
-0.007531605660915375,
0.008323144167661667,
0.1757785975933075,
-0.02062542736530304,
0.14314091205596924,
0.41083624958992004,
0.24031011760234833,
0.09463262557983398,
0.14719650149345398,
0.07900646328926086,
-0.10759489983320236,
-0.121528759598732,
0.032791219651699066,
-0.12781144678592682,
0.2749174237251282,
0.40407365560531616,
-0.07706742733716965,
-0.11838694661855698,
-0.5369081497192383,
0.11615130305290222,
0.07954317331314087,
0.2669074833393097,
-0.38785654306411743,
-0.22013504803180695,
-0.29548126459121704,
-0.1838362216949463,
-0.34175407886505127,
-0.05922727659344673,
-0.398960679769516,
-0.40879860520362854,
-0.07201280444860458,
0.08786047250032425,
0.15172022581100464,
0.285506933927536,
-0.3101966083049774,
-0.04449479281902313,
-0.11418984085321426,
-0.0902247503399849,
0.024244114756584167,
-0.002612786367535591,
-0.10023096948862076,
0.12116457521915436,
0.5357843041419983,
0.10330280661582947,
0.2642095983028412,
-0.37806642055511475,
0.11682641506195068,
-0.38327720761299133,
-0.3633134663105011,
-0.04761508107185364,
-0.1077931821346283,
0.28397035598754883,
0.06936627626419067,
0.27926504611968994,
-0.2618948221206665,
-0.28035634756088257,
0.014978619292378426,
0.298151433467865,
-0.3457277715206146,
0.10855942964553833,
-0.1944727897644043,
-0.15107294917106628,
0.24300673604011536,
-0.189677894115448,
-0.1954578012228012,
-0.19796650111675262,
-0.13965263962745667,
0.23460753262043,
0.1411793828010559,
-0.10978223383426666,
-0.05667301267385483,
0.1576395183801651,
0.02740120328962803,
0.18843220174312592,
-0.3134535253047943,
-0.5128028988838196,
0.5660226345062256,
-0.08619461953639984,
-0.2589718699455261,
0.1475933939218521,
0.0026124250143766403,
0.3959023356437683,
-0.03701116889715195,
-0.5061172246932983,
-0.059061627835035324,
-0.24512262642383575,
0.21437031030654907,
0.34408318996429443,
0.035833220928907394,
0.26157504320144653,
0.1069055125117302,
0.0754876434803009,
-0.22870460152626038,
-0.2131374031305313,
0.009654514491558075,
-0.16129377484321594,
0.5290941596031189,
-0.29734382033348083,
0.20498540997505188,
-0.15406064689159393,
0.6229286193847656,
0.4757347106933594,
0.11576810479164124,
0.31470662355422974,
0.10231726616621017,
0.41305699944496155,
-0.2773043215274811,
-0.2252027690410614,
-0.012721745297312737,
-0.1273840367794037,
0.015715129673480988,
0.15370988845825195,
-0.23232197761535645,
-0.132277250289917,
-0.19496077299118042,
-0.19737941026687622,
-0.41927725076675415,
-0.09671052545309067,
-0.07906642556190491,
-0.4615335464477539,
0.1865573525428772,
-0.0036945827305316925,
0.11817897111177444,
-0.017658548429608345,
-0.4798569679260254,
0.1129833310842514,
0.3211396038532257,
-0.1637866199016571,
-0.12058456242084503,
-0.5975077748298645,
-0.05488266423344612,
0.04262795299291611,
0.24115821719169617,
0.07283007353544235,
0.4328292906284332,
0.06233196333050728,
0.0557999461889267,
-0.011065863072872162,
-0.06886579096317291,
0.411607563495636,
-0.6017687320709229,
0.15529081225395203,
-0.21246731281280518,
0.1444239467382431,
0.004838816821575165,
-0.22233328223228455,
0.04772639647126198,
-0.1693936586380005,
0.1379280835390091,
0.29818952083587646,
-0.1115620881319046,
0.10644959658384323,
0.2793006896972656,
0.2308184653520584,
-0.2594902217388153,
-0.26746317744255066,
-0.33494794368743896,
-0.12068048119544983,
-0.12420284748077393,
-0.029965490102767944,
-0.016891617327928543,
0.19538556039333344,
-0.10728630423545837,
-0.20222525298595428,
0.025199148803949356,
-0.09953530132770538,
0.3559601902961731,
0.04846090450882912,
0.2284877598285675,
0.269734650850296,
0.22104299068450928,
0.029166821390390396,
0.1537775844335556,
0.3548717796802521,
0.6989085674285889,
-0.3369460105895996,
-0.4483467936515808,
-0.0375567302107811,
-0.43411239981651306,
0.1932954639196396,
0.11247876286506653,
0.14243166148662567,
0.03721367195248604,
0.5796594619750977,
-0.32641881704330444,
0.05139373987913132,
-0.09389029443264008,
0.19321466982364655,
0.14129455387592316,
-0.5615638494491577,
-0.41199249029159546,
-0.004011087119579315,
0.042376432567834854,
-0.09671366959810257,
0.237881138920784,
0.07932481914758682,
-0.23881936073303223,
0.19047124683856964,
0.2530463933944702,
0.8737895488739014,
0.07049182057380676,
-0.07945357263088226,
-0.06427164375782013,
-0.18931794166564941,
0.04642655327916145,
-0.19680668413639069,
-0.08686619997024536,
-0.37432757019996643,
-0.38989999890327454,
-0.18736335635185242,
-0.14230117201805115,
0.18567664921283722,
-0.01371583342552185,
-0.131788432598114,
0.2313338965177536,
-0.1079944595694542,
0.26395025849342346,
-0.024725427851080894,
0.2619432806968689,
-0.004905717447400093,
0.13573522865772247,
0.12205622345209122,
0.13368110358715057,
-0.03852669149637222,
0.07351739704608917,
-0.13242335617542267,
-0.03780050575733185,
-0.10042218863964081,
-0.18286335468292236,
-0.4104844331741333,
0.14449188113212585,
-0.033846668899059296,
0.20342174172401428,
0.21493679285049438,
0.011997640132904053,
-0.04314254969358444,
0.6133930683135986,
0.3136990964412689,
0.18894746899604797,
-0.14168274402618408,
0.3560326099395752,
0.457929402589798,
0.21326225996017456,
0.03842446580529213,
-0.10969170182943344,
0.3922373950481415,
-0.12401627004146576,
-0.34562256932258606,
0.19182726740837097,
-0.19946974515914917,
-0.37623685598373413,
-0.11123106628656387,
-0.21510668098926544,
-0.15973471105098724,
-0.3586970269680023,
-0.1631503701210022,
-0.0849568247795105,
-0.03231237083673477,
-0.22103258967399597,
0.19091370701789856,
0.07017867267131805,
-0.16132937371730804,
0.2884734869003296,
0.1388651579618454,
-0.3214936852455139,
-0.20681607723236084,
0.5858417749404907,
0.1525140255689621,
-0.11720696091651917,
0.6038296222686768,
-0.12535060942173004,
-0.3797367215156555,
-0.18523812294006348,
0.13765260577201843,
0.18809214234352112,
-0.3002539277076721,
-0.38473188877105713,
-0.1628991663455963,
0.10027283430099487,
0.057653557509183884,
0.3911536931991577,
0.40890246629714966,
0.17780081927776337,
0.1010233461856842,
-0.5213760137557983,
-0.12378949671983719,
-0.10298721492290497,
0.060359884053468704,
0.33862653374671936,
-0.2349548041820526,
-0.21205468475818634,
0.0970202311873436,
0.07620325684547424,
-0.3076387047767639,
-0.12856410443782806,
-0.240045964717865,
0.03031688928604126,
-0.18614231050014496,
0.21937289834022522,
-0.014731922186911106,
-0.18348443508148193,
0.19396725296974182,
-0.11730165779590607,
-0.1520414799451828,
-0.206251323223114,
-0.0663025975227356,
0.09665147215127945,
0.251203328371048,
-0.16103069484233856,
0.01810663938522339,
-0.20899540185928345,
-0.055146146565675735,
0.029585428535938263,
-0.05633462965488434,
0.0393204540014267,
-0.048017099499702454,
0.21858704090118408,
0.2485576570034027,
-0.06212028115987778,
-0.009233428165316582,
-0.231853187084198,
-0.285670667886734,
-0.0251905620098114,
0.05252910032868385,
0.045299701392650604,
0.11733155697584152,
-0.10478930175304413,
0.2339228242635727,
0.15720044076442719,
-0.05313022434711456,
0.1304546445608139,
0.1557042896747589,
-0.24665768444538116,
0.08711779117584229,
0.5006185173988342,
0.26812487840652466,
0.45830121636390686,
-0.38003605604171753,
-0.09822861850261688,
0.4022524654865265,
0.21048879623413086,
-0.40919122099876404,
-0.12321996688842773,
0.39932915568351746,
0.09762781113386154,
-0.03071219101548195,
0.02738220989704132,
0.362726092338562,
-0.35087820887565613,
0.4281262755393982,
0.06779208034276962,
-0.06306496262550354,
-0.4628227949142456,
0.5634920597076416,
0.5726667642593384,
-0.18441715836524963,
0.04953042417764664,
0.30091413855552673,
-0.1783202886581421,
-0.28068333864212036,
0.40287184715270996,
0.008277438580989838,
0.27426332235336304,
-0.24742040038108826,
0.18432947993278503,
-0.10225870460271835,
-0.45374831557273865,
0.5784420967102051,
0.026482097804546356,
-0.2526768445968628,
-0.038607142865657806,
0.22832919657230377,
0.22293516993522644,
0.06111741065979004,
0.159856379032135,
-0.635368287563324,
0.011271441355347633,
-0.2033487856388092,
-0.028474468737840652,
-0.20745742321014404,
-0.3816241919994354,
0.003540419042110443,
0.25633278489112854,
0.017901655286550522,
0.1886625587940216,
-0.14549806714057922,
0.15170682966709137,
-0.41865837574005127,
-0.12518681585788727,
0.09556028246879578,
-0.32593926787376404,
0.08533819019794464,
-0.13956332206726074,
0.35514843463897705,
0.020433805882930756,
-0.049184538424015045,
0.09898695349693298,
0.3512273132801056,
0.10856699198484421,
0.3977329134941101,
0.25412818789482117,
-0.0621863417327404,
0.16594040393829346,
0.027818819507956505,
0.032264649868011475,
0.6587764024734497,
0.19221308827400208,
-0.028193574398756027,
0.41930514574050903,
0.17962144315242767,
-0.1312922090291977,
0.1466871052980423,
-0.038448285311460495,
-0.07584232091903687,
-0.06893683969974518,
0.17458026111125946,
0.03792107105255127,
0.1747405230998993,
-0.1830194592475891,
0.07718203961849213,
-0.27788588404655457,
-0.02797788381576538,
0.3013487458229065,
0.11267566680908203,
0.1509110927581787,
-0.1267261654138565,
0.08536460995674133,
0.11634054780006409,
0.45110899209976196,
0.2780212461948395,
-0.13554871082305908,
-0.15408296883106232,
-0.3502715826034546,
-0.7570394277572632,
0.16556943953037262,
-0.13364148139953613,
0.3356766998767853,
-0.09360943734645844,
0.05456501245498657,
-0.016719602048397064,
-0.04224971681833267,
0.36963218450546265,
-0.2891470789909363,
-0.194671630859375,
0.15012884140014648,
-0.15506264567375183,
-0.040661368519067764,
-0.10942734777927399,
0.026042893528938293,
-0.23131243884563446,
-0.25062957406044006,
0.39515575766563416,
0.1664237380027771,
0.11962196975946426,
-0.005504101514816284,
-0.10559698939323425,
-0.05747338384389877,
0.12205870449542999,
0.1461789309978485,
0.027716942131519318,
0.7979419231414795,
-0.06524554640054703,
0.13841725885868073,
-0.13561199605464935,
-0.17059217393398285,
-0.1283741444349289,
0.5534182190895081,
0.003170982003211975,
0.3673010766506195,
0.14790093898773193,
-0.07242582738399506,
-0.12903639674186707,
0.2636115849018097,
0.08060227334499359,
-0.0927160233259201,
-0.28729069232940674,
-0.21510106325149536,
0.04113753139972687,
-0.21457694470882416,
0.2096664011478424,
-0.040519796311855316,
0.002745397388935089,
0.20293810963630676,
-0.06553421914577484,
-0.14404012262821198,
0.18608322739601135,
-0.06197725608944893,
0.02155693992972374,
-0.20461434125900269,
0.025983773171901703,
-0.07861054688692093,
-0.07408815622329712,
-0.6824564337730408,
0.042598240077495575,
0.5329434275627136,
-0.10229235142469406,
0.10658401250839233,
0.25315529108047485,
-0.018286386504769325,
0.36777088046073914,
-0.04148343577980995,
-0.002577275037765503,
0.01995360478758812,
-0.20467683672904968,
-0.07535461336374283,
-0.13085487484931946
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I think this is a side-effect of #3787. The checksums won't match because the URLs have changed. @rafikg @Y0mingZhang, while this is fixed, maybe you can load the datasets as such:
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", ignore_verifications=True)`
`dataset = load_dataset("dbpedia_14", ignore_verifications=True)`
This will, most probably, skip the verifications and integrity checks listed [here](https://huggingface.co/docs/datasets/loading_datasets.html#integrity-verifications) | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 53 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
I think this is a side-effect of #3787. The checksums won't match because the URLs have changed. @rafikg @Y0mingZhang, while this is fixed, maybe you can load the datasets as such:
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", ignore_verifications=True)`
`dataset = load_dataset("dbpedia_14", ignore_verifications=True)`
This will, most probably, skip the verifications and integrity checks listed [here](https://huggingface.co/docs/datasets/loading_datasets.html#integrity-verifications) | [
-0.204592764377594,
0.04998214542865753,
-0.04094046354293823,
0.3436926007270813,
0.3134644627571106,
-0.044294871389865875,
0.13198435306549072,
0.3513379693031311,
0.1909446269273758,
0.17218676209449768,
-0.08478493988513947,
0.03630847856402397,
0.20983809232711792,
0.3477250039577484,
0.09197794646024704,
-0.12288634479045868,
0.14455200731754303,
-0.11807498335838318,
-0.15698285400867462,
-0.056124184280633926,
-0.24544267356395721,
0.20081619918346405,
0.010141097009181976,
-0.14986494183540344,
-0.16155488789081573,
0.14970006048679352,
-0.042269762605428696,
0.006174415349960327,
-0.2791849970817566,
-0.3509843647480011,
0.2837844789028168,
0.25919637084007263,
0.022188391536474228,
0.5167746543884277,
-0.00010590757301542908,
0.18172390758991241,
0.27885085344314575,
-0.054455067962408066,
-0.21857912838459015,
0.005335196852684021,
-0.1336798369884491,
-0.21819140017032623,
-0.09882446378469467,
-0.143514022231102,
-0.19194620847702026,
-0.03847638890147209,
-0.06460750848054886,
0.0666944608092308,
0.2925493121147156,
0.31087052822113037,
0.29333871603012085,
0.45036786794662476,
0.1255125105381012,
-0.08895721286535263,
0.04391871765255928,
-0.17344115674495697,
-0.008453691378235817,
0.234127476811409,
-0.13776865601539612,
0.08823196589946747,
-0.11382054537534714,
0.36343878507614136,
-0.0031582247465848923,
-0.1495632380247116,
0.05918123573064804,
-0.12846247851848602,
-0.07053717225790024,
-0.21264997124671936,
0.27501288056373596,
0.3576303720474243,
0.347584068775177,
0.06031765043735504,
-0.3010667562484741,
-0.1159011721611023,
-0.14583809673786163,
-0.18161232769489288,
0.41230690479278564,
0.06604814529418945,
0.05047979578375816,
0.14047282934188843,
-0.27990221977233887,
0.010035624727606773,
0.08100588619709015,
0.0945102721452713,
-0.1979285627603531,
0.18564890325069427,
-0.008850430138409138,
-0.07588879019021988,
0.29722899198532104,
-0.0708640068769455,
0.08192374557256699,
-0.045396849513053894,
-0.2888202965259552,
0.055568888783454895,
-0.060960348695516586,
-0.03685733675956726,
0.2151448130607605,
0.5738314986228943,
0.40078243613243103,
0.1417338252067566,
-0.14393256604671478,
0.35080769658088684,
-0.31130221486091614,
0.023525185883045197,
-0.04909895732998848,
0.22951434552669525,
-0.0026491284370422363,
0.17446576058864594,
0.40239590406417847,
0.4902510643005371,
-0.026967722922563553,
0.09506602585315704,
0.1599121391773224,
-0.32083433866500854,
-0.0654284656047821,
0.07288599759340286,
-0.006220391020178795,
-0.27693018317222595,
-0.10625207424163818,
0.21256975829601288,
0.03409571200609207,
-0.15049059689044952,
0.04872234910726547,
0.4110960364341736,
-0.16100098192691803,
0.08752718567848206,
-0.016991494223475456,
0.2025013267993927,
-0.27129319310188293,
-0.153772234916687,
-0.25719669461250305,
-0.052893493324518204,
-0.13755124807357788,
0.22964157164096832,
0.23755647242069244,
-0.16995397210121155,
0.43238556385040283,
0.000910390168428421,
0.12978076934814453,
-0.1600056290626526,
-0.08948107063770294,
-0.06719031929969788,
0.04849696904420853,
0.3409521281719208,
0.044833119958639145,
0.03264359384775162,
0.14135003089904785,
-0.3650873303413391,
-0.05377308279275894,
-0.036186665296554565,
-0.27024248242378235,
-0.2387632429599762,
-0.12218555808067322,
0.2776729464530945,
-0.3826919198036194,
-0.15819132328033447,
-0.3471926152706146,
0.08155138790607452,
0.07404521107673645,
-0.23564955592155457,
0.021273456513881683,
-0.05529647320508957,
-0.43796995282173157,
-0.06905198097229004,
0.2973083257675171,
0.47897589206695557,
-0.17680902779102325,
-0.13517430424690247,
0.10879968851804733,
-0.2522643506526947,
-0.13228735327720642,
0.22609104216098785,
-0.1989186853170395,
0.21802300214767456,
-0.3373156785964966,
0.05703151226043701,
0.018521487712860107,
-0.45698782801628113,
-0.4088691771030426,
-0.09326473623514175,
0.053114958107471466,
0.29251828789711,
0.046423330903053284,
-0.2249041199684143,
0.0804271399974823,
0.04887457937002182,
-0.08673939108848572,
0.15012970566749573,
0.25058045983314514,
0.1453009694814682,
-0.40232744812965393,
-0.17533794045448303,
0.19317743182182312,
0.14859522879123688,
0.13210506737232208,
-0.06947966665029526,
0.106965571641922,
-0.18475733697414398,
0.2373340129852295,
-0.279136061668396,
-0.024746393784880638,
0.20789001882076263,
0.36261120438575745,
0.11076154559850693,
0.0376182496547699,
-0.05139586329460144,
-0.3563479781150818,
0.2752533257007599,
-0.053293295204639435,
0.405498743057251,
-0.11762239038944244,
-0.2050199955701828,
-0.23046910762786865,
-0.1972169429063797,
-0.46261462569236755,
-0.3365750312805176,
0.216902956366539,
0.17905071377754211,
0.08146384358406067,
0.24753083288669586,
0.031234193593263626,
0.11898524314165115,
-0.33119529485702515,
0.1841161698102951,
-0.25199124217033386,
0.393030047416687,
-0.2363094538450241,
0.1076003909111023,
0.051253192126750946,
0.11296394467353821,
0.1015021800994873,
-0.13428884744644165,
-0.07107499986886978,
0.48316264152526855,
0.26151296496391296,
0.12376200407743454,
0.2876462936401367,
0.3033977150917053,
0.24250563979148865,
-0.3200923502445221,
-0.13113492727279663,
0.0922805517911911,
0.00672697089612484,
0.04744572192430496,
-0.304823637008667,
0.5961132049560547,
-0.06121475622057915,
0.014872536063194275,
0.1740211695432663,
-0.029864855110645294,
0.5489338040351868,
-0.05554265156388283,
-0.22399985790252686,
-0.31514596939086914,
0.1672944575548172,
0.06722947210073471,
-0.11683550477027893,
0.15036025643348694,
-0.21752822399139404,
0.001941576600074768,
0.41429969668388367,
-0.11082500219345093,
-0.06755901128053665,
0.0943150594830513,
0.13728280365467072,
-0.06891395896673203,
0.08704032003879547,
0.3184409737586975,
0.1427510380744934,
0.167480006814003,
0.0931454449892044,
0.23299920558929443,
-0.12948323786258698,
-0.17690549790859222,
0.1441846787929535,
-0.14969027042388916,
0.12181363254785538,
0.3058902621269226,
-0.001751753967255354,
-0.08594060689210892,
-0.669603168964386,
0.1511678248643875,
0.0378384068608284,
0.18723846971988678,
-0.39232513308525085,
-0.026211770251393318,
-0.2305263876914978,
-0.1947759985923767,
-0.39270398020744324,
-0.07570958137512207,
-0.5519013404846191,
-0.3827618956565857,
0.09021846950054169,
0.124961718916893,
-0.12059105932712555,
0.3284860849380493,
-0.11088001728057861,
0.1560673713684082,
-0.040197256952524185,
-0.06151638180017471,
-0.04403162747621536,
-0.11023694276809692,
-0.12020253390073776,
0.07234026491641998,
0.5180631279945374,
0.1345641165971756,
0.3707781434059143,
-0.443065881729126,
-0.04747946560382843,
-0.5338807106018066,
-0.5941337943077087,
0.08551262319087982,
-0.2172042578458786,
0.34677964448928833,
0.07188817113637924,
0.32224786281585693,
-0.16530731320381165,
-0.2213834673166275,
0.2801699936389923,
-0.011965799145400524,
-0.2537446916103363,
0.06004396080970764,
-0.08280867338180542,
-0.07956936210393906,
-0.031091410666704178,
-0.28784558176994324,
-0.07539138197898865,
-0.16124863922595978,
0.14512841403484344,
0.1559240072965622,
0.13181421160697937,
0.20219415426254272,
0.10263396799564362,
0.13914437592029572,
-0.1262359619140625,
0.13837720453739166,
-0.469217449426651,
-0.5948306918144226,
0.3494369685649872,
-0.3374530076980591,
-0.42910221219062805,
0.12597015500068665,
0.03872467577457428,
0.32644036412239075,
-0.10507339984178543,
-0.5396084189414978,
-0.4145406484603882,
-0.16476552188396454,
0.3804253935813904,
0.28905054926872253,
0.10395266860723495,
0.30478233098983765,
0.03485811874270439,
-0.10624714940786362,
-0.140403151512146,
-0.2749335467815399,
0.07728268206119537,
-0.1626512110233307,
0.3549122214317322,
-0.3090600073337555,
0.22926142811775208,
-0.03773895278573036,
0.6058030128479004,
0.22949424386024475,
0.18014036118984222,
0.34836357831954956,
-0.025935495272278786,
0.49312418699264526,
-0.3707180619239807,
-0.18379350006580353,
-0.03137276694178581,
-0.24511516094207764,
0.02072424441576004,
0.2558886408805847,
-0.09160398691892624,
0.11617325991392136,
-0.249236062169075,
-0.009101035073399544,
-0.3706532418727875,
-0.3378812074661255,
-0.05052267014980316,
-0.05822378396987915,
0.21485453844070435,
0.16242648661136627,
0.042151711881160736,
-0.12038220465183258,
-0.33020997047424316,
0.2743931710720062,
0.4070272445678711,
-0.09985815733671188,
-0.09923795610666275,
-0.5904608964920044,
-0.08424483984708786,
-0.13828477263450623,
0.26176661252975464,
0.13187183439731598,
0.2611728012561798,
-0.025594845414161682,
-0.0999007523059845,
0.06319500505924225,
-0.13502858579158783,
0.47004151344299316,
-0.440686970949173,
0.10026982426643372,
-0.19985035061836243,
-0.1280117630958557,
0.03924406319856644,
-0.14759017527103424,
0.00541146844625473,
-0.2205696403980255,
0.08329333364963531,
0.5316203236579895,
-0.3768821358680725,
-0.02477162890136242,
0.20808467268943787,
0.2551955580711365,
-0.1853654384613037,
0.04500691220164299,
-0.5225487947463989,
-0.27432215213775635,
-0.2673296630382538,
0.11754972487688065,
0.07306571304798126,
0.1927991509437561,
-0.2835998833179474,
0.03918228670954704,
0.12826280295848846,
0.012877579778432846,
0.16726654767990112,
0.18112899363040924,
0.2546111047267914,
0.26723113656044006,
0.08963865041732788,
0.1617836356163025,
0.02238800749182701,
0.2730724513530731,
0.7549672722816467,
-0.3580092191696167,
-0.43377774953842163,
-0.20949867367744446,
-0.2586934566497803,
-0.025675766170024872,
0.3565623164176941,
0.1385074406862259,
0.031464945524930954,
0.5810592174530029,
-0.031019583344459534,
-0.12480837851762772,
-0.018695944920182228,
0.23881091177463531,
0.16844132542610168,
-0.34034377336502075,
-0.21738684177398682,
0.14920729398727417,
0.0670274943113327,
-0.02657633274793625,
0.21557290852069855,
0.5241723656654358,
-0.29154345393180847,
0.2677409052848816,
0.10469523072242737,
0.9712947010993958,
-0.051300905644893646,
0.014625638723373413,
0.28266820311546326,
-0.06466929614543915,
0.16005486249923706,
-0.1889655739068985,
0.0606071837246418,
-0.24480494856834412,
-0.3718187212944031,
-0.054214660078287125,
0.046383168548345566,
0.16433186829090118,
-0.2394157499074936,
-0.17026445269584656,
0.20866850018501282,
0.019981749355793,
0.2297164648771286,
-0.04850063472986221,
0.29353031516075134,
-0.1094706580042839,
0.007714740000665188,
-0.23933148384094238,
0.22053568065166473,
0.04131961241364479,
0.16960051655769348,
-0.16458970308303833,
-0.08667726069688797,
-0.08944976329803467,
-0.2595410943031311,
-0.22034163773059845,
0.016059212386608124,
-0.08856339752674103,
0.09886752814054489,
0.23920296132564545,
-0.0535307377576828,
-0.1691369116306305,
0.3666541874408722,
0.40797483921051025,
0.08908260613679886,
-0.3205656111240387,
0.29682764410972595,
0.03753575682640076,
0.03413819149136543,
-0.07542788982391357,
-0.16836698353290558,
0.40825197100639343,
-0.14200767874717712,
-0.3042789399623871,
0.01518261805176735,
-0.1526315063238144,
-0.2408711165189743,
-0.06590437144041061,
-0.22783567011356354,
-0.3441035747528076,
-0.3126770555973053,
0.01359863206744194,
-0.03723224997520447,
-0.011477680876851082,
-0.28911033272743225,
0.21875745058059692,
-0.16645310819149017,
-0.15359032154083252,
-0.09677090495824814,
0.3619915544986725,
-0.2586089074611664,
-0.13002510368824005,
0.5224829912185669,
-0.09888937324285507,
-0.09984126687049866,
0.44070008397102356,
0.09952157735824585,
-0.3088724613189697,
-0.2174307405948639,
-0.040969252586364746,
0.2803186774253845,
-0.3879506587982178,
-0.1502484530210495,
-0.02735341712832451,
0.014200210571289062,
-0.17311079800128937,
0.4820375442504883,
0.2716568112373352,
0.06349720060825348,
0.13380634784698486,
-0.4397139847278595,
-0.20416438579559326,
0.18908706307411194,
0.033590324223041534,
0.19094911217689514,
-0.18308377265930176,
0.149305060505867,
0.07771392166614532,
0.029239574447274208,
-0.39338186383247375,
0.1472519040107727,
-0.307062029838562,
0.061170294880867004,
0.033913977444171906,
0.04186470806598663,
0.14034272730350494,
-0.14675270020961761,
0.16002555191516876,
-0.04807385057210922,
-0.18907667696475983,
-0.26069480180740356,
-0.1496262401342392,
0.09146934747695923,
0.15864533185958862,
-0.1543271541595459,
0.1617928296327591,
0.02831507846713066,
-0.006131183356046677,
-0.036675307899713516,
0.14042718708515167,
0.09517402201890945,
-0.10252676904201508,
0.16340774297714233,
0.05902565270662308,
0.20265927910804749,
0.15932075679302216,
-0.1876842975616455,
-0.11563867330551147,
0.09065834432840347,
0.06806810200214386,
-0.13861893117427826,
-0.16741885244846344,
0.014877870678901672,
0.1880931854248047,
0.23804563283920288,
0.01400677114725113,
0.1575203537940979,
0.11301717162132263,
-0.17045092582702637,
0.042705755680799484,
0.35900089144706726,
0.37733814120292664,
0.45698633790016174,
-0.3858254551887512,
0.01402469165623188,
0.3667421340942383,
0.2673902213573456,
-0.3531997799873352,
-0.0036526331678032875,
0.36415860056877136,
-0.21025554835796356,
-0.008303433656692505,
0.09284767508506775,
0.2990559935569763,
-0.1344831883907318,
0.259992778301239,
0.15259945392608643,
-0.0029824641533195972,
-0.4068228602409363,
0.38979023694992065,
0.27170687913894653,
-0.2447022646665573,
0.0920608639717102,
0.2807002067565918,
-0.18513096868991852,
-0.1391933560371399,
0.12863263487815857,
-0.17072641849517822,
0.21793285012245178,
-0.3611045181751251,
0.2588365077972412,
-0.008661516010761261,
-0.3453398048877716,
0.3542724549770355,
-0.004435554146766663,
-0.1045534759759903,
-0.15712684392929077,
0.05325085297226906,
0.5139864683151245,
-0.15251365303993225,
-0.05771583318710327,
-0.5526165962219238,
0.2185474932193756,
-0.21053892374038696,
-0.13159112632274628,
-0.14113202691078186,
-0.2823321223258972,
-0.08003938943147659,
0.2895846664905548,
0.06183726340532303,
-0.05699249356985092,
0.08086693286895752,
0.11343666911125183,
-0.4536083936691284,
-0.2915496230125427,
-0.11826864629983902,
-0.22094494104385376,
0.15941525995731354,
-0.051623981446027756,
0.3006875514984131,
0.18710336089134216,
-0.11514413356781006,
0.08026952296495438,
0.3740272521972656,
0.1915430724620819,
0.17157791554927826,
0.09391370415687561,
0.004300266969949007,
-0.04926923289895058,
0.08686556667089462,
-0.008249578066170216,
0.5600605010986328,
0.32564687728881836,
0.0374172106385231,
0.373901903629303,
0.18226048350334167,
-0.2347874492406845,
0.009915787726640701,
-0.076197549700737,
0.043343685567379,
-0.08389873802661896,
0.08386208117008209,
-0.03182123601436615,
0.16150134801864624,
-0.3225303292274475,
-0.05656299740076065,
-0.26153793931007385,
0.11712536215782166,
0.0812687873840332,
0.0957086980342865,
0.17049968242645264,
-0.2461785227060318,
0.12083974480628967,
0.17845110595226288,
0.5619292259216309,
0.4187161922454834,
-0.09008283168077469,
-0.142356276512146,
-0.26525890827178955,
-0.8294320106506348,
0.10266246646642685,
-0.11049187183380127,
0.27003276348114014,
-0.21229784190654755,
0.05124444514513016,
-0.06813669949769974,
0.17936167120933533,
0.05060049146413803,
-0.28043124079704285,
0.053602270781993866,
-0.049117185175418854,
-0.19404132664203644,
0.07080044597387314,
-0.1456928253173828,
0.058645427227020264,
-0.08696689456701279,
-0.15707862377166748,
0.2841816246509552,
0.04512942209839821,
0.11666742712259293,
0.19210004806518555,
0.050746671855449677,
-0.29854631423950195,
0.0780007541179657,
0.2406860589981079,
0.25631046295166016,
0.5952374935150146,
-0.10322706401348114,
-0.045958664268255234,
-0.22254347801208496,
-0.21400637924671173,
-0.18142272531986237,
0.49384406208992004,
-0.039127420634031296,
0.20021812617778778,
0.2301771342754364,
-0.18076911568641663,
-0.24588118493556976,
0.3878769278526306,
0.19714783132076263,
0.009051966480910778,
-0.39063334465026855,
-0.12812411785125732,
0.2048778533935547,
-0.20415273308753967,
0.15887467563152313,
0.17764060199260712,
-0.01591280847787857,
0.10901327431201935,
-0.23840637505054474,
-0.20607206225395203,
0.4573284089565277,
-0.25171706080436707,
0.007042266428470612,
-0.031250473111867905,
0.12862049043178558,
0.13639262318611145,
-0.2774198353290558,
-0.8137668967247009,
0.1357623040676117,
0.18312589824199677,
-0.019810296595096588,
-0.18728244304656982,
0.2692301273345947,
-0.2351890206336975,
0.25121504068374634,
-0.10446295142173767,
0.13979092240333557,
0.16140612959861755,
-0.15582780539989471,
0.05674483999609947,
-0.06420398503541946
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi! Installing the `datasets` package from master (`pip install git+https://github.com/huggingface/datasets.git`) and then redownloading the datasets with `download_mode` set to `force_redownload` (e.g. `dataset = load_dataset("dbpedia_14", download_mode="force_redownload")`) should fix the issue. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 29 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
Hi! Installing the `datasets` package from master (`pip install git+https://github.com/huggingface/datasets.git`) and then redownloading the datasets with `download_mode` set to `force_redownload` (e.g. `dataset = load_dataset("dbpedia_14", download_mode="force_redownload")`) should fix the issue. | [
-0.38432762026786804,
0.19962087273597717,
-0.1146312803030014,
0.3184932470321655,
0.3418924808502197,
-0.054948363453149796,
0.20009776949882507,
0.47188082337379456,
0.21957077085971832,
0.13653326034545898,
-0.04182789474725723,
0.1422179639339447,
0.09030754864215851,
0.26281169056892395,
-0.10155664384365082,
0.03946857526898384,
0.1799621880054474,
-0.034043341875076294,
-0.20781847834587097,
-0.07686107605695724,
-0.1915389895439148,
0.106336310505867,
0.03445151448249817,
-0.2217375785112381,
-0.09295278787612915,
0.08617807179689407,
0.13012829422950745,
-0.22223198413848877,
-0.29636824131011963,
-0.2892342805862427,
0.3145427107810974,
0.16963981091976166,
-0.009937992319464684,
0.36200982332229614,
-0.00010846449731616303,
0.19428007304668427,
0.2652548551559448,
-0.04762326180934906,
-0.1484384536743164,
0.01973561942577362,
-0.2634495496749878,
-0.27672433853149414,
-0.1532462239265442,
-0.20554374158382416,
-0.16446208953857422,
0.05434081330895424,
-0.06691034138202667,
-0.10063011944293976,
0.11047812551259995,
0.3617459237575531,
0.2780793309211731,
0.26875489950180054,
0.06094435974955559,
-0.026897825300693512,
0.2514066994190216,
-0.1411161869764328,
-0.0722079798579216,
0.10258474946022034,
0.025245413184165955,
0.047141626477241516,
-0.1745990812778473,
0.35994431376457214,
-0.04771056026220322,
-0.1480891853570938,
-0.04677820950746536,
-0.232460156083107,
0.024394486099481583,
-0.26911672949790955,
0.303547739982605,
0.4159129858016968,
0.5679682493209839,
-0.09351066499948502,
-0.24948027729988098,
-0.00435301661491394,
-0.08712521940469742,
-0.017978450283408165,
0.42702049016952515,
0.10054782778024673,
-0.019712187349796295,
0.10887150466442108,
-0.1632162481546402,
0.08537866175174713,
0.06188073754310608,
0.15506458282470703,
-0.13763880729675293,
0.4511944651603699,
0.04094219580292702,
-0.08132580667734146,
0.14669524133205414,
-0.10264857113361359,
0.363742470741272,
-0.086757592856884,
-0.34005042910575867,
0.1782691478729248,
-0.24929721653461456,
-0.003473963588476181,
0.10273784399032593,
0.44417861104011536,
0.2588037848472595,
0.12303396314382553,
-0.19211462140083313,
0.3690146803855896,
-0.21988894045352936,
0.10323944687843323,
0.0359562449157238,
0.03422050550580025,
0.017155617475509644,
0.2700168192386627,
0.3391154408454895,
0.21409949660301208,
-0.04726182296872139,
0.08681328594684601,
0.02383541315793991,
-0.30395475029945374,
0.16569137573242188,
0.042719677090644836,
-0.05955123528838158,
-0.25289446115493774,
-0.1355082094669342,
0.29071012139320374,
0.06953832507133484,
-0.20925703644752502,
0.15844756364822388,
0.36851683259010315,
-0.23862598836421967,
0.18603652715682983,
-0.1233365386724472,
0.2094331830739975,
-0.24239546060562134,
-0.054164644330739975,
-0.22649838030338287,
-0.006935343146324158,
-0.13347181677818298,
-0.18946897983551025,
0.29066500067710876,
-0.14723990857601166,
0.39845678210258484,
0.01163692306727171,
0.10610378533601761,
-0.17970862984657288,
0.03941173851490021,
-0.14506396651268005,
-0.0774654969573021,
0.32878434658050537,
-0.011126918718218803,
0.1284162849187851,
0.1471380740404129,
-0.26896601915359497,
-0.049560125917196274,
0.13003090023994446,
-0.2608906328678131,
-0.0888918787240982,
-0.27556195855140686,
0.2991392910480499,
-0.42078930139541626,
-0.1017167866230011,
-0.2454637885093689,
-0.07660603523254395,
0.23989644646644592,
-0.38945621252059937,
0.040630683302879333,
-0.16827912628650665,
-0.17849715054035187,
-0.1528402417898178,
0.22525465488433838,
0.22419147193431854,
-0.3964585065841675,
-0.03159727528691292,
-0.14631778001785278,
-0.30341410636901855,
0.19003057479858398,
0.15618859231472015,
-0.15733517706394196,
0.2516014575958252,
-0.29135990142822266,
0.0918920636177063,
0.3398217260837555,
-0.3996952772140503,
-0.6684724688529968,
-0.09901980310678482,
0.15407060086727142,
0.22846363484859467,
0.13574421405792236,
0.0018616097513586283,
0.11286318302154541,
0.14862199127674103,
-0.1454504430294037,
0.09451045095920563,
0.28380322456359863,
0.14122550189495087,
-0.36910775303840637,
-0.0740121454000473,
0.21449165046215057,
0.22480900585651398,
0.2869909107685089,
-0.1816117763519287,
0.3549655079841614,
0.022387202829122543,
0.275432825088501,
-0.2505270838737488,
0.06592543423175812,
0.18769967555999756,
0.4286670386791229,
0.08240687102079391,
0.06383360922336578,
-0.18081393837928772,
-0.17344945669174194,
0.27933037281036377,
-0.18267089128494263,
0.18761421740055084,
-0.21494390070438385,
-0.14934267103672028,
-0.2822319269180298,
-0.23165863752365112,
-0.44742926955223083,
-0.12350383400917053,
0.22718042135238647,
0.2625792324542999,
-0.07632486522197723,
0.23213417828083038,
0.12373003363609314,
0.06231566518545151,
-0.388327419757843,
-0.034707002341747284,
-0.038186196237802505,
0.3368140459060669,
-0.2364785522222519,
-0.029452309012413025,
0.00830605998635292,
0.18500983715057373,
-0.00963176041841507,
-0.06423795968294144,
-0.19206339120864868,
0.3274858295917511,
0.37438181042671204,
0.19200599193572998,
0.11169689893722534,
0.1408528983592987,
0.09463094919919968,
-0.3516254127025604,
-0.05200032889842987,
0.10215860605239868,
0.04494550824165344,
-0.1429370939731598,
-0.3604609966278076,
0.4549185633659363,
-0.013783007860183716,
-0.0226711705327034,
-0.033251456916332245,
0.019072579219937325,
0.5954867601394653,
-0.027251968160271645,
-0.10943449288606644,
-0.2923295795917511,
0.18234167993068695,
0.11240732669830322,
-0.0006336607038974762,
0.2079160511493683,
-0.11041150987148285,
-0.095694400370121,
0.5075255036354065,
-0.0016570836305618286,
0.14608030021190643,
0.05974552780389786,
0.1969853788614273,
0.026567816734313965,
0.15087783336639404,
0.35063883662223816,
0.1465790718793869,
0.13827362656593323,
0.18618899583816528,
0.14407387375831604,
-0.10560764372348785,
-0.11670469492673874,
0.06364747136831284,
-0.13868670165538788,
0.2452029585838318,
0.438119500875473,
-0.07086591422557831,
-0.18064409494400024,
-0.5865636467933655,
0.11042936146259308,
0.0626305341720581,
0.3339018225669861,
-0.2749209403991699,
-0.13327716290950775,
-0.23634739220142365,
-0.14861825108528137,
-0.29265305399894714,
-0.08973446488380432,
-0.42218640446662903,
-0.39902541041374207,
0.006431384012103081,
0.07515742629766464,
0.011336151510477066,
0.3187353014945984,
-0.2051645964384079,
-0.05442892014980316,
-0.03172357380390167,
-0.16875284910202026,
0.08013871312141418,
-0.15524250268936157,
-0.11149562150239944,
0.13521955907344818,
0.5495535731315613,
0.1693422645330429,
0.31976667046546936,
-0.32596737146377563,
0.03636576235294342,
-0.36781182885169983,
-0.5230374932289124,
0.05870624631643295,
-0.1736363023519516,
0.3409510850906372,
0.10463829338550568,
0.2746560573577881,
-0.27458930015563965,
-0.2693357467651367,
0.14899756014347076,
0.14213356375694275,
-0.2392737716436386,
0.18341957032680511,
-0.17128261923789978,
-0.11890670657157898,
0.08329874277114868,
-0.33634254336357117,
-0.20141762495040894,
-0.27443382143974304,
-0.041324250400066376,
0.21673528850078583,
0.17848826944828033,
-0.017652638256549835,
0.11195778846740723,
0.1595250964164734,
0.026303404942154884,
0.17316557466983795,
-0.3424071669578552,
-0.49364787340164185,
0.5090581774711609,
-0.165339395403862,
-0.3562130331993103,
0.17530469596385956,
0.012288946658372879,
0.44388529658317566,
0.035499513149261475,
-0.5916408896446228,
-0.12550108134746552,
-0.187508225440979,
0.2895801067352295,
0.2885262370109558,
0.07598645985126495,
0.289772093296051,
0.1140788346529007,
-0.010158484801650047,
-0.27631860971450806,
-0.03798310086131096,
0.01857626438140869,
-0.182277649641037,
0.48188501596450806,
-0.3201199173927307,
0.26411309838294983,
-0.01682809554040432,
0.6856338381767273,
0.3063663840293884,
0.24936853349208832,
0.26886889338493347,
0.028160803020000458,
0.40166833996772766,
-0.24793562293052673,
-0.2423768937587738,
0.06296971440315247,
-0.16850700974464417,
-0.009268658235669136,
0.21208661794662476,
-0.1621498465538025,
-0.21163032948970795,
-0.2295711785554886,
-0.0534152090549469,
-0.3589208424091339,
-0.23935076594352722,
0.05585341900587082,
-0.27367648482322693,
0.23326334357261658,
0.043471332639455795,
0.10925642400979996,
-0.10638050734996796,
-0.40121325850486755,
0.1375109851360321,
0.28559184074401855,
-0.3373104929924011,
-0.1083698496222496,
-0.5687128305435181,
-0.1561136394739151,
-0.0767054483294487,
0.10686349868774414,
0.1275319755077362,
0.3594203591346741,
-0.00881204754114151,
0.0140996053814888,
0.037866901606321335,
-0.10571277141571045,
0.40022337436676025,
-0.6115930676460266,
0.15926316380500793,
-0.09977637231349945,
0.19260726869106293,
-0.06480121612548828,
-0.24073800444602966,
-0.1414487361907959,
-0.17089691758155823,
0.19839085638523102,
0.2516283392906189,
-0.24900361895561218,
0.09553320705890656,
0.1963420957326889,
0.23498117923736572,
-0.17095349729061127,
-0.10226844251155853,
-0.4294639229774475,
-0.19005858898162842,
-0.28455373644828796,
0.14815689623355865,
0.07789759337902069,
0.23408952355384827,
-0.16772712767124176,
-0.06563524156808853,
0.023937176913022995,
0.08213291317224503,
0.17181287705898285,
0.08697886765003204,
0.29786816239356995,
0.26061195135116577,
0.1297740638256073,
-0.11924764513969421,
0.03764032572507858,
0.2627328336238861,
0.7651148438453674,
-0.2839828431606293,
-0.3797222673892975,
-0.08751282095909119,
-0.4477350413799286,
0.08527961373329163,
0.10297861695289612,
0.09602677822113037,
-0.008959770202636719,
0.5147519707679749,
-0.13067789375782013,
0.0414523109793663,
0.09679098427295685,
0.19959232211112976,
0.13611380755901337,
-0.45265552401542664,
-0.3850303888320923,
0.06903078407049179,
0.06634242832660675,
-0.07154127955436707,
0.23537945747375488,
0.1994638741016388,
-0.2436796873807907,
0.26770561933517456,
0.21349796652793884,
0.8498640656471252,
0.009201057255268097,
-0.0952223539352417,
0.06984148919582367,
-0.07448503375053406,
0.06343741714954376,
-0.30426669120788574,
0.022443313151597977,
-0.30365151166915894,
-0.39960116147994995,
-0.08917218446731567,
-0.019684016704559326,
0.13580086827278137,
-0.09085172414779663,
-0.2227354794740677,
0.1639188826084137,
-0.004424989223480225,
0.1881369799375534,
-0.06081685423851013,
0.2151763141155243,
-0.07291088253259659,
0.030917514115571976,
0.08324531465768814,
0.17618271708488464,
-0.07116389274597168,
0.11487893760204315,
-0.16192755103111267,
-0.020267954096198082,
-0.07781399041414261,
-0.17850911617279053,
-0.40611690282821655,
0.09881853312253952,
-0.03515150398015976,
0.22124211490154266,
0.061916422098875046,
0.00516403466463089,
-0.029105938971042633,
0.5106828808784485,
0.25802332162857056,
0.3516230881214142,
-0.25482112169265747,
0.3578076958656311,
0.3114030361175537,
0.09014884382486343,
0.0760413408279419,
-0.02204650267958641,
0.3566155433654785,
-0.11866240203380585,
-0.4029875099658966,
0.10403726994991302,
-0.20910367369651794,
-0.2719196677207947,
-0.05070535093545914,
-0.1960197240114212,
-0.0861787348985672,
-0.31622955203056335,
-0.09103231132030487,
-0.06283576786518097,
-0.13036483526229858,
-0.23602934181690216,
0.23469917476177216,
0.021295949816703796,
-0.23870563507080078,
0.26694485545158386,
0.14560016989707947,
-0.30171602964401245,
-0.1463780254125595,
0.571271538734436,
0.06240111589431763,
-0.13870319724082947,
0.5099578499794006,
0.07052925229072571,
-0.4094421863555908,
-0.2630648612976074,
0.04430488497018814,
0.09234610199928284,
-0.31920212507247925,
-0.35691508650779724,
-0.13571564853191376,
-0.04005986452102661,
-0.010355852544307709,
0.36828020215034485,
0.3276992440223694,
0.07933276891708374,
0.07597404718399048,
-0.4968288242816925,
-0.20593537390232086,
0.011986441910266876,
0.09930531680583954,
0.2751450538635254,
-0.20573106408119202,
-0.14679642021656036,
0.10232343524694443,
0.02156987227499485,
-0.37373608350753784,
-0.04475489258766174,
-0.3425646722316742,
0.12222033739089966,
-0.13552817702293396,
0.1254092901945114,
0.006360840983688831,
-0.17436063289642334,
0.2007504403591156,
-0.08313944190740585,
-0.14177769422531128,
-0.2748916745185852,
-0.0719275176525116,
0.08700984716415405,
0.16635742783546448,
-0.14594204723834991,
0.16149264574050903,
-0.18842612206935883,
-0.060444194823503494,
-0.06040836125612259,
0.016437765210866928,
0.05381983518600464,
-0.12963050603866577,
0.25794464349746704,
0.15875555574893951,
0.09747946262359619,
0.08862146735191345,
-0.21071946620941162,
-0.23047354817390442,
-0.058605462312698364,
0.009632255882024765,
0.03082713484764099,
0.12705618143081665,
-0.024523131549358368,
0.2502892017364502,
0.1505504548549652,
-0.023701973259449005,
0.20850616693496704,
0.1825244128704071,
-0.2574317455291748,
0.11124862730503082,
0.5019446015357971,
0.2933608293533325,
0.48995503783226013,
-0.3846408724784851,
-0.03352808207273483,
0.4352293312549591,
0.2795093059539795,
-0.4313291311264038,
-0.14243897795677185,
0.3438449501991272,
-0.05948945879936218,
0.0479104109108448,
0.05759268254041672,
0.3537674844264984,
-0.33157333731651306,
0.4014069437980652,
0.09988806396722794,
-0.05149281769990921,
-0.5166433453559875,
0.4906994104385376,
0.5822536945343018,
-0.17621999979019165,
0.01396556943655014,
0.23386715352535248,
-0.19375988841056824,
-0.2601328492164612,
0.44451647996902466,
-0.09965956956148148,
0.27854639291763306,
-0.2714308798313141,
0.21834120154380798,
-0.1618162989616394,
-0.3675089180469513,
0.5111417174339294,
0.008786767721176147,
-0.30098995566368103,
-0.010152086615562439,
0.17100673913955688,
0.24839574098587036,
-0.014815307222306728,
0.14333823323249817,
-0.5335066318511963,
0.03987489268183708,
-0.29568246006965637,
-0.0781903862953186,
-0.1801399290561676,
-0.3081401586532593,
-0.02687627449631691,
0.26714837551116943,
0.05714951828122139,
0.18966792523860931,
-0.11268758773803711,
0.22389695048332214,
-0.41214239597320557,
-0.2224285751581192,
0.012000782415270805,
-0.2091279923915863,
0.0672263354063034,
-0.2181437611579895,
0.29566195607185364,
0.07170337438583374,
-0.08529557287693024,
-0.08314497768878937,
0.3293934464454651,
0.15041649341583252,
0.35957345366477966,
0.11943559348583221,
-0.029549986124038696,
0.093452587723732,
0.023985745385289192,
-0.10383706539869308,
0.5730036497116089,
0.28866371512413025,
0.1170378178358078,
0.36578992009162903,
0.20165956020355225,
-0.24566446244716644,
0.037957943975925446,
-0.021929334849119186,
-0.16103975474834442,
0.027649912983179092,
0.1020367369055748,
0.06296993792057037,
0.0955422893166542,
-0.26643964648246765,
-0.07269153743982315,
-0.38563570380210876,
0.013325007632374763,
0.2603093087673187,
0.18554797768592834,
0.23663023114204407,
-0.25363823771476746,
0.11755558848381042,
0.16005839407444,
0.4743388593196869,
0.23176051676273346,
-0.16432836651802063,
-0.11365766078233719,
-0.29674869775772095,
-0.8407056927680969,
0.14788152277469635,
-0.1978451907634735,
0.21724452078342438,
-0.05722532421350479,
0.08986343443393707,
-0.09751006215810776,
0.08336609601974487,
0.2746018171310425,
-0.22740285098552704,
-0.07050460577011108,
0.05818331986665726,
-0.22995811700820923,
-0.07066217064857483,
-0.01069381833076477,
0.014283505268394947,
-0.12354745715856552,
-0.25429004430770874,
0.2891213595867157,
0.12824110686779022,
0.1812744140625,
-0.019627705216407776,
-0.13714508712291718,
-0.15894180536270142,
0.12188760191202164,
0.2405371516942978,
0.10418257862329483,
0.6670486927032471,
-0.09903863072395325,
0.08758566528558731,
-0.15352921187877655,
-0.1734922081232071,
-0.09434999525547028,
0.4762188196182251,
0.050980113446712494,
0.3656918406486511,
0.12428287416696548,
-0.1815529763698578,
-0.17281962931156158,
0.2161373645067215,
0.1730838119983673,
-0.038252804428339005,
-0.28310132026672363,
-0.17908358573913574,
0.11924051493406296,
-0.13193324208259583,
0.07065770030021667,
0.043281327933073044,
-0.01448165625333786,
0.1466924548149109,
-0.16101160645484924,
-0.28464275598526,
0.1631980538368225,
-0.0782257691025734,
-0.04761473089456558,
-0.14824287593364716,
0.018303565680980682,
-0.08983532339334488,
-0.10232443362474442,
-0.7109650373458862,
0.11804140359163284,
0.3617341220378876,
-0.035479530692100525,
-0.04264234006404877,
0.22636008262634277,
-0.08370725810527802,
0.31929367780685425,
-0.06549685448408127,
0.12185879796743393,
0.06786668300628662,
-0.176435187458992,
-0.02519277296960354,
-0.19958284497261047
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi @rafikg and @Y0mingZhang, thanks for reporting.
Indeed it seems that Google Drive changed their way to access their data files. We have recently handled that change:
- #3787
but it will be accessible to users only in our next release of the `datasets` version.
- Note that our latest release (version 1.18.3) was made before this fix: https://github.com/huggingface/datasets/releases/tag/1.18.3
In the meantime, as @mariosasko explained, you can incorporate this "fix" by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, you should force the redownload of the data (before the fix, you are just downloading/caching the virus scan warning page, instead of the data file):
```shell
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload") | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 117 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
Hi @rafikg and @Y0mingZhang, thanks for reporting.
Indeed it seems that Google Drive changed their way to access their data files. We have recently handled that change:
- #3787
but it will be accessible to users only in our next release of the `datasets` version.
- Note that our latest release (version 1.18.3) was made before this fix: https://github.com/huggingface/datasets/releases/tag/1.18.3
In the meantime, as @mariosasko explained, you can incorporate this "fix" by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, you should force the redownload of the data (before the fix, you are just downloading/caching the virus scan warning page, instead of the data file):
```shell
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload") | [
-0.28069791197776794,
0.1842430830001831,
-0.0431707426905632,
0.20635338127613068,
0.3406111001968384,
0.1340312957763672,
0.24233311414718628,
0.30143049359321594,
0.283456951379776,
0.22021852433681488,
-0.07512005418539047,
-0.11807844042778015,
0.04707159847021103,
0.40920379757881165,
-0.11841784417629242,
0.02720227651298046,
0.1333746463060379,
-0.1514435112476349,
0.03800511360168457,
0.03437191992998123,
-0.345186710357666,
0.1651107519865036,
-0.08468837291002274,
-0.14039114117622375,
-0.04854618012905121,
0.043625034391880035,
0.0023896563798189163,
-0.03274179995059967,
-0.10693064332008362,
-0.5085650682449341,
0.24305059015750885,
0.09478826820850372,
0.13891355693340302,
0.4133020043373108,
-0.00010845449287444353,
0.254643976688385,
0.4067673683166504,
-0.06246691942214966,
-0.15347735583782196,
0.01807541400194168,
-0.03478838503360748,
-0.09109830856323242,
-0.19023379683494568,
-0.22276604175567627,
-0.11810898780822754,
-0.07542917132377625,
0.029231030493974686,
-0.1275210976600647,
0.016612455248832703,
0.4194628596305847,
0.23999524116516113,
0.26437410712242126,
0.17329390347003937,
0.06610388308763504,
0.37128934264183044,
-0.27256494760513306,
-0.08882679045200348,
0.376009464263916,
0.06119321286678314,
0.2021661102771759,
-0.14364385604858398,
0.3161388337612152,
-0.03418159857392311,
-0.14723829925060272,
0.04883892089128494,
0.0372646227478981,
-0.10758747905492783,
-0.2263088822364807,
0.3227768838405609,
0.3171149790287018,
0.32971546053886414,
-0.09854965656995773,
-0.20898588001728058,
-0.1295853853225708,
-0.013948039151728153,
-0.17748726904392242,
0.674004852771759,
0.04244823008775711,
0.07818101346492767,
0.11864791810512543,
-0.3517782688140869,
0.13476993143558502,
0.08344404399394989,
0.018965911120176315,
-0.21838141977787018,
0.2313462793827057,
-0.08229639381170273,
0.03276025131344795,
0.20847272872924805,
-0.14231936633586884,
0.17295527458190918,
-0.07061140239238739,
-0.2974682152271271,
0.1347069889307022,
-0.1392708271741867,
-0.038105856627225876,
0.09451224654912949,
0.3085152506828308,
0.4922870397567749,
0.07675766199827194,
-0.32695892453193665,
0.04193156212568283,
-0.3647180497646332,
-0.02579163759946823,
0.15120664238929749,
0.04538027569651604,
-0.06668709963560104,
0.11253782361745834,
0.351554811000824,
0.40296614170074463,
0.07240305840969086,
0.019723301753401756,
0.1376425325870514,
-0.36699503660202026,
0.35116279125213623,
0.24638041853904724,
0.030584953725337982,
-0.23504725098609924,
-0.18494060635566711,
0.2504477798938751,
0.010153479874134064,
-0.2187473177909851,
0.061334144324064255,
0.3727707862854004,
-0.00517911184579134,
-0.10849309712648392,
-0.04285441339015961,
0.13505099713802338,
-0.1006915345788002,
-0.04958866536617279,
-0.17734622955322266,
0.08067683130502701,
-0.23137110471725464,
0.017812788486480713,
0.2771871089935303,
-0.38701191544532776,
0.23030798137187958,
-0.018028277903795242,
0.11703520268201828,
-0.14047399163246155,
-0.19976001977920532,
-0.18236348032951355,
-0.015540368854999542,
0.31047335267066956,
0.12806124985218048,
0.08666516840457916,
0.15339533984661102,
-0.23732849955558777,
-0.10512672364711761,
0.14692118763923645,
-0.3772841691970825,
-0.006725989282131195,
-0.06519582122564316,
0.20365561544895172,
-0.3899030089378357,
-0.06743733584880829,
-0.15475398302078247,
-0.12993328273296356,
0.0029345378279685974,
-0.37520265579223633,
-0.1046101525425911,
-0.2060651183128357,
-0.40553396940231323,
-0.24731455743312836,
0.20516438782215118,
0.4027489423751831,
-0.23095710575580597,
0.12311434745788574,
0.05660918727517128,
-0.3296225368976593,
-0.08979005366563797,
0.1836729496717453,
-0.09443306177854538,
0.18817360699176788,
-0.47748738527297974,
0.19087772071361542,
-0.1059470847249031,
-0.25027579069137573,
-0.5926553606987,
-0.1481296718120575,
-0.018887147307395935,
0.1667475402355194,
-0.05211683362722397,
-0.07121267169713974,
0.023756857961416245,
0.090096116065979,
-0.07895484566688538,
0.1266409456729889,
0.2598058581352234,
0.22294551134109497,
-0.2670014500617981,
-0.37380263209342957,
0.18710297346115112,
0.11699332296848297,
0.2048235684633255,
0.06430022418498993,
0.5371846556663513,
-0.35516291856765747,
0.2681357264518738,
-0.29226621985435486,
0.06682158261537552,
0.27432262897491455,
0.4069173336029053,
0.135800302028656,
0.13537316024303436,
0.05415122210979462,
-0.5511985421180725,
0.29912784695625305,
-0.11383983492851257,
0.018006175756454468,
-0.3043978810310364,
-0.17860978841781616,
-0.3630911707878113,
-0.3183591365814209,
-0.4063474237918854,
-0.14457376301288605,
0.19158151745796204,
0.20527255535125732,
0.09476391971111298,
0.33768782019615173,
0.215413436293602,
-0.05258851498365402,
-0.3357270359992981,
-0.00824340432882309,
-0.0837392657995224,
0.5770995616912842,
-0.28288665413856506,
-0.08137751370668411,
0.15088172256946564,
-0.004482679069042206,
0.17303472757339478,
-0.05609094724059105,
-0.18193140625953674,
0.3738623559474945,
0.20258976519107819,
0.2947709262371063,
0.16438063979148865,
0.2622053027153015,
0.11329668760299683,
-0.30602625012397766,
0.04863564297556877,
0.1693628430366516,
0.14622274041175842,
-0.01186298206448555,
-0.5752339959144592,
0.4183235168457031,
-0.17169611155986786,
0.07136544585227966,
-0.028468307107686996,
0.12017986923456192,
0.46083471179008484,
-0.12105466425418854,
0.0017645470798015594,
-0.18787112832069397,
-0.0006638430058956146,
0.30770331621170044,
0.09859101474285126,
-0.04352627694606781,
-0.10379545390605927,
-0.11848492175340652,
0.5224274396896362,
0.0012728683650493622,
0.12681002914905548,
0.1414399892091751,
0.04575594514608383,
-0.02434949390590191,
0.09850665926933289,
0.42286041378974915,
0.1318577527999878,
0.10700453072786331,
0.1968846321105957,
0.21214422583580017,
-0.13875995576381683,
-0.08966685831546783,
0.05586198344826698,
-0.14424045383930206,
0.352045476436615,
0.5106645226478577,
-0.008853122591972351,
-0.04177333042025566,
-0.6307201385498047,
0.02920372411608696,
0.13137279450893402,
0.3394637703895569,
-0.4060429632663727,
-0.05645027011632919,
-0.0851314440369606,
-0.04750825837254524,
-0.1892305314540863,
0.22754226624965668,
-0.46343955397605896,
-0.5150537490844727,
-0.058273859322071075,
0.16810384392738342,
-0.20884880423545837,
0.06056070327758789,
-0.1874828338623047,
0.051867127418518066,
-0.030904538929462433,
-0.23801939189434052,
-0.041705403476953506,
-0.15423616766929626,
-0.14783814549446106,
0.1115005761384964,
0.5178375840187073,
0.023618673905730247,
0.31595125794410706,
-0.2510504126548767,
0.059338562190532684,
-0.6393259167671204,
-0.37776997685432434,
0.10052435100078583,
-0.2437073141336441,
0.3291918933391571,
0.09164487570524216,
0.31907784938812256,
-0.35895055532455444,
-0.3353343605995178,
0.12647444009780884,
-0.1117311343550682,
-0.33174678683280945,
0.0628843754529953,
-0.046106982976198196,
-0.03600293770432472,
0.021589890122413635,
-0.36015838384628296,
0.059164464473724365,
-0.15227100253105164,
-0.09534090757369995,
0.08889082074165344,
0.16578051447868347,
0.08128878474235535,
0.17595358192920685,
0.24266469478607178,
0.08410458266735077,
0.029282182455062866,
-0.46239325404167175,
-0.4235391318798065,
0.4938863515853882,
-0.19870227575302124,
-0.44031181931495667,
0.25612252950668335,
-0.050655826926231384,
0.08616113662719727,
0.12153847515583038,
-0.631822407245636,
-0.29494714736938477,
-0.3726100027561188,
0.2260112464427948,
0.31532230973243713,
0.052972450852394104,
0.238432839512825,
0.08241520076990128,
-0.02736380696296692,
-0.08535722643136978,
-0.2098321169614792,
0.010228082537651062,
-0.15072143077850342,
0.26761579513549805,
-0.006282180547714233,
0.33130577206611633,
0.08097472786903381,
0.508446991443634,
0.23931503295898438,
0.16088061034679413,
0.25149744749069214,
-0.07084736973047256,
0.5218967795372009,
-0.21699699759483337,
-0.10667745023965836,
0.17822282016277313,
-0.14257192611694336,
-0.06291132420301437,
0.20495843887329102,
-0.16387075185775757,
-0.032793499529361725,
-0.07498014718294144,
-0.10837779939174652,
-0.4681524336338043,
-0.3612998127937317,
-0.06122514605522156,
0.21245285868644714,
0.19239018857479095,
-0.045467279851436615,
0.039563536643981934,
-0.09718616306781769,
-0.4403097331523895,
0.2529797852039337,
0.49427807331085205,
-0.05239694565534592,
-0.030931489542126656,
-0.486775279045105,
-0.11402139067649841,
-0.24041339755058289,
0.2075480818748474,
0.1665859818458557,
0.3056860864162445,
-0.1062261313199997,
0.048043832182884216,
0.0946795791387558,
-0.2794605791568756,
0.44277340173721313,
-0.49485230445861816,
0.4075450897216797,
0.004720499739050865,
0.2128075659275055,
0.27922922372817993,
-0.2672906517982483,
-0.2716401219367981,
-0.3847772777080536,
0.14390435814857483,
0.18872225284576416,
-0.27367880940437317,
0.050150882452726364,
0.42763420939445496,
0.21852165460586548,
-0.10080860555171967,
-0.010007195174694061,
-0.2989819645881653,
-0.34599801898002625,
-0.4356512725353241,
0.23400035500526428,
0.13280244171619415,
0.2917991578578949,
-0.36564329266548157,
0.05931686982512474,
0.07284364104270935,
-0.15726840496063232,
0.017589636147022247,
-0.002722598612308502,
0.4142938256263733,
0.45132890343666077,
0.07543638348579407,
0.11450562626123428,
0.07588490843772888,
0.19538408517837524,
0.7881802916526794,
-0.24331840872764587,
-0.26733720302581787,
0.03894954174757004,
-0.4671717882156372,
-0.15485265851020813,
0.16547054052352905,
0.05274384096264839,
-0.11184496432542801,
0.4084876775741577,
-0.06348143517971039,
-0.18845529854297638,
-0.09618399292230606,
0.22379758954048157,
0.11099980026483536,
-0.19386924803256989,
-0.08060799539089203,
0.33063313364982605,
0.08982816338539124,
-0.20668382942676544,
0.3229091465473175,
0.47015559673309326,
-0.3605421483516693,
0.2959509491920471,
0.2533290982246399,
0.8441265225410461,
-0.22950191795825958,
-0.028233449906110764,
0.16633084416389465,
0.10325349867343903,
0.04052383825182915,
-0.05450171232223511,
0.04037029296159744,
-0.34573206305503845,
-0.43350550532341003,
-0.01258525438606739,
-0.04270090162754059,
0.07908762991428375,
-0.04411660134792328,
-0.2324676215648651,
0.1852974146604538,
-0.07005000114440918,
0.09766378998756409,
-0.1203361451625824,
0.32279086112976074,
-0.15379756689071655,
0.07294899225234985,
0.2760547697544098,
0.12643040716648102,
0.08379598706960678,
0.2819456458091736,
-0.048709750175476074,
0.030213961377739906,
-0.013829179108142853,
-0.22999972105026245,
-0.4949426054954529,
0.13919824361801147,
-0.06410854309797287,
0.1303689330816269,
0.0475584901869297,
-0.023297280073165894,
0.08058896660804749,
0.42261961102485657,
0.4526766538619995,
0.41387277841567993,
-0.35696175694465637,
0.3153572380542755,
0.2420341670513153,
0.003033384680747986,
-0.08394230902194977,
-0.1121099516749382,
0.28304195404052734,
-0.022931311279535294,
-0.36489337682724,
0.09821364283561707,
-0.06384959071874619,
-0.42530524730682373,
-0.22296223044395447,
-0.14039909839630127,
-0.39896059036254883,
-0.3168039619922638,
0.042689766734838486,
-0.05475741624832153,
-0.1818600296974182,
-0.18728409707546234,
0.1717105507850647,
0.16743475198745728,
0.11888181418180466,
-0.01895231008529663,
0.1688423752784729,
-0.2960579991340637,
-0.025776676833629608,
0.4221484661102295,
0.1461549997329712,
-0.35969778895378113,
0.5701930522918701,
0.18121185898780823,
-0.32963407039642334,
-0.24054652452468872,
-0.004907719790935516,
0.16384126245975494,
-0.1257907897233963,
-0.21102070808410645,
-0.08862578123807907,
0.14912693202495575,
-0.09756140410900116,
0.32422342896461487,
0.1742027848958969,
0.1840684711933136,
0.16104574501514435,
-0.5939850211143494,
-0.07264139503240585,
0.1562955528497696,
-0.124077707529068,
0.2878466546535492,
-0.048610229045152664,
-0.13210944831371307,
0.17469023168087006,
-0.20375244319438934,
-0.3523623049259186,
0.22337405383586884,
-0.31364011764526367,
-0.0010385122150182724,
0.09159877896308899,
0.18446248769760132,
0.21673433482646942,
-0.17193543910980225,
0.18153579533100128,
-0.10819096863269806,
-0.06140422821044922,
-0.1801535189151764,
-0.10900798439979553,
0.10659606009721756,
0.1336379051208496,
-0.06063009053468704,
0.08772054314613342,
-0.23633919656276703,
-0.043999869376420975,
-0.0697283148765564,
0.20971062779426575,
0.1755465865135193,
-0.1409999132156372,
0.1190129816532135,
0.0685032457113266,
0.027173664420843124,
-0.04283556342124939,
-0.12581491470336914,
-0.3538305163383484,
-0.07724162936210632,
-0.04991404712200165,
0.11346634477376938,
-0.018139321357011795,
0.13429026305675507,
0.1476329118013382,
0.17542648315429688,
-0.0819799154996872,
0.22920656204223633,
0.1957074999809265,
0.005269229412078857,
-0.06350070238113403,
0.25047171115875244,
0.13844475150108337,
0.29675811529159546,
-0.5319461226463318,
-0.09973299503326416,
0.3515159487724304,
0.2253943681716919,
-0.36277854442596436,
-0.15431834757328033,
0.044302742928266525,
-0.11249397695064545,
0.09507092833518982,
-0.010203219950199127,
0.2499057650566101,
-0.03117198497056961,
0.20301052927970886,
0.05088524520397186,
0.13122686743736267,
-0.32950347661972046,
0.35123211145401,
0.43118852376937866,
-0.05188595503568649,
-0.02409708872437477,
0.1715746521949768,
-0.30355867743492126,
-0.18026509881019592,
0.23817327618598938,
-0.07644321769475937,
0.0986357256770134,
-0.370640367269516,
0.15581750869750977,
-0.1782107949256897,
-0.42676520347595215,
0.5236532688140869,
0.20446884632110596,
-0.4516575336456299,
0.035406216979026794,
0.18451979756355286,
0.20451602339744568,
-0.0869654044508934,
0.1473676562309265,
-0.5687936544418335,
-0.02633911743760109,
-0.11050932854413986,
-0.11283086240291595,
-0.2659012973308563,
-0.31455978751182556,
-0.19661033153533936,
0.4510310888290405,
0.06417092680931091,
-0.04667370766401291,
-0.044269561767578125,
0.13792255520820618,
-0.38771456480026245,
0.018508929759263992,
-0.04570789635181427,
-0.007441055029630661,
0.11883415281772614,
-0.15799711644649506,
0.15899674594402313,
0.0999133512377739,
-0.023502714931964874,
0.14907093346118927,
0.47963860630989075,
0.21804219484329224,
0.20119814574718475,
0.24403290450572968,
-0.1030178964138031,
0.0091969920322299,
0.022854862734675407,
0.01190122589468956,
0.43402910232543945,
0.09660670161247253,
-0.0965023785829544,
0.4312100112438202,
0.21142542362213135,
-0.16785459220409393,
-0.1488030105829239,
-0.010031845420598984,
-0.11037161946296692,
0.017291823402047157,
0.038329023867845535,
-0.01250552386045456,
0.16466310620307922,
-0.1996622234582901,
0.0060101523995399475,
-0.24187591671943665,
-0.07990950345993042,
0.1458994746208191,
-0.001099916873499751,
0.22257161140441895,
-0.19539298117160797,
0.10350123792886734,
0.27594172954559326,
0.4047960340976715,
0.48824581503868103,
-0.08399520069360733,
-0.18773357570171356,
-0.24734163284301758,
-0.8066403865814209,
0.07840526849031448,
-0.20830076932907104,
0.1768447607755661,
-0.019804449751973152,
0.08497244864702225,
-0.296752393245697,
0.20510299503803253,
0.3343218266963959,
0.05558335781097412,
-0.20277661085128784,
-0.04781343787908554,
-0.16510029137134552,
-0.08394432067871094,
0.2250949740409851,
-0.07399275153875351,
-0.20018765330314636,
-0.2677527070045471,
0.36222463846206665,
0.04602212831377983,
0.08145876973867416,
0.03370406851172447,
0.17649812996387482,
-0.2458067536354065,
-0.04120016098022461,
0.3493344187736511,
0.1685800552368164,
0.6656023263931274,
-0.13917669653892517,
-0.06745828688144684,
-0.3791238069534302,
-0.09939055889844894,
-0.15866157412528992,
0.27354100346565247,
0.09643200039863586,
0.37491148710250854,
0.16728827357292175,
-0.36577489972114563,
-0.1283339262008667,
0.3410055935382843,
0.07127953320741653,
0.18301957845687866,
-0.2861829698085785,
0.04042407125234604,
0.10330536216497421,
-0.03324815630912781,
0.17595791816711426,
0.002420123666524887,
0.06564123928546906,
0.18187421560287476,
-0.18984341621398926,
-0.2757287323474884,
0.13106945157051086,
-0.12311217188835144,
0.014108110219240189,
-0.18560028076171875,
0.05768454819917679,
-0.02058093249797821,
-0.03234498202800751,
-0.6431208848953247,
0.22775328159332275,
0.17239046096801758,
0.18549808859825134,
-0.24915575981140137,
0.042782772332429886,
-0.0874221920967102,
0.05211004987359047,
-0.011530393734574318,
0.12451815605163574,
0.19370588660240173,
-0.2546936273574829,
-0.05323368310928345,
-0.1534726321697235
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @albertvillanova by running:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload", ignore_verifications=True)
```
I had a pickle error **UnpicklingError: invalid load key, '<'** in this part of code both `locally and on google colab`:
```
"""Yields examples."""
with open(filepath, "rb") as f:
data = pickle.load(f)
for id_, row in enumerate(data.items()):
yield id_, {"url": row[0], "article": self._process_article(row[1])}
```
| ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 59 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@albertvillanova by running:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]", download_mode="force_redownload", ignore_verifications=True)
```
I had a pickle error **UnpicklingError: invalid load key, '<'** in this part of code both `locally and on google colab`:
```
"""Yields examples."""
with open(filepath, "rb") as f:
data = pickle.load(f)
for id_, row in enumerate(data.items()):
yield id_, {"url": row[0], "article": self._process_article(row[1])}
```
| [
-0.25286775827407837,
0.19000300765037537,
-0.06364215910434723,
0.31402650475502014,
0.0766310840845108,
-0.06661059707403183,
0.16284947097301483,
0.21626663208007812,
0.5342551469802856,
0.16381090879440308,
-0.06504709273576736,
0.4586711823940277,
-0.05623449385166168,
0.42723560333251953,
0.033776625990867615,
0.08877958357334137,
0.1513221114873886,
-0.030499234795570374,
-0.22597631812095642,
-0.10456067323684692,
-0.23152197897434235,
0.2674272954463959,
0.03348573297262192,
-0.2563098669052124,
-0.05767376348376274,
-0.013430794700980186,
0.015293536707758904,
0.0463460311293602,
-0.22519636154174805,
-0.31982025504112244,
0.3860783278942108,
0.21386867761611938,
-0.0832514539361,
0.42097583413124084,
-0.00011907228326890618,
0.21369512379169464,
0.3132316470146179,
-0.1055532917380333,
-0.4403301179409027,
-0.16351072490215302,
-0.24787572026252747,
-0.38268759846687317,
0.044025227427482605,
-0.3404947519302368,
-0.13229648768901825,
0.2774427831172943,
-0.13303126394748688,
-0.16187387704849243,
0.19386786222457886,
0.18931922316551208,
0.17757444083690643,
0.34480205178260803,
0.291498064994812,
0.1409098207950592,
0.330018013715744,
-0.10423555970191956,
-0.030445430427789688,
0.4530507028102875,
0.06812696903944016,
0.17780141532421112,
-0.06684630364179611,
0.27531054615974426,
-0.05592641979455948,
-0.1353749930858612,
0.044744860380887985,
-0.04133416339755058,
-0.23614448308944702,
-0.32211607694625854,
0.16789129376411438,
0.39004945755004883,
0.5455673933029175,
-0.2098410427570343,
-0.45682787895202637,
-0.12918157875537872,
-0.1173151433467865,
-0.07206198573112488,
0.31004980206489563,
0.22268487513065338,
0.006089368835091591,
0.1375882774591446,
-0.2757735848426819,
-0.10373341292142868,
0.17086336016654968,
0.21090196073055267,
0.13270790874958038,
0.4865163564682007,
0.022596336901187897,
0.06993728876113892,
0.13508322834968567,
-0.044211387634277344,
0.1837432086467743,
-0.17630314826965332,
-0.24408188462257385,
0.3063012957572937,
-0.11398082971572876,
-0.09292356669902802,
0.017931759357452393,
0.41754868626594543,
0.23829510807991028,
0.2549824118614197,
-0.1215655654668808,
0.13962629437446594,
-0.39408114552497864,
0.14296089112758636,
0.1983417421579361,
0.07395662367343903,
-0.12447827309370041,
0.3982487916946411,
0.38073092699050903,
0.15853755176067352,
0.02395491674542427,
0.1444147378206253,
0.07387670874595642,
-0.27673813700675964,
0.014323614537715912,
0.09335252642631531,
0.05666297674179077,
-0.2888741195201874,
-0.266840398311615,
0.16939090192317963,
-0.01352614164352417,
-0.3217413127422333,
-0.00927403848618269,
0.23823603987693787,
-0.2409549355506897,
0.015559462830424309,
-0.12441610544919968,
0.15690110623836517,
-0.258590966463089,
-0.02330813743174076,
-0.22689886391162872,
0.2363654226064682,
-0.0495736263692379,
-0.041550278663635254,
0.1220441609621048,
-0.30138009786605835,
0.4649292528629303,
0.017839595675468445,
0.02022668346762657,
-0.14933359622955322,
-0.1376049816608429,
-0.17304950952529907,
-0.2541310787200928,
0.38965994119644165,
0.011736594140529633,
-0.04465366154909134,
0.3086327016353607,
-0.4884021282196045,
-0.14257130026817322,
0.23052111268043518,
-0.3667357861995697,
-0.0927727147936821,
-0.20111793279647827,
0.14014774560928345,
-0.6305919885635376,
-0.14622804522514343,
-0.6764227747917175,
-0.11425343155860901,
0.2172011137008667,
-0.31858646869659424,
0.09259264916181564,
-0.16737164556980133,
-0.17118123173713684,
-0.2270735651254654,
0.19745342433452606,
0.34270137548446655,
-0.3239116966724396,
-0.1362418234348297,
-0.1404358297586441,
-0.09101088345050812,
0.26240572333335876,
0.1725543737411499,
-0.12361849099397659,
0.35245880484580994,
-0.2878665030002594,
0.06407597661018372,
0.40190389752388,
-0.34724095463752747,
-0.6560376286506653,
-0.08236158639192581,
0.09529480338096619,
0.31861451268196106,
0.06133362278342247,
0.01180452574044466,
-0.07319891452789307,
-0.03718980401754379,
-0.037670478224754333,
0.13279029726982117,
0.2623273730278015,
0.15897724032402039,
-0.36257120966911316,
-0.32520604133605957,
0.16289062798023224,
0.16538259387016296,
0.20950885117053986,
-0.15670019388198853,
0.42435964941978455,
-0.5061718821525574,
0.3508394956588745,
-0.21345612406730652,
-0.09952066838741302,
0.18171703815460205,
0.571558952331543,
-0.014930881559848785,
0.015694789588451385,
-0.055381227284669876,
-0.502143919467926,
0.37138956785202026,
-0.22010785341262817,
0.18158668279647827,
-0.45065879821777344,
-0.09912124276161194,
-0.353977769613266,
-0.15301449596881866,
-0.4353385865688324,
-0.02603190764784813,
0.030603714287281036,
0.23110266029834747,
0.11537937819957733,
0.23462925851345062,
0.09780752658843994,
-0.008123761042952538,
-0.2779422104358673,
0.11829616129398346,
-0.23137976229190826,
0.3536606729030609,
-0.19370533525943756,
-0.1283804476261139,
0.12541969120502472,
0.08924951404333115,
0.09870629012584686,
-0.26646506786346436,
-0.15588867664337158,
0.3263128101825714,
0.4375670254230499,
0.22576189041137695,
0.2605549991130829,
-0.014499515295028687,
0.10887979716062546,
-0.4124879539012909,
-0.044709205627441406,
0.28427720069885254,
0.22538946568965912,
-0.13478514552116394,
-0.31023743748664856,
0.6110125780105591,
-0.18420784175395966,
-0.06702659279108047,
-0.10944272577762604,
-0.060863472521305084,
0.2484116554260254,
0.030806418508291245,
-0.07843677699565887,
-0.11492422223091125,
0.1970297247171402,
0.28781768679618835,
0.19098953902721405,
0.16168422996997833,
-0.20535683631896973,
0.018996581435203552,
0.4041168987751007,
-0.04572179168462753,
0.15667736530303955,
0.21138030290603638,
0.16386812925338745,
-0.1065177246928215,
0.13824141025543213,
0.15976108610630035,
0.25618767738342285,
0.12052900344133377,
-0.01835532858967781,
0.030929459258913994,
0.008748996071517467,
-0.10494887083768845,
0.12665978074073792,
0.0004000738263130188,
0.08123840391635895,
0.431937575340271,
-0.021975040435791016,
-0.07821524143218994,
-0.4160597026348114,
0.16817288100719452,
-0.04637245088815689,
0.37130114436149597,
-0.3852733373641968,
0.09518645703792572,
-0.19904693961143494,
-0.005137588828802109,
-0.10334151983261108,
-0.1734510213136673,
-0.255707323551178,
-0.4192436933517456,
-0.13110604882240295,
0.13376127183437347,
-0.014898428693413734,
0.20019574463367462,
-0.23095588386058807,
-0.06006409227848053,
-0.08113134652376175,
-0.29922035336494446,
-0.05682859942317009,
-0.3598298728466034,
-0.15632227063179016,
0.07723595201969147,
0.6690937876701355,
0.12739592790603638,
0.38296449184417725,
-0.2178858518600464,
-0.08531205356121063,
-0.32148534059524536,
-0.3296700119972229,
0.00519455224275589,
-0.32135480642318726,
0.6249523758888245,
0.12424173951148987,
0.2854342460632324,
-0.4078521728515625,
-0.23649396002292633,
0.10863602161407471,
0.18330129981040955,
-0.3653048276901245,
-0.060007475316524506,
-0.05952009558677673,
-0.11185059696435928,
0.1301986426115036,
-0.2831462323665619,
-0.33307355642318726,
-0.18148332834243774,
0.18388502299785614,
0.2822105288505554,
0.2557509243488312,
0.1599111109972,
0.0943194106221199,
0.19409385323524475,
0.37272515892982483,
0.12149190157651901,
-0.31124526262283325,
-0.4904229938983917,
0.4961257874965668,
0.005063627380877733,
-0.2876056134700775,
0.06609569489955902,
-0.17096874117851257,
0.08489154279232025,
-0.045486535876989365,
-0.5297892689704895,
-0.08508054167032242,
-0.2827374041080475,
0.3480740487575531,
0.2950771450996399,
0.22371456027030945,
0.23499207198619843,
0.1556825339794159,
0.08846618235111237,
-0.09724456071853638,
-0.10597889125347137,
-0.03167010098695755,
-0.0017053335905075073,
0.34167301654815674,
0.03505605459213257,
0.07477562129497528,
-0.19686304032802582,
1.0584334135055542,
0.32844850420951843,
0.1260659396648407,
0.36113953590393066,
0.019169621169567108,
0.32615140080451965,
-0.25514987111091614,
-0.31576552987098694,
0.018157420679926872,
-0.2170119285583496,
-0.02497672848403454,
0.21435201168060303,
-0.17875763773918152,
-0.0829395279288292,
-0.23477329313755035,
0.04868820682168007,
-0.5095451474189758,
-0.271717369556427,
0.030743122100830078,
-0.010792028158903122,
-0.005309626460075378,
-0.09229794144630432,
0.009209603071212769,
-0.03502904623746872,
-0.36529120802879333,
0.17143654823303223,
0.3832545280456543,
-0.0019707903265953064,
-0.0382610484957695,
-0.2833001911640167,
-0.2812235951423645,
-0.2027670443058014,
0.32333600521087646,
0.22376294434070587,
-0.045788221061229706,
0.05806466564536095,
-0.07171452045440674,
0.08032610267400742,
-0.21135038137435913,
0.3853117823600769,
-0.3805704712867737,
0.1542937308549881,
-0.013680489733815193,
0.14181143045425415,
0.03321576118469238,
-0.20629751682281494,
-0.10553166270256042,
0.037871651351451874,
0.13351689279079437,
0.36489319801330566,
-0.44910678267478943,
0.21809913218021393,
0.2967195510864258,
0.2576190233230591,
-0.2538685202598572,
-0.23656675219535828,
-0.4447091817855835,
-0.4062424898147583,
-0.267861545085907,
0.12642869353294373,
0.005224868655204773,
0.26075831055641174,
-0.18955393135547638,
0.154158353805542,
-0.037461020052433014,
-0.0555298775434494,
0.15506157279014587,
-0.0471850149333477,
0.40217235684394836,
0.30722883343696594,
0.2023460566997528,
-0.029317334294319153,
-0.02775132656097412,
0.22023527324199677,
1.0473843812942505,
-0.288118839263916,
-0.08047659695148468,
-0.14060759544372559,
-0.2991218864917755,
-0.03295951336622238,
0.17023712396621704,
0.19491809606552124,
0.03434380888938904,
0.40069812536239624,
-0.0595417320728302,
0.13703995943069458,
-0.002862089080736041,
-0.08721933513879776,
0.12751924991607666,
-0.37744539976119995,
-0.5363627672195435,
0.4229119122028351,
0.024770457297563553,
-0.1776142716407776,
0.33384284377098083,
0.43849825859069824,
-0.22546148300170898,
0.20582494139671326,
0.16502660512924194,
1.1332865953445435,
0.025551505386829376,
-0.0002791360020637512,
0.22962599992752075,
0.0399790033698082,
0.254622220993042,
-0.020601768046617508,
-0.14217834174633026,
-0.43169692158699036,
-0.18755723536014557,
-0.08662805706262589,
-0.1441338211297989,
0.1575266718864441,
-0.22794972360134125,
-0.36946210265159607,
0.3569212257862091,
-0.12553872168064117,
-0.21000054478645325,
-0.013473723083734512,
0.29911795258522034,
-0.02782374806702137,
0.19895043969154358,
0.16155169904232025,
0.09043437242507935,
-0.15628676116466522,
0.43057358264923096,
-0.12164340168237686,
-0.05662289261817932,
-0.34092894196510315,
-0.21801048517227173,
-0.5564697980880737,
0.11927855759859085,
-0.15667563676834106,
0.31644564867019653,
0.24441756308078766,
-0.4617936611175537,
0.004901165142655373,
0.44278088212013245,
0.18571242690086365,
0.1018824428319931,
-0.1363310068845749,
0.2635631561279297,
0.26223063468933105,
0.08507505804300308,
0.005822473205626011,
-0.0015139714814722538,
0.3795970678329468,
-0.04404749348759651,
-0.30115190148353577,
0.041251249611377716,
-0.2881396412849426,
-0.37687259912490845,
0.09328176081180573,
-0.0911988615989685,
-0.2724255919456482,
-0.3497752249240875,
-0.29097992181777954,
-0.10418644547462463,
-0.11599622666835785,
-0.1779254525899887,
0.08363278210163116,
0.196431964635849,
0.01326865702867508,
0.2829492390155792,
0.09395737946033478,
-0.2846502363681793,
-0.10996952652931213,
0.3933941125869751,
0.16436231136322021,
0.08870281279087067,
0.5874887704849243,
0.08126518130302429,
-0.3691164255142212,
-0.1336647868156433,
0.015732377767562866,
-0.12574619054794312,
-0.15977507829666138,
-0.05310387536883354,
-0.07281710207462311,
0.2497229129076004,
-0.19574332237243652,
0.5604188442230225,
0.4056888818740845,
0.2848634123802185,
0.09159649908542633,
-0.4844658672809601,
-0.17821729183197021,
0.09925505518913269,
0.04146447405219078,
0.2843766212463379,
-0.14257538318634033,
-0.3268084228038788,
0.1206773966550827,
0.03430261090397835,
-0.2661230266094208,
-0.06591331213712692,
-0.3571268618106842,
-0.04430115967988968,
0.2925255596637726,
0.14299844205379486,
0.1409374475479126,
-0.22174017131328583,
0.12035754323005676,
-0.18370294570922852,
-0.1043328195810318,
-0.18698760867118835,
-0.10577026009559631,
0.12606367468833923,
0.1691468060016632,
-0.16252586245536804,
0.015482262708246708,
-0.05580455809831619,
0.23848561942577362,
-0.02384638786315918,
0.07728247344493866,
-0.014931837096810341,
-0.001066260039806366,
0.24410311877727509,
0.17187555134296417,
0.09000898897647858,
-0.0884653776884079,
0.028139686211943626,
-0.3103894293308258,
0.0314638614654541,
0.0917418822646141,
0.0681760311126709,
0.19575121998786926,
-0.03355015814304352,
0.2206873893737793,
0.03958042338490486,
0.1578245460987091,
0.12481914460659027,
0.14576897025108337,
-0.27326661348342896,
0.02832251414656639,
0.1420569270849228,
0.20336419343948364,
0.48413869738578796,
-0.4020377993583679,
-0.06589264422655106,
0.3933439254760742,
0.14833973348140717,
-0.413695752620697,
-0.038760557770729065,
0.17462985217571259,
0.14872819185256958,
0.05357756093144417,
0.12387523800134659,
0.12123657763004303,
-0.06706690043210983,
-0.04743240773677826,
0.037299174815416336,
0.21375906467437744,
-0.11167769134044647,
0.3254677951335907,
0.3175758421421051,
-0.10226504504680634,
0.1618785560131073,
0.10980450361967087,
-0.10545052587985992,
-0.18328070640563965,
-0.011804156005382538,
-0.22906285524368286,
0.11429697275161743,
-0.29842254519462585,
0.12980055809020996,
-0.198125958442688,
-0.5445818305015564,
0.6311426162719727,
0.18381555378437042,
-0.21348971128463745,
0.029719043523073196,
0.3698217272758484,
0.6354869604110718,
-0.023128297179937363,
0.07935536652803421,
-0.37996676564216614,
0.3340434432029724,
-0.14548379182815552,
-0.1893928349018097,
-0.30829253792762756,
-0.2302204966545105,
-0.14972707629203796,
0.42259421944618225,
-0.06772686541080475,
-0.0020544156432151794,
-0.010780014097690582,
0.24159358441829681,
-0.4203875660896301,
-0.18416747450828552,
-0.11462555080652237,
-0.11663071066141129,
0.18688683211803436,
-0.19190704822540283,
0.2752710282802582,
0.19036653637886047,
-0.16266308724880219,
-0.2581557631492615,
0.3990325629711151,
0.32966914772987366,
0.2826639711856842,
-0.006885144859552383,
-0.09577009826898575,
0.18487320840358734,
-0.029531821608543396,
0.008208094164729118,
0.3049188256263733,
0.08413421362638474,
-0.06713327765464783,
0.3654760420322418,
0.11450038850307465,
-0.17225070297718048,
0.18967609107494354,
0.022045206278562546,
0.037857796996831894,
-0.12747934460639954,
0.06917385756969452,
-0.12901106476783752,
-0.031220141798257828,
-0.12214036285877228,
0.050091180950403214,
-0.40012526512145996,
0.1318153440952301,
0.09977245330810547,
0.1939653605222702,
0.17791226506233215,
0.024036046117544174,
0.05668974667787552,
0.1119202971458435,
0.5662879943847656,
0.43042707443237305,
0.030426587909460068,
-0.29350316524505615,
-0.12645594775676727,
-0.6747397184371948,
0.01801958680152893,
-0.23901969194412231,
-0.08566991239786148,
-0.11342444270849228,
0.01388629712164402,
-0.06960249692201614,
0.32370275259017944,
0.0935351625084877,
-0.038550399243831635,
0.013043276034295559,
0.14901693165302277,
-0.1852119117975235,
-0.048523660749197006,
-0.04658150672912598,
-0.1478693038225174,
-0.12572279572486877,
-0.36158692836761475,
0.20348648726940155,
0.030938878655433655,
0.025930017232894897,
-0.08030983060598373,
-0.11305423825979233,
-0.02126404084265232,
0.1573311984539032,
0.1862974762916565,
0.03594963252544403,
0.8354506492614746,
-0.07200063765048981,
-0.027472540736198425,
0.06597650051116943,
-0.22743509709835052,
-0.1745815873146057,
0.472390353679657,
-0.02316143363714218,
0.453110933303833,
0.14581412076950073,
-0.0829681009054184,
-0.20366276800632477,
0.3880116939544678,
0.12892156839370728,
0.029928091913461685,
-0.1969648003578186,
-0.40421250462532043,
-0.011561580002307892,
-0.23697926104068756,
0.1068335548043251,
0.005513735115528107,
-0.07847188413143158,
0.15440519154071808,
-0.2403482347726822,
-0.2857053577899933,
0.3671655058860779,
-0.2139904499053955,
0.03660324588418007,
-0.159637451171875,
-0.008857928216457367,
-0.12867143750190735,
-0.16789105534553528,
-0.5538074970245361,
0.08852330595254898,
0.378111332654953,
-0.09307032078504562,
-0.02500254102051258,
0.30172663927078247,
0.026623059064149857,
0.24261583387851715,
-0.11818382143974304,
0.3720207214355469,
-0.04298420250415802,
-0.16580617427825928,
-0.177454873919487,
-0.283824622631073
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | This issue impacts many more datasets than the ones mention in this thread. Can we post # of downloads for each dataset by day (by successes and failures)? If so, it should be obvious which ones are failing. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 38 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
This issue impacts many more datasets than the ones mention in this thread. Can we post # of downloads for each dataset by day (by successes and failures)? If so, it should be obvious which ones are failing. | [
-0.3122648596763611,
0.2210712730884552,
-0.0906827449798584,
0.27685654163360596,
0.22925981879234314,
-0.08869071304798126,
0.292554646730423,
0.3545774817466736,
0.18287163972854614,
0.20688636600971222,
0.13877920806407928,
-0.011159132234752178,
0.0016287853941321373,
0.1781056821346283,
-0.0697035938501358,
0.10529940575361252,
0.3057504892349243,
-0.09516631066799164,
-0.19116923213005066,
-0.06068035587668419,
-0.3206842243671417,
0.1676609069108963,
0.09216637909412384,
-0.2944566607475281,
-0.17314982414245605,
0.18499934673309326,
-0.062106385827064514,
-0.20695877075195312,
-0.24657393991947174,
-0.41822928190231323,
0.40671178698539734,
0.21163243055343628,
-0.01328127272427082,
0.40177208185195923,
-0.00011219630687264726,
0.1463092565536499,
0.3609667420387268,
-0.011874871328473091,
-0.274321585893631,
0.058957844972610474,
-0.3574696481227875,
-0.40002965927124023,
-0.20542769134044647,
-0.12936893105506897,
0.0501880869269371,
0.1765698790550232,
0.09095992147922516,
-0.09602048993110657,
0.04566524177789688,
0.35217154026031494,
0.23226509988307953,
0.3720603287220001,
0.12065881490707397,
-0.12889033555984497,
0.31797918677330017,
-0.08996438980102539,
-0.06785842776298523,
0.24717719852924347,
0.11513543128967285,
0.05843532830476761,
-0.23330694437026978,
0.2637360692024231,
0.07125682383775711,
-0.14358577132225037,
0.10745295137166977,
-0.17823967337608337,
-0.0344054251909256,
-0.3530971109867096,
0.26411566138267517,
0.48018088936805725,
0.7626396417617798,
0.06714776158332825,
-0.34851565957069397,
-0.05748020112514496,
-0.14476977288722992,
-0.03532697632908821,
0.4738018810749054,
0.14067743718624115,
0.030865129083395004,
0.07273581624031067,
-0.2538782060146332,
0.22228460013866425,
-0.010237298905849457,
0.2292405217885971,
-0.08960043638944626,
0.2683904469013214,
0.025479525327682495,
0.005468476563692093,
0.04678409546613693,
-0.07378610968589783,
0.34378278255462646,
-0.1402769535779953,
-0.28816595673561096,
0.09117136895656586,
-0.23098115622997284,
-0.030953366309404373,
0.11320795118808746,
0.34741050004959106,
0.30197715759277344,
0.13248777389526367,
-0.07726292312145233,
0.270010381937027,
-0.21458153426647186,
0.14220604300498962,
0.1329953819513321,
0.06099807098507881,
0.0212312713265419,
0.2251039296388626,
0.3896213173866272,
0.22673912346363068,
0.08993472158908844,
0.11893508583307266,
0.031090978533029556,
-0.31781238317489624,
0.21060116589069366,
-0.024981200695037842,
-0.05290220305323601,
-0.3350430130958557,
-0.23974764347076416,
0.3281228542327881,
-0.04590952768921852,
-0.32728636264801025,
0.011756930500268936,
0.25533953309059143,
-0.2220916599035263,
0.2956218719482422,
-0.29006141424179077,
0.20087885856628418,
0.01163032278418541,
-0.03936922922730446,
-0.24681690335273743,
0.039212457835674286,
-0.24111655354499817,
-0.08871356397867203,
0.279856413602829,
-0.08576172590255737,
0.2759144604206085,
-0.015542428940534592,
0.05526033788919449,
-0.22109141945838928,
-0.04463574290275574,
-0.033491842448711395,
-0.21329161524772644,
0.379915326833725,
-0.07878374308347702,
0.16639111936092377,
0.06996980309486389,
-0.15956377983093262,
-0.03715191408991814,
0.0764046460390091,
-0.15450286865234375,
-0.17473594844341278,
-0.1084289401769638,
0.25187718868255615,
-0.43210291862487793,
-0.22310972213745117,
-0.13406968116760254,
0.016328180208802223,
0.11789499968290329,
-0.3149435222148895,
0.012927733361721039,
-0.12600696086883545,
-0.194387748837471,
-0.2618548274040222,
0.1870054453611374,
0.4019261598587036,
-0.3023395836353302,
-0.02327033504843712,
-0.18232271075248718,
-0.2848275303840637,
0.2355714738368988,
0.16090211272239685,
-0.12893307209014893,
0.18143829703330994,
-0.2432224303483963,
-0.005291461944580078,
0.20920206606388092,
-0.29085907340049744,
-0.6658645868301392,
0.004950516391545534,
0.03809123486280441,
0.1542329341173172,
0.24165785312652588,
0.06215473636984825,
0.08614201843738556,
-0.056469544768333435,
-0.16218996047973633,
0.05587392672896385,
0.07467962056398392,
0.04519883543252945,
-0.32788804173469543,
-0.1714453250169754,
0.2115723341703415,
0.3938109278678894,
0.4312627911567688,
-0.21945852041244507,
0.4997040629386902,
0.007416133768856525,
0.1939437985420227,
-0.21740210056304932,
-0.002449577208608389,
0.08451022207736969,
0.3978990614414215,
-0.07998467981815338,
0.023712923750281334,
-0.041320737451314926,
-0.3278673589229584,
0.4429028034210205,
-0.039146676659584045,
0.04050731658935547,
-0.05209583044052124,
-0.12669825553894043,
-0.27127623558044434,
-0.1623123288154602,
-0.34234145283699036,
-0.055405113846063614,
0.13712076842784882,
0.30260491371154785,
-0.015861188992857933,
0.20445659756660461,
0.02737359330058098,
0.12848950922489166,
-0.5256735682487488,
0.04204311594367027,
0.04818246141076088,
0.259793758392334,
-0.1240631565451622,
0.005882780533283949,
0.12466827034950256,
0.09929760545492172,
0.09879139810800552,
-0.04705137386918068,
-0.19097602367401123,
0.30822598934173584,
0.2828398048877716,
0.2788022756576538,
0.17354148626327515,
0.154774010181427,
0.11210416257381439,
-0.3107188642024994,
-0.08201393485069275,
0.26521992683410645,
-0.10467969626188278,
-0.2542717754840851,
-0.3573020100593567,
0.40602582693099976,
-0.04961724951863289,
-0.03252048045396805,
-0.0627221092581749,
0.11776981502771378,
0.36783841252326965,
-0.05153129994869232,
-0.1578398048877716,
-0.2539519667625427,
0.34282800555229187,
0.07265090942382812,
0.1073363870382309,
0.12260646373033524,
-0.23301474750041962,
-0.07003889232873917,
0.49748069047927856,
-0.14550623297691345,
-0.0020784735679626465,
0.18131712079048157,
0.21590924263000488,
-0.0173029787838459,
0.13145717978477478,
0.5213586688041687,
0.14506934583187103,
0.08967878669500351,
0.236162006855011,
0.05181900039315224,
-0.1459527462720871,
-0.14746849238872528,
-0.018225781619548798,
-0.07438446581363678,
0.12523460388183594,
0.46341878175735474,
-0.09182856231927872,
-0.016151320189237595,
-0.6106401085853577,
0.005112927407026291,
0.09624490886926651,
0.3151153028011322,
-0.29928112030029297,
-0.2282571792602539,
-0.08809380233287811,
-0.13825950026512146,
-0.3154153525829315,
-0.06299246102571487,
-0.4115455746650696,
-0.5413975119590759,
-0.00408732146024704,
0.03623240441083908,
0.0005868226289749146,
0.1515588015317917,
-0.33923831582069397,
0.06821110844612122,
-0.17192155122756958,
0.02200430817902088,
0.059225499629974365,
0.013176165521144867,
-0.16007879376411438,
0.1361152082681656,
0.6430564522743225,
-0.0059280418790876865,
0.4341425597667694,
-0.4331226050853729,
0.055332623422145844,
-0.40754780173301697,
-0.4340152442455292,
0.04586035758256912,
-0.11361800134181976,
0.18179665505886078,
0.05533922463655472,
0.18827185034751892,
-0.2814410328865051,
-0.29782834649086,
0.057482797652482986,
0.11584047973155975,
-0.18572057783603668,
0.22401510179042816,
-0.14451315999031067,
-0.1537795215845108,
0.08444416522979736,
-0.2872740924358368,
-0.1813553273677826,
-0.2275400608778,
0.001540638506412506,
0.09125217795372009,
0.204935222864151,
0.0019298167899250984,
-0.02949528396129608,
0.2374277263879776,
-0.07499047368764877,
0.11220919340848923,
-0.24732421338558197,
-0.5432507991790771,
0.541539192199707,
-0.1286885142326355,
-0.39522886276245117,
0.2389933466911316,
0.05793590098619461,
0.18322627246379852,
0.1102752611041069,
-0.6624627709388733,
-0.018465379253029823,
-0.22113509476184845,
0.24165216088294983,
0.25606971979141235,
0.020514698699116707,
0.30663126707077026,
0.07610230892896652,
-0.0208982415497303,
-0.20893800258636475,
-0.022860482335090637,
-0.047389112412929535,
-0.11698272079229355,
0.5548336505889893,
-0.35583940148353577,
0.28269726037979126,
0.011247280985116959,
0.7115707397460938,
0.3619563579559326,
0.10103993117809296,
0.23551391065120697,
0.1196092963218689,
0.4429766535758972,
0.009333252906799316,
-0.10980807989835739,
0.22771918773651123,
-0.30959415435791016,
-0.12762144207954407,
0.35172584652900696,
-0.0971311405301094,
-0.28749310970306396,
-0.2891194224357605,
-0.02302015759050846,
-0.28680795431137085,
-0.1588061898946762,
-0.011629456654191017,
-0.2746296525001526,
0.24972495436668396,
-0.03420691937208176,
0.1556483805179596,
-0.034563884139060974,
-0.35810375213623047,
0.25046679377555847,
0.34120869636535645,
-0.17765012383460999,
-0.13945606350898743,
-0.5780330300331116,
-0.10174111276865005,
-0.21059247851371765,
0.13994252681732178,
0.0564429797232151,
0.42632049322128296,
-0.1391599178314209,
0.09348473697900772,
-0.020733848214149475,
-0.1740337461233139,
0.40289074182510376,
-0.6320538520812988,
0.13315677642822266,
-0.10708385705947876,
0.19412845373153687,
-0.01653563231229782,
-0.25624093413352966,
-0.155288964509964,
-0.09896235167980194,
0.24309298396110535,
0.19092890620231628,
-0.30035075545310974,
0.19169750809669495,
0.28211426734924316,
0.30686846375465393,
-0.1341220885515213,
-0.20551307499408722,
-0.24898859858512878,
-0.18558621406555176,
-0.10252311825752258,
0.09552083164453506,
-0.005077218636870384,
0.10482080280780792,
-0.2150096595287323,
-0.06096454709768295,
0.034459248185157776,
0.08532316982746124,
0.2776678800582886,
-0.005089621990919113,
0.11956435441970825,
0.37594667077064514,
0.26037174463272095,
-0.009957794100046158,
0.010591819882392883,
0.28554821014404297,
0.7929759621620178,
-0.20666801929473877,
-0.3299405872821808,
-0.02202402427792549,
-0.46440455317497253,
-0.07586390525102615,
0.30000564455986023,
0.10548970848321915,
-0.10467728227376938,
0.4776608347892761,
-0.14925897121429443,
0.19297140836715698,
0.027631545439362526,
0.3113023340702057,
0.06513257324695587,
-0.5762143135070801,
-0.2994309365749359,
0.18002885580062866,
0.05406506732106209,
-0.0911930724978447,
0.40342843532562256,
0.11390077322721481,
-0.16180910170078278,
0.14016050100326538,
0.1852487325668335,
0.9065539240837097,
-0.088319331407547,
0.00513414666056633,
0.08501988649368286,
-0.15647348761558533,
0.1460811346769333,
-0.20648981630802155,
-0.1242254376411438,
-0.28938427567481995,
-0.3590068519115448,
-0.16852355003356934,
-0.10025349259376526,
0.199905127286911,
-0.01989790052175522,
-0.1734284609556198,
0.20144356787204742,
-0.04344644397497177,
0.3870300352573395,
0.05531693994998932,
0.2879035770893097,
-0.25438499450683594,
0.003542657010257244,
0.09591781347990036,
0.13576267659664154,
-0.0360528826713562,
0.09782978892326355,
-0.18956613540649414,
-0.05919270217418671,
-0.07162239402532578,
-0.13161969184875488,
-0.5670632123947144,
0.13286131620407104,
0.07932828366756439,
0.09139810502529144,
0.2015390545129776,
-0.10129649937152863,
0.010959208011627197,
0.5014883875846863,
0.4240871071815491,
0.12077353894710541,
-0.25567427277565,
0.32443299889564514,
0.2611984610557556,
0.13406941294670105,
0.11438337713479996,
-0.11421288549900055,
0.35217294096946716,
-0.17967772483825684,
-0.23895800113677979,
0.16259533166885376,
-0.2159949690103531,
-0.2577541470527649,
-0.17636297643184662,
-0.20627669990062714,
-0.22810839116573334,
-0.24326008558273315,
-0.15783995389938354,
0.016090765595436096,
-0.17656289041042328,
-0.26485326886177063,
0.1953224241733551,
0.205389603972435,
-0.10674931854009628,
0.3219234049320221,
0.04780570790171623,
-0.17334485054016113,
-0.246968612074852,
0.48647069931030273,
-0.07728417962789536,
-0.21796347200870514,
0.3728468120098114,
0.10443361103534698,
-0.32388490438461304,
-0.15928839147090912,
0.08404446393251419,
0.11893811821937561,
-0.37416866421699524,
-0.37280744314193726,
-0.3173365294933319,
0.08523663878440857,
0.010806305333971977,
0.4347771108150482,
0.4808287024497986,
0.10868028551340103,
0.1935252547264099,
-0.5308424830436707,
-0.15346281230449677,
0.030868038535118103,
0.19426673650741577,
0.36743515729904175,
-0.40414565801620483,
-0.2772807478904724,
0.18774820864200592,
-0.07249118387699127,
-0.33355557918548584,
-0.11974097788333893,
-0.20540019869804382,
-0.025302886962890625,
-0.061957597732543945,
0.16189806163311005,
0.08777759969234467,
-0.21066437661647797,
0.12590831518173218,
-0.11997939646244049,
-0.23301644623279572,
-0.16912826895713806,
-0.10954685509204865,
0.13250666856765747,
0.27200138568878174,
-0.0783466026186943,
0.19596275687217712,
-0.291534423828125,
0.010867553763091564,
0.08165658265352249,
-0.03748094290494919,
0.11952441185712814,
-0.1684173047542572,
0.090053491294384,
0.21481218934059143,
0.10111195594072342,
0.02140490710735321,
-0.13188651204109192,
-0.28007957339286804,
0.06858658790588379,
0.028546348214149475,
-0.028294548392295837,
0.2519226372241974,
-0.061965376138687134,
0.1850537657737732,
0.17344075441360474,
-0.11534780263900757,
0.07405632734298706,
0.2842765152454376,
-0.30438005924224854,
0.07963195443153381,
0.4003632068634033,
0.3802456855773926,
0.5603528022766113,
-0.4356018602848053,
-0.02767416462302208,
0.4018418788909912,
0.23277471959590912,
-0.36773231625556946,
-0.17326383292675018,
0.2290308177471161,
0.18162664771080017,
-0.03465457260608673,
-0.009254254400730133,
0.3343527317047119,
-0.49341365694999695,
0.44403600692749023,
0.16823187470436096,
-0.04151914641261101,
-0.41810858249664307,
0.4029773771762848,
0.6176366806030273,
-0.1812915951013565,
0.13791832327842712,
0.20694290101528168,
-0.2488131821155548,
-0.2326362431049347,
0.26063090562820435,
-0.029825806617736816,
0.3266476094722748,
-0.19361263513565063,
0.1419970840215683,
-0.17115026712417603,
-0.3987632989883423,
0.6434701085090637,
0.06832388043403625,
-0.343563973903656,
0.004317190498113632,
0.23309111595153809,
0.299297958612442,
-0.0939553827047348,
0.2245430052280426,
-0.6349982619285583,
-0.09851092100143433,
-0.1355161964893341,
0.0031439345329999924,
-0.2462889552116394,
-0.3027891516685486,
-0.06422527879476547,
0.3353808522224426,
-0.11217616498470306,
0.0971083715558052,
-0.052752330899238586,
0.274130642414093,
-0.4017373323440552,
-0.2304774969816208,
0.004655247554183006,
-0.32768142223358154,
0.28211283683776855,
-0.2547489404678345,
0.19567474722862244,
0.07785017788410187,
-0.14935877919197083,
0.024806814268231392,
0.2773587107658386,
0.21149541437625885,
0.3314645290374756,
0.1284664273262024,
-0.031944431364536285,
0.16240225732326508,
0.049233369529247284,
0.013509858399629593,
0.576282262802124,
0.24057476222515106,
0.007721183821558952,
0.41359585523605347,
0.1530100703239441,
-0.2103032022714615,
0.2717007100582123,
-0.1533907651901245,
-0.13083332777023315,
-0.1383737325668335,
0.16998225450515747,
-0.05980700999498367,
0.12501585483551025,
-0.16438809037208557,
0.016477331519126892,
-0.37088078260421753,
0.02232237532734871,
0.24383345246315002,
0.2063225656747818,
0.15767008066177368,
-0.19363069534301758,
0.09006703644990921,
0.1720416247844696,
0.4127340018749237,
0.3325984477996826,
-0.02210845798254013,
-0.14034141600131989,
-0.3617285490036011,
-0.8754768967628479,
0.2293621450662613,
-0.22513440251350403,
0.27393659949302673,
-0.027654502540826797,
0.004244869574904442,
-0.038289256393909454,
0.11662757396697998,
0.3134618401527405,
-0.1361175775527954,
-0.2415894716978073,
0.12248766422271729,
-0.18188102543354034,
-0.09438708424568176,
-0.08925530314445496,
0.05977015942335129,
-0.1835647076368332,
-0.26145580410957336,
0.4266706705093384,
-0.04524567723274231,
0.08573562651872635,
-0.0023913364857435226,
-0.21686556935310364,
-0.09995032846927643,
0.1037553995847702,
0.2703511714935303,
-0.002247963100671768,
0.723594069480896,
-0.09378381818532944,
-0.08373884856700897,
-0.30906736850738525,
-0.27166393399238586,
-0.1342150717973709,
0.3897969424724579,
-0.1653950810432434,
0.556383490562439,
0.16464482247829437,
-0.05483480170369148,
-0.10061059892177582,
0.19272658228874207,
0.13823509216308594,
0.06153859198093414,
-0.14920084178447723,
-0.18953515589237213,
0.12309897691011429,
-0.13949725031852722,
0.3151589035987854,
0.09500544518232346,
0.047944266349077225,
0.034150511026382446,
-0.13635894656181335,
-0.33300212025642395,
0.19749239087104797,
-0.19756680727005005,
-0.004540447145700455,
-0.24886074662208557,
0.03409643471240997,
-0.16609209775924683,
-0.08971953392028809,
-0.5596003532409668,
0.06047920137643814,
0.3483460545539856,
-0.015423860400915146,
-0.09434594213962555,
0.1488521546125412,
0.007991932332515717,
0.1212228387594223,
0.0029003433883190155,
0.16165515780448914,
-0.06433899700641632,
-0.28883424401283264,
0.009658679366111755,
-0.26573434472084045
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I can see this problem too in xcopa, unfortunately installing the latest master (1.18.4.dev0) doesn't work, @albertvillanova .
```
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
Throws
```
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
``` | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 74 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
I can see this problem too in xcopa, unfortunately installing the latest master (1.18.4.dev0) doesn't work, @albertvillanova .
```
from datasets import load_dataset
dataset = load_dataset("xcopa", "it")
```
Throws
```
in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://github.com/cambridgeltl/xcopa/archive/master.zip']
``` | [
-0.3634569048881531,
0.22175848484039307,
-0.0390358567237854,
0.15206627547740936,
0.19602477550506592,
-0.004692547023296356,
-0.016569014638662338,
0.480654239654541,
0.012492693960666656,
0.10679517686367035,
0.08602272719144821,
0.16004061698913574,
0.20923413336277008,
0.128358393907547,
-0.16576969623565674,
0.3392215669155121,
0.22067594528198242,
0.059041913598775864,
-0.2113901674747467,
-0.08978290855884552,
-0.3299865126609802,
-0.009242521598935127,
0.04345624893903732,
-0.37029391527175903,
-0.21103660762310028,
0.22453643381595612,
0.00933464802801609,
-0.3594241738319397,
-0.3264991343021393,
-0.4185551106929779,
0.546664834022522,
0.21971358358860016,
-0.08813375979661942,
0.25108659267425537,
-0.00011393448221497238,
0.2255784422159195,
0.4916987419128418,
-0.033492155373096466,
-0.13011470437049866,
0.05732513964176178,
-0.5727482438087463,
-0.2505689263343811,
-0.20622432231903076,
-0.10009278357028961,
-0.05135853588581085,
0.16379284858703613,
-0.08339778333902359,
-0.06724768131971359,
-0.07238781452178955,
0.24254971742630005,
0.19508208334445953,
0.3550712764263153,
0.1313629299402237,
-0.038800355046987534,
0.2899054288864136,
-0.05019272863864899,
-0.031071307137608528,
0.1560603529214859,
0.10352815687656403,
0.12474438548088074,
-0.11350063234567642,
0.2756739854812622,
-0.07335756719112396,
-0.25800877809524536,
-0.08506142348051071,
-0.2370336800813675,
0.1488456130027771,
-0.18345023691654205,
0.25438398122787476,
0.40788590908050537,
0.5357620120048523,
-0.14862409234046936,
-0.33515462279319763,
-0.05963585153222084,
-0.11943159252405167,
-0.1829403191804886,
0.4538167119026184,
0.09640590846538544,
-0.02094738744199276,
0.06600359082221985,
-0.19464416801929474,
0.26066991686820984,
0.021179012954235077,
0.22256094217300415,
-0.025112856179475784,
0.33716946840286255,
0.12838886678218842,
-0.002907000482082367,
0.15102049708366394,
-0.036005742847919464,
0.574641227722168,
-0.13499708473682404,
-0.3604217767715454,
0.16634991765022278,
-0.34830930829048157,
-0.0014670789241790771,
-0.00021298974752426147,
0.4169413149356842,
0.47142839431762695,
0.08822929114103317,
-0.08270885795354843,
0.24380174279212952,
-0.17194437980651855,
0.15789470076560974,
-0.04477884992957115,
0.22445917129516602,
-0.02357085794210434,
0.388078898191452,
0.11659799516201019,
0.18869341909885406,
-0.07187218964099884,
0.11593528091907501,
0.12480168044567108,
-0.30890822410583496,
0.21376726031303406,
0.2668440639972687,
0.024699848145246506,
-0.43757331371307373,
-0.22341689467430115,
0.3009350895881653,
0.016332201659679413,
-0.29490941762924194,
0.24975357949733734,
0.2732068598270416,
-0.10224275290966034,
0.5024850368499756,
-0.22645607590675354,
0.16370423138141632,
-0.131310373544693,
-0.11017617583274841,
-0.2292998731136322,
-0.015886418521404266,
-0.2489556521177292,
-0.026996290311217308,
0.20815898478031158,
-0.32809919118881226,
0.3740609586238861,
-0.0025191260501742363,
0.2814955413341522,
-0.24331234395503998,
-0.013861145824193954,
-0.11353614926338196,
-0.1100085899233818,
0.2595214545726776,
-0.07329414784908295,
0.017546096816658974,
0.0914086401462555,
-0.03487607464194298,
-0.07942717522382736,
0.08353940397500992,
-0.33593764901161194,
-0.06337957084178925,
0.004134943708777428,
0.2597450017929077,
-0.44317907094955444,
-0.10556875169277191,
-0.15166956186294556,
-0.28233101963996887,
0.27142295241355896,
-0.11955156922340393,
-0.006213784217834473,
-0.16709402203559875,
0.007155973464250565,
-0.19936658442020416,
0.08046663552522659,
0.1566431224346161,
-0.1580193042755127,
0.07623700797557831,
-0.027520466595888138,
-0.1368146538734436,
0.1813879758119583,
-0.01262744516134262,
-0.09445111453533173,
0.31114259362220764,
-0.19111418724060059,
-0.05005979537963867,
0.10412005335092545,
-0.5962732434272766,
-0.7689023613929749,
-0.1865931749343872,
0.3095911145210266,
0.20921576023101807,
0.17387792468070984,
-0.08586077392101288,
0.1033187136054039,
-0.13579806685447693,
-0.3754766285419464,
-0.054189056158065796,
0.169014573097229,
0.09860045462846756,
-0.24389655888080597,
-0.15081027150154114,
0.039600204676389694,
0.22391770780086517,
0.19627825915813446,
-0.23450016975402832,
0.28762808442115784,
-0.10171870142221451,
0.24575942754745483,
-0.24859628081321716,
0.02699299342930317,
0.09714016318321228,
0.4311550259590149,
-0.016864381730556488,
0.051040153950452805,
0.015445072203874588,
-0.023334160447120667,
0.3862486481666565,
-0.05118052661418915,
0.16189321875572205,
-0.04530887305736542,
-0.14073213934898376,
-0.2795661985874176,
-0.16331364214420319,
-0.4493742883205414,
-0.014445807784795761,
0.1493973582983017,
0.2919468879699707,
0.08428265154361725,
0.15703697502613068,
0.07109297811985016,
0.14384083449840546,
-0.5047531723976135,
0.006718709133565426,
-0.13399378955364227,
0.14488308131694794,
-0.02822023816406727,
0.007102352101355791,
0.1917279064655304,
0.30707037448883057,
0.18324238061904907,
-0.037774354219436646,
-0.23409271240234375,
0.3226476311683655,
0.33985480666160583,
0.2355361431837082,
-0.018457874655723572,
0.2227361649274826,
0.11165128648281097,
-0.5854957699775696,
-0.04705952852964401,
0.22846657037734985,
0.05063360556960106,
-0.12924659252166748,
-0.11044900864362717,
0.4017413258552551,
0.04096594080328941,
-0.043296895921230316,
-0.08069463819265366,
-0.025489363819360733,
0.4137803316116333,
-0.19713802635669708,
-0.22879928350448608,
-0.2732153534889221,
0.20300331711769104,
0.2050541788339615,
0.09716509282588959,
0.2035532146692276,
0.22567826509475708,
-0.07544765621423721,
0.4232519567012787,
-0.1062711626291275,
0.03735637664794922,
0.1138802021741867,
0.2194247543811798,
0.1228877380490303,
-0.03648672252893448,
0.5303394794464111,
0.18047061562538147,
0.1211039200425148,
0.03286336362361908,
0.11502736806869507,
-0.32445675134658813,
-0.025521617382764816,
-0.0019363462924957275,
-0.034780584275722504,
0.23921902477741241,
0.4284629225730896,
-0.15076300501823425,
-0.07872197031974792,
-0.4129514694213867,
-0.038500621914863586,
-0.02018239162862301,
0.30837950110435486,
-0.3606129586696625,
-0.2553163170814514,
-0.35674819350242615,
-0.3168809115886688,
-0.19334600865840912,
0.04186268150806427,
-0.12167540192604065,
-0.46326184272766113,
-0.05432085692882538,
-0.01953606680035591,
-0.0061781201511621475,
0.3221709132194519,
-0.5358049273490906,
-0.06425197422504425,
-0.13876177370548248,
-0.18900229036808014,
0.12943659722805023,
-0.10254772007465363,
-0.03360357880592346,
0.0914575606584549,
0.5303919911384583,
-0.05993948131799698,
0.2663111388683319,
-0.44044286012649536,
0.1127864420413971,
-0.25052911043167114,
-0.4522186815738678,
0.09250399470329285,
-0.26447373628616333,
-0.01538795419037342,
0.01380852609872818,
0.09143193066120148,
-0.12020285427570343,
-0.32006770372390747,
0.0816797986626625,
0.12905287742614746,
-0.3398219048976898,
0.16177521646022797,
-0.2297857105731964,
-0.253199964761734,
0.11723922193050385,
-0.2592999339103699,
-0.07833496481180191,
-0.15275181829929352,
-0.19141395390033722,
0.2056277096271515,
0.1268025040626526,
-0.07928645610809326,
0.055754657834768295,
0.11618126928806305,
-0.16735929250717163,
-0.022752495482563972,
-0.2798978090286255,
-0.7397505640983582,
0.5351414084434509,
0.011124292388558388,
-0.35856080055236816,
0.11925968527793884,
-0.1775105744600296,
0.588810384273529,
0.06984222680330276,
-0.4684116840362549,
0.02310112863779068,
-0.17843645811080933,
0.19695428013801575,
0.4038403034210205,
0.0500996932387352,
0.23202937841415405,
0.10580021142959595,
0.03848087787628174,
-0.295657753944397,
-0.07911156117916107,
0.02406422793865204,
-0.08955024182796478,
0.5666341781616211,
-0.20723620057106018,
0.18485325574874878,
-0.02802634984254837,
0.5037475228309631,
0.4361937344074249,
0.20308233797550201,
0.38857150077819824,
0.13752061128616333,
0.3585473597049713,
-0.19395649433135986,
-0.19224633276462555,
0.11726115643978119,
-0.17377719283103943,
-0.0012926030904054642,
-0.012391798198223114,
-0.0643627941608429,
-0.12294692546129227,
-0.13919031620025635,
-0.1871788203716278,
-0.5072656869888306,
-0.1990104615688324,
-0.03153539448976517,
-0.14160005748271942,
0.204014390707016,
-0.09734944999217987,
0.07131048291921616,
-0.07778722047805786,
-0.4643814265727997,
0.1623094230890274,
0.29893171787261963,
-0.202614426612854,
-0.11691790074110031,
-0.6668241024017334,
-0.06372874975204468,
-0.09572412818670273,
0.2471209168434143,
0.12922416627407074,
0.3670232892036438,
0.13692119717597961,
-0.04328244924545288,
-0.08873480558395386,
-0.10377620160579681,
0.20710057020187378,
-0.35197654366493225,
0.16141124069690704,
0.04116135090589523,
0.08527059853076935,
-0.013048850931227207,
-0.21248142421245575,
0.049556877464056015,
-0.33708739280700684,
0.07173427939414978,
0.093683160841465,
-0.2212764024734497,
0.2348221242427826,
0.02413138374686241,
0.3059917390346527,
-0.18036247789859772,
-0.18147239089012146,
-0.32447776198387146,
-0.1924930214881897,
-0.22810862958431244,
-0.0014827996492385864,
0.06299284100532532,
0.2394637167453766,
-0.19065667688846588,
-0.1302717626094818,
-0.0726897343993187,
-0.13523854315280914,
0.28465142846107483,
0.18679773807525635,
0.260754257440567,
0.05419512838125229,
0.26598355174064636,
-0.047031670808792114,
0.01221204549074173,
0.4053132236003876,
0.7856937646865845,
-0.13809074461460114,
-0.42497217655181885,
-0.15407097339630127,
-0.41159188747406006,
0.14670245349407196,
0.003651648759841919,
0.07526568323373795,
0.00503963977098465,
0.2612486183643341,
-0.33120983839035034,
-0.027033839374780655,
-0.018411094322800636,
0.012611283920705318,
0.2048453539609909,
-0.6091310977935791,
-0.25821012258529663,
0.17258098721504211,
0.07631780207157135,
-0.10093396157026291,
0.4174737334251404,
0.1300460249185562,
-0.24019655585289001,
0.2051628828048706,
0.3496783673763275,
0.8791460990905762,
-0.04957281053066254,
-0.12241226434707642,
0.024149660021066666,
0.1834741234779358,
0.12515099346637726,
-0.218859001994133,
0.00854136049747467,
-0.3101395070552826,
-0.45997154712677,
-0.09715346992015839,
-0.20735995471477509,
0.3309386074542999,
-0.08796966075897217,
-0.24459272623062134,
0.21346069872379303,
-0.09629805386066437,
0.13654236495494843,
0.06207418441772461,
0.2420768439769745,
-0.2512407600879669,
0.006589275784790516,
0.2692481279373169,
0.13601475954055786,
0.10357080399990082,
0.12925492227077484,
-0.03982752934098244,
-0.029487725347280502,
-0.30214694142341614,
-0.20454730093479156,
-0.4149218797683716,
0.2861696183681488,
-0.0022090424317866564,
-0.017413266003131866,
0.30392929911613464,
0.1844186931848526,
-0.0762048214673996,
0.3437405824661255,
0.3560349941253662,
0.16717296838760376,
-0.21215955913066864,
0.377103328704834,
0.39572736620903015,
0.11514391005039215,
0.1972668617963791,
-0.18072569370269775,
0.3155067265033722,
-0.18197014927864075,
-0.37152647972106934,
0.2733805179595947,
-0.060223549604415894,
-0.36759716272354126,
-0.016658544540405273,
-0.24127919971942902,
-0.08469291031360626,
-0.33921268582344055,
-0.06645083427429199,
-0.006584927439689636,
-0.10219849646091461,
-0.22296731173992157,
0.17606914043426514,
0.24583660066127777,
-0.18378576636314392,
0.2567533254623413,
0.04358511045575142,
-0.30456310510635376,
-0.08766636252403259,
0.35727742314338684,
0.1614837348461151,
-0.15928244590759277,
0.4566827118396759,
-0.17279204726219177,
-0.2001527100801468,
-0.16681087017059326,
0.12056023627519608,
0.06142078712582588,
-0.4787353575229645,
-0.47138917446136475,
-0.2419714778661728,
-0.0312964990735054,
0.08382165431976318,
0.4181939959526062,
0.40391379594802856,
0.21796175837516785,
0.07057987153530121,
-0.6135213971138,
-0.1956002116203308,
-0.06591516733169556,
-0.04665279760956764,
0.28062453866004944,
-0.45157894492149353,
-0.005705021321773529,
0.1243964284658432,
0.04942206293344498,
-0.2754032015800476,
-0.18632309138774872,
-0.23766271770000458,
0.04773492366075516,
-0.09111601114273071,
0.2596861720085144,
0.037562545388936996,
-0.20789064466953278,
0.20033566653728485,
0.07097266614437103,
-0.13097736239433289,
-0.19219845533370972,
-0.17378857731819153,
0.10261237621307373,
0.27105334401130676,
-0.06011815369129181,
0.0925629660487175,
-0.06854971498250961,
0.0897083729505539,
-0.04394262284040451,
-0.05304383486509323,
-0.03786630555987358,
-0.16895490884780884,
0.29510805010795593,
0.18495190143585205,
-0.08438325673341751,
0.0056562162935733795,
-0.1260872483253479,
-0.32984527945518494,
-0.1180797815322876,
0.03379451110959053,
0.013441521674394608,
0.04706769809126854,
-0.034214217215776443,
0.1941424161195755,
0.1660080850124359,
-0.13597266376018524,
0.17222484946250916,
0.25981539487838745,
-0.07360009849071503,
0.18699710071086884,
0.49620139598846436,
0.1402042806148529,
0.2916107177734375,
-0.3536538779735565,
-0.023407332599163055,
0.47949978709220886,
0.1981184333562851,
-0.4694267511367798,
-0.18270549178123474,
0.22575195133686066,
0.24947749078273773,
0.04467666521668434,
0.017277732491493225,
0.3572230935096741,
-0.5105640888214111,
0.46477770805358887,
-0.029339250177145004,
0.024719692766666412,
-0.25633805990219116,
0.5868942737579346,
0.817857563495636,
-0.02815171331167221,
0.06523503363132477,
0.13568852841854095,
-0.3078015446662903,
-0.23402190208435059,
0.20540858805179596,
-0.11435068398714066,
0.43200793862342834,
-0.28405582904815674,
0.2566128671169281,
-0.16682028770446777,
-0.4245359003543854,
0.48034945130348206,
0.041881971061229706,
-0.29289117455482483,
0.06214717775583267,
0.1582825779914856,
0.15374237298965454,
0.27140355110168457,
0.19350537657737732,
-0.603083074092865,
-0.03870374336838722,
-0.02476327121257782,
-0.060638442635536194,
-0.2899235486984253,
-0.232331782579422,
0.02966177463531494,
0.15206851065158844,
0.12773127853870392,
0.06810838729143143,
0.011803783476352692,
0.14043346047401428,
-0.4092497229576111,
-0.05119038373231888,
-0.08563027530908585,
-0.235709547996521,
0.1663617193698883,
-0.09428329765796661,
0.31692373752593994,
0.005979649722576141,
-0.15973499417304993,
0.06401225179433823,
0.3693750500679016,
0.25575166940689087,
0.41440656781196594,
0.2399015575647354,
0.04825874790549278,
0.08289030194282532,
0.1054529994726181,
0.07588955760002136,
0.6630917191505432,
0.12877728044986725,
-0.0341460146009922,
0.37249237298965454,
0.18575774133205414,
-0.12266646325588226,
-0.12841840088367462,
-0.16255562007427216,
-0.054497335106134415,
0.0036930525675415993,
0.1344403475522995,
0.188092902302742,
0.35002583265304565,
-0.08511282503604889,
0.26441890001296997,
-0.33738523721694946,
-0.051107779145240784,
0.39442726969718933,
0.058345455676317215,
0.14439842104911804,
-0.1295514851808548,
0.086618572473526,
-0.12241949141025543,
0.3859567940235138,
0.2878338694572449,
-0.20449957251548767,
-0.2471790909767151,
-0.36048924922943115,
-0.788274884223938,
0.14617231488227844,
-0.29775291681289673,
-0.07048381865024567,
0.0352105014026165,
0.004328509792685509,
-0.029307253658771515,
0.19396217167377472,
0.36605173349380493,
-0.15382027626037598,
-0.007989013567566872,
0.03702559322118759,
-0.21402353048324585,
-0.06465955078601837,
-0.07483084499835968,
-0.062474168837070465,
-0.13548554480075836,
-0.2481793463230133,
0.27030861377716064,
0.2150871455669403,
0.16751208901405334,
0.04906192049384117,
-0.05551183596253395,
-0.053780823945999146,
0.056231364607810974,
0.19546228647232056,
0.06417003273963928,
0.5322383046150208,
-0.04654918611049652,
0.034975700080394745,
-0.30888640880584717,
-0.14745643734931946,
-0.0756339281797409,
0.4101513624191284,
0.06117108464241028,
0.28013792634010315,
0.09306348860263824,
0.12866754829883575,
-0.14345404505729675,
0.2945929765701294,
0.17397648096084595,
-0.27334991097450256,
-0.3375016152858734,
-0.001150275580585003,
-0.06701067090034485,
-0.12582775950431824,
0.18622402846813202,
0.04365760087966919,
0.03069480136036873,
0.2505970895290375,
0.015915945172309875,
-0.20131848752498627,
0.1466924548149109,
-0.2370879054069519,
0.12782958149909973,
-0.1464560627937317,
-0.03569196164608002,
-0.09816692024469376,
0.06502021104097366,
-0.6526026129722595,
0.1276966631412506,
0.4094691276550293,
0.030743857845664024,
-0.06295710057020187,
0.11393298208713531,
0.05627069249749184,
0.2443682998418808,
0.03594055399298668,
0.055249638855457306,
-0.022764012217521667,
-0.10084563493728638,
0.08000248670578003,
-0.10005047172307968
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Hi @rafikg, I think that is another different issue. Let me check it...
I guess maybe you are using a different Python version that the one the dataset owner used to create the pickle file... | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 35 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
Hi @rafikg, I think that is another different issue. Let me check it...
I guess maybe you are using a different Python version that the one the dataset owner used to create the pickle file... | [
-0.1837100088596344,
0.12794971466064453,
-0.09204761683940887,
0.25966957211494446,
0.25079774856567383,
-0.06871268153190613,
0.13813626766204834,
0.4400162100791931,
0.4555809795856476,
0.15205585956573486,
0.016631904989480972,
0.4371013641357422,
-0.022384364157915115,
0.29817450046539307,
-0.12521128356456757,
0.05084952712059021,
0.20619545876979828,
0.06450438499450684,
-0.3080225884914398,
-0.1772567182779312,
-0.18337967991828918,
0.045908160507678986,
0.04264288395643234,
-0.2525208592414856,
-0.20482167601585388,
0.019851617515087128,
0.015943927690386772,
0.0702449306845665,
-0.21796371042728424,
-0.3563280403614044,
0.22473831474781036,
0.08035717159509659,
0.016910370439291,
0.36394262313842773,
-0.00010985827975673601,
0.1953141838312149,
0.22660605609416962,
-0.06103389710187912,
-0.1925615519285202,
0.025456175208091736,
-0.29945194721221924,
-0.3886970281600952,
-0.10181518644094467,
-0.2876322865486145,
-0.10017479956150055,
0.1234682947397232,
-0.0243177842348814,
-0.20477528870105743,
0.20833328366279602,
0.32704806327819824,
0.2862396240234375,
0.42286527156829834,
0.16783006489276886,
0.11907126754522324,
0.2620045840740204,
-0.1490418165922165,
-0.06859548389911652,
0.25571033358573914,
-0.060315027832984924,
0.08886686712503433,
-0.22494587302207947,
0.27612873911857605,
0.035471320152282715,
-0.1054697036743164,
-0.07112743705511093,
-0.11225686222314835,
-0.1392611265182495,
-0.231163889169693,
0.1794038712978363,
0.44403600692749023,
0.5254744291305542,
-0.06375245749950409,
-0.38582706451416016,
-0.0568048395216465,
-0.13825306296348572,
-0.05407704412937164,
0.3208703398704529,
0.20151659846305847,
0.04182406887412071,
0.07036943733692169,
0.06562130898237228,
0.027526842430233955,
0.11796191334724426,
0.16697075963020325,
0.1519864797592163,
0.4212052524089813,
0.0426650196313858,
-0.02979975938796997,
0.14754106104373932,
-0.14936158061027527,
0.1190241128206253,
-0.11596111953258514,
-0.23552846908569336,
0.2588363587856293,
-0.15861448645591736,
-0.07940078526735306,
0.08324985206127167,
0.21058034896850586,
0.2272723913192749,
0.15821473300457,
-0.20611578226089478,
0.2631707191467285,
-0.5140001773834229,
0.09701572358608246,
0.12505094707012177,
-0.09958337247371674,
-0.005405433475971222,
0.41815897822380066,
0.2440284639596939,
0.11262095719575882,
-0.231951504945755,
0.10429473221302032,
0.014525537379086018,
-0.3301546275615692,
0.16875220835208893,
-0.037195734679698944,
-0.053033873438835144,
-0.23940105736255646,
-0.05203435942530632,
0.2708118259906769,
0.018794864416122437,
-0.22784867882728577,
0.03422864153981209,
0.29912084341049194,
-0.24351093173027039,
0.1506119668483734,
-0.17398123443126678,
0.21902385354042053,
-0.2628975212574005,
-0.02961062639951706,
-0.2792401909828186,
0.14972428977489471,
-0.1236690878868103,
-0.1439274251461029,
0.14657722413539886,
-0.2184092104434967,
0.448427677154541,
0.02829856425523758,
0.02131873369216919,
-0.09902429580688477,
0.0034604351967573166,
-0.16309045255184174,
-0.11973860114812851,
0.2568810284137726,
-0.038631245493888855,
0.031873203814029694,
0.2937024235725403,
-0.3306816816329956,
-0.07547793537378311,
0.12155027687549591,
-0.31627020239830017,
-0.04321497306227684,
-0.23835934698581696,
0.2684853971004486,
-0.36963480710983276,
-0.1251155585050583,
-0.15628254413604736,
-0.22188885509967804,
0.2508499026298523,
-0.3410397171974182,
0.034654080867767334,
-0.24874265491962433,
-0.17867444455623627,
-0.23337259888648987,
0.02100043185055256,
0.23977798223495483,
-0.43367326259613037,
0.04553884267807007,
-0.06776107847690582,
-0.19253291189670563,
0.27851882576942444,
0.18837405741214752,
-0.06842102855443954,
0.11438274383544922,
-0.3408776521682739,
0.3613525629043579,
0.3370780348777771,
-0.25542208552360535,
-0.5596570372581482,
-0.06694506853818893,
0.21268101036548615,
0.18538221716880798,
0.11743756383657455,
0.06074589118361473,
-0.1334763467311859,
0.07403527945280075,
-0.08985143899917603,
0.05966470018029213,
0.3936373293399811,
0.17265142500400543,
-0.3381372094154358,
-0.03944334387779236,
0.35091888904571533,
0.1663111299276352,
0.13635973632335663,
-0.17656511068344116,
0.29642173647880554,
-0.31529560685157776,
0.43098610639572144,
-0.1269523799419403,
0.00017746328376233578,
0.15532928705215454,
0.532255232334137,
0.07300940901041031,
-0.00888850912451744,
-0.14014044404029846,
-0.06470782309770584,
0.31374070048332214,
-0.18665117025375366,
0.19315168261528015,
-0.11076126992702484,
-0.09192009270191193,
-0.25245797634124756,
-0.1420799344778061,
-0.45651975274086,
-0.025268040597438812,
0.18685060739517212,
0.1929929554462433,
0.08974228799343109,
0.2391289323568344,
0.07150371372699738,
-0.030785756185650826,
-0.5189886093139648,
-0.020390527322888374,
-0.14145216345787048,
0.3249926269054413,
-0.22672472894191742,
-0.1608239859342575,
0.006376352161169052,
0.15583455562591553,
0.024846162647008896,
-0.020200461149215698,
-0.2362949550151825,
0.22430819272994995,
0.641677737236023,
0.003362394869327545,
0.15694202482700348,
0.03169451653957367,
-0.12799683213233948,
-0.2826160490512848,
-0.033673688769340515,
0.3249649703502655,
0.1470147669315338,
-0.09850023686885834,
-0.2763730585575104,
0.5556149482727051,
0.03529290109872818,
-0.06949510425329208,
-0.009489566087722778,
0.031142396852374077,
0.40565091371536255,
0.018901553004980087,
-0.11363155394792557,
-0.2747991681098938,
0.06423519551753998,
0.04186183214187622,
0.11895421147346497,
0.1752711683511734,
-0.2464982569217682,
-0.06332401186227798,
0.46876057982444763,
-0.03003600239753723,
0.22004088759422302,
0.13788315653800964,
0.20341777801513672,
-0.07765465974807739,
0.08570300042629242,
0.2691551446914673,
0.24266178905963898,
0.1494557112455368,
0.12670579552650452,
0.009902870282530785,
-0.08425837010145187,
-0.06408846378326416,
0.014718733727931976,
-0.18710507452487946,
0.22806046903133392,
0.4420963525772095,
-0.03290419280529022,
-0.1883387267589569,
-0.4598087668418884,
0.1113864928483963,
-0.15297354757785797,
0.29338696599006653,
-0.23335112631320953,
-0.05178765207529068,
-0.33181387186050415,
-0.0445074699819088,
-0.3081255853176117,
-0.11524075269699097,
-0.33201757073402405,
-0.424204558134079,
0.0004073977470397949,
0.0024831071496009827,
-0.07778771221637726,
0.2671741545200348,
-0.4119124710559845,
-0.1786644011735916,
0.05368082970380783,
-0.07813790440559387,
0.04393123835325241,
-0.22557877004146576,
-0.1414555311203003,
0.12407830357551575,
0.5758268237113953,
0.15591271221637726,
0.3514198064804077,
-0.13386036455631256,
-0.11949806660413742,
-0.36942821741104126,
-0.23860475420951843,
0.006837286055088043,
-0.18551960587501526,
0.37312304973602295,
0.20281338691711426,
0.3383083641529083,
-0.2931665778160095,
-0.17053928971290588,
0.15740416944026947,
0.07458103448152542,
-0.34716808795928955,
0.12642215192317963,
-0.010379795916378498,
-0.0779266208410263,
0.16460764408111572,
-0.3944220244884491,
-0.2597936987876892,
-0.24053765833377838,
-0.04212941974401474,
0.30981969833374023,
0.23611029982566833,
0.17886194586753845,
0.14025931060314178,
0.2043360471725464,
0.1547922044992447,
0.1862901896238327,
-0.321976900100708,
-0.4618423581123352,
0.51131671667099,
-0.1372174322605133,
-0.4123411178588867,
0.119117870926857,
-0.2202102392911911,
0.20881229639053345,
-0.18573521077632904,
-0.4163475036621094,
0.02722042053937912,
-0.3612752854824066,
0.36961981654167175,
0.19452737271785736,
0.2611677646636963,
0.22796931862831116,
0.14810553193092346,
-0.03791097179055214,
-0.26332005858421326,
0.05426924303174019,
0.04024318978190422,
-0.009099319577217102,
0.34338778257369995,
-0.15099337697029114,
0.0712006539106369,
-0.16381600499153137,
0.7019246816635132,
0.35434359312057495,
0.02106221579015255,
0.437712699174881,
-0.08591421693563461,
0.28907108306884766,
-0.26276707649230957,
-0.2535892724990845,
0.058399051427841187,
-0.1795853078365326,
0.024314776062965393,
0.09669546782970428,
-0.11351897567510605,
-0.022709960117936134,
-0.08740994334220886,
-0.00973123125731945,
-0.431414932012558,
-0.20855453610420227,
0.105537049472332,
-0.19338972866535187,
0.10966120660305023,
-0.07502731680870056,
0.03566136211156845,
-0.08388209342956543,
-0.241897314786911,
-0.008777137845754623,
0.308297336101532,
-0.09391852468252182,
-0.16102753579616547,
-0.43162214756011963,
-0.21897898614406586,
-0.09077958017587662,
0.09770844876766205,
0.19343028962612152,
0.18057386577129364,
0.07532253861427307,
-0.20695334672927856,
-0.01031089574098587,
-0.08618655800819397,
0.41490793228149414,
-0.4388480484485626,
0.2019730508327484,
0.015985149890184402,
0.22330859303474426,
-0.06548355519771576,
-0.2312256246805191,
-0.10968268662691116,
0.02866186946630478,
0.09011182188987732,
0.24885565042495728,
-0.24147170782089233,
0.12362945079803467,
0.09985920041799545,
0.378171443939209,
-0.21405212581157684,
-0.24058623611927032,
-0.5649896860122681,
-0.154768168926239,
-0.22608068585395813,
0.15430237352848053,
-0.015735438093543053,
0.2755843997001648,
-0.20325452089309692,
0.07152502238750458,
0.015411335974931717,
-0.03858534246683121,
0.10407138615846634,
0.04836426302790642,
0.369120329618454,
0.21340243518352509,
0.21969208121299744,
-0.22722557187080383,
0.05385328456759453,
0.13017494976520538,
0.8239243030548096,
-0.3572695255279541,
-0.167199045419693,
-0.1591092348098755,
-0.4157252609729767,
0.08440093696117401,
0.026469692587852478,
0.18641264736652374,
0.09638605266809464,
0.3853493928909302,
-0.1278584897518158,
0.07144015282392502,
-0.02816629409790039,
0.1590174287557602,
0.10196252167224884,
-0.3739687204360962,
-0.47964125871658325,
0.21602708101272583,
-0.09669463336467743,
-0.004541933536529541,
0.24807004630565643,
0.2409735769033432,
-0.11480236053466797,
0.29134315252304077,
0.13547922670841217,
0.9651502966880798,
0.0277145653963089,
0.08197097480297089,
0.3054387867450714,
-0.03086492046713829,
0.15940655767917633,
-0.05449046939611435,
-0.1078275591135025,
-0.4667625427246094,
-0.18976742029190063,
-0.017529547214508057,
-0.11765746772289276,
0.1780209243297577,
-0.02315758913755417,
-0.21706561744213104,
0.15347406268119812,
-0.22813355922698975,
-0.20008407533168793,
-0.10754229128360748,
0.3291356563568115,
-0.06462781876325607,
0.10778301954269409,
-0.03892120346426964,
0.2165105789899826,
-0.014883972704410553,
0.13443787395954132,
-0.03401559591293335,
-0.03429414704442024,
-0.18023104965686798,
-0.18945567309856415,
-0.35337400436401367,
0.18788659572601318,
0.2799876034259796,
0.3332071900367737,
0.38492217659950256,
-0.1259966492652893,
0.0008046254515647888,
0.46226638555526733,
0.13782162964344025,
0.3060856759548187,
-0.11865013837814331,
0.1697205752134323,
0.40385937690734863,
-0.002200963208451867,
0.06750500947237015,
0.05319758877158165,
0.46783965826034546,
-0.13083115220069885,
-0.43774858117103577,
0.07880529016256332,
-0.26558372378349304,
-0.304476797580719,
-0.05736866593360901,
-0.09425793588161469,
-0.1909906268119812,
-0.48721250891685486,
-0.35721731185913086,
-0.02458878606557846,
-0.1699284166097641,
-0.1986519694328308,
0.21430356800556183,
0.2076749950647354,
-0.1817980259656906,
0.2571428418159485,
0.21593773365020752,
-0.14915362000465393,
-0.05553571507334709,
0.3740110397338867,
0.06059907004237175,
0.2695726752281189,
0.5826855897903442,
0.1478763222694397,
-0.39047402143478394,
-0.2696421146392822,
0.13642200827598572,
0.007113365456461906,
-0.03408950939774513,
-0.21237440407276154,
0.05553058162331581,
0.14320914447307587,
-0.19944258034229279,
0.40070202946662903,
0.23903141915798187,
0.15623894333839417,
0.055248845368623734,
-0.44791480898857117,
-0.26675015687942505,
-0.04587896168231964,
0.0599483847618103,
0.30733707547187805,
-0.28017351031303406,
-0.14365538954734802,
0.06766512244939804,
0.08268420398235321,
-0.3667374551296234,
-0.022111691534519196,
-0.36986908316612244,
-0.0329899862408638,
0.015170558355748653,
0.16820159554481506,
-0.031308364123106,
-0.19557024538516998,
0.2529395520687103,
-0.16265462338924408,
-0.15658564865589142,
-0.28782957792282104,
-0.18539397418498993,
0.05015510320663452,
0.25933021306991577,
-0.12509864568710327,
0.10544852167367935,
-0.15269920229911804,
0.005631731823086739,
-0.044319119304418564,
-0.13696858286857605,
0.053565725684165955,
-0.11986064910888672,
0.5308387875556946,
0.191567063331604,
0.07324882596731186,
0.019354339689016342,
-0.06526780128479004,
-0.3584549129009247,
-0.07054892182350159,
0.04339094087481499,
-0.08908818662166595,
0.2522694170475006,
-0.04636019468307495,
0.1881338357925415,
0.05825020372867584,
-0.09132061898708344,
0.1468561440706253,
0.18282926082611084,
-0.26983344554901123,
0.11500082910060883,
0.22293983399868011,
0.36072224378585815,
0.480242520570755,
-0.37782829999923706,
0.028940362855792046,
0.5161429047584534,
0.29275164008140564,
-0.5840249061584473,
-0.12491773068904877,
0.25636985898017883,
-0.027562305331230164,
0.11400440335273743,
0.007216736674308777,
0.0017608217895030975,
-0.12462833523750305,
0.011964410543441772,
0.07208265364170074,
-0.17164485156536102,
-0.33479976654052734,
0.2622317969799042,
0.4503174424171448,
-0.10313516855239868,
0.006479274481534958,
0.15759782493114471,
-0.2755379378795624,
-0.19844895601272583,
0.2701228857040405,
-0.07469221204519272,
0.35428673028945923,
-0.36079391837120056,
0.027472324669361115,
-0.20686468482017517,
-0.5330362319946289,
0.6377869248390198,
0.14219968020915985,
-0.28549742698669434,
-0.015807993710041046,
0.21350400149822235,
0.584481418132782,
-0.10969965159893036,
0.13079002499580383,
-0.38384777307510376,
0.10985560715198517,
-0.2256568968296051,
-0.16796600818634033,
-0.20743556320667267,
-0.21226948499679565,
0.022166579961776733,
0.2550573945045471,
0.0289523433893919,
0.22618623077869415,
-0.03796850144863129,
0.21861085295677185,
-0.2801235318183899,
-0.17959064245224,
-0.048528194427490234,
-0.18806275725364685,
0.15665365755558014,
-0.15750381350517273,
0.08613468706607819,
0.10703759640455246,
-0.017065539956092834,
-0.1837701052427292,
0.16673152148723602,
0.2785700559616089,
0.2636844217777252,
0.030741404742002487,
-0.09497281908988953,
0.054792989045381546,
-0.04503602534532547,
-0.07166020572185516,
0.5374298095703125,
0.16057327389717102,
0.005899710580706596,
0.4068490266799927,
0.203032448887825,
-0.2427922487258911,
0.11552460491657257,
0.07181187719106674,
-0.06768621504306793,
-0.04560726508498192,
0.061063289642333984,
0.030785784125328064,
-0.0006726831197738647,
-0.2671038508415222,
0.030038312077522278,
-0.36742618680000305,
0.06094156205654144,
0.194376140832901,
0.2460954487323761,
0.22230744361877441,
-0.23312798142433167,
0.1159701943397522,
0.09765803813934326,
0.5910807847976685,
0.25271356105804443,
0.03037201799452305,
-0.20042310655117035,
-0.126015305519104,
-0.6755934953689575,
0.1689569652080536,
-0.3916088938713074,
-0.15843206644058228,
-0.16937962174415588,
0.01888570375740528,
-0.002029106020927429,
0.15176576375961304,
0.22282181680202484,
-0.044899147003889084,
-0.1815893054008484,
0.2028096318244934,
-0.1365492343902588,
-0.1465548872947693,
-0.08923457562923431,
-0.11047017574310303,
-0.09509396553039551,
-0.2667473554611206,
0.17826183140277863,
0.20299457013607025,
0.19661292433738708,
-0.022115763276815414,
-0.15002921223640442,
-0.053915563970804214,
0.1747647225856781,
0.2517801523208618,
0.0873766541481018,
0.767754316329956,
-0.1830127239227295,
-0.06987959146499634,
-0.057395245879888535,
-0.16890288889408112,
-0.18168199062347412,
0.33391034603118896,
-0.0349697582423687,
0.48284080624580383,
0.1119007095694542,
-0.04582846537232399,
-0.26754146814346313,
0.3754008114337921,
0.13334733247756958,
-0.022429712116718292,
-0.17398375272750854,
-0.10284636169672012,
0.11182234436273575,
-0.24866463243961334,
0.04393048211932182,
0.05642557889223099,
-0.12030337750911713,
0.11684480309486389,
-0.12759153544902802,
-0.2123718112707138,
0.33414360880851746,
-0.15708059072494507,
-0.0695558488368988,
-0.21192137897014618,
-0.06165894865989685,
-0.22155794501304626,
-0.10254418104887009,
-0.6306807994842529,
0.053935758769512177,
0.3109157681465149,
0.06713639199733734,
-0.046124011278152466,
0.19287773966789246,
-0.01761895790696144,
0.24824444949626923,
-0.052455730736255646,
0.47963279485702515,
-0.10443825274705887,
-0.024834558367729187,
-0.022875215858221054,
-0.2361406832933426
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @kwchurch the datasets impacted for this specific issue are the ones which are hosted at Google Drive. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@kwchurch the datasets impacted for this specific issue are the ones which are hosted at Google Drive. | [
-0.2723340094089508,
0.2513688802719116,
-0.08253675699234009,
0.309296190738678,
0.15996547043323517,
0.08242493122816086,
0.3484653830528259,
0.27466991543769836,
0.17148558795452118,
0.10927171260118484,
0.049288637936115265,
-0.021548889577388763,
0.009568541310727596,
0.1690102219581604,
0.0618317537009716,
0.1273815631866455,
0.34055665135383606,
-0.0278940349817276,
-0.09390810132026672,
-0.10785545408725739,
-0.3145878314971924,
0.0975550040602684,
0.1153271347284317,
-0.3233901262283325,
-0.2438773363828659,
0.17833667993545532,
-0.0035284366458654404,
-0.11372149735689163,
-0.128345787525177,
-0.25081270933151245,
0.4510059356689453,
0.20484048128128052,
-0.06864070892333984,
0.2763000428676605,
-0.00011457657092250884,
0.24779750406742096,
0.2989667057991028,
-0.07933520525693893,
-0.20473594963550568,
0.08627000451087952,
-0.3544011414051056,
-0.21964815258979797,
-0.26516497135162354,
-0.11073027551174164,
-0.03229421377182007,
0.176744744181633,
0.06249497830867767,
-0.20909449458122253,
-0.007021032273769379,
0.31881651282310486,
0.2185305953025818,
0.24243953824043274,
0.07540412247180939,
0.03471660614013672,
0.3117451071739197,
-0.11658598482608795,
0.022545160725712776,
0.20628993213176727,
0.030508682131767273,
0.0892166942358017,
-0.24690383672714233,
0.23904749751091003,
-0.03750322014093399,
-0.20955482125282288,
0.13985705375671387,
-0.1971229612827301,
-0.0954737737774849,
-0.31281566619873047,
0.322642982006073,
0.390372633934021,
0.670831561088562,
0.09722384065389633,
-0.24214912950992584,
0.0010651275515556335,
-0.14937138557434082,
0.09491625428199768,
0.5306347608566284,
0.16419373452663422,
0.0793970376253128,
0.042805638164281845,
-0.36590448021888733,
0.02375391125679016,
0.003673166036605835,
0.17664359509944916,
-0.19124163687229156,
0.4262518584728241,
0.05601746588945389,
-0.018723003566265106,
-0.010706383734941483,
-0.00294378399848938,
0.3388335704803467,
-0.23831510543823242,
-0.41365084052085876,
0.15518434345722198,
-0.24195198714733124,
-0.015647634863853455,
0.041798464953899384,
0.5411641001701355,
0.25271108746528625,
0.147537961602211,
-0.13430556654930115,
0.2664249539375305,
-0.3098732531070709,
0.04698503762483597,
0.0392502099275589,
0.09391029179096222,
-0.027029335498809814,
0.26201707124710083,
0.3438667058944702,
0.10676980018615723,
0.03632569685578346,
0.09389467537403107,
0.034416910260915756,
-0.3539590835571289,
0.22976307570934296,
0.028333444148302078,
0.10670650005340576,
-0.2699975073337555,
-0.3008371591567993,
0.360543429851532,
-0.12474514544010162,
-0.34158483147621155,
0.07107667624950409,
0.2549733519554138,
-0.12732574343681335,
0.15633881092071533,
-0.19152578711509705,
0.23589298129081726,
-0.10112810134887695,
-0.010626990348100662,
-0.24783913791179657,
0.05275333672761917,
-0.09506913274526596,
-0.13243244588375092,
0.2055671066045761,
-0.16732409596443176,
0.23351716995239258,
0.0006807800382375717,
0.09933730959892273,
-0.20837287604808807,
-0.03171848878264427,
0.006100153550505638,
-0.1578664779663086,
0.2877134382724762,
-0.04881700128316879,
0.13193625211715698,
0.11532239615917206,
-0.2233644276857376,
-0.04510963708162308,
0.2538071274757385,
-0.3779255151748657,
-0.12489847838878632,
-0.16445529460906982,
0.2427510768175125,
-0.5262753963470459,
-0.18288010358810425,
-0.18479442596435547,
-0.11291603744029999,
0.1976965069770813,
-0.36043301224708557,
0.08372365683317184,
-0.13430900871753693,
-0.2451511174440384,
-0.23658300936222076,
0.07035999000072479,
0.3157675266265869,
-0.43153491616249084,
-0.010012108832597733,
-0.17633596062660217,
-0.28456395864486694,
0.21029384434223175,
0.07986971735954285,
-0.08908264338970184,
0.23055291175842285,
-0.26344001293182373,
0.060047343373298645,
0.2795988619327545,
-0.22717449069023132,
-0.6469709277153015,
-0.1539810597896576,
0.0029056966304779053,
0.2863568365573883,
0.20063865184783936,
0.09709838777780533,
0.014722545631229877,
0.02080518566071987,
-0.024972863495349884,
0.04591790959239006,
0.22964566946029663,
0.08033391833305359,
-0.18142570555210114,
-0.13371697068214417,
0.22898176312446594,
0.344388484954834,
0.33984947204589844,
-0.15762963891029358,
0.4693034887313843,
-0.09619666635990143,
0.24329212307929993,
-0.32808056473731995,
0.01814351975917816,
0.2173154503107071,
0.4514326751232147,
-0.04333799332380295,
0.06669269502162933,
-0.08173279464244843,
-0.30922582745552063,
0.35146382451057434,
-0.08955376595258713,
0.08072946220636368,
-0.08328288793563843,
-0.06577061116695404,
-0.2799893617630005,
-0.2635655701160431,
-0.47672078013420105,
-0.07829564809799194,
0.12823770940303802,
0.36852580308914185,
-0.06067874655127525,
0.11947566270828247,
0.13591274619102478,
0.10210154950618744,
-0.4171816110610962,
-0.02795560099184513,
-0.09553892910480499,
0.3264544606208801,
-0.09292499721050262,
0.022550296038389206,
0.09661024808883667,
0.15021777153015137,
0.07471010833978653,
-0.151942640542984,
-0.21585771441459656,
0.3250212073326111,
0.3738476037979126,
0.3647746443748474,
0.13231432437896729,
0.23159965872764587,
0.04711068794131279,
-0.3811602294445038,
0.13376182317733765,
0.2042323499917984,
0.014529888518154621,
-0.2559157907962799,
-0.28136077523231506,
0.5126301050186157,
-0.06627272069454193,
-0.08542563766241074,
-0.1891552060842514,
0.11243224889039993,
0.36205706000328064,
-0.020536772906780243,
-0.04515867680311203,
-0.22936394810676575,
0.28202947974205017,
0.2297660857439041,
0.1275690495967865,
0.23514866828918457,
-0.19880694150924683,
-0.07171367853879929,
0.4776219129562378,
-0.1367524266242981,
-0.024338029325008392,
0.11859490722417831,
0.06295806169509888,
0.01705443114042282,
0.08912456035614014,
0.45664408802986145,
0.23589232563972473,
0.08894626051187515,
0.13039526343345642,
0.12837594747543335,
-0.05164366587996483,
-0.14678500592708588,
0.06385673582553864,
-0.06250718235969543,
0.2599738836288452,
0.4403775930404663,
0.01407192274928093,
-0.06670769304037094,
-0.6534081101417542,
0.20146018266677856,
0.05647352337837219,
0.23419594764709473,
-0.4103148579597473,
-0.04485873132944107,
-0.12369798868894577,
-0.035894233733415604,
-0.33553433418273926,
-0.03562069684267044,
-0.525093674659729,
-0.49485090374946594,
0.012780951336026192,
-0.015113111585378647,
0.05920602008700371,
0.1758829653263092,
-0.29857510328292847,
0.0677090734243393,
-0.08122890442609787,
-0.13938909769058228,
0.005901791155338287,
-0.11173000931739807,
-0.1506040096282959,
0.13206955790519714,
0.6315674185752869,
0.07487544417381287,
0.3743742108345032,
-0.2744450271129608,
0.17192068696022034,
-0.41685622930526733,
-0.4322862923145294,
-0.08258573710918427,
-0.23604555428028107,
0.2696225345134735,
0.07811152935028076,
0.27391523122787476,
-0.2623963952064514,
-0.27859705686569214,
0.0007489442359656096,
0.17800487577915192,
-0.3387943208217621,
0.09853773564100266,
-0.14190225303173065,
-0.13190005719661713,
0.14962700009346008,
-0.20898231863975525,
-0.11715064197778702,
-0.0974806398153305,
0.012360773980617523,
0.21249859035015106,
0.17187073826789856,
-0.08128374069929123,
-0.07636186480522156,
0.18666553497314453,
0.12231330573558807,
0.058235712349414825,
-0.3626246750354767,
-0.5182879567146301,
0.6088279485702515,
-0.04029533267021179,
-0.29065194725990295,
0.2036108374595642,
0.025093499571084976,
0.20920048654079437,
0.11310096085071564,
-0.5993528962135315,
-0.0930883139371872,
-0.24081911146640778,
0.21198338270187378,
0.30132925510406494,
0.0006269291043281555,
0.3328782618045807,
0.06926070153713226,
0.06507628411054611,
-0.2517606019973755,
-0.14114119112491608,
-0.05859335511922836,
-0.0899614468216896,
0.4592782258987427,
-0.3273322880268097,
0.32357287406921387,
-0.20078687369823456,
0.7698400020599365,
0.2856581211090088,
0.20201675593852997,
0.17889675498008728,
0.08381851762533188,
0.43982580304145813,
-0.18101659417152405,
-0.1634225845336914,
0.13565866649150848,
-0.22913816571235657,
-0.18569177389144897,
0.26272737979888916,
-0.17363327741622925,
-0.22090032696723938,
-0.1534748375415802,
-0.17879655957221985,
-0.32555580139160156,
-0.16466575860977173,
0.01107517909258604,
-0.3257807791233063,
0.23117610812187195,
-0.06639304757118225,
-0.003457464277744293,
-0.12062522768974304,
-0.5092254877090454,
0.13656291365623474,
0.37470340728759766,
-0.12278587371110916,
-0.11200170964002609,
-0.5656754374504089,
-0.08071816712617874,
-0.14301827549934387,
0.26823127269744873,
0.07173825055360794,
0.33743032813072205,
-0.04496898874640465,
0.05230452120304108,
0.10997885465621948,
-0.1777419149875641,
0.42479270696640015,
-0.6040697693824768,
0.14654408395290375,
-0.10281866788864136,
0.2787948250770569,
0.13140688836574554,
-0.2846527695655823,
-0.14974437654018402,
-0.08727175742387772,
0.18225182592868805,
0.3021267056465149,
-0.09338342398405075,
0.16748809814453125,
0.29902374744415283,
0.2139795571565628,
-0.2688415050506592,
-0.1998448669910431,
-0.37965965270996094,
-0.21615582704544067,
-0.13868369162082672,
0.09344752132892609,
-0.016007140278816223,
0.16000929474830627,
-0.17902253568172455,
-0.005202405154705048,
0.05523204058408737,
0.046387478709220886,
0.3719208836555481,
-0.12161490321159363,
0.14353549480438232,
0.3787505030632019,
0.11317802965641022,
0.04562101513147354,
0.18248915672302246,
0.24073953926563263,
0.7863067388534546,
-0.12381483614444733,
-0.3098618686199188,
0.0029400065541267395,
-0.4609664976596832,
0.14481958746910095,
0.245557963848114,
0.1471233069896698,
-0.021128252148628235,
0.5179058313369751,
-0.2509154677391052,
0.0049634696915745735,
-0.06730545312166214,
0.18481707572937012,
0.14616228640079498,
-0.5775725841522217,
-0.30573156476020813,
0.18311531841754913,
0.05607153847813606,
-0.14507487416267395,
0.30750975012779236,
0.23753468692302704,
-0.3384521007537842,
0.12549367547035217,
0.330122172832489,
0.9545758962631226,
-0.015988171100616455,
0.003929760307073593,
0.07950152456760406,
-0.13685916364192963,
0.05047645792365074,
-0.28624075651168823,
-0.0704282596707344,
-0.3654605746269226,
-0.36159753799438477,
-0.22308331727981567,
-0.19615407288074493,
0.21459230780601501,
-0.06293599307537079,
-0.13062641024589539,
0.12766395509243011,
-0.14280493557453156,
0.29650935530662537,
0.04689083248376846,
0.22489848732948303,
-0.12341532856225967,
0.09770622849464417,
0.18402619659900665,
0.12763534486293793,
-0.03679850697517395,
0.12218925356864929,
-0.21125754714012146,
-0.05731946974992752,
-0.11318275332450867,
-0.20608508586883545,
-0.500274121761322,
0.1491679549217224,
-0.026141103357076645,
0.19377587735652924,
0.20597228407859802,
-0.14604762196540833,
0.08019988238811493,
0.5281059741973877,
0.3951440453529358,
0.16498786211013794,
-0.23535817861557007,
0.4203823506832123,
0.35494229197502136,
0.15200896561145782,
0.09140697866678238,
-0.15931585431098938,
0.3427991569042206,
-0.09542164206504822,
-0.30866265296936035,
0.11984938383102417,
-0.26544517278671265,
-0.4546568989753723,
-0.2296430468559265,
-0.2096485048532486,
-0.29916518926620483,
-0.2557336986064911,
-0.19831210374832153,
-0.0809570848941803,
-0.0823579877614975,
-0.1810915172100067,
0.17389541864395142,
0.06985677033662796,
-0.04068492725491524,
0.1245996281504631,
0.07059045135974884,
-0.26364731788635254,
-0.1900816261768341,
0.4860657751560211,
0.15681374073028564,
-0.15475308895111084,
0.6432482004165649,
-0.09430281817913055,
-0.35997819900512695,
-0.17630180716514587,
0.11562616378068924,
0.10567469149827957,
-0.2541889548301697,
-0.41193515062332153,
-0.17546561360359192,
0.1698276847600937,
0.01828686334192753,
0.3729298412799835,
0.3585661053657532,
0.2528614103794098,
0.12032881379127502,
-0.603019118309021,
-0.11028435826301575,
-0.05524761974811554,
0.06626342236995697,
0.39375707507133484,
-0.2916143536567688,
-0.25475576519966125,
0.1346369981765747,
0.0006661321967840195,
-0.3040899932384491,
-0.10774944722652435,
-0.20268751680850983,
-0.05255434662103653,
-0.0185682475566864,
0.18441808223724365,
0.049377892166376114,
-0.2304055094718933,
0.14594782888889313,
-0.18122628331184387,
-0.16984286904335022,
-0.17407307028770447,
-0.03111032024025917,
0.13754166662693024,
0.20610809326171875,
-0.1572011560201645,
0.12038657814264297,
-0.21450841426849365,
0.014246560633182526,
0.11205141246318817,
0.10251209139823914,
0.11176995187997818,
-0.12109115719795227,
0.06660338491201401,
0.21716417372226715,
0.002423904836177826,
-0.03903860226273537,
-0.18485835194587708,
-0.35290324687957764,
-0.05025234818458557,
0.002684590872377157,
0.031249994412064552,
0.1647583395242691,
0.0030273571610450745,
0.24513085186481476,
0.22852930426597595,
0.004126057028770447,
0.1729017198085785,
0.1688528209924698,
-0.29839789867401123,
0.03510168567299843,
0.33309251070022583,
0.17619018256664276,
0.46092623472213745,
-0.4955810606479645,
-0.04300960898399353,
0.3250373303890228,
0.18890637159347534,
-0.36612504720687866,
-0.16448353230953217,
0.3497413694858551,
0.0022246278822422028,
-0.10016238689422607,
-0.03362826257944107,
0.3834805190563202,
-0.33200615644454956,
0.3478771448135376,
0.10516539961099625,
-0.033524420112371445,
-0.4193282127380371,
0.5362789630889893,
0.5248653888702393,
-0.15792326629161835,
0.12434795498847961,
0.33032703399658203,
-0.22268930077552795,
-0.32818934321403503,
0.28911203145980835,
0.0877833440899849,
0.2554868161678314,
-0.18639910221099854,
0.13279494643211365,
-0.1827550232410431,
-0.45929408073425293,
0.6310591101646423,
0.06853219121694565,
-0.40895748138427734,
-0.043416768312454224,
0.2802553176879883,
0.2953551113605499,
-0.013386611826717854,
0.21483683586120605,
-0.7035684585571289,
0.01054251566529274,
-0.22257015109062195,
-0.08850215375423431,
-0.21542783081531525,
-0.3889086842536926,
-0.012657351791858673,
0.42888709902763367,
-0.06576524674892426,
0.13650518655776978,
-0.1600063145160675,
0.20283308625221252,
-0.3972983956336975,
0.013587318360805511,
0.05551687255501747,
-0.295457661151886,
0.0871957466006279,
-0.23835891485214233,
0.20568110048770905,
0.0149201899766922,
-0.09425453841686249,
0.09919236600399017,
0.23675501346588135,
0.19601452350616455,
0.31572669744491577,
0.2388620376586914,
-0.055569011718034744,
0.16458137333393097,
0.01860768534243107,
0.10394222289323807,
0.6412159204483032,
0.24305398762226105,
-0.049461472779512405,
0.3812156319618225,
0.16598600149154663,
-0.14258304238319397,
0.2235463559627533,
-0.01659442111849785,
-0.07906955480575562,
-0.12126223742961884,
0.08624419569969177,
-0.12346407771110535,
0.12980759143829346,
-0.21461383998394012,
0.06749653816223145,
-0.2522161900997162,
-0.036099109798669815,
0.3031846582889557,
0.28513315320014954,
0.14808034896850586,
-0.07804084569215775,
0.08071986585855484,
0.12287397682666779,
0.520742654800415,
0.33752116560935974,
-0.17067298293113708,
-0.07721946388483047,
-0.41996389627456665,
-0.7990904450416565,
0.19570131599903107,
-0.1421327143907547,
0.2864173352718353,
-0.06381572782993317,
-0.06164569407701492,
-0.012652620673179626,
-0.01752464473247528,
0.29415231943130493,
-0.13689056038856506,
-0.2628740072250366,
0.03541288524866104,
-0.11118003726005554,
-0.005991935729980469,
-0.02132026106119156,
-0.007619820535182953,
-0.2872841954231262,
-0.2373059093952179,
0.34960421919822693,
0.20579177141189575,
0.09666954725980759,
-0.06773002445697784,
-0.03825818747282028,
-0.14799708127975464,
0.18400195240974426,
0.12405076622962952,
0.03482986241579056,
0.8909013271331787,
-0.06976665556430817,
0.08711262047290802,
-0.2339637279510498,
-0.26847776770591736,
-0.12463028728961945,
0.452115923166275,
-0.1279321014881134,
0.5183522701263428,
0.21624484658241272,
-0.08589336276054382,
-0.06418296694755554,
0.2889888286590576,
0.10249242186546326,
0.04572376608848572,
-0.3028632700443268,
-0.15479646623134613,
-0.09744524955749512,
-0.07650713622570038,
0.29194602370262146,
0.031647950410842896,
0.11604145169258118,
0.054267749190330505,
-0.08741359412670135,
-0.1931203156709671,
0.10750430077314377,
-0.1435113251209259,
-0.10414369404315948,
-0.18112516403198242,
0.010791517794132233,
-0.22818836569786072,
-0.05358176678419113,
-0.6558891534805298,
0.07279901951551437,
0.4912424683570862,
-0.11966044455766678,
0.029298435896635056,
0.2673870027065277,
0.004736817441880703,
0.213686004281044,
-0.06754711270332336,
-0.0011733472347259521,
-0.0624714270234108,
-0.1653936803340912,
-0.10720179975032806,
-0.214174285531044
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @afcruzs-ms I think your issue is a different one, because that dataset is not hosted at Google Drive. Would you mind open another issue for that other problem, please? Thanks! :) | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 31 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@afcruzs-ms I think your issue is a different one, because that dataset is not hosted at Google Drive. Would you mind open another issue for that other problem, please? Thanks! :) | [
-0.3380446135997772,
0.23434951901435852,
-0.10289376974105835,
0.24889782071113586,
0.25590240955352783,
0.05222933739423752,
0.29888659715652466,
0.38554689288139343,
0.1882089525461197,
0.18515779078006744,
0.07046081125736237,
-0.06343143433332443,
0.028198227286338806,
0.2961120903491974,
-0.13263222575187683,
0.03323623165488243,
0.24720802903175354,
-0.05367572605609894,
-0.08019949495792389,
-0.09378040581941605,
-0.24521178007125854,
0.1056138202548027,
0.045494817197322845,
-0.357879102230072,
-0.17544324696063995,
0.0557987242937088,
0.026530040428042412,
-0.10150691121816635,
-0.18681152164936066,
-0.13207298517227173,
0.2757664918899536,
0.19351422786712646,
0.017704937607049942,
0.3420616686344147,
-0.00010922419460257515,
0.20256708562374115,
0.3189060688018799,
-0.03927655890583992,
-0.14148370921611786,
0.017373740673065186,
-0.275463730096817,
-0.19822601974010468,
-0.3047451972961426,
-0.17615562677383423,
-0.12187942862510681,
0.15766030550003052,
-0.02455873228609562,
-0.15575656294822693,
0.06680293381214142,
0.3204372823238373,
0.2601000964641571,
0.24249139428138733,
-0.006379082798957825,
0.04093392565846443,
0.3197228014469147,
-0.20592369139194489,
-0.0037874411791563034,
0.2122240662574768,
-0.03553571552038193,
0.06670644134283066,
-0.1772189438343048,
0.316908061504364,
0.036493346095085144,
-0.15663132071495056,
-0.038071997463703156,
-0.15158937871456146,
-0.11216513067483902,
-0.21844133734703064,
0.30384743213653564,
0.3827914893627167,
0.5677100419998169,
-0.0013477131724357605,
-0.2554207146167755,
-0.021864604204893112,
-0.1111452728509903,
0.010861700400710106,
0.5845533013343811,
0.16626866161823273,
0.0802178829908371,
0.06210790202021599,
-0.3437228798866272,
0.06156041845679283,
-0.004596307873725891,
0.1440805047750473,
-0.1313808560371399,
0.3763403296470642,
0.06763136386871338,
-0.08468665927648544,
0.06350600719451904,
-0.09216471016407013,
0.2676396667957306,
-0.21793220937252045,
-0.31775447726249695,
0.15516327321529388,
-0.24180357158184052,
-0.08470366895198822,
0.06665748357772827,
0.5523622632026672,
0.31743207573890686,
0.24856752157211304,
-0.08771585673093796,
0.2815699279308319,
-0.3112306296825409,
0.084263876080513,
0.03845932334661484,
0.05407325550913811,
0.0013157054781913757,
0.18288923799991608,
0.383807897567749,
0.2167896032333374,
-0.052959613502025604,
0.06238099932670593,
-0.007665665354579687,
-0.3790992498397827,
0.29500481486320496,
0.10324031114578247,
-0.005080275237560272,
-0.2510634660720825,
-0.1929873526096344,
0.29147666692733765,
-0.01825568825006485,
-0.29555490612983704,
0.14083737134933472,
0.3574373424053192,
-0.17771659791469574,
0.0357862189412117,
-0.17149029672145844,
0.21368061006069183,
-0.14692768454551697,
0.00910054612904787,
-0.2632763981819153,
0.08312664926052094,
-0.1656714677810669,
-0.06565909832715988,
0.25875648856163025,
-0.14917948842048645,
0.3266257345676422,
-0.034300245344638824,
0.0913027673959732,
-0.08003317564725876,
0.006542010232806206,
-0.10115452110767365,
-0.1937151551246643,
0.2423563450574875,
0.027359481900930405,
0.12488339096307755,
0.07096584141254425,
-0.22709254920482635,
-0.06476252526044846,
0.1799408197402954,
-0.3245853781700134,
-0.046601977199316025,
-0.14549529552459717,
0.29654160141944885,
-0.5014678835868835,
-0.12829162180423737,
-0.18178334832191467,
-0.14982348680496216,
0.12208859622478485,
-0.37819620966911316,
0.02759178727865219,
-0.1473524123430252,
-0.21774451434612274,
-0.202310711145401,
0.12000980228185654,
0.1850230097770691,
-0.336516797542572,
0.01858671009540558,
-0.09785901010036469,
-0.3010309338569641,
0.15824048221111298,
0.17677126824855804,
-0.02320738695561886,
0.12487497925758362,
-0.3458486795425415,
0.23987363278865814,
0.2266586720943451,
-0.26440873742103577,
-0.6744809746742249,
-0.10335883498191833,
0.05295313149690628,
0.1326451301574707,
0.16170009970664978,
0.03703858330845833,
0.05268104001879692,
0.08419810980558395,
-0.05249512195587158,
0.12935641407966614,
0.2292565554380417,
0.13390502333641052,
-0.24641063809394836,
-0.09301780164241791,
0.19054655730724335,
0.3017824590206146,
0.23471224308013916,
-0.12206882983446121,
0.5012937188148499,
-0.18547840416431427,
0.2362602949142456,
-0.3278009295463562,
0.02846767008304596,
0.2979690432548523,
0.5141526460647583,
-0.06186111271381378,
0.03917592763900757,
-0.09106040000915527,
-0.33230337500572205,
0.32919713854789734,
-0.11605064570903778,
0.11316365003585815,
-0.1256321519613266,
-0.07416234910488129,
-0.24230659008026123,
-0.3082355856895447,
-0.3783034682273865,
0.030811939388513565,
0.2030458301305771,
0.3021928071975708,
0.0019484423100948334,
0.14930424094200134,
0.20165131986141205,
-0.002147812396287918,
-0.3958660364151001,
-0.07702367007732391,
-0.0741962194442749,
0.4360574185848236,
-0.201535165309906,
-0.09907788783311844,
0.1895362287759781,
0.08057017624378204,
0.06593213230371475,
-0.08642241358757019,
-0.23839938640594482,
0.3621044158935547,
0.34740322828292847,
0.344308078289032,
0.14556118845939636,
0.37261486053466797,
0.09170819818973541,
-0.30040889978408813,
0.004068020731210709,
0.22215896844863892,
0.017563432455062866,
-0.15939205884933472,
-0.44584962725639343,
0.5872707366943359,
-0.06587457656860352,
-0.08563048392534256,
-0.026380755007267,
0.03164450824260712,
0.44434407353401184,
-0.07179779559373856,
-0.08076489716768265,
-0.2925047278404236,
0.20813357830047607,
0.20286889374256134,
0.14106972515583038,
0.1500438153743744,
-0.17581027746200562,
-0.08626269549131393,
0.4904078245162964,
-0.05734723061323166,
0.0717080608010292,
0.026297450065612793,
0.07385677844285965,
-0.019249044358730316,
0.19635212421417236,
0.44885924458503723,
0.17675797641277313,
0.17261949181556702,
0.1972246617078781,
0.11101289838552475,
-0.060581743717193604,
-0.15860095620155334,
0.008765801787376404,
-0.19650869071483612,
0.31262123584747314,
0.4605829119682312,
0.02866414375603199,
-0.17188425362110138,
-0.5524847507476807,
0.15731929242610931,
0.05227069556713104,
0.2303786724805832,
-0.3260914087295532,
-0.1293136328458786,
-0.18288688361644745,
-0.0011749565601348877,
-0.30174046754837036,
0.043538451194763184,
-0.492537260055542,
-0.3756003677845001,
0.049936771392822266,
0.08989515900611877,
-0.08455067873001099,
0.22134807705879211,
-0.20842571556568146,
0.005045562982559204,
0.06267892569303513,
-0.26259034872055054,
0.05977378785610199,
-0.10699000954627991,
-0.07021511346101761,
0.1544027477502823,
0.5582309365272522,
0.13630850613117218,
0.3809385895729065,
-0.21538248658180237,
0.1323179006576538,
-0.513609766960144,
-0.4490847885608673,
0.020424973219633102,
-0.23005713522434235,
0.26735395193099976,
0.06960137188434601,
0.2216573804616928,
-0.2743830680847168,
-0.2196321040391922,
0.09231400489807129,
0.08709439635276794,
-0.3543187379837036,
0.17003576457500458,
-0.08748549968004227,
-0.09713207930326462,
0.10930882394313812,
-0.2499426007270813,
-0.048984870314598083,
-0.1354362964630127,
-0.05727890133857727,
0.2669949531555176,
0.16111689805984497,
-0.06366386264562607,
0.10880982875823975,
0.13690032064914703,
0.18230725824832916,
0.06597556918859482,
-0.38558465242385864,
-0.5822988748550415,
0.626695454120636,
-0.11132124066352844,
-0.4261170029640198,
0.196272611618042,
-0.06710373610258102,
0.21510058641433716,
0.13699661195278168,
-0.5321984887123108,
-0.2014540284872055,
-0.26068300008773804,
0.2562443017959595,
0.348371684551239,
0.019480710849165916,
0.38055336475372314,
0.055781204253435135,
-0.015418573282659054,
-0.2793954014778137,
-0.17342977225780487,
0.09159349650144577,
-0.023259375244379044,
0.43787920475006104,
-0.3108060956001282,
0.28812041878700256,
-0.17345964908599854,
0.606187641620636,
0.18487831950187683,
0.17071203887462616,
0.23671351373195648,
-0.002590043470263481,
0.3709447681903839,
-0.12399830669164658,
-0.08083431422710419,
0.17543870210647583,
-0.14101234078407288,
-0.16949130594730377,
0.3402808606624603,
-0.12542009353637695,
-0.23258182406425476,
-0.17764517664909363,
-0.14977706968784332,
-0.35367369651794434,
-0.20213644206523895,
0.03296363353729248,
-0.2414664924144745,
0.2839578092098236,
-0.035294100642204285,
-0.03276862949132919,
-0.09688971936702728,
-0.4489494562149048,
0.1766519844532013,
0.26937732100486755,
-0.12805160880088806,
-0.1946016252040863,
-0.5382348299026489,
-0.17655180394649506,
-0.10910885781049728,
0.2192603200674057,
0.1842782199382782,
0.26045867800712585,
-0.03854677826166153,
-0.010764716193079948,
0.04086083918809891,
-0.17607428133487701,
0.3386197090148926,
-0.700724184513092,
0.23030109703540802,
-0.11107100546360016,
0.28326505422592163,
0.15410563349723816,
-0.2625442147254944,
-0.2624098062515259,
-0.19659876823425293,
0.14761853218078613,
0.34492284059524536,
-0.1904701143503189,
0.17315919697284698,
0.188019797205925,
0.2144749015569687,
-0.22349870204925537,
-0.20067507028579712,
-0.392385870218277,
-0.1725647747516632,
-0.30448171496391296,
0.1370086371898651,
-0.015564369969069958,
0.23912332952022552,
-0.2112841010093689,
0.0127406045794487,
0.12879231572151184,
-0.030548660084605217,
0.2543918490409851,
-0.03554001823067665,
0.23070868849754333,
0.2804849445819855,
0.11859598755836487,
-0.0769197940826416,
0.12833012640476227,
0.2852974832057953,
0.7789696455001831,
-0.1365000456571579,
-0.21736043691635132,
0.05531591549515724,
-0.4734211564064026,
0.05383209511637688,
0.08444678038358688,
0.1442820429801941,
-0.054743193089962006,
0.5237070322036743,
-0.10136793553829193,
-0.002606564201414585,
-0.031254541128873825,
0.1398925930261612,
0.1775946021080017,
-0.4316186308860779,
-0.2112535983324051,
0.10446781665086746,
0.0010350551456212997,
-0.10336951911449432,
0.18683753907680511,
0.3025475740432739,
-0.2986641526222229,
0.18134400248527527,
0.31477445363998413,
0.8648781776428223,
-0.024778269231319427,
-0.1126319020986557,
0.11064065992832184,
-0.09491142630577087,
0.017440270632505417,
-0.17825238406658173,
-0.033763643354177475,
-0.36154645681381226,
-0.43708619475364685,
-0.11951756477355957,
-0.1146545559167862,
0.14140990376472473,
0.0753030851483345,
-0.18576964735984802,
0.12078794836997986,
-0.0560186430811882,
0.27582427859306335,
-0.014609869569540024,
0.2605411112308502,
-0.10787758976221085,
0.08523109555244446,
0.11788416653871536,
0.17703121900558472,
-0.004702553153038025,
0.11081747710704803,
-0.16053366661071777,
-0.035789307206869125,
-0.09727037698030472,
-0.22427748143672943,
-0.37682998180389404,
0.14263874292373657,
0.010319532826542854,
0.11439637839794159,
0.13553182780742645,
-0.1769266128540039,
0.029683150351047516,
0.4481649696826935,
0.4444618821144104,
0.29372918605804443,
-0.3243674337863922,
0.35000813007354736,
0.28743499517440796,
0.04980926588177681,
-0.00668049231171608,
-0.09229688346385956,
0.42703941464424133,
-0.1524796187877655,
-0.33227476477622986,
0.09712183475494385,
-0.15694768726825714,
-0.39934927225112915,
-0.1690933257341385,
-0.2680368423461914,
-0.41473352909088135,
-0.2920854985713959,
-0.1363370418548584,
-0.07358628511428833,
-0.1869339793920517,
-0.17495429515838623,
0.22736607491970062,
0.03986728936433792,
-0.06784851104021072,
0.118709996342659,
0.2383764088153839,
-0.16776296496391296,
-0.12797114253044128,
0.5169402360916138,
0.0941232293844223,
-0.1538485288619995,
0.6009728908538818,
0.030258391052484512,
-0.3384081721305847,
-0.2892249524593353,
-0.0011637881398200989,
0.15671832859516144,
-0.09571880102157593,
-0.34908580780029297,
-0.17576225101947784,
0.11372388899326324,
-0.06223686411976814,
0.3274279534816742,
0.3306715488433838,
0.2170971930027008,
0.2026953250169754,
-0.535115659236908,
-0.17035245895385742,
0.04325323924422264,
0.02937459759414196,
0.3180961608886719,
-0.3451042175292969,
-0.16674630343914032,
0.1317865252494812,
-0.04228488355875015,
-0.38988351821899414,
-0.0503673329949379,
-0.3117590546607971,
0.013393914327025414,
0.00011820346117019653,
0.1546669751405716,
0.04032958671450615,
-0.186134934425354,
0.21562586724758148,
-0.218383327126503,
-0.1397862583398819,
-0.246233731508255,
-0.02745147794485092,
0.0940101221203804,
0.20708590745925903,
-0.08193033188581467,
0.15916424989700317,
-0.18813447654247284,
-0.07000058889389038,
0.018489975482225418,
0.09549632668495178,
0.01724371686577797,
-0.14705191552639008,
0.11490282416343689,
0.2132129669189453,
0.013800397515296936,
-0.11417184770107269,
-0.26826345920562744,
-0.38629114627838135,
-0.06987643241882324,
-0.06355901807546616,
-0.017862439155578613,
0.16356949508190155,
-0.016440309584140778,
0.26066094636917114,
0.14456123113632202,
0.0301496759057045,
0.24001622200012207,
0.22742405533790588,
-0.2570410966873169,
0.02244305983185768,
0.3517271876335144,
0.34983527660369873,
0.24442005157470703,
-0.47571465373039246,
0.014443451538681984,
0.40157485008239746,
0.29845309257507324,
-0.4144440293312073,
-0.08595983684062958,
0.24825797975063324,
-0.16182518005371094,
0.08231453597545624,
0.013160422444343567,
0.3288067877292633,
-0.20997068285942078,
0.3155532777309418,
0.09462390840053558,
-0.024568751454353333,
-0.3965410590171814,
0.37099340558052063,
0.4842272102832794,
-0.15568368136882782,
0.008603177964687347,
0.3410394489765167,
-0.28341227769851685,
-0.2655012607574463,
0.1446513533592224,
0.033237237483263016,
0.21451546251773834,
-0.17184919118881226,
0.14465360343456268,
-0.13992345333099365,
-0.4169747233390808,
0.5122887492179871,
0.03110998123884201,
-0.29235318303108215,
-0.0504603385925293,
0.15006841719150543,
0.22830379009246826,
-0.03348865732550621,
0.23723642528057098,
-0.5918681025505066,
0.056986723095178604,
-0.18429937958717346,
-0.04010320454835892,
-0.26997578144073486,
-0.3681991696357727,
-0.073994942009449,
0.374193012714386,
0.012293308973312378,
0.15886196494102478,
-0.13173553347587585,
0.21054494380950928,
-0.3075547218322754,
-0.000020444393157958984,
0.027460582554340363,
-0.164141446352005,
0.05230283737182617,
-0.2171739786863327,
0.2681252360343933,
-0.007799617946147919,
-0.08519691228866577,
0.03918974846601486,
0.2498314082622528,
0.12765410542488098,
0.2671799957752228,
0.12961779534816742,
-0.04954727739095688,
0.12397773563861847,
-0.02818252332508564,
0.04630810022354126,
0.6554267406463623,
0.273262619972229,
-0.025820154696702957,
0.3777600824832916,
0.2146896868944168,
-0.22541044652462006,
0.20980875194072723,
-0.04339748993515968,
-0.22129273414611816,
-0.013237802311778069,
0.051806848496198654,
0.0824718326330185,
0.104594387114048,
-0.2815062403678894,
-0.09055294841527939,
-0.3019670844078064,
-0.08280950784683228,
0.1854272037744522,
0.15892760455608368,
0.20965394377708435,
-0.10407458245754242,
0.11765879392623901,
0.14736345410346985,
0.5252745747566223,
0.2696763873100281,
-0.04471480846405029,
-0.0751236230134964,
-0.4175223112106323,
-0.7947530150413513,
0.12892720103263855,
-0.1825612336397171,
0.2120482325553894,
-0.1139625534415245,
0.059785984456539154,
-0.06056485325098038,
0.04486757144331932,
0.34793588519096375,
-0.07076914608478546,
-0.2973806858062744,
-0.034271009266376495,
-0.19443567097187042,
-0.035187866538763046,
0.0249241441488266,
-0.04341025650501251,
-0.25088948011398315,
-0.22785678505897522,
0.28773173689842224,
0.21652968227863312,
0.1755729615688324,
-0.017940528690814972,
0.008827008306980133,
-0.23617881536483765,
0.10632768273353577,
0.21554157137870789,
0.08374752104282379,
0.7930046319961548,
-0.1708276867866516,
0.09732555598020554,
-0.16530337929725647,
-0.15662674605846405,
-0.18513402342796326,
0.3173951506614685,
-0.040509182959795,
0.5030094385147095,
0.2239035815000534,
-0.1692034900188446,
-0.10886737704277039,
0.30228954553604126,
0.13126936554908752,
-0.055652011185884476,
-0.2977013885974884,
-0.0934940055012703,
0.017571493983268738,
-0.09489137679338455,
0.15518639981746674,
-0.04517751187086105,
0.03475677967071533,
0.08538386970758438,
-0.16069462895393372,
-0.24065296351909637,
0.14722207188606262,
-0.05448988080024719,
-0.07508162409067154,
-0.1022774875164032,
0.08051009476184845,
-0.1391066014766693,
0.013299878686666489,
-0.6928946375846863,
0.15716344118118286,
0.36613428592681885,
0.011531375348567963,
-0.05951064079999924,
0.20142637193202972,
0.007505842484533787,
0.22080077230930328,
0.023390840739011765,
0.010532408952713013,
0.04391198605298996,
-0.10823545604944229,
-0.16989766061306,
-0.20433953404426575
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @albertvillanova just to let you know that I tried it locally and on colab and it is the same error | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@albertvillanova just to let you know that I tried it locally and on colab and it is the same error | [
-0.38737452030181885,
0.2373122274875641,
-0.08241010457277298,
0.3719084858894348,
0.22750262916088104,
-0.004979141056537628,
0.18100020289421082,
0.3520689606666565,
0.17530351877212524,
0.11249612271785736,
-0.06985584646463394,
0.08910325914621353,
0.023875314742326736,
0.24541400372982025,
-0.09771523624658585,
0.08050013333559036,
0.2709174156188965,
0.018010862171649933,
-0.2669127881526947,
-0.038114242255687714,
-0.287545382976532,
0.10006370395421982,
-0.019111648201942444,
-0.2850561738014221,
-0.22425243258476257,
0.11825123429298401,
0.04079084098339081,
-0.2390294075012207,
-0.2257380187511444,
-0.19349220395088196,
0.4914727210998535,
0.1483864039182663,
0.07376649230718613,
0.39631637930870056,
-0.00011448885197751224,
0.20442776381969452,
0.26441359519958496,
-0.08238910138607025,
-0.1530916839838028,
-0.004318535327911377,
-0.43661952018737793,
-0.2904202342033386,
-0.18794962763786316,
-0.1636541485786438,
-0.11956429481506348,
0.23067811131477356,
0.03190276026725769,
-0.18207073211669922,
0.03571022301912308,
0.3506130576133728,
0.2389424443244934,
0.20965580642223358,
0.15834231674671173,
0.014700558967888355,
0.2757304608821869,
-0.08706656098365784,
0.003926703706383705,
0.1537487655878067,
0.032836880534887314,
0.15015384554862976,
-0.12780770659446716,
0.2669777274131775,
-0.061004213988780975,
-0.14905308187007904,
0.09476689994335175,
-0.303560346364975,
-0.036727115511894226,
-0.34409964084625244,
0.3330574035644531,
0.4070837199687958,
0.6930862069129944,
-0.03492840379476547,
-0.18128155171871185,
0.1301516890525818,
-0.08074641972780228,
0.0314873531460762,
0.44416987895965576,
0.142607644200325,
-0.020382709801197052,
0.06742966920137405,
-0.2940242886543274,
0.05064212530851364,
-0.041564859449863434,
0.19126567244529724,
-0.012406762689352036,
0.4687058627605438,
0.029372859746217728,
-0.04730251431465149,
0.04403455927968025,
-0.10663361847400665,
0.5398306250572205,
-0.2378360629081726,
-0.3618006706237793,
0.2516002953052521,
-0.3341667652130127,
-0.006219450384378433,
-0.14666908979415894,
0.5456808805465698,
0.27074748277664185,
0.08290886133909225,
-0.16353151202201843,
0.24185633659362793,
-0.2620737552642822,
0.11479520797729492,
-0.01590605080127716,
0.040125615894794464,
-0.018271364271640778,
0.2896164059638977,
0.24739260971546173,
0.1673130989074707,
-0.08374957740306854,
0.11732710152864456,
-0.015425493009388447,
-0.43892377614974976,
0.18724538385868073,
0.052943676710128784,
-0.07475249469280243,
-0.31446200609207153,
-0.20542581379413605,
0.32489287853240967,
-0.06571956723928452,
-0.32620009779930115,
0.18044906854629517,
0.30139535665512085,
-0.19890208542346954,
0.20461970567703247,
-0.21748071908950806,
0.16434258222579956,
-0.09928907454013824,
-0.03826279565691948,
-0.2259387969970703,
0.09664769470691681,
-0.12883052229881287,
-0.08266334235668182,
0.2514101266860962,
-0.19166672229766846,
0.34080836176872253,
-0.05764543637633324,
0.15533310174942017,
-0.12476455420255661,
-0.03975231945514679,
-0.10043990612030029,
-0.1316547989845276,
0.2832610309123993,
-0.012924738228321075,
0.10110334306955338,
0.12214255332946777,
-0.1848684847354889,
-0.025706272572278976,
0.2239617109298706,
-0.342038094997406,
-0.1660693734884262,
-0.224233016371727,
0.2477962225675583,
-0.4321504235267639,
-0.15521614253520966,
-0.17888516187667847,
-0.13667629659175873,
0.26292091608047485,
-0.35686686635017395,
-0.006342850625514984,
-0.15045981109142303,
-0.23497726023197174,
-0.1966189295053482,
0.14240549504756927,
0.2320978045463562,
-0.4391748309135437,
0.03363518416881561,
-0.07329011708498001,
-0.2484792172908783,
0.29361164569854736,
0.11125384271144867,
-0.09757336974143982,
0.19877061247825623,
-0.28214165568351746,
0.03124256432056427,
0.29909104108810425,
-0.21457044780254364,
-0.6865376830101013,
-0.097710520029068,
0.17782698571681976,
0.1919945627450943,
0.221324160695076,
0.1300692856311798,
0.036961644887924194,
0.08046439290046692,
-0.11708955466747284,
-0.013965699821710587,
0.233855739235878,
0.09968706220388412,
-0.2158297896385193,
-0.11934319138526917,
0.30881476402282715,
0.26960307359695435,
0.2697463929653168,
-0.1500301957130432,
0.3792373538017273,
-0.0486910343170166,
0.29932284355163574,
-0.31306686997413635,
-0.008672665804624557,
0.15377934277057648,
0.5309926867485046,
-0.058760419487953186,
0.04254234954714775,
-0.10993313044309616,
-0.2123454511165619,
0.30663421750068665,
-0.0485861711204052,
0.13094203174114227,
-0.08668375015258789,
-0.03893724083900452,
-0.2812837064266205,
-0.2382824569940567,
-0.44060829281806946,
-0.023816607892513275,
0.1255408525466919,
0.284260630607605,
-0.04933389276266098,
0.06383955478668213,
0.058816444128751755,
0.16523531079292297,
-0.4701366126537323,
-0.04183973744511604,
-0.07902920246124268,
0.35896414518356323,
-0.19293522834777832,
0.029746096581220627,
0.07276538014411926,
0.13846296072006226,
0.034725628793239594,
-0.09943125396966934,
-0.266108900308609,
0.2672635018825531,
0.38730108737945557,
0.14241228997707367,
0.13124635815620422,
0.15522557497024536,
0.09941131621599197,
-0.43902650475502014,
-0.03382360190153122,
0.13531900942325592,
0.031063660979270935,
-0.15013286471366882,
-0.1709100902080536,
0.4189335107803345,
-0.11065775156021118,
-0.10528164356946945,
-0.14657244086265564,
0.020827626809477806,
0.4537895619869232,
0.024179551750421524,
-0.054329097270965576,
-0.21784545481204987,
0.26763397455215454,
0.14266066253185272,
-0.006430940702557564,
0.22131702303886414,
-0.09074212610721588,
-0.19635024666786194,
0.39945322275161743,
-0.0053328219801187515,
0.03375548496842384,
0.02888040989637375,
0.12898315489292145,
0.01847846433520317,
0.16569706797599792,
0.3875596225261688,
0.21575388312339783,
0.09590186923742294,
0.07558596879243851,
0.11238934844732285,
-0.13155090808868408,
-0.0998506173491478,
0.039389945566654205,
-0.11198018491268158,
0.38932856917381287,
0.49012690782546997,
-0.11165554821491241,
-0.07430851459503174,
-0.5724045038223267,
0.09446167945861816,
0.03974149376153946,
0.35187849402427673,
-0.32415834069252014,
-0.17092807590961456,
-0.1657179296016693,
-0.19740495085716248,
-0.3489174544811249,
-0.07365301996469498,
-0.40271320939064026,
-0.3916332721710205,
-0.08036831021308899,
0.02656741812825203,
0.13405613601207733,
0.32273054122924805,
-0.28676512837409973,
-0.015084370970726013,
-0.0740041732788086,
-0.10734084993600845,
0.09959836304187775,
-0.09389336407184601,
-0.06140129268169403,
0.12788406014442444,
0.6395928263664246,
0.09016802161931992,
0.2577973008155823,
-0.318916380405426,
0.12060534954071045,
-0.34400680661201477,
-0.4535852074623108,
0.007600482553243637,
-0.11805081367492676,
0.25458407402038574,
0.045296959578990936,
0.23634859919548035,
-0.3233429193496704,
-0.3459738492965698,
0.015293117612600327,
0.2156958132982254,
-0.3002869486808777,
0.1356077492237091,
-0.27361834049224854,
-0.18912973999977112,
0.19719737768173218,
-0.25167280435562134,
-0.1967156082391739,
-0.1636258363723755,
-0.1499282568693161,
0.23574741184711456,
0.19226622581481934,
-0.0657026618719101,
0.03858618438243866,
0.17812727391719818,
0.08712557703256607,
0.1671442985534668,
-0.30029863119125366,
-0.6020170450210571,
0.6427314281463623,
-0.06766721606254578,
-0.31064745783805847,
0.21619272232055664,
-0.042541734874248505,
0.35937196016311646,
0.05085567384958267,
-0.5779350399971008,
-0.11643631756305695,
-0.1974351853132248,
0.17357437312602997,
0.33239632844924927,
0.07685153931379318,
0.23479104042053223,
0.03644438460469246,
0.09259381145238876,
-0.24798664450645447,
-0.13171057403087616,
-0.018446415662765503,
-0.12637785077095032,
0.5518273115158081,
-0.2978224456310272,
0.3197310268878937,
-0.16861288249492645,
0.6876214742660522,
0.40032732486724854,
0.11082012951374054,
0.24985651671886444,
0.06106123328208923,
0.3811838626861572,
-0.18730047345161438,
-0.24839052557945251,
0.1715606451034546,
-0.22336429357528687,
-0.09292151778936386,
0.18723997473716736,
-0.19811734557151794,
-0.19832444190979004,
-0.22821559011936188,
-0.18232473731040955,
-0.33485719561576843,
-0.11578550934791565,
-0.050596676766872406,
-0.23296022415161133,
0.2631688714027405,
0.019915763288736343,
0.013364635407924652,
-0.0918281078338623,
-0.5170342326164246,
0.15531261265277863,
0.3956449031829834,
-0.23673072457313538,
-0.12542223930358887,
-0.5609808564186096,
-0.17813517153263092,
-0.09540235251188278,
0.24842554330825806,
0.1575172394514084,
0.3496270775794983,
0.051523130387067795,
0.06469716876745224,
-0.0025901496410369873,
-0.10409723967313766,
0.4129318594932556,
-0.6249052882194519,
0.08583887666463852,
-0.13774849474430084,
0.23048943281173706,
0.05651906877756119,
-0.18678417801856995,
-0.06835345923900604,
-0.10443161427974701,
0.16772769391536713,
0.28650176525115967,
-0.079344742000103,
0.20492778718471527,
0.29648640751838684,
0.25919827818870544,
-0.2840609550476074,
-0.2937772274017334,
-0.355866014957428,
-0.13872233033180237,
-0.24233661592006683,
0.05745512992143631,
-0.06570882350206375,
0.3121587038040161,
-0.03497646003961563,
-0.07003964483737946,
-0.01649881713092327,
0.011810645461082458,
0.3651595115661621,
0.04997538402676582,
0.19962811470031738,
0.41313543915748596,
0.19768419861793518,
-0.0754721537232399,
0.15182524919509888,
0.32457590103149414,
0.7941061854362488,
-0.3393058776855469,
-0.42192113399505615,
-0.07205579429864883,
-0.4165882468223572,
0.17294922471046448,
0.07592516392469406,
0.13135883212089539,
-0.055082596838474274,
0.5225027799606323,
-0.26575374603271484,
0.13006152212619781,
0.014182306826114655,
0.14640089869499207,
0.2182716727256775,
-0.6199933290481567,
-0.33757129311561584,
0.05081060528755188,
0.07096754014492035,
-0.0397072434425354,
0.20042674243450165,
0.14926421642303467,
-0.22537781298160553,
0.12469533085823059,
0.3271876871585846,
0.8938009738922119,
-0.0061792656779289246,
-0.048379335552453995,
0.022005382925271988,
-0.11305177211761475,
0.12747891247272491,
-0.2204897403717041,
-0.05680283159017563,
-0.40383970737457275,
-0.42239633202552795,
-0.16445955634117126,
-0.1745212972164154,
0.18288706243038177,
-0.05126011371612549,
-0.21787318587303162,
0.1537531465291977,
-0.059295207262039185,
0.30010175704956055,
-0.04718789458274841,
0.2265729010105133,
0.023410269990563393,
0.07155070453882217,
0.1376439779996872,
0.1296241134405136,
-0.08412618935108185,
0.1388297826051712,
-0.17761239409446716,
-0.026213932782411575,
-0.07907985895872116,
-0.0991101861000061,
-0.39978426694869995,
0.1790069341659546,
-0.069548599421978,
0.18686741590499878,
0.284410685300827,
-0.056014299392700195,
0.09815827012062073,
0.5449666976928711,
0.4146096706390381,
0.26745426654815674,
-0.20775273442268372,
0.28316664695739746,
0.41027626395225525,
0.06227003037929535,
0.014708973467350006,
-0.05178143084049225,
0.37937596440315247,
-0.1307871788740158,
-0.2739432454109192,
0.17474310100078583,
-0.15854407846927643,
-0.35235774517059326,
-0.05488734692335129,
-0.29799044132232666,
-0.09390221536159515,
-0.3730120062828064,
-0.23295359313488007,
-0.008737154304981232,
-0.05064133182168007,
-0.20497965812683105,
0.1764322817325592,
0.09720849990844727,
-0.2629181146621704,
0.24392196536064148,
0.16284561157226562,
-0.2709799110889435,
-0.1401393711566925,
0.4507974684238434,
0.12776876986026764,
-0.10667836666107178,
0.5798221826553345,
0.01450643315911293,
-0.37112730741500854,
-0.17880156636238098,
0.15347987413406372,
0.11347530782222748,
-0.32762348651885986,
-0.4314548671245575,
-0.10076682269573212,
0.07837721705436707,
-0.025456469506025314,
0.4312586188316345,
0.43703699111938477,
0.224327951669693,
0.17541226744651794,
-0.530555248260498,
-0.2316022664308548,
-0.09846992790699005,
0.08623532950878143,
0.34978699684143066,
-0.24798497557640076,
-0.2270021140575409,
0.14263930916786194,
0.09811394661664963,
-0.29764384031295776,
-0.12671735882759094,
-0.23368671536445618,
-0.012466218322515488,
-0.10776275396347046,
0.2289639711380005,
-0.052008744329214096,
-0.1838352233171463,
0.150055930018425,
-0.12032504379749298,
-0.18214362859725952,
-0.18384870886802673,
-0.07739478349685669,
0.11040855199098587,
0.2958637475967407,
-0.1927153468132019,
0.08288014680147171,
-0.26319679617881775,
-0.0865851640701294,
0.022458544000983238,
-0.03189744055271149,
0.058565691113471985,
-0.11441656947135925,
0.17211942374706268,
0.28324341773986816,
-0.11159760504961014,
-0.10071852058172226,
-0.11331401765346527,
-0.2244350016117096,
-0.026101410388946533,
0.03312147036194801,
0.025600116699934006,
0.19878773391246796,
-0.06538189947605133,
0.314273476600647,
0.18180370330810547,
-0.02457871288061142,
0.09846919775009155,
0.11879519373178482,
-0.36381006240844727,
0.14893589913845062,
0.4348103404045105,
0.24069035053253174,
0.40037357807159424,
-0.3566615581512451,
0.011383971199393272,
0.4704614579677582,
0.17830941081047058,
-0.5043599605560303,
-0.17158333957195282,
0.36602699756622314,
0.04905850812792778,
-0.04243571311235428,
-0.00574909895658493,
0.2967106103897095,
-0.2781405448913574,
0.46610403060913086,
0.10529663413763046,
-0.1206037625670433,
-0.3315786123275757,
0.49187904596328735,
0.564723789691925,
-0.15106643736362457,
0.07273266464471817,
0.25897035002708435,
-0.19457072019577026,
-0.2999493479728699,
0.2932029664516449,
-0.03862631320953369,
0.307778924703598,
-0.20390024781227112,
0.1877930760383606,
-0.09843409806489944,
-0.426279753446579,
0.6074654459953308,
0.042531050741672516,
-0.3055000603199005,
-0.08333367854356766,
0.19093897938728333,
0.2719780206680298,
0.07911591231822968,
0.15423786640167236,
-0.5744510889053345,
0.012821227312088013,
-0.23326051235198975,
-0.07101423293352127,
-0.27328410744667053,
-0.33877456188201904,
-0.01493861898779869,
0.3412647545337677,
-0.030230898410081863,
0.19462287425994873,
-0.1489962637424469,
0.17985785007476807,
-0.3852190375328064,
-0.04073478281497955,
0.05766158550977707,
-0.16273236274719238,
-0.019501887261867523,
-0.13233867287635803,
0.31571486592292786,
-0.014975979924201965,
-0.10516180098056793,
0.024079635739326477,
0.30869776010513306,
0.13546352088451385,
0.3607068955898285,
0.17603729665279388,
-0.06439081579446793,
0.16818466782569885,
0.05912109464406967,
0.09689119458198547,
0.5890873670578003,
0.24750982224941254,
-0.046720270067453384,
0.4114404618740082,
0.13750801980495453,
-0.14888054132461548,
0.19963733851909637,
-0.04727254435420036,
-0.13367502391338348,
-0.036447182297706604,
0.08774057030677795,
0.049905456602573395,
0.1934819519519806,
-0.20545224845409393,
0.06164465844631195,
-0.30458375811576843,
0.048135656863451004,
0.3046131730079651,
0.09181051701307297,
0.158542662858963,
-0.08708558976650238,
0.08861338347196579,
0.05848592147231102,
0.5238919854164124,
0.25185006856918335,
-0.09509218484163284,
-0.13152144849300385,
-0.39876168966293335,
-0.8981029391288757,
0.2192334234714508,
-0.13267666101455688,
0.190410777926445,
-0.09039612114429474,
-0.04770295321941376,
-0.015688061714172363,
0.08725763857364655,
0.302425742149353,
-0.23193535208702087,
-0.19077466428279877,
0.03517014533281326,
-0.18772730231285095,
-0.07511895895004272,
-0.027630634605884552,
-0.026966845616698265,
-0.2160739153623581,
-0.21094289422035217,
0.3061739504337311,
0.14988823235034943,
0.10868429392576218,
-0.031183358281850815,
-0.10444779694080353,
-0.15201570093631744,
0.10467635095119476,
0.05989135429263115,
-0.010490061715245247,
0.7761982679367065,
-0.09457559883594513,
0.1889774203300476,
-0.025012847036123276,
-0.2530234456062317,
-0.14132696390151978,
0.470752477645874,
0.055693089962005615,
0.4869840443134308,
0.13595938682556152,
-0.09057696163654327,
-0.1200731173157692,
0.14340518414974213,
0.12487125396728516,
-0.03725482523441315,
-0.31833067536354065,
-0.16047710180282593,
0.009308770298957825,
-0.12253262102603912,
0.23519429564476013,
0.0008791275322437286,
0.02101028338074684,
0.1597706377506256,
-0.07091496884822845,
-0.12208588421344757,
0.21596355736255646,
-0.1510360985994339,
-0.058297984302043915,
-0.27608421444892883,
-0.09137590229511261,
-0.1880655288696289,
-0.09803925454616547,
-0.667783260345459,
0.09972663968801498,
0.4531092643737793,
-0.13182759284973145,
0.05012821778655052,
0.2690263092517853,
-0.05320630595088005,
0.2836872339248657,
-0.06104619801044464,
0.0280131995677948,
0.02636372670531273,
-0.17678238451480865,
-0.1630319505929947,
-0.25512415170669556
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | There are many many datasets on HugggingFace that are receiving this checksum error. Some of these datasets are very popular. There must be a way to track these errors, or to do regression testing. We don't want to catch each of these errors on each dataset, one at a time. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 50 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
There are many many datasets on HugggingFace that are receiving this checksum error. Some of these datasets are very popular. There must be a way to track these errors, or to do regression testing. We don't want to catch each of these errors on each dataset, one at a time. | [
-0.02981892041862011,
-0.20396080613136292,
0.021171316504478455,
0.4256591200828552,
0.29044657945632935,
0.04316025972366333,
0.14271897077560425,
0.19865413010120392,
0.24081993103027344,
0.27925097942352295,
0.11811646074056625,
-0.10390595346689224,
-0.12981589138507843,
0.24135570228099823,
0.2599906921386719,
0.1816881150007248,
0.34757301211357117,
-0.035704657435417175,
-0.19942718744277954,
-0.017608754336833954,
-0.07657483965158463,
0.2514491677284241,
0.191353902220726,
-0.08314131200313568,
-0.27020463347435,
0.14354005455970764,
-0.037476617842912674,
-0.04586050659418106,
-0.09618493169546127,
-0.31562402844429016,
0.4989822506904602,
-0.05809573456645012,
-0.21434146165847778,
0.4947706460952759,
-0.0001180433901026845,
0.12604691088199615,
0.2020569145679474,
-0.0915214940905571,
-0.35248738527297974,
0.1506556123495102,
-0.1200500950217247,
-0.2884410321712494,
-0.209112286567688,
-0.11030049622058868,
-0.05294260382652283,
0.04078834131360054,
0.07847319543361664,
-0.11190074682235718,
0.1138562485575676,
0.16948804259300232,
0.18173789978027344,
0.5020500421524048,
0.22833524644374847,
-0.03693094104528427,
0.2585988938808441,
0.0330204963684082,
0.018747838214039803,
0.3099551200866699,
0.015741489827632904,
0.129599466919899,
-0.2918393015861511,
0.2564726769924164,
-0.021321944892406464,
-0.281887948513031,
0.18078729510307312,
-0.2144159972667694,
-0.04990806430578232,
-0.25144344568252563,
0.14409108459949493,
0.5065053105354309,
0.32221680879592896,
-0.03724370896816254,
-0.3060806095600128,
-0.26448023319244385,
-0.02460511401295662,
-0.03306325897574425,
0.42610207200050354,
0.0601157620549202,
0.05083624646067619,
0.017091581597924232,
-0.32339632511138916,
0.023750677704811096,
0.07151781022548676,
0.04603363946080208,
0.1099434643983841,
0.0430748350918293,
-0.08176051080226898,
0.08200861513614655,
0.23885245621204376,
0.0794566199183464,
-0.18522652983665466,
-0.15739034116268158,
-0.3557595908641815,
0.15770705044269562,
-0.4075600504875183,
-0.08577487617731094,
0.1556491255760193,
0.6347830295562744,
0.3955189287662506,
0.28770703077316284,
-0.1362096667289734,
0.1935846209526062,
-0.345714807510376,
0.156532883644104,
0.04622873663902283,
0.1461421102285385,
-0.13659602403640747,
0.07424596697092056,
0.38768768310546875,
0.12933212518692017,
0.206049844622612,
0.1797097623348236,
0.11564032733440399,
-0.2909771203994751,
0.2242574542760849,
0.011441393755376339,
0.05412798374891281,
-0.41450804471969604,
-0.23497845232486725,
0.31990206241607666,
-0.07103988528251648,
-0.21674227714538574,
0.3191274106502533,
0.2758597135543823,
-0.1634836196899414,
0.06152084469795227,
-0.20638053119182587,
0.12183937430381775,
-0.12935052812099457,
-0.016827460378408432,
-0.2721390426158905,
0.036914464086294174,
-0.1433357298374176,
0.07637318223714828,
0.22011803090572357,
-0.4969211220741272,
0.22212690114974976,
-0.03338091820478439,
0.15378287434577942,
-0.2805453836917877,
-0.1816653609275818,
-0.03404045104980469,
-0.16865938901901245,
0.3325067460536957,
-0.19575506448745728,
0.095058873295784,
0.21288536489009857,
-0.0764768123626709,
-0.18744167685508728,
-0.10083454102277756,
-0.280080646276474,
-0.4415445327758789,
-0.10672150552272797,
0.1462281346321106,
-0.5534380674362183,
-0.15032213926315308,
-0.2834888696670532,
-0.006278391927480698,
0.09482427686452866,
-0.17110534012317657,
0.07092592865228653,
0.006756985560059547,
-0.30378827452659607,
-0.16434895992279053,
0.22343619167804718,
0.4157787561416626,
-0.06389673054218292,
-0.19706039130687714,
0.1059155985713005,
-0.3173188865184784,
0.2351902425289154,
0.24271956086158752,
-0.09212948381900787,
0.3261110186576843,
-0.3456439971923828,
-0.023733653128147125,
0.10009413957595825,
-0.20685623586177826,
-0.4470391273498535,
-0.2662114202976227,
-0.025087226182222366,
0.2893119752407074,
0.22989046573638916,
0.20391416549682617,
-0.16437962651252747,
-0.0036500561982393265,
-0.20434042811393738,
-0.054655492305755615,
0.14915913343429565,
0.09852593392133713,
-0.12577234208583832,
-0.17233143746852875,
0.389093279838562,
0.3261505365371704,
0.10215230286121368,
-0.2429688572883606,
0.18884649872779846,
-0.08661939948797226,
0.17040476202964783,
-0.39132025837898254,
-0.1349494606256485,
0.14724522829055786,
0.4778805673122406,
0.18570446968078613,
0.12830206751823425,
-0.17239758372306824,
-0.2918389141559601,
0.27604547142982483,
0.022395480424165726,
0.11278560012578964,
0.05896161496639252,
-0.19499608874320984,
-0.26459044218063354,
-0.18745997548103333,
-0.3120068609714508,
-0.031734760850667953,
0.03497212380170822,
0.38746893405914307,
0.187276229262352,
0.1720820963382721,
-0.16720706224441528,
0.37121161818504333,
-0.48833099007606506,
0.16260355710983276,
-0.4595720171928406,
0.16175784170627594,
-0.06567353755235672,
-0.008737404830753803,
0.10752221941947937,
0.27588140964508057,
0.03366471827030182,
-0.14679951965808868,
-0.06755701452493668,
0.292770653963089,
0.20199531316757202,
0.06579488515853882,
0.1097147986292839,
0.20851664245128632,
0.03779521957039833,
-0.3047083020210266,
-0.2492869794368744,
0.16009576618671417,
-0.04372693598270416,
-0.11737087368965149,
-0.05032234638929367,
0.28117889165878296,
-0.12237897515296936,
-0.056791432201862335,
-0.18277430534362793,
-0.03560592234134674,
0.3467239737510681,
-0.05094943568110466,
-0.23977501690387726,
-0.15292207896709442,
0.44426366686820984,
-0.13670001924037933,
0.12887410819530487,
0.14474685490131378,
-0.3557027578353882,
-0.35927316546440125,
0.4614696204662323,
-0.1522199511528015,
0.057438284158706665,
0.3024897575378418,
0.17840063571929932,
0.15658307075500488,
0.08838488906621933,
0.20877648890018463,
0.1781831830739975,
0.08778023719787598,
-0.02477235719561577,
0.12943921983242035,
-0.16894231736660004,
-0.014270901679992676,
-0.04446675628423691,
-0.05665126442909241,
0.19295673072338104,
0.38432812690734863,
-0.15982457995414734,
0.009617455303668976,
-0.7090123891830444,
0.03992147371172905,
-0.21796272695064545,
0.2752175033092499,
-0.5447269678115845,
-0.017372287809848785,
-0.2277400940656662,
-0.17767584323883057,
-0.4768339991569519,
-0.23905839025974274,
-0.5820468664169312,
-0.35568293929100037,
0.11314647644758224,
0.06564249098300934,
-0.0061617083847522736,
0.12652534246444702,
-0.24578791856765747,
0.38160550594329834,
-0.20016688108444214,
0.2035464644432068,
-0.10501095652580261,
-0.06784506142139435,
-0.18774428963661194,
0.010846447199583054,
0.5554664731025696,
-0.0447269044816494,
0.46864572167396545,
-0.42041096091270447,
0.0016958918422460556,
-0.3654823303222656,
-0.43135228753089905,
0.05180516466498375,
-0.22349359095096588,
0.15083754062652588,
0.24966174364089966,
0.1798228621482849,
-0.1458248645067215,
-0.36117056012153625,
0.06052900850772858,
0.02042536996304989,
-0.4573236107826233,
0.2512240707874298,
-0.15012513101100922,
-0.08036952465772629,
-0.025588247925043106,
-0.05216512829065323,
-0.1506504863500595,
-0.14715971052646637,
0.22783049941062927,
-0.08275267481803894,
0.15234383940696716,
0.05772632732987404,
-0.22471605241298676,
0.46236327290534973,
-0.28453221917152405,
0.35903945565223694,
-0.20285391807556152,
-0.5756493806838989,
0.43791189789772034,
0.13394993543624878,
-0.29176071286201477,
0.32690122723579407,
0.04161711037158966,
0.011513382196426392,
-0.11234425753355026,
-0.6560749411582947,
-0.3126479983329773,
-0.202562615275383,
0.04110322520136833,
0.17898185551166534,
0.17047764360904694,
0.27297013998031616,
0.02833460085093975,
0.07729601860046387,
-0.1937311291694641,
-0.29159513115882874,
0.016394123435020447,
-0.269479364156723,
0.634765088558197,
-0.38046902418136597,
0.31809818744659424,
-0.07049068808555603,
0.35458695888519287,
0.533708930015564,
-0.015861231833696365,
0.2080456167459488,
0.08771424740552902,
0.5995050668716431,
-0.1969524323940277,
-0.2928668260574341,
0.05720936134457588,
-0.33340054750442505,
-0.1149437353014946,
0.19508510828018188,
-0.09220095723867416,
0.08583680540323257,
-0.17682752013206482,
-0.08946104347705841,
-0.2440316081047058,
-0.21715666353702545,
-0.06016301363706589,
-0.1652780920267105,
0.09654951840639114,
-0.18474216759204865,
-0.08140356838703156,
-0.020022617653012276,
-0.3554990887641907,
0.2951546609401703,
0.48456400632858276,
-0.11963310092687607,
-0.005361608229577541,
-0.4430501461029053,
-0.10566258430480957,
-0.059089235961437225,
0.304057240486145,
0.006055425852537155,
0.3359314799308777,
-0.17408497631549835,
-0.039316389709711075,
-0.060800448060035706,
-0.052361465990543365,
0.49125635623931885,
-0.3212651312351227,
0.05126604065299034,
-0.26104769110679626,
-0.01797696202993393,
0.07700425386428833,
-0.14778296649456024,
-0.061470650136470795,
-0.041425254195928574,
0.2636999189853668,
0.5146447420120239,
-0.4544193744659424,
0.15064473450183868,
0.37656763195991516,
0.3808339536190033,
-0.2171822190284729,
-0.1257164478302002,
-0.5389558672904968,
-0.2434709072113037,
-0.13083067536354065,
0.24290987849235535,
-0.040518052875995636,
0.11299879103899002,
0.11056195199489594,
0.08111777901649475,
-0.08522331714630127,
0.061502836644649506,
0.3486884534358978,
0.09506581723690033,
0.1948375701904297,
0.3405228555202484,
0.11882077157497406,
0.07249630242586136,
0.24606217443943024,
0.10832518339157104,
0.7924247980117798,
-0.1827903687953949,
-0.5679696202278137,
-0.15534859895706177,
-0.17301435768604279,
0.20002727210521698,
0.27158641815185547,
0.055990803986787796,
0.14658121764659882,
0.608138918876648,
-0.08782660961151123,
-0.1572338044643402,
-0.007211181800812483,
0.23185552656650543,
0.33467522263526917,
-0.5906928777694702,
-0.09461943805217743,
0.040937840938568115,
0.038459062576293945,
0.004180356860160828,
0.38573598861694336,
0.3075737953186035,
-0.19011610746383667,
0.2126309871673584,
0.09985605627298355,
1.0393136739730835,
-0.2086019665002823,
-0.01698489859700203,
-0.019491001963615417,
-0.15931706130504608,
0.2012372612953186,
-0.03409106656908989,
-0.041170883923769,
-0.348111629486084,
-0.4739060401916504,
-0.13400276005268097,
-0.10898391902446747,
0.31026721000671387,
-0.24438221752643585,
-0.0808098167181015,
0.2590544819831848,
0.12627951800823212,
0.4264635741710663,
-0.20881518721580505,
0.16485388576984406,
-0.14944858849048615,
-0.07469764351844788,
-0.2741149365901947,
0.1292947232723236,
-0.2087015062570572,
0.3278907239437103,
-0.01732671447098255,
-0.013692805543541908,
-0.10627003014087677,
-0.2627679705619812,
-0.4860107898712158,
0.04324457794427872,
0.008289724588394165,
-0.0006078556180000305,
0.4712974727153778,
0.0199299156665802,
-0.11155599355697632,
0.3136340081691742,
0.5116633176803589,
0.13501368463039398,
-0.12599442899227142,
0.08578473329544067,
0.12533798813819885,
0.13428781926631927,
-0.005927608348429203,
-0.18901777267456055,
0.35740068554878235,
-0.09239816665649414,
-0.2432709038257599,
0.18945789337158203,
-0.15629379451274872,
-0.47936755418777466,
0.055173978209495544,
-0.15319669246673584,
-0.272976279258728,
-0.1499897539615631,
-0.04337625578045845,
0.05677874758839607,
0.17511902749538422,
-0.23840878903865814,
0.12525132298469543,
0.24877944588661194,
-0.2539997100830078,
0.22709256410598755,
-0.04126501455903053,
-0.23240849375724792,
-0.2019045054912567,
0.2834896743297577,
-0.1584378182888031,
-0.05982606112957001,
0.41863319277763367,
-0.00047991424798965454,
-0.2647674083709717,
-0.026112394407391548,
0.034946829080581665,
0.26871198415756226,
-0.48112258315086365,
-0.28815120458602905,
-0.07967256754636765,
0.059078946709632874,
-0.05143067240715027,
0.3351176381111145,
0.5612990856170654,
0.03783527761697769,
0.05549415573477745,
-0.5458875298500061,
-0.369208425283432,
0.08911319077014923,
0.3456987738609314,
0.44108128547668457,
-0.1430434286594391,
-0.17128334939479828,
0.11110427975654602,
0.06865309178829193,
-0.2509778141975403,
-0.24371394515037537,
-0.43496495485305786,
-0.04661700129508972,
0.0007304269820451736,
0.14769546687602997,
0.18758486211299896,
-0.19536486268043518,
0.06139734387397766,
-0.1000833511352539,
-0.1475791037082672,
-0.1218140572309494,
-0.07941123843193054,
0.13194110989570618,
0.06495867669582367,
0.04396992176771164,
0.06825466454029083,
-0.09491322189569473,
0.18148939311504364,
-0.0008786078542470932,
0.05080574378371239,
0.17816516757011414,
-0.03373194485902786,
0.1753704994916916,
0.23188748955726624,
0.050067510455846786,
0.04269471764564514,
-0.20638926327228546,
-0.21510708332061768,
-0.06812269985675812,
0.12736323475837708,
-0.1620984673500061,
-0.09259055554866791,
-0.07566450536251068,
0.22150546312332153,
0.23882371187210083,
0.13972678780555725,
-0.04198510944843292,
0.028133440762758255,
-0.1151483803987503,
0.029065299779176712,
0.41975951194763184,
0.4068531095981598,
0.40023332834243774,
-0.36306366324424744,
0.04431409388780594,
0.4505752623081207,
0.08722082525491714,
-0.33568674325942993,
-0.09065613150596619,
0.5271398425102234,
0.1047939658164978,
-0.2038523256778717,
0.15816158056259155,
0.21290510892868042,
-0.1555076539516449,
0.39240527153015137,
0.053263671696186066,
-0.029138371348381042,
-0.33885353803634644,
0.35283163189888,
0.3582606315612793,
-0.28847840428352356,
0.06988614797592163,
0.28696075081825256,
-0.1949927657842636,
-0.0681193545460701,
0.15214797854423523,
-0.059944428503513336,
0.4110698103904724,
-0.45194706320762634,
0.1443062722682953,
-0.06464303284883499,
-0.37596651911735535,
0.5603815317153931,
0.055356889963150024,
-0.09497302770614624,
-0.08285924047231674,
0.17959699034690857,
0.6410155892372131,
-0.10400814563035965,
0.07316141575574875,
-0.6223167777061462,
0.2023783028125763,
-0.25215211510658264,
-0.04339369013905525,
-0.22822099924087524,
-0.06918318569660187,
-0.031951382756233215,
0.24589017033576965,
0.02846362814307213,
0.0709056407213211,
-0.013107284903526306,
0.22720709443092346,
-0.4073185324668884,
-0.19693446159362793,
-0.18340826034545898,
-0.22050076723098755,
0.3064602017402649,
-0.14496350288391113,
0.1789003163576126,
0.16464152932167053,
-0.036215052008628845,
0.07095463573932648,
0.38249507546424866,
0.2985698878765106,
0.25946709513664246,
0.3283144533634186,
0.13928185403347015,
0.024527641013264656,
0.22660435736179352,
0.010748079046607018,
0.7028868794441223,
-0.008764982223510742,
0.022186338901519775,
0.4417332410812378,
0.07468140125274658,
-0.11198058724403381,
0.27795466780662537,
-0.34065359830856323,
0.0823989063501358,
-0.2046767622232437,
0.19366303086280823,
-0.2056896835565567,
0.17577025294303894,
-0.41338276863098145,
0.19329425692558289,
-0.1974770724773407,
0.1737360656261444,
0.3496261537075043,
0.24558791518211365,
0.046905577182769775,
-0.08137602359056473,
0.054179951548576355,
0.19224169850349426,
0.5491622686386108,
0.3427688479423523,
-0.028137125074863434,
-0.03350921720266342,
-0.2092294991016388,
-0.8681659698486328,
0.2049940973520279,
-0.12925557792186737,
0.10847033560276031,
-0.034099411219358444,
-0.09355799108743668,
-0.004834882915019989,
0.04390516132116318,
0.24659499526023865,
-0.39237648248672485,
-0.05396132916212082,
-0.03383941948413849,
-0.06224149838089943,
-0.05657104775309563,
-0.12388648092746735,
-0.20171919465065002,
0.005732916295528412,
-0.1256868839263916,
0.35866403579711914,
0.25235888361930847,
0.010429579764604568,
0.2417224794626236,
-0.11833705008029938,
-0.3385256826877594,
0.20399190485477448,
0.08299301564693451,
0.0428108349442482,
0.7316067218780518,
0.047083690762519836,
-0.04268946871161461,
-0.18307757377624512,
-0.31599172949790955,
-0.20347121357917786,
0.5155566334724426,
-0.1632375866174698,
0.42201289534568787,
0.09124863147735596,
-0.12291164696216583,
-0.2189825475215912,
0.3703346252441406,
0.27507734298706055,
-0.1084480881690979,
-0.17041075229644775,
-0.07194575667381287,
-0.011305741965770721,
-0.18603071570396423,
0.4145333766937256,
0.0741846039891243,
0.13564246892929077,
0.15645863115787506,
-0.07592548429965973,
-0.10865534842014313,
0.358167827129364,
-0.24378883838653564,
0.09493391215801239,
-0.22864647209644318,
0.13986411690711975,
0.028640370815992355,
-0.3094717562198639,
-0.8081409931182861,
-0.004839323461055756,
0.2679555118083954,
0.026007233187556267,
0.07570379972457886,
0.37914353609085083,
-0.22176845371723175,
0.12349793314933777,
0.027851995080709457,
0.10394453257322311,
0.02835923247039318,
-0.1279769092798233,
0.20642869174480438,
-0.23543418943881989
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @rafikg I am sorry, but I can't reproduce your issue. For me it works OK for all languages. See: https://colab.research.google.com/drive/1yIcLw1it118-TYE3ZlFmV7gJcsF6UCsH?usp=sharing | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 20 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@rafikg I am sorry, but I can't reproduce your issue. For me it works OK for all languages. See: https://colab.research.google.com/drive/1yIcLw1it118-TYE3ZlFmV7gJcsF6UCsH?usp=sharing | [
-0.3512471616268158,
0.16597488522529602,
-0.09334598481655121,
0.2689793109893799,
0.3992983102798462,
-0.10218413174152374,
0.23095421493053436,
0.5082910656929016,
0.22223243117332458,
0.09733074903488159,
-0.022851435467600822,
0.10414732992649078,
0.11139927804470062,
0.22196610271930695,
-0.1851460486650467,
0.057854097336530685,
0.21735525131225586,
-0.057055070996284485,
-0.2533853054046631,
-0.15307748317718506,
-0.2149503082036972,
0.06245820224285126,
-0.055457863956689835,
-0.2200377732515335,
-0.16027620434761047,
0.13947047293186188,
0.08209455758333206,
-0.15248966217041016,
-0.18392163515090942,
-0.14598114788532257,
0.3293202519416809,
0.11785922944545746,
0.055614545941352844,
0.32364583015441895,
-0.000107022569864057,
0.2040041834115982,
0.2990840673446655,
-0.07688722759485245,
-0.09125491976737976,
-0.033638253808021545,
-0.3112201988697052,
-0.2986932098865509,
-0.26809775829315186,
-0.17736679315567017,
-0.18282249569892883,
0.19871091842651367,
0.072481669485569,
-0.16715294122695923,
0.06870859861373901,
0.38684892654418945,
0.2962484359741211,
0.2687000632286072,
0.03346710279583931,
0.040754929184913635,
0.2541244924068451,
-0.13030700385570526,
-0.05784279853105545,
0.08440016210079193,
-0.05678310990333557,
0.08054126054048538,
-0.2939052879810333,
0.2904755473136902,
0.057068176567554474,
-0.17257992923259735,
-0.1215844377875328,
-0.22044074535369873,
-0.005182862281799316,
-0.2169274091720581,
0.27341488003730774,
0.44714057445526123,
0.5685298442840576,
-0.07632379978895187,
-0.1707547903060913,
0.13540515303611755,
-0.16872476041316986,
0.02711206115782261,
0.4450663626194,
0.10466126352548599,
0.016644276678562164,
0.08821819722652435,
-0.1283194124698639,
0.18121030926704407,
-0.012859035283327103,
0.2064722329378128,
0.0011908747255802155,
0.4863918125629425,
0.027599673718214035,
-0.027204960584640503,
0.0665920227766037,
-0.133671373128891,
0.350641131401062,
-0.16769593954086304,
-0.32997462153434753,
0.2130671739578247,
-0.33843985199928284,
0.03515632450580597,
-0.016843155026435852,
0.46367546916007996,
0.34032124280929565,
0.13042932748794556,
-0.10141722112894058,
0.4662187993526459,
-0.21886257827281952,
0.10093741118907928,
-0.059082064777612686,
0.05766305699944496,
0.09010777622461319,
0.22416570782661438,
0.35093963146209717,
0.14421889185905457,
-0.19610773026943207,
0.07326333224773407,
-0.014379107393324375,
-0.3945169746875763,
0.25420424342155457,
0.04401759058237076,
-0.1514139473438263,
-0.299999862909317,
-0.055867839604616165,
0.26240280270576477,
-0.00803682953119278,
-0.25292351841926575,
0.1494961827993393,
0.34896740317344666,
-0.1697719842195511,
0.24960669875144958,
-0.23482973873615265,
0.21390564739704132,
-0.2030973732471466,
-0.023256000131368637,
-0.23859231173992157,
-0.005127837881445885,
-0.2369241863489151,
-0.14971548318862915,
0.23407824337482452,
-0.010516922920942307,
0.36882099509239197,
0.016094379127025604,
0.1878853142261505,
-0.11303045600652695,
0.012296119704842567,
-0.14163319766521454,
0.011373355984687805,
0.18661020696163177,
0.004723586142063141,
0.12342669814825058,
0.1573503315448761,
-0.14167854189872742,
0.02966359257698059,
0.12878690659999847,
-0.2851482033729553,
-0.029683073982596397,
-0.15015791356563568,
0.28822755813598633,
-0.34911346435546875,
-0.0838891789317131,
-0.07973397523164749,
-0.05627722665667534,
0.2969732880592346,
-0.39603015780448914,
0.08688753098249435,
-0.18475589156150818,
-0.2750479578971863,
-0.14671063423156738,
0.12941020727157593,
0.08818382024765015,
-0.32596486806869507,
0.02132035791873932,
0.07268662005662918,
-0.3432596027851105,
0.29989680647850037,
0.14294500648975372,
-0.06280003488063812,
0.09220243245363235,
-0.2962135076522827,
0.24694831669330597,
0.2433600276708603,
-0.2807217240333557,
-0.6659144163131714,
-0.04697185382246971,
0.17950253188610077,
0.161873459815979,
0.13575783371925354,
0.09106356650590897,
0.02163989096879959,
0.12932273745536804,
-0.20267745852470398,
0.04939095675945282,
0.31552404165267944,
0.14699317514896393,
-0.3158886432647705,
-0.006674669682979584,
0.3165898323059082,
0.27358201146125793,
0.2446403205394745,
-0.23352715373039246,
0.36391422152519226,
0.04991840571165085,
0.3457915186882019,
-0.3562968075275421,
0.08069257438182831,
0.14477339386940002,
0.43305256962776184,
-0.015932932496070862,
0.13864681124687195,
-0.1745619773864746,
-0.13548922538757324,
0.3069605827331543,
-0.06973091512918472,
0.18221525847911835,
-0.03004622459411621,
-0.04342135787010193,
-0.1732574999332428,
-0.28057315945625305,
-0.39784300327301025,
-0.03201672062277794,
0.22367694973945618,
0.25634270906448364,
-0.020589441061019897,
0.1739770919084549,
0.14274542033672333,
0.09055820107460022,
-0.4222576320171356,
-0.11553854495286942,
0.00509629026055336,
0.3368244767189026,
-0.22310571372509003,
0.0037718741223216057,
0.0047881752252578735,
0.18733422458171844,
-0.02719063311815262,
-0.04430493339896202,
-0.24192053079605103,
0.3134898841381073,
0.4701087474822998,
0.04842069745063782,
0.019817156717181206,
0.16713997721672058,
0.09060797095298767,
-0.3428727984428406,
-0.11275982111692429,
0.2516055703163147,
0.05043741688132286,
-0.15184415876865387,
-0.29716965556144714,
0.4999101161956787,
-0.033022504299879074,
-0.01156674325466156,
-0.02180630713701248,
-0.019068818539381027,
0.5172950029373169,
-0.052553366869688034,
-0.1331135481595993,
-0.2569863796234131,
0.24410729110240936,
-0.040879711508750916,
0.0003900974988937378,
0.19448427855968475,
-0.16255320608615875,
-0.16320165991783142,
0.4641726016998291,
0.009291395545005798,
0.17175796627998352,
0.018026655539870262,
0.15147772431373596,
0.03393624722957611,
0.11818163841962814,
0.29505717754364014,
0.13900434970855713,
0.10812769085168839,
0.1418115645647049,
0.077781543135643,
-0.127217099070549,
-0.1647813618183136,
-0.01701507717370987,
-0.23415090143680573,
0.37127262353897095,
0.44752469658851624,
-0.04820398986339569,
-0.22467517852783203,
-0.631611704826355,
0.13376392424106598,
0.016725627705454826,
0.24257275462150574,
-0.26435109972953796,
-0.13467885553836823,
-0.22124648094177246,
-0.13242429494857788,
-0.2962602376937866,
-0.06393706798553467,
-0.4264187514781952,
-0.3862217962741852,
-0.016000695526599884,
-0.08043335378170013,
0.017588529735803604,
0.37837302684783936,
-0.23583585023880005,
-0.13455326855182648,
0.027610955759882927,
-0.09956226497888565,
0.1409178525209427,
-0.1615409106016159,
-0.14904925227165222,
0.16047151386737823,
0.5094621777534485,
0.13493245840072632,
0.22016456723213196,
-0.29147574305534363,
-0.017037419602274895,
-0.2919807434082031,
-0.5304229855537415,
0.04131896793842316,
-0.13132448494434357,
0.17758069932460785,
0.07825065404176712,
0.14927178621292114,
-0.3588342070579529,
-0.26959601044654846,
0.16750718653202057,
0.09065581858158112,
-0.3385855257511139,
0.2954140603542328,
-0.1829354614019394,
-0.16266381740570068,
0.04112860932946205,
-0.2949362099170685,
-0.09217727184295654,
-0.17316880822181702,
-0.1102219671010971,
0.18768303096294403,
0.14476239681243896,
-0.002532883547246456,
0.08407668769359589,
0.14957068860530853,
-0.007339284289628267,
0.1797209531068802,
-0.3518321216106415,
-0.5127819776535034,
0.5873096585273743,
-0.11579631268978119,
-0.44257354736328125,
0.09565278887748718,
-0.004668109118938446,
0.38877034187316895,
0.06318770349025726,
-0.5137247443199158,
-0.136783629655838,
-0.20806224644184113,
0.29492631554603577,
0.3126196563243866,
0.06380865722894669,
0.1734391152858734,
0.021641205996274948,
0.0019407346844673157,
-0.35718461871147156,
-0.00869787484407425,
0.15586858987808228,
-0.2304265797138214,
0.45629286766052246,
-0.27813562750816345,
0.2814539968967438,
-0.00984446331858635,
0.4831850528717041,
0.2707042396068573,
0.15657839179039001,
0.28766947984695435,
-0.022171946242451668,
0.3362554609775543,
-0.205755352973938,
-0.12320323288440704,
0.23615899682044983,
-0.18719175457954407,
0.008150510489940643,
0.26482123136520386,
-0.1659146249294281,
-0.2748818099498749,
-0.18289394676685333,
-0.15522262454032898,
-0.26797178387641907,
-0.21568302810192108,
0.11097528040409088,
-0.2723314166069031,
0.2638821303844452,
0.05275635048747063,
0.06458548456430435,
-0.05646283179521561,
-0.44383805990219116,
0.2087358832359314,
0.23491546511650085,
-0.2872430980205536,
-0.1176164522767067,
-0.6113216280937195,
-0.11522158235311508,
-0.07389112561941147,
0.1584252268075943,
0.19418613612651825,
0.37918224930763245,
0.015453655272722244,
-0.07483537495136261,
-0.03414434194564819,
-0.162794291973114,
0.41207176446914673,
-0.5634597539901733,
0.21598747372627258,
-0.13579899072647095,
0.17184704542160034,
-0.029495663940906525,
-0.18654705584049225,
-0.19930335879325867,
-0.14362488687038422,
0.2222082018852234,
0.26678764820098877,
-0.24892017245292664,
0.17553669214248657,
0.018383480608463287,
0.3012198209762573,
-0.16060739755630493,
-0.22112134099006653,
-0.35375815629959106,
-0.047924477607011795,
-0.30285611748695374,
0.17188864946365356,
0.005736777558922768,
0.2690277099609375,
-0.16599199175834656,
-0.06706596910953522,
0.013312773779034615,
-0.018104281276464462,
0.25797411799430847,
0.11106786131858826,
0.23432353138923645,
0.25529468059539795,
0.16779793798923492,
-0.19497792422771454,
0.10690745711326599,
0.20801468193531036,
0.6726604700088501,
-0.27041998505592346,
-0.38287752866744995,
-0.08538955450057983,
-0.5234765410423279,
0.12587004899978638,
0.0347021147608757,
0.09782902151346207,
-0.06613900512456894,
0.5032656192779541,
-0.198185995221138,
0.1160452589392662,
0.01244533434510231,
0.1402713805437088,
0.23246732354164124,
-0.47098031640052795,
-0.2733979821205139,
-0.015216335654258728,
-0.02594446763396263,
-0.031252630054950714,
0.09218868613243103,
0.1576535850763321,
-0.29197958111763,
0.2396058887243271,
0.25322720408439636,
0.7946584224700928,
0.0508388914167881,
-0.021054770797491074,
0.07636156678199768,
-0.08319311589002609,
0.008274408057332039,
-0.13469181954860687,
-0.021349679678678513,
-0.3813822269439697,
-0.40758538246154785,
-0.06797074526548386,
-0.012796938419342041,
0.0902271643280983,
0.07086609303951263,
-0.24943393468856812,
0.10676509141921997,
-0.039007410407066345,
0.2668915390968323,
-0.06373389810323715,
0.15748567879199982,
-0.08402125537395477,
0.018389740958809853,
-0.002803269773721695,
0.19220221042633057,
0.009024053812026978,
-0.03373251482844353,
-0.08690331131219864,
-0.0719672217965126,
-0.06838290393352509,
-0.16720448434352875,
-0.25306475162506104,
0.19023162126541138,
0.011403772979974747,
0.21976496279239655,
0.22886168956756592,
0.02952205389738083,
0.014029085636138916,
0.4558250904083252,
0.42097795009613037,
0.3855939209461212,
-0.2123919278383255,
0.29276740550994873,
0.46267586946487427,
0.08166805654764175,
0.06476151943206787,
-0.06163918599486351,
0.3802011013031006,
-0.1341736614704132,
-0.3976740539073944,
0.08515684306621552,
-0.17724712193012238,
-0.25294435024261475,
-0.06936676055192947,
-0.2143394500017166,
-0.09911027550697327,
-0.35486656427383423,
-0.18825893104076385,
-0.041908830404281616,
-0.1428556740283966,
-0.22325727343559265,
0.2401384711265564,
0.03472265973687172,
-0.260428249835968,
0.2316315472126007,
0.23375409841537476,
-0.22635877132415771,
-0.09716306626796722,
0.47047609090805054,
0.07240961492061615,
-0.04952425882220268,
0.5407125949859619,
0.12674009799957275,
-0.3998067378997803,
-0.24650174379348755,
0.07445967942476273,
0.19432175159454346,
-0.2934280037879944,
-0.34290680289268494,
-0.07411327958106995,
0.045923247933387756,
-0.0402662493288517,
0.3963926434516907,
0.23113757371902466,
0.11238059401512146,
0.10857225954532623,
-0.49790215492248535,
-0.16160079836845398,
-0.03313648700714111,
0.07216537743806839,
0.25572875142097473,
-0.21677541732788086,
-0.12740397453308105,
0.09964573383331299,
0.04720035940408707,
-0.37001752853393555,
-0.09770379215478897,
-0.27778926491737366,
0.09295085072517395,
-0.17510411143302917,
0.1811554729938507,
-0.03804518282413483,
-0.13201923668384552,
0.18735000491142273,
-0.06656710058450699,
-0.14699400961399078,
-0.2778143286705017,
-0.1487620770931244,
0.07335943728685379,
0.31130847334861755,
-0.11385706812143326,
0.20810553431510925,
-0.22664690017700195,
-0.11618173122406006,
-0.061344608664512634,
0.00623198039829731,
0.0912819430232048,
-0.20106060802936554,
0.31808415055274963,
0.20753376185894012,
0.10508463531732559,
-0.013491543009877205,
-0.20085462927818298,
-0.30054178833961487,
-0.12307561933994293,
-0.03449501842260361,
-0.046196989715099335,
0.14982667565345764,
0.02172427624464035,
0.32264018058776855,
0.16212132573127747,
-0.0490129292011261,
0.14990553259849548,
0.12926483154296875,
-0.259921133518219,
0.10051371157169342,
0.4243682324886322,
0.2981753945350647,
0.3681087791919708,
-0.328413724899292,
-0.05021961033344269,
0.3798232972621918,
0.267840176820755,
-0.4650585651397705,
-0.1333197057247162,
0.27884867787361145,
-0.09918266534805298,
0.11382603645324707,
0.02474416047334671,
0.26813971996307373,
-0.3926241099834442,
0.43894773721694946,
0.07206106185913086,
-0.25362831354141235,
-0.5074811577796936,
0.3743194043636322,
0.5749371647834778,
-0.1655181497335434,
0.02312300354242325,
0.22716672718524933,
-0.3503568768501282,
-0.2916170060634613,
0.38490909337997437,
-0.01873677223920822,
0.33519282937049866,
-0.21113717555999756,
0.22183404862880707,
-0.17413917183876038,
-0.2788488268852234,
0.4908176362514496,
0.024742677807807922,
-0.2975631356239319,
-0.07862036675214767,
0.19232934713363647,
0.23867681622505188,
0.06528537720441818,
0.1763702780008316,
-0.4932512938976288,
-0.013627730309963226,
-0.25466030836105347,
-0.17186735570430756,
-0.26064687967300415,
-0.26677006483078003,
-0.03683356195688248,
0.25845128297805786,
-0.06103814020752907,
0.26828473806381226,
-0.0972675234079361,
0.2542630732059479,
-0.27655041217803955,
-0.13122178614139557,
-0.0037064552307128906,
-0.1532168686389923,
0.021606221795082092,
-0.1415783166885376,
0.2739992141723633,
0.09224138408899307,
-0.06580297648906708,
0.024901069700717926,
0.19774846732616425,
0.15074963867664337,
0.3542178273200989,
0.1181478202342987,
-0.056434597820043564,
0.09657807648181915,
0.05388687551021576,
-0.042773082852363586,
0.7113980650901794,
0.41271260380744934,
0.028362564742565155,
0.4358629882335663,
0.18675018846988678,
-0.21839016675949097,
0.11367325484752655,
0.07908876240253448,
-0.190482035279274,
0.07164508104324341,
0.1073070839047432,
0.12926730513572693,
0.1642187535762787,
-0.3213478624820709,
0.017215654253959656,
-0.3084650933742523,
0.05636107176542282,
0.160392627120018,
0.1273757666349411,
0.22960832715034485,
-0.2526260018348694,
0.13445761799812317,
0.12337513267993927,
0.5411761403083801,
0.0889628455042839,
-0.12994369864463806,
-0.1095413789153099,
-0.3228718042373657,
-0.7726907730102539,
0.22915524244308472,
-0.15964378416538239,
0.17500998079776764,
-0.15707749128341675,
0.023682748898863792,
0.016223669052124023,
0.051292985677719116,
0.26431840658187866,
-0.2056707888841629,
-0.22028392553329468,
-0.0032930374145507812,
-0.23986682295799255,
0.005671169608831406,
-0.0764099508523941,
0.01911413110792637,
-0.1736210584640503,
-0.2539066672325134,
0.2728288769721985,
0.15356819331645966,
0.21281638741493225,
0.022564927116036415,
-0.11671166867017746,
-0.18625400960445404,
0.09165970981121063,
0.12167353183031082,
0.08288003504276276,
0.6560747623443604,
-0.1932123303413391,
0.1683126837015152,
-0.11663414537906647,
-0.16247794032096863,
-0.15794825553894043,
0.4457206130027771,
0.08520875126123428,
0.42871105670928955,
0.14305846393108368,
-0.1426924616098404,
-0.06394986808300018,
0.20496949553489685,
0.18051427602767944,
-0.09941089153289795,
-0.17405793070793152,
-0.0846656933426857,
0.10900396853685379,
-0.16395479440689087,
0.05302903428673744,
0.07114525139331818,
0.003756701946258545,
0.042044833302497864,
-0.12681731581687927,
-0.30313846468925476,
0.15415015816688538,
-0.16034935414791107,
-0.13295429944992065,
-0.23343276977539062,
-0.04829438030719757,
-0.15689656138420105,
-0.07192932069301605,
-0.7501488924026489,
0.1005052849650383,
0.3180236518383026,
-0.022404316812753677,
-0.04927515983581543,
0.15733833611011505,
-0.08535449206829071,
0.3085178732872009,
-0.08133956044912338,
0.08120664209127426,
0.11852681636810303,
-0.19602392613887787,
-0.13778741657733917,
-0.2309756726026535
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | @kwchurch the PR #3787 fixes this issue (generated by a change in Google Drive service) for ALL datasets with this issue. Once we make our next library release (in a couple of days), the fix will be accessible to all users that update our library from PyPI. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 47 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
@kwchurch the PR #3787 fixes this issue (generated by a change in Google Drive service) for ALL datasets with this issue. Once we make our next library release (in a couple of days), the fix will be accessible to all users that update our library from PyPI. | [
-0.24296502768993378,
0.32840022444725037,
-0.052209384739398956,
0.20915769040584564,
0.2420460432767868,
0.04546458274126053,
0.46339666843414307,
0.3967263996601105,
0.10458017885684967,
0.16378165781497955,
0.06376023590564728,
0.0762731283903122,
0.1462748497724533,
0.24663551151752472,
0.01618548110127449,
0.03728853911161423,
0.31862425804138184,
-0.013912469148635864,
0.05292874574661255,
-0.048424795269966125,
-0.27175018191337585,
0.09924326837062836,
0.05167631804943085,
-0.28138864040374756,
-0.17755751311779022,
0.09158405661582947,
-0.015497037209570408,
-0.14741578698158264,
-0.2145940512418747,
-0.29768797755241394,
0.36307016015052795,
0.2711379826068878,
-0.029216643422842026,
0.27463361620903015,
-0.00011175977851962671,
0.15425242483615875,
0.393496036529541,
-0.06319881975650787,
-0.22767023742198944,
-0.03991617262363434,
-0.16144874691963196,
-0.22652336955070496,
-0.13125595450401306,
-0.22203460335731506,
-0.03335721045732498,
-0.003100012429058552,
0.0003842487931251526,
-0.01744367554783821,
-0.09864217042922974,
0.23959705233573914,
0.24540551006793976,
0.25411731004714966,
-0.010040339082479477,
0.06877774745225906,
0.33565768599510193,
-0.14501041173934937,
-0.02701399102807045,
0.2756664454936981,
0.020595833659172058,
-0.019535772502422333,
-0.19140776991844177,
0.13576176762580872,
-0.0792999193072319,
-0.19616444408893585,
0.023594006896018982,
-0.03102537989616394,
-0.16706439852714539,
-0.23795545101165771,
0.2777630686759949,
0.4272860586643219,
0.5865119099617004,
-0.09387286752462387,
-0.2626325488090515,
-0.027287017554044724,
-0.08497531712055206,
0.019016550853848457,
0.5566830635070801,
0.21184317767620087,
0.047456856817007065,
-0.002492763102054596,
-0.19242414832115173,
0.09408315271139145,
0.005747638642787933,
0.12387199699878693,
-0.16864588856697083,
0.42813950777053833,
0.191473126411438,
0.03432296961545944,
0.12358397245407104,
0.017550190910696983,
0.32880836725234985,
-0.118014395236969,
-0.4256918728351593,
0.14707417786121368,
-0.17406484484672546,
-0.06847922503948212,
0.13307595252990723,
0.3431576192378998,
0.22527799010276794,
0.2224045842885971,
-0.17309556901454926,
0.2877364754676819,
-0.2697232961654663,
0.1241295114159584,
0.13024914264678955,
0.18743734061717987,
-0.011408731341362,
0.27333950996398926,
0.3673292398452759,
0.12710468471050262,
0.09591785073280334,
0.022336017340421677,
0.10177353769540787,
-0.2587536871433258,
0.2614050507545471,
-0.020215891301631927,
-0.005079861730337143,
-0.2922820746898651,
-0.26279932260513306,
0.20163613557815552,
-0.1291126161813736,
-0.3730563223361969,
0.02611784264445305,
0.2576853632926941,
-0.04664057865738869,
0.09111449867486954,
-0.2363237589597702,
0.2688864469528198,
-0.2049572467803955,
0.16498181223869324,
-0.25330886244773865,
0.15246769785881042,
-0.1731969118118286,
-0.02786974050104618,
0.21406961977481842,
-0.24533778429031372,
0.2710607051849365,
0.042176503688097,
0.09422514587640762,
-0.12415008246898651,
-0.015072735026478767,
-0.08611252903938293,
-0.130822092294693,
0.2949568033218384,
0.01431266963481903,
0.10047530382871628,
0.09598004817962646,
-0.20238898694515228,
-0.11753435432910919,
0.24692994356155396,
-0.3652031719684601,
-0.0767875611782074,
-0.21469394862651825,
0.2596012055873871,
-0.4683573842048645,
-0.19773226976394653,
-0.21129298210144043,
-0.08839723467826843,
0.2403283715248108,
-0.4681398272514343,
0.13067683577537537,
-0.17947228252887726,
-0.13105839490890503,
-0.2804323434829712,
0.03724757581949234,
0.2590552866458893,
-0.37795761227607727,
0.017907120287418365,
-0.12634798884391785,
-0.2976601719856262,
0.1981600821018219,
0.17369040846824646,
-0.09489037096500397,
0.11426135897636414,
-0.35663729906082153,
0.2794339656829834,
0.0968632772564888,
-0.25434035062789917,
-0.6746218800544739,
-0.19646844267845154,
0.05401291698217392,
0.11636018007993698,
0.1670742630958557,
0.09468913078308105,
0.11744298040866852,
0.026952426880598068,
-0.10565309226512909,
0.06560815870761871,
0.1666382998228073,
0.1300346404314041,
-0.24822655320167542,
-0.19827693700790405,
0.29424166679382324,
0.3028274476528168,
0.24732331931591034,
-0.1520586907863617,
0.503319263458252,
-0.06084764376282692,
0.28638654947280884,
-0.25827357172966003,
0.021689536049962044,
0.23102279007434845,
0.5973027944564819,
-0.05877545475959778,
0.1351691037416458,
-0.03666554018855095,
-0.2938270568847656,
0.3135802149772644,
-0.0038310792297124863,
0.26424694061279297,
-0.24950392544269562,
-0.09821119159460068,
-0.16139185428619385,
-0.21263259649276733,
-0.485344797372818,
-0.13989366590976715,
0.16942238807678223,
0.2567933201789856,
-0.05415637046098709,
0.2334059327840805,
0.1797386109828949,
-0.06068463623523712,
-0.3010217845439911,
-0.09392086416482925,
-0.04254961013793945,
0.46928834915161133,
-0.2007821947336197,
-0.021475158631801605,
0.06894402951002121,
0.20377245545387268,
0.06248839944601059,
-0.11743965744972229,
-0.24281960725784302,
0.2975327968597412,
0.3107621967792511,
0.3527578115463257,
0.12194724380970001,
0.33360904455184937,
0.17750750482082367,
-0.46899548172950745,
0.14070002734661102,
0.2660349905490875,
0.05258290097117424,
-0.1993561089038849,
-0.42820584774017334,
0.5752824544906616,
-0.021887946873903275,
-0.03225455433130264,
-0.11719204485416412,
0.06477896869182587,
0.40828466415405273,
0.011608611792325974,
-0.05815818905830383,
-0.2659296989440918,
0.16397036612033844,
0.2486075907945633,
0.23233191668987274,
0.18419149518013,
-0.02776588872075081,
0.008059419691562653,
0.6215816140174866,
-0.14583270251750946,
0.032608967274427414,
0.19318804144859314,
0.08491761237382889,
-0.11333289742469788,
0.1761581003665924,
0.4557322561740875,
0.18805143237113953,
0.11650760471820831,
0.1425456404685974,
0.05676867812871933,
-0.10177057236433029,
-0.2119743824005127,
0.052952781319618225,
-0.13921907544136047,
0.12367040663957596,
0.3288818299770355,
0.16399985551834106,
-0.11795719712972641,
-0.6834474802017212,
0.16663166880607605,
0.07531937956809998,
0.29116618633270264,
-0.24446576833724976,
0.007893268018960953,
-0.1305851936340332,
-0.11069367080926895,
-0.25800836086273193,
-0.10420968383550644,
-0.49472182989120483,
-0.49922671914100647,
0.020114820450544357,
0.054202768951654434,
0.04569931700825691,
0.18174418807029724,
-0.1264665126800537,
-0.03989322483539581,
-0.018852952867746353,
-0.3592710494995117,
-0.04140456020832062,
-0.21843206882476807,
-0.1382007598876953,
0.12344443798065186,
0.5310226678848267,
0.07143683731555939,
0.3775663673877716,
-0.14410915970802307,
0.010848382487893105,
-0.6092318892478943,
-0.5516393184661865,
0.020690664649009705,
-0.35629045963287354,
0.2166653871536255,
0.10025171935558319,
0.27728956937789917,
-0.1364317089319229,
-0.32540830969810486,
0.08130883425474167,
0.006943175569176674,
-0.35222914814949036,
0.25244802236557007,
-0.23243816196918488,
-0.08289574086666107,
-0.0077513717114925385,
-0.3539750277996063,
-0.07624168694019318,
-0.06218057498335838,
0.041725896298885345,
0.2200012356042862,
0.15786594152450562,
-0.019669972360134125,
0.08752386271953583,
0.12052594125270844,
0.13305921852588654,
-0.08402011543512344,
-0.3750452697277069,
-0.46932268142700195,
0.5122592449188232,
-0.046538177877664566,
-0.3430691659450531,
0.11748722195625305,
-0.04343016445636749,
0.17724213004112244,
0.03211142122745514,
-0.6218957304954529,
-0.3068767786026001,
-0.264394611120224,
0.46789759397506714,
0.3035593032836914,
0.04584428295493126,
0.3787960112094879,
0.1303192526102066,
0.014970848336815834,
-0.2127065658569336,
-0.20367413759231567,
0.08496043086051941,
0.0001443326473236084,
0.42628422379493713,
-0.21001547574996948,
0.3209869861602783,
-0.17805925011634827,
0.7085468769073486,
0.11656598746776581,
0.23499442636966705,
0.3198893964290619,
-0.01155572198331356,
0.44633451104164124,
-0.253420352935791,
-0.12880848348140717,
0.2794122099876404,
-0.19919085502624512,
-0.20124118030071259,
0.2684168219566345,
-0.13379481434822083,
-0.39533963799476624,
-0.10809507966041565,
-0.06580124795436859,
-0.3118302822113037,
-0.12212927639484406,
0.010858796536922455,
-0.20166859030723572,
0.17710506916046143,
-0.024218561127781868,
0.07075389474630356,
-0.19352534413337708,
-0.5299213528633118,
0.1312198042869568,
0.2482064664363861,
-0.16508260369300842,
-0.02766217291355133,
-0.4376950263977051,
-0.16933168470859528,
-0.28446465730667114,
0.13655532896518707,
0.17162646353244781,
0.2865554690361023,
-0.09670405834913254,
0.052481383085250854,
0.15425628423690796,
-0.27369940280914307,
0.3332479000091553,
-0.43696328997612,
0.228745236992836,
0.01106344722211361,
0.2736731469631195,
0.1473410278558731,
-0.3364429771900177,
-0.24973873794078827,
-0.20605899393558502,
0.17561356723308563,
0.30725395679473877,
-0.3043991029262543,
0.15591678023338318,
0.21148383617401123,
0.23148521780967712,
-0.16810345649719238,
-0.1764417290687561,
-0.352683961391449,
-0.3761277496814728,
-0.25055941939353943,
0.11651395261287689,
-0.010106113739311695,
0.2119065523147583,
-0.3524496555328369,
0.030253056436777115,
0.18930548429489136,
-0.06352535635232925,
0.1408887505531311,
-0.020355910062789917,
0.2505302131175995,
0.1738455891609192,
0.08870828151702881,
-0.01429426297545433,
0.052897997200489044,
0.3703922927379608,
0.7478415369987488,
-0.11428782343864441,
-0.1452028453350067,
0.060804884880781174,
-0.4881266951560974,
0.04173876345157623,
0.11683788895606995,
0.08618570119142532,
0.09715113788843155,
0.3814433217048645,
-0.15561993420124054,
0.013466652482748032,
-0.1219455897808075,
0.16556373238563538,
0.17428605258464813,
-0.43902337551116943,
-0.2902357578277588,
0.2962832748889923,
0.055199090391397476,
-0.12431073933839798,
0.29297423362731934,
0.27954035997390747,
-0.270480751991272,
0.3248838186264038,
0.32087254524230957,
0.934135377407074,
-0.08963680267333984,
0.03991489112377167,
0.29837310314178467,
-0.06143065541982651,
0.0841938778758049,
-0.2710002660751343,
0.0008897017687559128,
-0.5131741166114807,
-0.3699735701084137,
-0.11119628697633743,
-0.14809764921665192,
0.030540436506271362,
-0.08556754887104034,
-0.22160184383392334,
0.11172979325056076,
-0.19358119368553162,
0.19130206108093262,
0.07620405405759811,
0.2751657962799072,
-0.2921082377433777,
0.0985858142375946,
0.16594092547893524,
0.15697675943374634,
0.021099328994750977,
0.06470489501953125,
-0.1464633047580719,
-0.07582690566778183,
-0.06782093644142151,
-0.2785942554473877,
-0.5444079041481018,
0.15332594513893127,
0.020942125469446182,
0.2325351983308792,
0.22065281867980957,
-0.18314263224601746,
-0.017343072220683098,
0.3371039927005768,
0.3275642693042755,
0.1433909386396408,
-0.28831949830055237,
0.3456750810146332,
0.3522230088710785,
0.05646294355392456,
0.1181943416595459,
-0.016793886199593544,
0.40205806493759155,
-0.06119181215763092,
-0.3574000298976898,
0.05759698525071144,
-0.24979211390018463,
-0.5266298055648804,
-0.3268018960952759,
-0.14625999331474304,
-0.3249632716178894,
-0.17037156224250793,
-0.07168224453926086,
-0.1423739343881607,
-0.1716834008693695,
-0.263175368309021,
0.1898195594549179,
0.1723969578742981,
-0.025221630930900574,
0.11051271855831146,
0.11112777888774872,
-0.2276230901479721,
-0.15758568048477173,
0.4246808886528015,
0.15090404450893402,
-0.11361711472272873,
0.6634485721588135,
0.011378925293684006,
-0.31260502338409424,
-0.22060039639472961,
0.029122792184352875,
0.02053578570485115,
-0.14254382252693176,
-0.3196890354156494,
-0.11359556764364243,
0.07920704782009125,
-0.008043483830988407,
0.35273101925849915,
0.2426919937133789,
0.27851733565330505,
0.0005738474428653717,
-0.6739807724952698,
-0.1189652755856514,
-0.01689077913761139,
-0.13632835447788239,
0.33095648884773254,
-0.20313584804534912,
-0.10301367938518524,
0.1434514969587326,
-0.0063650887459516525,
-0.33250993490219116,
-0.01658635400235653,
-0.3050878643989563,
0.012789318338036537,
0.06719690561294556,
0.1161007210612297,
0.088324174284935,
-0.1891518086194992,
0.20005735754966736,
-0.16764208674430847,
-0.08905166387557983,
-0.18498650193214417,
-0.07763135433197021,
0.10877532511949539,
0.204290509223938,
-0.12589097023010254,
0.10506079345941544,
-0.16979730129241943,
-0.09210304915904999,
0.08783531934022903,
0.1398206502199173,
0.11752692610025406,
-0.23168645799160004,
0.14015133678913116,
0.2278788536787033,
0.027224749326705933,
-0.03592430800199509,
-0.17611585557460785,
-0.3437083661556244,
-0.13340336084365845,
-0.029074234887957573,
0.09083548188209534,
0.04553127661347389,
0.08267441391944885,
0.2534841299057007,
0.22159725427627563,
-0.027809634804725647,
0.2420584261417389,
0.10265861451625824,
-0.2703702449798584,
0.1313251554965973,
0.19540289044380188,
0.258574515581131,
0.3293651342391968,
-0.42898017168045044,
-0.04894506186246872,
0.43181392550468445,
0.22475175559520721,
-0.3682052493095398,
-0.18485800921916962,
0.1957911252975464,
-0.03337452560663223,
-0.026489417999982834,
0.038991838693618774,
0.3761104345321655,
-0.2906591296195984,
0.2762129306793213,
0.05583886802196503,
0.06822884827852249,
-0.43771809339523315,
0.3662967383861542,
0.5010694861412048,
-0.2275046408176422,
0.05514223873615265,
0.36580607295036316,
-0.35664552450180054,
-0.33623358607292175,
0.30895310640335083,
0.02879481017589569,
0.2656256854534149,
-0.16669023036956787,
0.06581757962703705,
-0.1662965714931488,
-0.37302467226982117,
0.48478183150291443,
-0.044207870960235596,
-0.26292404532432556,
-0.09760796278715134,
0.2602487802505493,
0.40223729610443115,
-0.09269009530544281,
0.2740916609764099,
-0.6113339066505432,
0.04762312024831772,
-0.24267610907554626,
-0.05879098176956177,
-0.09137751162052155,
-0.3233950138092041,
0.06835484504699707,
0.3895217776298523,
-0.02450607344508171,
0.10328558087348938,
-0.02750394493341446,
0.2542215585708618,
-0.36893558502197266,
-0.09952213615179062,
0.09857261180877686,
-0.1869722604751587,
0.061444349586963654,
-0.1509861797094345,
0.26469239592552185,
-0.048963919281959534,
-0.11021381616592407,
0.009182596579194069,
0.21809469163417816,
0.2813159227371216,
0.36016103625297546,
0.1446087658405304,
-0.14206171035766602,
0.03942834585905075,
0.041548408567905426,
0.10820300877094269,
0.5960708856582642,
0.3086456060409546,
-0.011372961103916168,
0.34248635172843933,
0.1872929334640503,
-0.18294662237167358,
0.1350298374891281,
0.10000113397836685,
-0.16997788846492767,
0.012412643060088158,
0.19529122114181519,
-0.09639252722263336,
0.002687118947505951,
-0.27241384983062744,
0.07502927631139755,
-0.23553308844566345,
-0.043366581201553345,
0.27184927463531494,
0.31510546803474426,
0.19471338391304016,
-0.17264746129512787,
0.09645619988441467,
0.17525546252727509,
0.49585866928100586,
0.3630920946598053,
-0.09313217550516129,
-0.13350647687911987,
-0.29287341237068176,
-0.797929584980011,
0.18138891458511353,
-0.18103758990764618,
0.297489732503891,
-0.11889493465423584,
0.01580931805074215,
-0.06720694154500961,
0.010279580950737,
0.34467563033103943,
0.14330117404460907,
-0.1292523741722107,
-0.05332712084054947,
-0.24138739705085754,
-0.045787613838911057,
0.0025333911180496216,
-0.08492100983858109,
-0.31099599599838257,
-0.22846314311027527,
0.29171109199523926,
0.05386145040392876,
0.1724185347557068,
-0.07340230792760849,
0.029898427426815033,
-0.08858194947242737,
0.19031542539596558,
0.22431029379367828,
0.09433005005121231,
0.8250648975372314,
-0.06751669943332672,
0.09916195273399353,
-0.2040778398513794,
-0.19377538561820984,
-0.2082730382680893,
0.2720334231853485,
-0.14301042258739471,
0.5277924537658691,
0.21664990484714508,
-0.1980145126581192,
-0.14494509994983673,
0.3739530146121979,
0.08739958703517914,
-0.02419961988925934,
-0.3734734356403351,
-0.00034748390316963196,
-0.024527207016944885,
-0.11250083893537521,
0.13538798689842224,
-0.014140985906124115,
0.13638873398303986,
0.06753801554441452,
-0.13803313672542572,
-0.3054530918598175,
0.08537335693836212,
-0.23345407843589783,
-0.12985655665397644,
-0.10422011464834213,
-0.07216453552246094,
-0.19060584902763367,
-0.04154646396636963,
-0.6715531945228577,
0.134496808052063,
0.3232174515724182,
-0.05423688888549805,
-0.1594218909740448,
0.14200365543365479,
-0.009792089462280273,
0.2419932633638382,
-0.06273892521858215,
0.09094446897506714,
0.03363716974854469,
-0.14012332260608673,
-0.07574857771396637,
-0.16077332198619843
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | By the way, @rafikg, I discovered the URL for Spanish was wrong. I've created a PR to fix it:
- #3806 | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
By the way, @rafikg, I discovered the URL for Spanish was wrong. I've created a PR to fix it:
- #3806 | [
-0.2747669816017151,
0.3010276257991791,
-0.11360335350036621,
0.2822935879230499,
0.2694523334503174,
0.032837942242622375,
0.12573963403701782,
0.2994842827320099,
0.188693106174469,
0.12891101837158203,
-0.03692566603422165,
0.11755141615867615,
0.057266972959041595,
-0.0736764669418335,
-0.011075100861489773,
0.12040389329195023,
0.29339492321014404,
-0.12407219409942627,
-0.17352965474128723,
-0.1882571429014206,
-0.2983601689338684,
0.1554296612739563,
0.06513874232769012,
-0.27167391777038574,
-0.20645207166671753,
0.23243121802806854,
-0.029651788994669914,
-0.21863505244255066,
-0.19493012130260468,
-0.2965657413005829,
0.4300314784049988,
0.18248285353183746,
-0.04343564063310623,
0.4026350975036621,
-0.0001101853049476631,
0.17599551379680634,
0.3358028531074524,
0.003681005910038948,
-0.1362285614013672,
0.02921869605779648,
-0.38325539231300354,
-0.32154911756515503,
-0.3535149395465851,
-0.15689176321029663,
-0.12247742712497711,
0.13574153184890747,
0.1284574270248413,
-0.24439452588558197,
-0.029879942536354065,
0.3066391944885254,
0.26111623644828796,
0.12888790667057037,
0.060175102204084396,
-0.10922440141439438,
0.32121768593788147,
-0.04825253039598465,
-0.013959286734461784,
0.11757844686508179,
0.09570170193910599,
0.06383422762155533,
-0.15865930914878845,
0.31816956400871277,
0.03665989637374878,
-0.29126834869384766,
-0.025210566818714142,
-0.14587292075157166,
-0.20813420414924622,
-0.27317553758621216,
0.2682318091392517,
0.39278334379196167,
0.5140833258628845,
0.0624360591173172,
-0.192751944065094,
0.13695752620697021,
-0.12088825553655624,
0.13635706901550293,
0.4745444655418396,
0.12127083539962769,
0.010103419423103333,
0.08031244575977325,
-0.15403442084789276,
-0.03903167322278023,
0.08080843091011047,
0.27314913272857666,
-0.12140175700187683,
0.552709698677063,
0.05861734598875046,
-0.06732050329446793,
0.08179619908332825,
-0.009282901883125305,
0.42290639877319336,
-0.19691653549671173,
-0.30593961477279663,
0.2939719557762146,
-0.16753223538398743,
0.07423719763755798,
-0.0031286031007766724,
0.4239181876182556,
0.36096951365470886,
-0.1188865453004837,
-0.17223496735095978,
0.2574373185634613,
-0.25405803322792053,
-0.03021775186061859,
0.003452744334936142,
0.01742626167833805,
-0.041903503239154816,
0.2623558044433594,
0.2877275347709656,
0.10564064234495163,
0.022540893405675888,
0.13835421204566956,
-0.02420855313539505,
-0.30993035435676575,
0.12778416275978088,
0.130700021982193,
0.028806567192077637,
-0.2857021391391754,
-0.06504904478788376,
0.260658860206604,
-0.004830140620470047,
-0.361992746591568,
0.018423886969685555,
0.2694293260574341,
-0.16190160810947418,
0.22778448462486267,
-0.2589019238948822,
0.17533449828624725,
-0.19524891674518585,
-0.09956859052181244,
-0.2516343891620636,
0.01597316563129425,
-0.265238493680954,
-0.18774710595607758,
0.17044207453727722,
-0.0552169568836689,
0.2888256311416626,
-0.043382368981838226,
0.060687921941280365,
-0.2077469527721405,
-0.08218828588724136,
-0.10946819186210632,
-0.0565825030207634,
0.19980257749557495,
-0.006622409448027611,
0.2022218108177185,
0.10127215832471848,
-0.2391907423734665,
-0.012454062700271606,
0.20844238996505737,
-0.36566075682640076,
-0.10735392570495605,
-0.2547515630722046,
0.2618294656276703,
-0.3702470660209656,
-0.215413898229599,
-0.09202327579259872,
0.04465322941541672,
0.2685891389846802,
-0.32274243235588074,
0.039283037185668945,
-0.08986548334360123,
-0.2961006462574005,
-0.11935099214315414,
0.12912169098854065,
0.31534242630004883,
-0.4379156529903412,
-0.0726519376039505,
-0.1525581032037735,
-0.2522818446159363,
0.2894396483898163,
0.12723912298679352,
-0.12204150855541229,
0.21518653631210327,
-0.31756940484046936,
0.21436886489391327,
0.292531818151474,
-0.26517966389656067,
-0.5582225322723389,
-0.10533308982849121,
0.0881776213645935,
0.1778782159090042,
0.15498653054237366,
0.09504518657922745,
-0.05066085234284401,
0.06230621412396431,
-0.10449276864528656,
0.022613417357206345,
0.2433716356754303,
0.055255718529224396,
-0.21063025295734406,
-0.08560814708471298,
0.3586606979370117,
0.3124179542064667,
0.3535485863685608,
-0.18841338157653809,
0.4695693254470825,
0.015426046214997768,
0.3436657786369324,
-0.25746190547943115,
-0.054381512105464935,
0.21239763498306274,
0.40026724338531494,
-0.04157595336437225,
0.0849955752491951,
-0.06487858295440674,
-0.17249009013175964,
0.27931341528892517,
-0.06869207322597504,
0.2608095407485962,
-0.10850532352924347,
-0.12942957878112793,
-0.26738786697387695,
-0.21556459367275238,
-0.42983385920524597,
-0.12282054126262665,
0.18192988634109497,
0.359465628862381,
-0.16461104154586792,
0.12057134509086609,
0.06658883392810822,
0.02394695207476616,
-0.44090673327445984,
-0.050833821296691895,
-0.1048707664012909,
0.19244931638240814,
-0.16921642422676086,
0.11736215651035309,
-0.09554199874401093,
0.22105562686920166,
0.07253193110227585,
-0.18088680505752563,
-0.1709122359752655,
0.34673503041267395,
0.4623936414718628,
0.20759299397468567,
0.1514272391796112,
0.0856703594326973,
0.08054818212985992,
-0.3710225224494934,
-0.03403966873884201,
0.16329337656497955,
0.015390957705676556,
-0.21554410457611084,
-0.20013591647148132,
0.3940430283546448,
0.08160297572612762,
-0.06879856437444687,
-0.09096860140562057,
0.03372405469417572,
0.5259981751441956,
0.023929011076688766,
-0.15269900858402252,
-0.2580762505531311,
0.29482340812683105,
0.1937367022037506,
-0.0799664855003357,
0.21672795712947845,
-0.13661184906959534,
-0.10738489776849747,
0.4995672404766083,
-0.09595158696174622,
0.07092956453561783,
0.07622906565666199,
0.1353186070919037,
0.07353629916906357,
0.12722447514533997,
0.43988481163978577,
0.1945938616991043,
0.12920360267162323,
0.20092830061912537,
0.1798170804977417,
-0.1681617647409439,
-0.09802524745464325,
0.007854588329792023,
-0.05943998694419861,
0.28834593296051025,
0.31554555892944336,
-0.13622750341892242,
-0.14340327680110931,
-0.627515435218811,
0.15182818472385406,
0.024202609434723854,
0.18839649856090546,
-0.329964816570282,
-0.0910121351480484,
-0.15960602462291718,
-0.12474098801612854,
-0.39406508207321167,
-0.16636981070041656,
-0.38425886631011963,
-0.43677568435668945,
0.06065788120031357,
-0.19531899690628052,
0.03202949836850166,
0.3216964602470398,
-0.2512388229370117,
0.03998517990112305,
-0.16966885328292847,
-0.1034088209271431,
0.13502836227416992,
-0.1872624158859253,
-0.10011180490255356,
0.13286243379116058,
0.5902060270309448,
0.04300514608621597,
0.26712796092033386,
-0.32703638076782227,
0.12505020201206207,
-0.2340160608291626,
-0.4666523039340973,
0.027848215773701668,
-0.20927372574806213,
0.1618131697177887,
0.10311071574687958,
0.18366920948028564,
-0.1856107860803604,
-0.16300220787525177,
0.051164280623197556,
0.15522737801074982,
-0.27301347255706787,
0.10337258130311966,
-0.23065313696861267,
-0.19877298176288605,
0.08561696112155914,
-0.4321102201938629,
-0.22450080513954163,
-0.06726259738206863,
-0.2134334295988083,
0.22736893594264984,
0.10542894899845123,
-0.04873586818575859,
0.13476590812206268,
0.2630508244037628,
0.003675473388284445,
0.0394161120057106,
-0.41172581911087036,
-0.46765241026878357,
0.5888922810554504,
-0.08466754108667374,
-0.3107566237449646,
0.156453937292099,
0.018015805631875992,
0.4113132059574127,
-0.022312095388770103,
-0.6182328462600708,
-0.013229901902377605,
-0.17847557365894318,
0.21160128712654114,
0.21467331051826477,
0.03464791178703308,
0.3170233368873596,
0.1345698982477188,
-0.018706195056438446,
-0.22564584016799927,
-0.09266579151153564,
-0.06011373549699783,
-0.1804569661617279,
0.5820869207382202,
-0.42532607913017273,
0.23493215441703796,
-0.11697663366794586,
0.6928611397743225,
0.22723287343978882,
0.21343325078487396,
0.23890675604343414,
0.0034030210226774216,
0.41032013297080994,
-0.16692015528678894,
-0.22298471629619598,
0.14608652889728546,
-0.232854425907135,
-0.10647977888584137,
0.22235116362571716,
-0.07775585353374481,
-0.3697318434715271,
-0.2179572433233261,
-0.13229385018348694,
-0.25517895817756653,
-0.1308138221502304,
0.11301493644714355,
-0.22458404302597046,
0.20129111409187317,
0.018950115889310837,
0.08836068958044052,
-0.1310584396123886,
-0.44051027297973633,
0.12095564603805542,
0.20727193355560303,
-0.26110899448394775,
-0.1397228240966797,
-0.5795041918754578,
-0.08971387147903442,
-0.10054463893175125,
0.16496586799621582,
0.09079670906066895,
0.33719709515571594,
-0.032420773059129715,
0.0940558984875679,
0.06285542249679565,
-0.16482560336589813,
0.507739782333374,
-0.5151601433753967,
0.05396389216184616,
-0.11914299428462982,
0.2498127818107605,
0.04696197062730789,
-0.18713071942329407,
-0.20465920865535736,
-0.1498439610004425,
0.16078388690948486,
0.26313072443008423,
-0.15834397077560425,
0.19102294743061066,
0.18376943469047546,
0.2830289304256439,
-0.24161885678768158,
-0.2141111046075821,
-0.40369412302970886,
-0.33194929361343384,
-0.14068803191184998,
0.11341653764247894,
0.10914833098649979,
0.12081354111433029,
-0.08446283638477325,
-0.11681567132472992,
0.1078190878033638,
0.07925934344530106,
0.26404234766960144,
-0.0008796248584985733,
0.09865424036979675,
0.4514124095439911,
0.021052442491054535,
-0.04337909817695618,
0.11179099231958389,
0.16794344782829285,
0.7850094437599182,
-0.20315761864185333,
-0.35591375827789307,
-0.02195826917886734,
-0.48923835158348083,
0.1875079870223999,
0.20437411963939667,
0.19097872078418732,
-0.021326422691345215,
0.6522626876831055,
-0.30982089042663574,
0.07338303327560425,
0.024128315970301628,
0.277029812335968,
0.23497921228408813,
-0.5155973434448242,
-0.4372215270996094,
0.05886145681142807,
0.028161168098449707,
-0.12742960453033447,
0.26359283924102783,
0.2245030552148819,
-0.29480692744255066,
0.12842875719070435,
0.34359055757522583,
1.0258607864379883,
0.07899840921163559,
0.02196802943944931,
0.04135856777429581,
-0.0792824849486351,
0.10125831514596939,
-0.31984877586364746,
-0.10450484603643417,
-0.23431789875030518,
-0.2868426442146301,
-0.18592429161071777,
-0.07468187808990479,
0.22223997116088867,
-0.11442317068576813,
-0.22209212183952332,
0.16237153112888336,
-0.11834481358528137,
0.3830406367778778,
0.09677288681268692,
0.18116916716098785,
-0.04428235441446304,
0.005497443489730358,
0.16432170569896698,
0.1705304980278015,
-0.023176424205303192,
-0.002476908266544342,
-0.1681540608406067,
0.07272873818874359,
-0.06210153177380562,
-0.16302791237831116,
-0.3539247512817383,
0.18226322531700134,
-0.04711541160941124,
0.2146790474653244,
0.1437859833240509,
-0.005072318017482758,
0.021740011870861053,
0.561251699924469,
0.3975520133972168,
0.26833876967430115,
-0.22294630110263824,
0.45739197731018066,
0.45470255613327026,
0.14185436069965363,
0.12902376055717468,
-0.17803724110126495,
0.317857950925827,
-0.11543747782707214,
-0.36356133222579956,
0.21186751127243042,
-0.19117482006549835,
-0.26076728105545044,
-0.18623022735118866,
-0.22458408772945404,
-0.16289499402046204,
-0.27981510758399963,
-0.18304812908172607,
0.1079695075750351,
-0.0137283094227314,
-0.262916624546051,
0.19602559506893158,
0.03935176134109497,
-0.12938016653060913,
0.1584469974040985,
0.2458525151014328,
-0.26472148299217224,
-0.18176604807376862,
0.46910303831100464,
0.16522467136383057,
-0.18209493160247803,
0.5801553726196289,
0.016264978796243668,
-0.4046041965484619,
-0.213638573884964,
0.14447283744812012,
0.16220130026340485,
-0.4307182729244232,
-0.5339159965515137,
-0.20463156700134277,
0.04986833035945892,
-0.0887962356209755,
0.2796792685985565,
0.36441946029663086,
0.1402740478515625,
0.060812268406152725,
-0.45070186257362366,
-0.14138191938400269,
-0.06014060974121094,
0.11901530623435974,
0.27491384744644165,
-0.3128088712692261,
-0.22614216804504395,
0.12377624213695526,
0.0009930673986673355,
-0.34339630603790283,
-0.11405648291110992,
-0.30629536509513855,
0.0062159765511751175,
-0.13646094501018524,
0.33125442266464233,
0.030943486839532852,
-0.2362760305404663,
0.1600656360387802,
-0.08429663628339767,
-0.1071336567401886,
-0.21090638637542725,
-0.07186000794172287,
0.10691040754318237,
0.24267587065696716,
-0.12741483747959137,
0.17033977806568146,
-0.20489473640918732,
-0.0010941606014966965,
0.061061661690473557,
-0.049221158027648926,
0.042175181210041046,
-0.12565933167934418,
0.2260756492614746,
0.12093910574913025,
-0.01199313998222351,
0.07934270799160004,
-0.1277582049369812,
-0.23335707187652588,
0.0019458383321762085,
0.05907164141535759,
0.017799021676182747,
0.20306463539600372,
-0.05846569687128067,
0.3222152292728424,
0.2328963577747345,
0.029826141893863678,
0.2741793096065521,
0.06788765639066696,
-0.2942355275154114,
0.21754145622253418,
0.3149486184120178,
0.1673399657011032,
0.41053611040115356,
-0.49107587337493896,
-0.030423320829868317,
0.4004051387310028,
0.23369857668876648,
-0.43885335326194763,
-0.06386960297822952,
0.32762598991394043,
0.02360914647579193,
0.015439439564943314,
0.07227547466754913,
0.2071932554244995,
-0.2048368752002716,
0.4439964294433594,
0.0373159758746624,
-0.06506581604480743,
-0.38110506534576416,
0.44559451937675476,
0.5255637168884277,
-0.2262287139892578,
0.1337040513753891,
0.24507568776607513,
-0.2501738369464874,
-0.37328195571899414,
0.40817832946777344,
-0.003555193543434143,
0.42950811982154846,
-0.02256842330098152,
0.22516070306301117,
-0.20479771494865417,
-0.2992105185985565,
0.5914187431335449,
0.05508958548307419,
-0.2887338697910309,
-0.06691641360521317,
0.2669041156768799,
0.2562054991722107,
-0.02027745172381401,
0.12296736985445023,
-0.5536442399024963,
-0.014948748052120209,
-0.19603079557418823,
-0.11998392641544342,
-0.32107871770858765,
-0.2948642671108246,
-0.06865132600069046,
0.3112858831882477,
0.0015368498861789703,
0.12197691947221756,
-0.20302090048789978,
0.1370917558670044,
-0.4094465970993042,
-0.12836015224456787,
0.13715019822120667,
-0.3730466365814209,
0.015480481088161469,
-0.22692151367664337,
0.3273489475250244,
-0.006989046931266785,
-0.004569292068481445,
0.0629103034734726,
0.3095305860042572,
0.12539517879486084,
0.36446869373321533,
0.21686458587646484,
-0.0067772818729281425,
0.16021496057510376,
0.021339168772101402,
0.007260551676154137,
0.6773220300674438,
0.33465129137039185,
0.018457960337400436,
0.4491285979747772,
0.18384931981563568,
-0.1888202726840973,
0.2911732494831085,
0.07641050219535828,
-0.033631693571805954,
0.05739159509539604,
0.10810637474060059,
-0.10633203387260437,
0.12952977418899536,
-0.29655522108078003,
0.05556446313858032,
-0.36767491698265076,
0.03420267999172211,
0.2933446168899536,
0.061095017939805984,
0.18002784252166748,
-0.1645919680595398,
0.11358118057250977,
0.16802352666854858,
0.5678353905677795,
0.13749030232429504,
0.008243340998888016,
-0.10375254601240158,
-0.39653998613357544,
-0.8582460284233093,
0.20520752668380737,
-0.18494142591953278,
0.24402129650115967,
-0.22511939704418182,
-0.0964575856924057,
0.13411009311676025,
0.11981925368309021,
0.2811592221260071,
-0.25966328382492065,
-0.1581031084060669,
-0.0052848197519779205,
-0.21880999207496643,
-0.09981848299503326,
0.020423859357833862,
0.20985516905784607,
-0.20851629972457886,
-0.1404927670955658,
0.2722398638725281,
0.12297652661800385,
0.13762390613555908,
0.024563075974583626,
-0.19449196755886078,
-0.14003078639507294,
0.193794846534729,
0.15206578373908997,
-0.004430536180734634,
0.7565633058547974,
-0.14991411566734314,
0.10762844234704971,
-0.23618587851524353,
-0.31155410408973694,
-0.13602396845817566,
0.4432084858417511,
0.055804092437028885,
0.3068821430206299,
0.1496775597333908,
-0.14518597722053528,
-0.10041330754756927,
0.22374312579631805,
0.12406358122825623,
0.0911598801612854,
-0.3207853436470032,
-0.08453129231929779,
0.02166188508272171,
-0.16903482377529144,
0.092680923640728,
-0.003027684986591339,
0.019116848707199097,
0.0865953266620636,
-0.053790390491485596,
-0.14682406187057495,
0.19003593921661377,
0.009117011912167072,
-0.1032976508140564,
-0.18312641978263855,
-0.062205731868743896,
-0.14281383156776428,
-0.13172310590744019,
-0.6840957403182983,
0.0671803280711174,
0.37641656398773193,
-0.03571423888206482,
-0.02360573038458824,
0.25099197030067444,
-0.10508716106414795,
0.26065099239349365,
-0.10405802726745605,
0.08619451522827148,
-0.05529292672872543,
-0.16968344151973724,
-0.11970755457878113,
-0.24116963148117065
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I have the same problem with "wider_face" dataset. It seems that "load_dataset" function can not download the dataset from google drive.
| ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 21 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
I have the same problem with "wider_face" dataset. It seems that "load_dataset" function can not download the dataset from google drive.
| [
-0.38702672719955444,
0.14001765847206116,
-0.06855662167072296,
0.40982121229171753,
0.1368342787027359,
0.11542943865060806,
0.3463049829006195,
0.214224174618721,
0.3116491734981537,
0.14098045229911804,
-0.057087741792201996,
-0.09075634181499481,
0.1048545092344284,
0.340881884098053,
0.1011657863855362,
0.006246436387300491,
0.30962345004081726,
-0.04470755159854889,
-0.09854848682880402,
-0.13698212802410126,
-0.38954949378967285,
0.15229235589504242,
0.03006691485643387,
-0.32776594161987305,
-0.10788676142692566,
0.24571706354618073,
0.0862795040011406,
-0.12823504209518433,
-0.18741156160831451,
-0.09918273985385895,
0.4089076817035675,
0.16472108662128448,
0.061565957963466644,
0.28134310245513916,
-0.00012207604595459998,
0.14410702884197235,
0.3157046437263489,
-0.1743689924478531,
-0.1823505312204361,
-0.052130281925201416,
-0.24929285049438477,
-0.25905361771583557,
-0.20061585307121277,
-0.153961643576622,
-0.005626684054732323,
0.06477534770965576,
0.08000583201646805,
-0.15358206629753113,
-0.0038573741912841797,
0.37750500440597534,
0.15605446696281433,
0.22329701483249664,
0.08315810561180115,
0.010244682431221008,
0.31630611419677734,
-0.17446306347846985,
0.016490081325173378,
0.26845335960388184,
-0.0907270759344101,
0.1136481836438179,
-0.043346621096134186,
0.1550719290971756,
0.0038489270955324173,
-0.07253924012184143,
0.18493306636810303,
-0.129347562789917,
-0.23730123043060303,
-0.3392763137817383,
0.3406580984592438,
0.40438148379325867,
0.6937742233276367,
0.09840291738510132,
-0.2298872470855713,
-0.06273157149553299,
-0.19140687584877014,
0.07471096515655518,
0.5149176120758057,
0.19285865128040314,
0.08388705551624298,
0.004984591156244278,
-0.4287891387939453,
0.02463630400598049,
-0.024625789374113083,
0.22646848857402802,
-0.2023601084947586,
0.23978868126869202,
0.024938568472862244,
0.10053973644971848,
0.18251782655715942,
0.01841590367257595,
0.3947851061820984,
-0.26153403520584106,
-0.3898623287677765,
0.21020115911960602,
-0.30215218663215637,
0.08515965938568115,
-0.01985478401184082,
0.5509441494941711,
0.3597513735294342,
0.19737176597118378,
-0.08503112941980362,
0.20877322554588318,
-0.32105252146720886,
0.08807491511106491,
0.12836937606334686,
0.10103026032447815,
-0.1543900966644287,
0.20886385440826416,
0.30880582332611084,
0.13133902847766876,
0.10784871876239777,
0.05229704827070236,
0.03191007673740387,
-0.35890457034111023,
0.2421358972787857,
-0.036440517753362656,
-0.006189337000250816,
-0.24851278960704803,
-0.23514989018440247,
0.22041846811771393,
0.0077830031514167786,
-0.4160228967666626,
0.05031657963991165,
0.33567389845848083,
-0.13510771095752716,
0.10343898087739944,
-0.12931400537490845,
0.26791876554489136,
-0.050029173493385315,
-0.10955852270126343,
-0.22358287870883942,
0.05558471381664276,
-0.04982798919081688,
-0.029525289312005043,
0.2488839477300644,
-0.19616137444972992,
0.32412755489349365,
-0.12459696829319,
0.16282452642917633,
-0.10253611952066422,
-0.05750454217195511,
-0.05272967740893364,
-0.14920955896377563,
0.26754364371299744,
0.08517032861709595,
0.03725384920835495,
0.06497885286808014,
-0.13495942950248718,
-0.03973450884222984,
0.25995150208473206,
-0.3634669780731201,
-0.10321511328220367,
-0.2132151573896408,
0.14308643341064453,
-0.5429015755653381,
-0.08806706964969635,
-0.4190916121006012,
-0.03398949280381203,
-0.02407284826040268,
-0.39353007078170776,
0.001006588339805603,
-0.22985632717609406,
-0.23198997974395752,
-0.22156119346618652,
0.185017928481102,
0.3741093873977661,
-0.3954780399799347,
-0.09499974548816681,
-0.21811732649803162,
-0.33596163988113403,
0.15911395847797394,
0.13518111407756805,
-0.0890045166015625,
0.1919349879026413,
-0.430999755859375,
0.006570056080818176,
0.3256112039089203,
-0.2116703987121582,
-0.7673963904380798,
-0.03676728159189224,
0.05419165641069412,
0.26144126057624817,
0.1760120689868927,
0.08850280195474625,
0.03385968506336212,
0.18438544869422913,
-0.08692145347595215,
0.16134753823280334,
0.20963233709335327,
0.08600771427154541,
-0.06349273025989532,
-0.1165885180234909,
0.3313082456588745,
0.41372230648994446,
0.3229617476463318,
0.06615633517503738,
0.49453285336494446,
-0.20528893172740936,
0.24545392394065857,
-0.27249500155448914,
0.025368891656398773,
0.2304559350013733,
0.39485591650009155,
-0.08906878530979156,
0.155398428440094,
-0.0623176284134388,
-0.4738563895225525,
0.3743197023868561,
-0.15448132157325745,
-0.008141346275806427,
-0.1454295516014099,
-0.0019906386733055115,
-0.32935330271720886,
-0.2996464669704437,
-0.3863084614276886,
-0.03562520816922188,
-0.009536312893033028,
0.3652470111846924,
0.07142408192157745,
0.14480184018611908,
0.14127151668071747,
0.15016181766986847,
-0.3724517822265625,
-0.05181209370493889,
-0.13721029460430145,
0.44986507296562195,
-0.07232434302568436,
0.04898882284760475,
0.12564611434936523,
-0.01254197210073471,
0.09077043831348419,
-0.19249151647090912,
-0.28453329205513,
0.24337473511695862,
0.39736708998680115,
0.30720841884613037,
0.021053286269307137,
0.2814702093601227,
0.10746649652719498,
-0.4277843236923218,
0.04064824432134628,
0.24879539012908936,
0.0679652988910675,
-0.18908575177192688,
-0.3086133897304535,
0.3689640760421753,
-0.10873381793498993,
-0.09742069989442825,
-0.16416503489017487,
0.049060747027397156,
0.428622841835022,
0.002016831189393997,
0.044896386563777924,
-0.2135995477437973,
0.18504640460014343,
0.28022220730781555,
0.26619231700897217,
0.07985484600067139,
-0.18817250430583954,
-0.08173442631959915,
0.5695541501045227,
-0.08146204799413681,
0.0202970989048481,
0.14990440011024475,
0.01595001295208931,
-0.08539552986621857,
0.08065792918205261,
0.409508615732193,
0.2615814805030823,
0.025104444473981857,
0.11093372106552124,
0.20323359966278076,
0.1066834107041359,
-0.08204230666160583,
0.039950668811798096,
-0.03060975670814514,
0.2794572412967682,
0.4648536145687103,
-0.04462272301316261,
-0.15088790655136108,
-0.5298842787742615,
0.17273996770381927,
0.13530370593070984,
0.2782875597476959,
-0.3625422716140747,
-0.023980148136615753,
-0.07520607113838196,
-0.07291145622730255,
-0.246986985206604,
0.14460834860801697,
-0.4725109934806824,
-0.3734748661518097,
-0.237110897898674,
0.1989317089319229,
0.10961422324180603,
0.07683658599853516,
-0.1911507397890091,
0.15498119592666626,
0.032776303589344025,
-0.2866154909133911,
0.017317548394203186,
-0.03687991574406624,
-0.11789349466562271,
0.06688845157623291,
0.5276825428009033,
0.09116122126579285,
0.16170576214790344,
-0.32109326124191284,
0.24242962896823883,
-0.6092820763587952,
-0.41010767221450806,
0.006885405629873276,
-0.24282129108905792,
0.3545549511909485,
0.10232539474964142,
0.26595932245254517,
-0.3088783621788025,
-0.14416347444057465,
-0.07170819491147995,
0.03585231304168701,
-0.3016379773616791,
0.03483953699469566,
-0.20398317277431488,
-0.1250758171081543,
0.18395516276359558,
-0.1808232069015503,
-0.12775354087352753,
-0.19233348965644836,
0.16887664794921875,
0.26653775572776794,
0.16802959144115448,
-0.1936182677745819,
0.0011781062930822372,
0.0972679927945137,
0.2534255087375641,
-0.007211461663246155,
-0.37291383743286133,
-0.48848021030426025,
0.6667441129684448,
-0.15160468220710754,
-0.47851964831352234,
0.21392670273780823,
-0.021889906376600266,
0.18830788135528564,
0.13015076518058777,
-0.6123349070549011,
-0.1316712498664856,
-0.16637828946113586,
0.21811595559120178,
0.2933686375617981,
0.014838977716863155,
0.30234962701797485,
-0.1345154494047165,
0.2195214480161667,
-0.24585461616516113,
-0.34702008962631226,
-0.03695053607225418,
0.1217174082994461,
0.46317189931869507,
-0.10999201983213425,
0.36298269033432007,
-0.3648305833339691,
0.6309360861778259,
0.2638409733772278,
0.18695582449436188,
0.23077598214149475,
0.014774753712117672,
0.4591461718082428,
-0.22131890058517456,
-0.19008265435695648,
0.17813144624233246,
-0.15629851818084717,
-0.1387898325920105,
0.2732173204421997,
-0.23076972365379333,
-0.1640409529209137,
-0.25047188997268677,
-0.28150323033332825,
-0.40418916940689087,
-0.020328110083937645,
-0.027482466772198677,
-0.06403288245201111,
0.19400162994861603,
-0.019514765590429306,
0.08313877135515213,
-0.13312557339668274,
-0.46980994939804077,
0.22246655821800232,
0.29758119583129883,
0.06333145499229431,
-0.035627879202365875,
-0.5495054125785828,
-0.053503017872571945,
-0.05730075389146805,
0.3444865643978119,
0.11389146745204926,
0.28316405415534973,
-0.06023260951042175,
0.04297933727502823,
0.01771967113018036,
-0.12870243191719055,
0.5799264311790466,
-0.5977919101715088,
0.22073017060756683,
-0.13195021450519562,
0.15150418877601624,
0.058968208730220795,
-0.24706685543060303,
-0.06954038143157959,
-0.19195929169654846,
0.1980971395969391,
0.24263036251068115,
-0.18805772066116333,
0.20373091101646423,
0.3631596267223358,
0.3169657588005066,
-0.26431694626808167,
-0.1791037768125534,
-0.391634464263916,
-0.19501101970672607,
-0.19868114590644836,
-0.00885600596666336,
-0.11048753559589386,
0.2578097879886627,
-0.15411783754825592,
0.08791068196296692,
0.08321692794561386,
-0.12266090512275696,
0.2040993869304657,
-0.051016371697187424,
0.3292497992515564,
0.3704606890678406,
0.1216927170753479,
0.17479723691940308,
0.020944051444530487,
0.23577705025672913,
0.9684812426567078,
-0.14900176227092743,
-0.4792546033859253,
0.2117641568183899,
-0.3835820257663727,
0.08309250324964523,
0.07950609922409058,
0.08897185325622559,
-0.07343418151140213,
0.5965079069137573,
-0.1345037817955017,
0.06811763346195221,
0.006583979818969965,
0.1695716381072998,
0.19471022486686707,
-0.5198318958282471,
-0.43172135949134827,
0.1802963763475418,
-0.020226437598466873,
-0.04733433574438095,
0.34455201029777527,
0.23365847766399384,
-0.22934849560260773,
0.10709819197654724,
0.18485325574874878,
0.8723117113113403,
-0.040821366012096405,
-0.01580621674656868,
0.04791863262653351,
-0.053730618208646774,
0.07460794597864151,
-0.18154095113277435,
-0.046908557415008545,
-0.38939598202705383,
-0.3320746123790741,
-0.22084149718284607,
-0.1930273026227951,
0.13675697147846222,
-0.049508243799209595,
-0.041058607399463654,
0.1983853578567505,
-0.11201433092355728,
0.42758694291114807,
0.005119714420288801,
0.3770998418331146,
-0.022923169657588005,
0.08317232131958008,
0.2444070279598236,
0.023777522146701813,
-0.0897991955280304,
0.2514628767967224,
-0.11445817351341248,
-0.08337290585041046,
-0.1521640121936798,
-0.20201320946216583,
-0.4402317404747009,
0.2529987394809723,
-0.0879392921924591,
0.1481199413537979,
0.19731318950653076,
-0.2789909243583679,
0.1007370799779892,
0.5648466944694519,
0.4015713930130005,
0.10823743045330048,
-0.3469735085964203,
0.40250101685523987,
0.1930616796016693,
0.00642700120806694,
-0.0696796402335167,
-0.12668083608150482,
0.25999101996421814,
-0.08530114591121674,
-0.3572721481323242,
0.20813339948654175,
-0.17154890298843384,
-0.5501696467399597,
-0.24552132189273834,
-0.1562839299440384,
-0.36911845207214355,
-0.2945381700992584,
-0.2850138247013092,
-0.17182284593582153,
-0.07488255202770233,
-0.18606236577033997,
0.0815470963716507,
0.16770431399345398,
-0.019504088908433914,
-0.007736764848232269,
0.22279785573482513,
-0.3025433123111725,
-0.2549697160720825,
0.48578834533691406,
0.041703350841999054,
-0.24717217683792114,
0.5696107149124146,
-0.001706775277853012,
-0.2756395936012268,
-0.13910263776779175,
-0.02543126791715622,
0.23160713911056519,
-0.2681925296783447,
-0.27436983585357666,
-0.19292865693569183,
0.19597665965557098,
-0.06606754660606384,
0.38098061084747314,
0.27730756998062134,
0.28780460357666016,
0.18781110644340515,
-0.6676112413406372,
-0.10962977260351181,
-0.04926490783691406,
-0.0633997917175293,
0.3061366677284241,
-0.0725330114364624,
-0.3632897734642029,
0.17043830454349518,
0.019009439274668694,
-0.21312835812568665,
-0.06249284744262695,
-0.1699964553117752,
-0.1546906977891922,
0.06595593690872192,
0.15920427441596985,
0.18278846144676208,
-0.18927784264087677,
0.09038197249174118,
-0.13457901775836945,
-0.2060016393661499,
-0.07437816262245178,
-0.08819893002510071,
0.17509061098098755,
0.21487143635749817,
-0.17891155183315277,
0.04072392359375954,
-0.2994755506515503,
-0.13647747039794922,
0.05130048468708992,
0.19612137973308563,
0.04056672751903534,
-0.10948449373245239,
0.027192313224077225,
0.13266082108020782,
-0.23702457547187805,
-0.2393818497657776,
-0.12783671915531158,
-0.3109950125217438,
0.053099483251571655,
0.06932363659143448,
0.09810386598110199,
0.18680670857429504,
0.035173892974853516,
0.07392198592424393,
0.1239066869020462,
0.07016074657440186,
0.07966077327728271,
0.2947421967983246,
-0.28837496042251587,
0.11069086194038391,
0.17397388815879822,
0.19612732529640198,
0.34943854808807373,
-0.489561527967453,
0.059138618409633636,
0.33594611287117004,
0.0916745588183403,
-0.4282805621623993,
-0.1901540905237198,
0.30523520708084106,
-0.037222713232040405,
-0.04098450019955635,
0.07160073518753052,
0.4628221094608307,
-0.2444288730621338,
0.3072066605091095,
0.06462373584508896,
0.17773106694221497,
-0.2652508616447449,
0.47326716780662537,
0.5217006206512451,
-0.13505662977695465,
0.1931535303592682,
0.4049503207206726,
-0.09132944047451019,
-0.28209003806114197,
0.28180038928985596,
-0.023838244378566742,
0.12957553565502167,
-0.2687690258026123,
0.17334629595279694,
-0.054586492478847504,
-0.5807126760482788,
0.5668649673461914,
0.0511307567358017,
-0.47124069929122925,
0.020215556025505066,
0.14343076944351196,
0.14119946956634521,
0.005152548663318157,
0.24904218316078186,
-0.7117682099342346,
0.017504937946796417,
-0.11165203899145126,
-0.00508302915841341,
-0.181708425283432,
-0.4590694308280945,
0.00688905268907547,
0.5294155478477478,
0.03181286156177521,
-0.07058756053447723,
-0.13185986876487732,
0.20483151078224182,
-0.43552571535110474,
0.14234116673469543,
-0.06807620823383331,
-0.1898224949836731,
-0.01583246886730194,
-0.1657225638628006,
0.20719939470291138,
-0.012605808675289154,
-0.140077605843544,
0.18322880566120148,
0.23999707400798798,
0.15648101270198822,
0.2946585714817047,
0.2391951084136963,
-0.12026187032461166,
0.21808773279190063,
0.0142389927059412,
0.12123249471187592,
0.573400616645813,
0.2142052799463272,
-0.10116685926914215,
0.36898159980773926,
0.10924171656370163,
-0.09770306199789047,
0.19102829694747925,
-0.03177064284682274,
-0.08265841007232666,
-0.20776623487472534,
-0.000014506280422210693,
-0.10363201797008514,
0.23569467663764954,
-0.35551512241363525,
0.021908454596996307,
-0.29320231080055237,
-0.12141527235507965,
0.27556905150413513,
0.26239222288131714,
0.14666476845741272,
-0.026103787124156952,
0.02333337441086769,
0.07348792254924774,
0.5514847636222839,
0.3637736737728119,
0.1215992122888565,
-0.09898732602596283,
-0.40298664569854736,
-0.7902929186820984,
0.21409878134727478,
-0.16587701439857483,
0.29559609293937683,
0.06337514519691467,
0.017634285613894463,
-0.060531578958034515,
0.03754093870520592,
0.3598916530609131,
0.062079232186079025,
-0.13267479836940765,
-0.020032107830047607,
-0.11835262179374695,
-0.16514231264591217,
0.018716774880886078,
0.05788952857255936,
-0.2862500250339508,
-0.319352388381958,
0.39084702730178833,
0.15373709797859192,
0.0038941875100135803,
-0.11605972051620483,
0.036444537341594696,
-0.23507878184318542,
0.05193333327770233,
0.328786700963974,
0.01911766827106476,
0.8932207822799683,
-0.08266335725784302,
0.05896744877099991,
-0.11426368355751038,
-0.2049633264541626,
-0.09247542172670364,
0.4241428077220917,
-0.10078755021095276,
0.5381454229354858,
0.21840444207191467,
-0.14909711480140686,
-0.17089629173278809,
0.30670681595802307,
0.0898398607969284,
0.06223534420132637,
-0.2781231105327606,
-0.1254880726337433,
-0.12245194613933563,
-0.09708869457244873,
0.3700852394104004,
-0.032402344048023224,
0.046098098158836365,
-0.035392776131629944,
-0.00809083878993988,
-0.010351800359785557,
0.20297661423683167,
-0.15300044417381287,
-0.04468982666730881,
-0.2021200805902481,
-0.05490806698799133,
-0.1544179916381836,
-0.06100483238697052,
-0.6573688983917236,
0.17793598771095276,
0.4270513653755188,
-0.0843205377459526,
-0.035878922790288925,
0.187363862991333,
-0.12536883354187012,
0.22094963490962982,
0.009954441338777542,
0.020206760615110397,
0.055914416909217834,
-0.20208007097244263,
-0.09471732378005981,
-0.17576880753040314
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | still getting this issue with datasets==2.2.2 for
dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
(this one seems to be hosted by aws though)
update: also tried to install from source to get the latest 2.2.3.dev0, but still get the error below (and also force-redownloaded)
update2: Seems like this issues is linked to a change in the links in the specific fever datasets: https://fever.ai/
"28/04/2022
Dataset download URLs have changed
Download URLs for shared task data for FEVER, FEVER2.0 and FEVEROUS have been updated. New URLS begin with https://fever.ai/download/[task name]/[filename]. All resource pages have been updated with the new URLs. Previous dataset URLs may not work and should be updated if you require these in your scripts. "
=> I don't know how to update the links for HF datasets - would be great if someone could update them :)
```
Downloading and preparing dataset fever/v1.0 (download: 42.78 MiB, generated: 38.39 MiB, post-processed: Unknown size, total: 81.17 MiB) to /root/.cache/huggingface/datasets/fever/v1.0/1.0.0/956b0a9c4b05e126fd956be73e09da5710992b5c85c30f0e5e1c500bc6051d0a...
Downloading data files: 100%
6/6 [00:07<00:00, 1.21s/it]
Downloading data:
278/? [00:00<00:00, 2.34kB/s]
Downloading data:
278/? [00:00<00:00, 1.53kB/s]
Downloading data:
278/? [00:00<00:00, 7.43kB/s]
Downloading data:
278/? [00:00<00:00, 5.54kB/s]
Downloading data:
278/? [00:00<00:00, 6.19kB/s]
Downloading data:
278/? [00:00<00:00, 7.51kB/s]
Extracting data files: 100%
6/6 [00:00<00:00, 108.05it/s]
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
[<ipython-input-20-92ec5c728ecf>](https://localhost:8080/#) in <module>()
27 # get labels for fever-nli-dev from original fever - only works for dev
28 # "(The labels for both dev and test are hidden but you can retrieve the label for dev using the cid and the original FEVER data.)"" https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md
---> 29 dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
30 df_fever_original_dev = pd.DataFrame(data={"id": dataset_fever_original_dev["id"], "label": dataset_fever_original_dev["label"], "claim": dataset_fever_original_dev["claim"], "evidence_id": dataset_fever_original_dev["evidence_id"]})
31 df_fever_dev = pd.merge(df_fever_dev, df_fever_original_dev, how="left", left_on="cid", right_on="id")
4 frames
[/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://s3-eu-west-1.amazonaws.com/fever.public/train.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_dev.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_dev_public.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_test.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/paper_dev.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/paper_test.jsonl']
```
| ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 331 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
still getting this issue with datasets==2.2.2 for
dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
(this one seems to be hosted by aws though)
update: also tried to install from source to get the latest 2.2.3.dev0, but still get the error below (and also force-redownloaded)
update2: Seems like this issues is linked to a change in the links in the specific fever datasets: https://fever.ai/
"28/04/2022
Dataset download URLs have changed
Download URLs for shared task data for FEVER, FEVER2.0 and FEVEROUS have been updated. New URLS begin with https://fever.ai/download/[task name]/[filename]. All resource pages have been updated with the new URLs. Previous dataset URLs may not work and should be updated if you require these in your scripts. "
=> I don't know how to update the links for HF datasets - would be great if someone could update them :)
```
Downloading and preparing dataset fever/v1.0 (download: 42.78 MiB, generated: 38.39 MiB, post-processed: Unknown size, total: 81.17 MiB) to /root/.cache/huggingface/datasets/fever/v1.0/1.0.0/956b0a9c4b05e126fd956be73e09da5710992b5c85c30f0e5e1c500bc6051d0a...
Downloading data files: 100%
6/6 [00:07<00:00, 1.21s/it]
Downloading data:
278/? [00:00<00:00, 2.34kB/s]
Downloading data:
278/? [00:00<00:00, 1.53kB/s]
Downloading data:
278/? [00:00<00:00, 7.43kB/s]
Downloading data:
278/? [00:00<00:00, 5.54kB/s]
Downloading data:
278/? [00:00<00:00, 6.19kB/s]
Downloading data:
278/? [00:00<00:00, 7.51kB/s]
Extracting data files: 100%
6/6 [00:00<00:00, 108.05it/s]
---------------------------------------------------------------------------
NonMatchingChecksumError Traceback (most recent call last)
[<ipython-input-20-92ec5c728ecf>](https://localhost:8080/#) in <module>()
27 # get labels for fever-nli-dev from original fever - only works for dev
28 # "(The labels for both dev and test are hidden but you can retrieve the label for dev using the cid and the original FEVER data.)"" https://github.com/easonnie/combine-FEVER-NSMN/blob/master/other_resources/nli_fever.md
---> 29 dataset_fever_original_dev = load_dataset('fever', "v1.0", split="labelled_dev")
30 df_fever_original_dev = pd.DataFrame(data={"id": dataset_fever_original_dev["id"], "label": dataset_fever_original_dev["label"], "claim": dataset_fever_original_dev["claim"], "evidence_id": dataset_fever_original_dev["evidence_id"]})
31 df_fever_dev = pd.merge(df_fever_dev, df_fever_original_dev, how="left", left_on="cid", right_on="id")
4 frames
[/usr/local/lib/python3.7/dist-packages/datasets/utils/info_utils.py](https://localhost:8080/#) in verify_checksums(expected_checksums, recorded_checksums, verification_name)
38 if len(bad_urls) > 0:
39 error_msg = "Checksums didn't match" + for_verification_name + ":\n"
---> 40 raise NonMatchingChecksumError(error_msg + str(bad_urls))
41 logger.info("All the checksums matched successfully" + for_verification_name)
42
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://s3-eu-west-1.amazonaws.com/fever.public/train.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_dev.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_dev_public.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/shared_task_test.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/paper_dev.jsonl', 'https://s3-eu-west-1.amazonaws.com/fever.public/paper_test.jsonl']
```
| [
-0.2715083062648773,
0.20816722512245178,
-0.03618209436535835,
0.15410709381103516,
0.10283160209655762,
-0.0254959799349308,
0.2025122046470642,
0.3087768852710724,
0.23714512586593628,
0.013354487717151642,
-0.16942386329174042,
-0.10074295848608017,
0.1616104692220688,
0.3152810037136078,
-0.08969883620738983,
-0.06046701967716217,
0.2793416976928711,
-0.03403909504413605,
-0.12442176043987274,
0.015141703188419342,
-0.3270730972290039,
0.20256149768829346,
0.0550350546836853,
-0.14561901986598969,
0.035017888993024826,
0.07865860313177109,
-0.05487661808729172,
-0.07322444766759872,
-0.06924427300691605,
-0.42815789580345154,
0.4758980870246887,
0.2228950411081314,
0.15123382210731506,
0.22314447164535522,
-0.00011936026567127556,
0.15480688214302063,
0.4349459409713745,
0.011472946032881737,
-0.27848657965660095,
-0.074220210313797,
-0.228753000497818,
-0.138412743806839,
-0.1426379233598709,
-0.06646618992090225,
-0.02719869464635849,
0.2454683482646942,
-0.06950518488883972,
-0.02197069674730301,
-0.09185197949409485,
0.21149657666683197,
0.14759543538093567,
0.48739567399024963,
0.30588430166244507,
-0.03734924644231796,
0.5575920939445496,
-0.16665633022785187,
-0.0813404768705368,
0.07835718244314194,
0.19334684312343597,
0.001448499970138073,
-0.049000151455402374,
0.3753181993961334,
-0.1146114245057106,
0.05808860808610916,
0.1493118703365326,
-0.3358388841152191,
-0.02897975593805313,
-0.2256159782409668,
0.3082219660282135,
0.4677794277667999,
0.42707711458206177,
-0.018558457493782043,
-0.4148932695388794,
0.06612753123044968,
-0.1551729142665863,
-0.09759250283241272,
0.5085554122924805,
0.05317940562963486,
0.1123889684677124,
0.09685774892568588,
-0.22528855502605438,
0.06712952256202698,
-0.004740968346595764,
0.27438607811927795,
-0.07254139333963394,
0.29624828696250916,
0.013420173898339272,
0.0072368234395980835,
0.06895531713962555,
-0.14616034924983978,
0.47144120931625366,
-0.2543371319770813,
-0.3389831781387329,
0.1571824550628662,
-0.3536580801010132,
0.014693453907966614,
-0.1385626196861267,
0.5335981249809265,
0.19556868076324463,
0.21927659213542938,
-0.30166319012641907,
0.1757742166519165,
-0.14553706347942352,
0.039565443992614746,
-0.027203485369682312,
-0.00754880253225565,
-0.003549732267856598,
0.22727255523204803,
0.29903852939605713,
0.436926007270813,
0.2197972536087036,
0.12858432531356812,
0.15394558012485504,
-0.40642476081848145,
-0.008897928521037102,
0.018148357048630714,
-0.16623398661613464,
-0.36868393421173096,
-0.31682565808296204,
0.28924253582954407,
-0.04280094429850578,
-0.144134983420372,
0.09491460770368576,
0.2905887961387634,
-0.14501629769802094,
0.13085737824440002,
0.034433700144290924,
0.3508630394935608,
-0.21757210791110992,
-0.10020686686038971,
-0.14644096791744232,
0.038333918899297714,
-0.12468911707401276,
0.14027591049671173,
0.17740663886070251,
-0.2959446310997009,
0.39487433433532715,
0.034914158284664154,
0.12879063189029694,
-0.12883427739143372,
-0.060560859739780426,
-0.09962548315525055,
-0.17862486839294434,
0.4661051630973816,
0.019750315696001053,
0.29430830478668213,
0.0884355753660202,
-0.1952591836452484,
-0.013856738805770874,
0.11065195500850677,
-0.4041517972946167,
-0.1764305979013443,
-0.12699292600154877,
0.13046228885650635,
-0.47502750158309937,
-0.06546775996685028,
-0.18158411979675293,
-0.21858905255794525,
0.2527046501636505,
-0.3283419907093048,
0.0509297214448452,
-0.24987079203128815,
-0.06316466629505157,
-0.1570904403924942,
0.2123500555753708,
0.42901498079299927,
-0.2967624366283417,
-0.018859200179576874,
-0.20678062736988068,
-0.14396946132183075,
0.13543489575386047,
0.3277035355567932,
-0.09960661828517914,
0.11164955049753189,
-0.29432588815689087,
-0.04729592800140381,
0.17751635611057281,
-0.42693474888801575,
-0.5739530324935913,
-0.016839582473039627,
0.22642327845096588,
0.26106080412864685,
0.1273927390575409,
-0.021431226283311844,
0.05012402683496475,
-0.061265330761671066,
-0.10845577716827393,
-0.1888580322265625,
0.16158652305603027,
0.04862326383590698,
-0.30951130390167236,
-0.36917179822921753,
0.11989155411720276,
0.21075765788555145,
0.27032470703125,
-0.06657617539167404,
0.4000823199748993,
-0.11327335983514786,
0.3994547426700592,
-0.3046940267086029,
0.0825246125459671,
0.21850396692752838,
0.33996522426605225,
0.10324344784021378,
0.05545824393630028,
0.047470949590206146,
-0.42667925357818604,
0.27247855067253113,
-0.24800613522529602,
0.14987075328826904,
-0.08707472681999207,
0.011293292045593262,
-0.2939068675041199,
-0.27078551054000854,
-0.28506994247436523,
-0.24060958623886108,
0.026196062564849854,
0.2021271288394928,
-0.03271864354610443,
0.03739779070019722,
-0.027105819433927536,
0.11788932234048843,
-0.44480523467063904,
0.08184505999088287,
-0.22456911206245422,
0.6347766518592834,
-0.06585787981748581,
0.12168081104755402,
0.2948165535926819,
0.059637852013111115,
0.2035188376903534,
-0.03782155364751816,
-0.143271803855896,
0.44061797857284546,
0.2811233103275299,
0.4546929597854614,
0.162663534283638,
0.3553430736064911,
0.13297845423221588,
-0.4181499183177948,
0.14668786525726318,
0.1436968743801117,
0.040803417563438416,
-0.06471822410821915,
-0.13056841492652893,
0.48037636280059814,
-0.12130394577980042,
0.16712874174118042,
-0.05292832478880882,
0.00578620471060276,
0.3353314697742462,
-0.055462997406721115,
-0.21960265934467316,
-0.19385460019111633,
0.21693624556064606,
0.17076201736927032,
0.05026545003056526,
-0.006063418462872505,
-0.025342624634504318,
0.04991040751338005,
0.2943621873855591,
-0.05873047187924385,
-0.06830120831727982,
0.0518222339451313,
0.006520479917526245,
-0.011211054399609566,
0.1772771179676056,
0.4963465631008148,
0.0847347229719162,
0.052259840071201324,
0.11413240432739258,
0.2156737893819809,
-0.22729486227035522,
-0.19913500547409058,
0.16150034964084625,
0.0027253180742263794,
0.24897360801696777,
0.3559280037879944,
-0.10275036096572876,
-0.00027702469378709793,
-0.5143118500709534,
0.01829737052321434,
0.11396298557519913,
0.27538418769836426,
-0.5825051069259644,
-0.16610576212406158,
-0.25673240423202515,
-0.00973554141819477,
-0.3167072534561157,
0.010159601457417011,
-0.4886833429336548,
-0.3921744227409363,
-0.03354298323392868,
0.2887495160102844,
-0.08048603683710098,
0.20933769643306732,
-0.2369571179151535,
0.09410740435123444,
-0.1217532679438591,
-0.170003741979599,
-0.04047327861189842,
-0.13604000210762024,
-0.1107381209731102,
0.053042221814394,
0.4518485963344574,
0.011614993214607239,
0.21473336219787598,
-0.3597133755683899,
0.10223176330327988,
-0.4674599766731262,
-0.4779388904571533,
-0.08256496489048004,
-0.08659149706363678,
0.2686752378940582,
0.13041618466377258,
0.27460020780563354,
-0.17957904934883118,
-0.2889139950275421,
0.09361407905817032,
0.14929306507110596,
-0.16902033984661102,
-0.02744263783097267,
-0.20602555572986603,
-0.18871620297431946,
0.2946172058582306,
-0.33802905678749084,
0.04093894362449646,
-0.1681319922208786,
-0.20610110461711884,
0.03602830693125725,
0.17991122603416443,
-0.039114635437726974,
0.0820079892873764,
0.08551554381847382,
0.21287637948989868,
-0.08690902590751648,
-0.35175392031669617,
-0.671811044216156,
0.620093822479248,
-0.2774101793766022,
-0.31192415952682495,
0.15093262493610382,
0.09062658995389938,
0.3481731414794922,
0.13859064877033234,
-0.7048566937446594,
-0.01761082373559475,
-0.247950479388237,
-0.013851944357156754,
0.43450868129730225,
0.13553710281848907,
0.23133890330791473,
0.09839753806591034,
0.044386185705661774,
-0.15740108489990234,
-0.3234553635120392,
0.05387887731194496,
-0.18320968747138977,
0.611817479133606,
-0.08925116807222366,
0.3478345572948456,
-0.05467512458562851,
0.9159054756164551,
0.4960647225379944,
0.23881377279758453,
0.2855228781700134,
0.2298509031534195,
0.3996454179286957,
-0.19022274017333984,
-0.11909011006355286,
0.20586499571800232,
-0.20576879382133484,
0.08583387732505798,
0.2165880799293518,
-0.08885175734758377,
-0.20486760139465332,
-0.14697088301181793,
-0.15245972573757172,
-0.4196169376373291,
-0.19869141280651093,
-0.15328514575958252,
-0.24224913120269775,
0.32488733530044556,
0.15383733808994293,
0.0943659171462059,
-0.14320799708366394,
-0.5785382986068726,
0.35471606254577637,
0.4460321068763733,
-0.20362061262130737,
0.04779711365699768,
-0.5256328582763672,
-0.20253483951091766,
-0.0742080882191658,
0.42940664291381836,
0.13790297508239746,
0.3943399488925934,
-0.024603940546512604,
0.0486517995595932,
-0.006661176681518555,
-0.2674739956855774,
0.3394455909729004,
-0.6117389798164368,
0.32594889402389526,
-0.1688757687807083,
0.15803273022174835,
-0.001435188576579094,
-0.27128294110298157,
-0.00885722041130066,
-0.3650835454463959,
0.18974731862545013,
0.1944907307624817,
-0.191109299659729,
0.08915919810533524,
0.24398812651634216,
0.08002779632806778,
-0.16046014428138733,
-0.062393877655267715,
-0.16821259260177612,
-0.22456225752830505,
-0.2304188460111618,
-0.01676829159259796,
-0.12186198681592941,
0.17759743332862854,
-0.32131528854370117,
-0.05255245044827461,
0.12490086257457733,
0.015114512294530869,
0.21078112721443176,
-0.0022838041186332703,
0.17111000418663025,
0.30713847279548645,
0.09929317235946655,
0.16714125871658325,
-0.0166894793510437,
0.4442046880722046,
0.7957366108894348,
-0.3258879482746124,
-0.17464059591293335,
0.015499379485845566,
-0.23465809226036072,
-0.04115115851163864,
0.3974691331386566,
0.16735859215259552,
-0.03279780596494675,
0.5931895971298218,
-0.11582480370998383,
0.06276322156190872,
-0.18922823667526245,
0.20086315274238586,
0.10771053284406662,
-0.3728843331336975,
-0.34461623430252075,
0.27081620693206787,
0.06036166474223137,
-0.1316557228565216,
0.30069267749786377,
0.5657833814620972,
-0.1865902543067932,
0.21630367636680603,
0.28317683935165405,
0.9804977774620056,
0.048625554889440536,
-0.005877412855625153,
0.1428537368774414,
-0.3981778621673584,
0.2204083502292633,
-0.35477036237716675,
-0.07953131943941116,
-0.4439077079296112,
-0.15879395604133606,
-0.2204279601573944,
-0.13890057802200317,
0.31387844681739807,
-0.03552813082933426,
0.026644807308912277,
0.32327720522880554,
0.07007849216461182,
0.24865834414958954,
-0.023965729400515556,
0.1462693065404892,
-0.13052816689014435,
0.002122175879776478,
-0.0826324075460434,
0.11098460853099823,
0.000505402684211731,
0.29720816016197205,
-0.16963478922843933,
0.011366134509444237,
-0.06865807622671127,
-0.3002985119819641,
-0.5193589925765991,
0.30261507630348206,
-0.19975200295448303,
0.04384107515215874,
0.18444567918777466,
-0.04118843376636505,
0.08074426651000977,
0.23720651865005493,
0.6205365657806396,
0.14598102867603302,
-0.28805598616600037,
0.4597122073173523,
0.4223072826862335,
0.12492921203374863,
0.09309356659650803,
-0.08608950674533844,
0.3550042510032654,
-0.1583564281463623,
-0.2619363069534302,
0.1885342299938202,
-0.12214986979961395,
-0.3579685091972351,
0.0170300155878067,
-0.48551255464553833,
-0.27552729845046997,
-0.29360008239746094,
0.12677165865898132,
-0.027501985430717468,
-0.024552982300519943,
-0.2961157262325287,
0.10061077773571014,
-0.011281192302703857,
-0.094464510679245,
0.1278519481420517,
0.1132688820362091,
-0.2391638308763504,
-0.19134794175624847,
0.6603769063949585,
-0.05011440068483353,
-0.20685119926929474,
0.570517897605896,
0.2203926295042038,
-0.34253376722335815,
-0.1925273835659027,
0.13832148909568787,
0.17001613974571228,
-0.3968990743160248,
-0.3198666572570801,
-0.22793301939964294,
0.039801955223083496,
0.07707811146974564,
0.44246765971183777,
0.329107403755188,
0.22484424710273743,
0.2578190863132477,
-0.611119270324707,
-0.11396860331296921,
0.05982910841703415,
0.044428445398807526,
0.36089253425598145,
-0.2552073001861572,
-0.15249399840831757,
0.06668826937675476,
-0.011660972610116005,
-0.2534288763999939,
-0.027751615270972252,
-0.13324590027332306,
0.004931848496198654,
-0.07037366926670074,
0.24806177616119385,
0.23932558298110962,
-0.17114582657814026,
0.06864424794912338,
-0.23278729617595673,
-0.3011878430843353,
-0.06619846820831299,
-0.3053025007247925,
0.15835712850093842,
0.20144498348236084,
-0.2688961625099182,
-0.0005935779772698879,
-0.23169109225273132,
0.02952544577419758,
0.006572290323674679,
0.21970134973526,
0.16480517387390137,
-0.13197368383407593,
0.11992618441581726,
0.17441461980342865,
-0.1789531111717224,
-0.005315966904163361,
-0.08722254633903503,
-0.20182156562805176,
0.07046087086200714,
-0.03456492722034454,
0.0033937692642211914,
0.021794168278574944,
-0.10223972797393799,
0.3280244767665863,
0.23290714621543884,
-0.10869389772415161,
0.09232435375452042,
0.3254837393760681,
-0.29554474353790283,
-0.06867484748363495,
0.2131410539150238,
0.25870344042778015,
0.4039115607738495,
-0.29036855697631836,
-0.12890765070915222,
0.359340101480484,
0.11095438152551651,
-0.3841504454612732,
-0.045664556324481964,
-0.027176782488822937,
0.11705609411001205,
-0.13438941538333893,
-0.011518441140651703,
0.35422056913375854,
-0.40383607149124146,
0.42924338579177856,
0.059507548809051514,
0.14614678919315338,
-0.5829004049301147,
0.48453864455223083,
0.4798245131969452,
0.005391787737607956,
0.14626535773277283,
0.14236369729042053,
-0.2611304521560669,
-0.209092378616333,
0.19499650597572327,
0.0705946609377861,
0.16167333722114563,
0.06128184124827385,
0.3828427493572235,
-0.14505928754806519,
-0.39536312222480774,
0.13431277871131897,
0.02486756443977356,
-0.22117233276367188,
0.0026229098439216614,
0.22887589037418365,
0.16077396273612976,
0.22325263917446136,
-0.03761816397309303,
-0.5563768148422241,
0.18365196883678436,
-0.0013630501925945282,
-0.2639465928077698,
-0.34118565917015076,
-0.4328983724117279,
-0.1254442036151886,
0.23791036009788513,
-0.033074360340833664,
0.04269222170114517,
0.19921967387199402,
0.15006187558174133,
-0.29053032398223877,
-0.3752315640449524,
-0.19004371762275696,
-0.12113992124795914,
0.15430772304534912,
-0.15547358989715576,
0.27860671281814575,
0.16667316854000092,
-0.21514558792114258,
0.10125395655632019,
0.45361265540122986,
0.31844988465309143,
0.29227614402770996,
0.1564965546131134,
-0.16182225942611694,
0.21327683329582214,
-0.00618617981672287,
0.24959492683410645,
0.44521647691726685,
0.1481996774673462,
-0.21798016130924225,
0.42373061180114746,
0.08023659884929657,
-0.07010728865861893,
0.12380923330783844,
-0.27342140674591064,
-0.10333368182182312,
-0.11769886314868927,
0.5346794128417969,
-0.033510275185108185,
0.2778809666633606,
-0.17456181347370148,
-0.04926227778196335,
-0.3676416575908661,
-0.08502834290266037,
0.29736971855163574,
-0.11610466241836548,
0.18237701058387756,
-0.1030232310295105,
0.06419206410646439,
0.1268101930618286,
0.4893973171710968,
0.4229322075843811,
-0.2464730143547058,
-0.26831814646720886,
-0.3193354606628418,
-0.6816021203994751,
-0.08341038972139359,
-0.31772932410240173,
0.30656588077545166,
-0.055169835686683655,
0.009728925302624702,
-0.10807956010103226,
-0.0036426372826099396,
0.3058067560195923,
-0.21038271486759186,
-0.17419074475765228,
0.17609307169914246,
-0.12491750717163086,
0.10969457030296326,
-0.28842300176620483,
0.020868567749857903,
-0.2235395759344101,
-0.1704953908920288,
0.2715641260147095,
0.1840006560087204,
-0.08107861876487732,
-0.002241309732198715,
0.0270501971244812,
0.050951648503541946,
-0.10275687277317047,
0.23444272577762604,
0.06978059560060501,
0.6003210544586182,
-0.04624003916978836,
-0.08679303526878357,
-0.37239328026771545,
-0.3858475387096405,
-0.10890524089336395,
0.4418301582336426,
-0.18283557891845703,
0.4745022654533386,
0.09771762043237686,
-0.3124856650829315,
-0.15522681176662445,
0.15058927237987518,
0.0021838583052158356,
0.1084878146648407,
-0.24769462645053864,
0.04453400522470474,
-0.09076131135225296,
0.04961713030934334,
0.27830806374549866,
0.004081942141056061,
0.022609718143939972,
0.3112635910511017,
-0.17164486646652222,
-0.25196027755737305,
0.277964323759079,
-0.2295185774564743,
0.027345668524503708,
-0.11502111703157425,
0.1637202799320221,
0.0297495536506176,
-0.05418284237384796,
-0.6875380277633667,
0.13107261061668396,
0.3058302700519562,
0.06289032846689224,
-0.1286114752292633,
0.08589081466197968,
-0.018378254026174545,
0.1850924789905548,
-0.09928666055202484,
0.06508658826351166,
0.10933555662631989,
-0.28362709283828735,
-0.2007078379392624,
-0.257255494594574
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | I think this has to be fixed on the google drive side, but you also have to delete the bad stuff from your local cache. This is not a great design, but it is what it is. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 37 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
I think this has to be fixed on the google drive side, but you also have to delete the bad stuff from your local cache. This is not a great design, but it is what it is. | [
-0.25690343976020813,
0.2726723253726959,
-0.08625070750713348,
0.30211323499679565,
0.264484167098999,
0.11480049043893814,
0.40884706377983093,
0.39511778950691223,
0.24586999416351318,
0.14959444105625153,
0.036074161529541016,
-0.007530096918344498,
0.10224349796772003,
0.26948821544647217,
-0.11408993601799011,
0.06394557654857635,
0.22063453495502472,
-0.05941052734851837,
-0.10473109781742096,
-0.14578737318515778,
-0.29937633872032166,
0.09860596805810928,
0.007482662796974182,
-0.29285264015197754,
-0.19672346115112305,
0.04675569757819176,
0.07829485088586807,
-0.14270541071891785,
-0.18051645159721375,
-0.2454429566860199,
0.20661871135234833,
0.15226681530475616,
-0.03503723442554474,
0.387738436460495,
-0.00010709755588322878,
0.14744625985622406,
0.39635682106018066,
-0.011825569905340672,
-0.21930384635925293,
0.07825066149234772,
-0.2548367381095886,
-0.19944563508033752,
-0.2226765751838684,
-0.18699422478675842,
-0.08733606338500977,
0.023913567885756493,
0.00588129460811615,
-0.15638738870620728,
0.028751663863658905,
0.3837263584136963,
0.2890694737434387,
0.17186227440834045,
-0.08933496475219727,
0.022478803992271423,
0.38243359327316284,
-0.16942042112350464,
-0.08580704033374786,
0.14790573716163635,
-0.009338922798633575,
0.03627026826143265,
-0.19456195831298828,
0.2775791883468628,
-0.010419141501188278,
-0.19476982951164246,
0.04530889540910721,
-0.06854385137557983,
-0.09324320405721664,
-0.27162379026412964,
0.2803667485713959,
0.4012298583984375,
0.6300488114356995,
-0.013143341988325119,
-0.16154426336288452,
-0.039445988833904266,
-0.07949218899011612,
0.03836643695831299,
0.5218560695648193,
0.21282309293746948,
0.08585304021835327,
0.0840047299861908,
-0.30335545539855957,
0.012918813154101372,
0.06222766637802124,
0.14350587129592896,
-0.15233772993087769,
0.39375224709510803,
0.0958719477057457,
-0.00315798819065094,
0.09171245247125626,
0.006114950403571129,
0.31711819767951965,
-0.2199699580669403,
-0.3588973581790924,
0.12491358071565628,
-0.19363485276699066,
-0.032037362456321716,
0.10088954865932465,
0.5028277039527893,
0.2964089512825012,
0.14767898619174957,
-0.117552250623703,
0.23415356874465942,
-0.29507938027381897,
0.05560777708888054,
0.07845249772071838,
0.14909370243549347,
-0.010965123772621155,
0.14243414998054504,
0.3536619544029236,
0.17061184346675873,
-0.01921607367694378,
0.07543677091598511,
0.1058371365070343,
-0.35802367329597473,
0.22617770731449127,
-0.01527327299118042,
-0.030852237716317177,
-0.22808241844177246,
-0.12614117562770844,
0.2651574909687042,
-0.021832136437296867,
-0.28876230120658875,
0.05684956908226013,
0.2911669909954071,
-0.14396949112415314,
0.062223922461271286,
-0.19187648594379425,
0.2589263319969177,
-0.13821075856685638,
-0.015679046511650085,
-0.27217376232147217,
0.07022876292467117,
-0.1965830773115158,
-0.031645528972148895,
0.21129263937473297,
-0.16316629946231842,
0.34726423025131226,
0.04446988180279732,
0.06406483054161072,
-0.11277427524328232,
0.0021506641060113907,
-0.06624065339565277,
-0.13455668091773987,
0.2146713137626648,
0.05909072980284691,
0.16819319128990173,
0.13990920782089233,
-0.3524053692817688,
-0.07768525928258896,
0.1351635456085205,
-0.371505469083786,
-0.02475610375404358,
-0.19171200692653656,
0.29421722888946533,
-0.39176493883132935,
-0.10488930344581604,
-0.22264617681503296,
-0.009758412837982178,
0.24231812357902527,
-0.283149778842926,
0.07243505865335464,
-0.16178804636001587,
-0.32164716720581055,
-0.20558221638202667,
0.03618139773607254,
0.2833477258682251,
-0.36671754717826843,
-0.019720766693353653,
-0.14403659105300903,
-0.25982123613357544,
0.11073404550552368,
0.12907837331295013,
-0.08960868418216705,
0.20723620057106018,
-0.37449127435684204,
0.20075510442256927,
0.15302814543247223,
-0.23852168023586273,
-0.6639357805252075,
-0.08190394192934036,
0.01264110952615738,
0.12640932202339172,
0.06841328740119934,
0.06591340899467468,
0.013572893105447292,
0.05352841690182686,
-0.031171254813671112,
0.15660570561885834,
0.2352425456047058,
0.13879041373729706,
-0.33934730291366577,
-0.1408662348985672,
0.25673535466194153,
0.22763486206531525,
0.2207375466823578,
-0.021128661930561066,
0.4563940465450287,
-0.15771107375621796,
0.24602407217025757,
-0.2679416239261627,
0.08772630989551544,
0.2509121298789978,
0.4596160650253296,
-0.053271129727363586,
0.0745168924331665,
-0.022203130647540092,
-0.4004012644290924,
0.31751060485839844,
-0.08162814378738403,
0.21226723492145538,
-0.10633012652397156,
-0.15029345452785492,
-0.23452407121658325,
-0.28852683305740356,
-0.45474639534950256,
-0.08083269000053406,
0.21745894849300385,
0.2374422699213028,
-0.08449871838092804,
0.25312212109565735,
0.20463396608829498,
-0.015562532469630241,
-0.3531078100204468,
-0.11348355561494827,
-0.10629968345165253,
0.39709949493408203,
-0.18590904772281647,
0.026353493332862854,
0.07153219729661942,
0.06354024261236191,
0.042827002704143524,
-0.04665854200720787,
-0.23354700207710266,
0.33232933282852173,
0.3335866928100586,
0.2740652561187744,
0.11142607033252716,
0.328760027885437,
0.11528200656175613,
-0.32630255818367004,
0.003920294344425201,
0.20233871042728424,
0.03487570583820343,
-0.2079448103904724,
-0.474261611700058,
0.5184429883956909,
-0.03607800230383873,
-0.006978489458560944,
-0.08019817620515823,
0.08690195530653,
0.4375051259994507,
-0.05139637365937233,
-0.06793088465929031,
-0.3038141131401062,
0.1344451606273651,
0.1958547979593277,
0.1338760107755661,
0.17062652111053467,
-0.10491247475147247,
0.00919932872056961,
0.5938408374786377,
-0.018107105046510696,
0.09197001159191132,
0.10138563811779022,
0.03373309224843979,
-0.07859862595796585,
0.1259126216173172,
0.47820940613746643,
0.1483931541442871,
0.16192150115966797,
0.17200255393981934,
0.15436480939388275,
-0.08631579577922821,
-0.1790873110294342,
0.026491262018680573,
-0.15610165894031525,
0.29289963841438293,
0.38206589221954346,
0.04720407724380493,
-0.17317526042461395,
-0.5772343277931213,
0.1929020881652832,
0.043924927711486816,
0.2799905240535736,
-0.27639904618263245,
-0.04971412941813469,
-0.23702087998390198,
0.010216336697340012,
-0.3614252507686615,
0.04853148013353348,
-0.44298428297042847,
-0.49779656529426575,
0.055569425225257874,
0.040391020476818085,
-0.08580256998538971,
0.24419233202934265,
-0.10937008261680603,
0.06413494050502777,
-0.005103001371026039,
-0.1862986534833908,
0.036007367074489594,
-0.18081586062908173,
-0.13851827383041382,
0.16187188029289246,
0.5823701024055481,
0.08730943500995636,
0.35628172755241394,
-0.21447430551052094,
0.021439041942358017,
-0.5614200830459595,
-0.47801780700683594,
0.08334287256002426,
-0.2776308059692383,
0.34979498386383057,
0.06441689282655716,
0.24556702375411987,
-0.2988021969795227,
-0.23032346367835999,
0.08475152403116226,
0.03100922890007496,
-0.30260008573532104,
0.11950774490833282,
-0.12005778402090073,
-0.04278142750263214,
0.050335485488176346,
-0.3969389498233795,
-0.014805255457758904,
-0.13407103717327118,
-0.027414828538894653,
0.20693597197532654,
0.1287623643875122,
-0.014982731081545353,
0.11802662909030914,
0.14143717288970947,
0.22144600749015808,
0.023531462997198105,
-0.42804598808288574,
-0.5311226844787598,
0.5888502597808838,
-0.1696697175502777,
-0.38687124848365784,
0.1671433299779892,
-0.06351038813591003,
0.2247675657272339,
0.08317510038614273,
-0.6679136753082275,
-0.1795072704553604,
-0.2651873528957367,
0.2645401954650879,
0.2897718846797943,
0.021996520459651947,
0.33085036277770996,
0.12954871356487274,
-0.015951525419950485,
-0.23137322068214417,
-0.12247762084007263,
0.08713017404079437,
-0.05993794649839401,
0.4305293560028076,
-0.24752569198608398,
0.30710500478744507,
-0.15749642252922058,
0.5876188278198242,
0.1958320140838623,
0.2263692021369934,
0.2529280483722687,
0.020519116893410683,
0.38532090187072754,
-0.23724302649497986,
-0.0936356782913208,
0.2015458047389984,
-0.18274807929992676,
-0.1505240947008133,
0.3912090063095093,
-0.11138514429330826,
-0.3499677777290344,
-0.10611822456121445,
-0.051606979221105576,
-0.32124751806259155,
-0.17554381489753723,
0.008754714392125607,
-0.1636934131383896,
0.20107603073120117,
0.0284428633749485,
0.0177006796002388,
-0.04696930944919586,
-0.47355183959007263,
0.18069423735141754,
0.21811607480049133,
-0.21036282181739807,
-0.10321857780218124,
-0.5440359711647034,
-0.1339440792798996,
-0.1937156617641449,
0.13566668331623077,
0.14534300565719604,
0.1758933961391449,
-0.0635107159614563,
0.021438784897327423,
0.06914813816547394,
-0.14701072871685028,
0.3773941993713379,
-0.6480421423912048,
0.22593647241592407,
-0.06335532665252686,
0.30514657497406006,
0.0932811051607132,
-0.26455023884773254,
-0.2169572114944458,
-0.1654575765132904,
0.13752824068069458,
0.2734050750732422,
-0.18014760315418243,
0.1396491676568985,
0.1795283854007721,
0.27688878774642944,
-0.22873789072036743,
-0.12357498705387115,
-0.39796942472457886,
-0.20897436141967773,
-0.26343098282814026,
0.11458246409893036,
0.05849894881248474,
0.16514147818088531,
-0.2804354131221771,
-0.01667660102248192,
0.0915311723947525,
-0.001275649294257164,
0.14950433373451233,
-0.009976456873118877,
0.2641810178756714,
0.2966441214084625,
0.09516341984272003,
-0.05951763689517975,
0.06232389807701111,
0.27139201760292053,
0.8233460187911987,
-0.162284716963768,
-0.21326929330825806,
0.01725658029317856,
-0.5213680267333984,
0.020875006914138794,
0.11297168582677841,
0.16363713145256042,
-0.06912750750780106,
0.46070396900177,
-0.10192146897315979,
-0.01674177125096321,
0.09261643141508102,
0.16967061161994934,
0.09888450801372528,
-0.4543485641479492,
-0.324031800031662,
0.20154377818107605,
-0.007882953621447086,
-0.1384841799736023,
0.3273361027240753,
0.2966327667236328,
-0.3245522379875183,
0.22426465153694153,
0.30787378549575806,
0.8603137731552124,
-0.06334419548511505,
-0.03339672461152077,
0.17528003454208374,
-0.05990803614258766,
0.06480389088392258,
-0.2665518522262573,
-0.04086041450500488,
-0.39618048071861267,
-0.3880713880062103,
-0.09056435525417328,
-0.07342597842216492,
0.04827161133289337,
0.09435055404901505,
-0.23634983599185944,
0.13973960280418396,
-0.1126914992928505,
0.2964295446872711,
-0.00019014347344636917,
0.2727721631526947,
-0.08906970173120499,
0.055727239698171616,
0.14337950944900513,
0.1998750865459442,
0.012104935944080353,
0.003221087157726288,
-0.16050761938095093,
-0.0004353737458586693,
-0.06385160982608795,
-0.160154789686203,
-0.3613343834877014,
0.14716503024101257,
0.08391938358545303,
0.2183472365140915,
0.12231974303722382,
-0.18706408143043518,
0.04136425629258156,
0.45695313811302185,
0.3878300189971924,
0.31752124428749084,
-0.3169955015182495,
0.37005746364593506,
0.2723516821861267,
0.08620814979076385,
0.0038199294358491898,
-0.09263430535793304,
0.3779028356075287,
-0.09795856475830078,
-0.39483657479286194,
0.09068529307842255,
-0.12191077321767807,
-0.4182310700416565,
-0.2420920431613922,
-0.1810162514448166,
-0.3230186104774475,
-0.24787399172782898,
-0.12029542028903961,
0.00611451268196106,
-0.14429321885108948,
-0.25129246711730957,
0.2374330312013626,
0.025861378759145737,
-0.026501033455133438,
0.09613263607025146,
0.23337551951408386,
-0.22502514719963074,
-0.17172184586524963,
0.44852060079574585,
0.14283311367034912,
-0.14267012476921082,
0.5240383744239807,
0.10499730706214905,
-0.32693690061569214,
-0.30573391914367676,
0.04340393841266632,
0.18427252769470215,
-0.14768090844154358,
-0.2867029905319214,
-0.20066720247268677,
0.04304106533527374,
-0.10864902287721634,
0.3225773870944977,
0.23928315937519073,
0.19238565862178802,
0.12210433185100555,
-0.49109986424446106,
-0.1167491003870964,
0.005686111748218536,
-0.007298611104488373,
0.3251710534095764,
-0.257495641708374,
-0.17254513502120972,
0.1305311918258667,
0.03078666515648365,
-0.3980465829372406,
-0.037990033626556396,
-0.2676874101161957,
0.012007787823677063,
-0.03178449347615242,
0.17587348818778992,
0.01831791177392006,
-0.2062976062297821,
0.18153874576091766,
-0.1802283078432083,
-0.13260017335414886,
-0.26590412855148315,
-0.0731581449508667,
0.08640231937170029,
0.238834947347641,
-0.1269105225801468,
0.18296056985855103,
-0.1829330325126648,
-0.055608298629522324,
-0.0354267880320549,
0.14291179180145264,
0.12416524440050125,
-0.14199091494083405,
0.1801520735025406,
0.18753229081630707,
0.04308132827281952,
0.015880025923252106,
-0.2800314724445343,
-0.31004491448402405,
-0.07939249277114868,
0.03492872044444084,
-0.03833947330713272,
0.2180672585964203,
0.051213741302490234,
0.2125091701745987,
0.20452696084976196,
-0.032009392976760864,
0.262398898601532,
0.1591159999370575,
-0.28578323125839233,
0.07260431349277496,
0.39168041944503784,
0.2352863848209381,
0.2882657051086426,
-0.470020592212677,
-0.11844188719987869,
0.42080366611480713,
0.3004063367843628,
-0.3864425718784332,
-0.20712070167064667,
0.2545660734176636,
-0.10764612257480621,
0.04650258645415306,
0.06186767667531967,
0.29767683148384094,
-0.26015934348106384,
0.25923997163772583,
0.12141012400388718,
0.0015027185436338186,
-0.5155271291732788,
0.40759578347206116,
0.39534494280815125,
-0.18463389575481415,
0.004708282649517059,
0.2875726819038391,
-0.2812879681587219,
-0.2614329755306244,
0.2862130105495453,
0.07790197432041168,
0.2194412350654602,
-0.19749799370765686,
0.12482823431491852,
-0.13386502861976624,
-0.2958141267299652,
0.5224651098251343,
0.09552672505378723,
-0.4179801344871521,
-0.03142035752534866,
0.22729571163654327,
0.21342948079109192,
-0.00823942106217146,
0.17136430740356445,
-0.5841630697250366,
-0.04284678027033806,
-0.2229924201965332,
-0.046217478811740875,
-0.20016765594482422,
-0.30673032999038696,
0.015085697174072266,
0.45155298709869385,
-0.024031300097703934,
0.08405543118715286,
-0.1018228828907013,
0.14551183581352234,
-0.4059879183769226,
-0.055242449045181274,
0.15835657715797424,
-0.15129908919334412,
0.09142854064702988,
-0.14731909334659576,
0.16600701212882996,
-0.0036981478333473206,
-0.11171203851699829,
0.019355371594429016,
0.19722296297550201,
0.0808529406785965,
0.30508020520210266,
0.13971573114395142,
-0.12235664576292038,
0.055962543934583664,
0.0035424083471298218,
-0.03055504336953163,
0.5802739262580872,
0.240386962890625,
-0.09554596245288849,
0.3875385820865631,
0.215261772274971,
-0.24069589376449585,
0.1836601346731186,
0.04024330526590347,
-0.19022643566131592,
0.026792675256729126,
0.019500501453876495,
0.031027497723698616,
0.06997866183519363,
-0.244888573884964,
-0.011877179145812988,
-0.26033350825309753,
-0.03154927119612694,
0.28730085492134094,
0.17231421172618866,
0.23584595322608948,
-0.2102961391210556,
0.12097379565238953,
0.14716942608356476,
0.5876175761222839,
0.257243275642395,
-0.06337377429008484,
-0.08978883177042007,
-0.3638666272163391,
-0.8123207092285156,
0.19557946920394897,
-0.25907206535339355,
0.27139461040496826,
-0.1555710881948471,
0.11276568472385406,
-0.11990050226449966,
0.10409582406282425,
0.3019699454307556,
-0.02717927284538746,
-0.24487514793872833,
-0.06873124837875366,
-0.25534722208976746,
-0.07117734849452972,
0.019343778491020203,
0.007909589447081089,
-0.2090510129928589,
-0.23496410250663757,
0.3066345751285553,
0.11105713248252869,
0.18698427081108093,
-0.04195680469274521,
0.009495340287685394,
-0.19711118936538696,
0.15934821963310242,
0.2665007710456848,
0.1441904902458191,
0.6875365972518921,
-0.1434427946805954,
0.07797784358263016,
-0.21770453453063965,
-0.1798727661371231,
-0.1872054934501648,
0.30727463960647583,
-0.05870392546057701,
0.4761416018009186,
0.16851525008678436,
-0.1893194168806076,
-0.12450192868709564,
0.3797775208950043,
0.22854338586330414,
0.09496937692165375,
-0.27522143721580505,
-0.05940522998571396,
0.06176771968603134,
-0.05561472848057747,
0.10640521347522736,
-0.009100895375013351,
0.0756070464849472,
0.0589575469493866,
-0.07835745066404343,
-0.2747821509838104,
0.1316508650779724,
-0.07462303340435028,
-0.12253431975841522,
-0.12283764034509659,
-0.01129525899887085,
-0.062118612229824066,
-0.058664850890636444,
-0.6612592339515686,
0.09023647755384445,
0.3197987675666809,
0.029260555282235146,
-0.13174790143966675,
0.2078227549791336,
-0.071284219622612,
0.19686037302017212,
-0.007896311581134796,
0.07191255688667297,
0.042246393859386444,
-0.14887379109859467,
-0.10152800381183624,
-0.2547758221626282
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | We have fixed the issues with the datasets:
- wider_face: by hosting their data files on the HuggingFace Hub (CC: @HosseynGT)
- fever: by updating to their new data URLs (CC: @MoritzLaurer) | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 32 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
We have fixed the issues with the datasets:
- wider_face: by hosting their data files on the HuggingFace Hub (CC: @HosseynGT)
- fever: by updating to their new data URLs (CC: @MoritzLaurer) | [
-0.13674576580524445,
0.007840082049369812,
-0.0645785853266716,
0.40546882152557373,
0.14974234998226166,
-0.03516145423054695,
0.2704274356365204,
0.23103223741054535,
0.24462684988975525,
0.17758695781230927,
-0.1481398046016693,
-0.008374305441975594,
0.017795300111174583,
0.23424319922924042,
0.11230970919132233,
0.0015429556369781494,
0.34402257204055786,
-0.1579550802707672,
-0.2482294738292694,
-0.15316832065582275,
-0.27818048000335693,
0.15230406820774078,
0.03143501281738281,
-0.31053948402404785,
-0.2924365699291229,
0.2624027729034424,
-0.1064755916595459,
-0.15298870205879211,
-0.17125383019447327,
-0.3458724021911621,
0.43194350600242615,
0.22486233711242676,
-0.05744506046175957,
0.4522370994091034,
-0.00011164663737872615,
0.1849401742219925,
0.2386416792869568,
-0.08051256090402603,
-0.20654065907001495,
0.10442372411489487,
-0.23367395997047424,
-0.34484362602233887,
-0.20511408150196075,
-0.15901058912277222,
-0.09698669612407684,
0.02733612433075905,
0.0051032789051532745,
-0.15385429561138153,
0.04015102982521057,
0.2885890603065491,
0.2242000699043274,
0.42747852206230164,
0.030032772570848465,
-0.056326739490032196,
0.29171866178512573,
-0.06896661221981049,
-0.06754716485738754,
0.08489950001239777,
0.01186329871416092,
0.11089155077934265,
-0.19830957055091858,
0.29513442516326904,
-0.01776040345430374,
-0.2940010130405426,
0.06471957266330719,
-0.1406317800283432,
-0.1255568563938141,
-0.3331923484802246,
0.2029399275779724,
0.47080251574516296,
0.4419704079627991,
0.05096777528524399,
-0.31584781408309937,
-0.09131107479333878,
-0.0915171429514885,
0.01471574418246746,
0.436458021402359,
0.06718961894512177,
0.11067740619182587,
0.13850149512290955,
-0.2610568404197693,
0.059727590531110764,
0.0550830215215683,
0.23137621581554413,
-0.10692444443702698,
0.4018407464027405,
0.028502382338047028,
-0.0330737829208374,
0.022149764001369476,
-0.008853472769260406,
0.29735255241394043,
-0.20557190477848053,
-0.3676227331161499,
0.24490904808044434,
-0.33748728036880493,
-0.001003500074148178,
0.03835118189454079,
0.5187374949455261,
0.34447625279426575,
0.09482002258300781,
-0.19850841164588928,
0.2739076316356659,
-0.31909558176994324,
-0.013370133936405182,
-0.005660777911543846,
0.045550618320703506,
-0.09050700813531876,
0.15122266113758087,
0.36120420694351196,
0.2730202376842499,
0.18633106350898743,
0.09565752744674683,
0.0373762845993042,
-0.27483266592025757,
-0.05968061089515686,
-0.056772321462631226,
-0.09578554332256317,
-0.2573477327823639,
-0.11325511336326599,
0.295711874961853,
0.05137638747692108,
-0.308689147233963,
0.1339883655309677,
0.2759001851081848,
-0.27087706327438354,
0.2744479775428772,
-0.23263686895370483,
0.16348204016685486,
-0.12379719316959381,
-0.04209934547543526,
-0.30333417654037476,
0.07826057076454163,
-0.07320359349250793,
0.016458256170153618,
0.2431773990392685,
-0.2669681906700134,
0.3009907305240631,
0.013580544851720333,
0.31037431955337524,
-0.10698718577623367,
-0.15786412358283997,
-0.060579363256692886,
-0.04243694990873337,
0.2687384784221649,
-0.05530596151947975,
0.15838006138801575,
0.04481404274702072,
-0.20103415846824646,
-0.018644310534000397,
0.09850940853357315,
-0.36782485246658325,
-0.18535998463630676,
-0.19525133073329926,
0.23688000440597534,
-0.5156106352806091,
-0.10712021589279175,
-0.21987834572792053,
0.03307048976421356,
0.11930648982524872,
-0.3563433587551117,
0.08509811013936996,
-0.0912056490778923,
-0.2580909729003906,
-0.1961011290550232,
0.2971858084201813,
0.3283550441265106,
-0.2862391769886017,
-0.1616482436656952,
-0.07479776442050934,
-0.292488157749176,
0.08744117617607117,
0.16824182868003845,
-0.18118521571159363,
0.15053120255470276,
-0.3603002429008484,
0.030531689524650574,
0.26550406217575073,
-0.380771279335022,
-0.6018324494361877,
-0.2658862769603729,
0.10195931792259216,
0.3588785231113434,
0.28828561305999756,
0.03270614519715309,
0.03725099563598633,
0.04741455614566803,
-0.06935837864875793,
0.015813538804650307,
0.2707354426383972,
0.04766390472650528,
-0.30142828822135925,
-0.18608848750591278,
0.29977917671203613,
0.33810463547706604,
0.32362639904022217,
-0.23174598813056946,
0.34898409247398376,
-0.06157754734158516,
0.37229999899864197,
-0.30724892020225525,
0.03260411322116852,
0.08529423177242279,
0.38363540172576904,
0.041040316224098206,
0.15615960955619812,
-0.06967195123434067,
-0.3392791748046875,
0.3741588592529297,
-0.10696013271808624,
0.24302656948566437,
-0.03616112470626831,
-0.1093350499868393,
-0.26377350091934204,
-0.1835712492465973,
-0.3894909918308258,
-0.29754742980003357,
0.10744060575962067,
0.3273962438106537,
-0.0011609569191932678,
0.16476011276245117,
-0.07804001122713089,
0.23184587061405182,
-0.39707645773887634,
0.03309047222137451,
-0.2238306999206543,
0.46282774209976196,
-0.10564623028039932,
0.18050651252269745,
-0.009942907840013504,
0.22122052311897278,
0.004100646823644638,
-0.10414785891771317,
-0.14803996682167053,
0.26768288016319275,
0.35833337903022766,
0.3079635798931122,
0.19435635209083557,
0.15206198394298553,
0.19801607728004456,
-0.4677779972553253,
0.033258356153964996,
0.11486196517944336,
0.021633975207805634,
-0.11712513118982315,
-0.22721776366233826,
0.5045608878135681,
-0.1371471881866455,
-0.05874861031770706,
-0.06946317851543427,
-0.004587527364492416,
0.4298752546310425,
0.021229099482297897,
-0.1285407692193985,
-0.21298334002494812,
0.20029793679714203,
0.15805846452713013,
0.1144866943359375,
0.17485524713993073,
-0.16275672614574432,
-0.03849221020936966,
0.5222519040107727,
-0.07953189313411713,
-0.018773257732391357,
0.10879553109407425,
-0.0108870267868042,
-0.032035112380981445,
0.10312561690807343,
0.24074964225292206,
0.1582847386598587,
0.1434050053358078,
0.11477231979370117,
0.15300557017326355,
0.007681951858103275,
-0.13484632968902588,
0.1257668286561966,
0.013415895402431488,
0.21350403130054474,
0.4760964512825012,
-0.013302559033036232,
-0.05784601345658302,
-0.6998015642166138,
0.10395592451095581,
0.0027094949036836624,
0.15638339519500732,
-0.2688252329826355,
-0.1829904019832611,
-0.1587877720594406,
-0.18334916234016418,
-0.2651601731777191,
-0.16032560169696808,
-0.5590336322784424,
-0.4697202444076538,
0.025747910141944885,
-0.07396981120109558,
0.009011298418045044,
0.21810342371463776,
-0.2367844134569168,
0.14849145710468292,
-0.16132518649101257,
-0.053185418248176575,
-0.029978234320878983,
-0.16408728063106537,
-0.14872810244560242,
0.12149715423583984,
0.45089808106422424,
0.01541050523519516,
0.2516157031059265,
-0.32335659861564636,
0.1091185212135315,
-0.3541613519191742,
-0.5518981218338013,
0.07170487940311432,
-0.20058545470237732,
0.2621939182281494,
0.11622462421655655,
0.19534213840961456,
-0.1552426815032959,
-0.26300048828125,
0.0678926408290863,
0.07220687717199326,
-0.2716129422187805,
-0.025556448847055435,
-0.17591306567192078,
-0.08569996058940887,
0.11691908538341522,
-0.31840869784355164,
-0.22769592702388763,
-0.16798719763755798,
0.03254103288054466,
0.16679547727108002,
0.13566094636917114,
-0.0466434545814991,
-0.0093828234821558,
0.27086561918258667,
-0.05483134835958481,
0.05185069888830185,
-0.3880387246608734,
-0.578639566898346,
0.6632235646247864,
-0.17450016736984253,
-0.3638111650943756,
0.11883799731731415,
-0.08284524828195572,
0.20102615654468536,
-0.12543891370296478,
-0.6809462308883667,
-0.2767499089241028,
-0.18068507313728333,
0.318741112947464,
0.4089561104774475,
0.03385542333126068,
0.32562196254730225,
-0.01632826030254364,
0.042426981031894684,
-0.25469180941581726,
-0.23481997847557068,
-0.11372069269418716,
-0.03282695263624191,
0.4566730558872223,
-0.32034632563591003,
0.2955194413661957,
-0.07194923609495163,
0.6414077877998352,
0.37490779161453247,
0.3484163284301758,
0.35369253158569336,
0.018696311861276627,
0.49349603056907654,
-0.22099897265434265,
-0.25844892859458923,
0.1639949232339859,
-0.2156301736831665,
-0.04654660075902939,
0.2825901210308075,
-0.020223479717969894,
-0.032558098435401917,
-0.26187264919281006,
-0.18593934178352356,
-0.2509550154209137,
-0.14655821025371552,
-0.07196236401796341,
-0.05378425121307373,
0.15355026721954346,
0.03173128515481949,
0.0442659854888916,
-0.15659107267856598,
-0.4502711296081543,
0.2410689890384674,
0.3797091841697693,
-0.10882874578237534,
-0.08597055077552795,
-0.6669440269470215,
0.06535197794437408,
-0.1421743631362915,
0.2323920726776123,
0.1880618780851364,
0.23470750451087952,
0.0004205740988254547,
-0.04956710711121559,
0.06329415738582611,
-0.180328831076622,
0.5312883853912354,
-0.5187637805938721,
0.005447953939437866,
-0.2011723667383194,
0.13454288244247437,
-0.09659785777330399,
-0.19982510805130005,
-0.014900032430887222,
-0.23648309707641602,
0.21917593479156494,
0.43018800020217896,
-0.11699550598859787,
0.07455500960350037,
0.3469008505344391,
0.2879972755908966,
-0.23520982265472412,
-0.11613350361585617,
-0.36423125863075256,
-0.2346935272216797,
-0.1377011239528656,
0.06696043908596039,
-0.05201047286391258,
0.2630886733531952,
-0.14889757335186005,
0.008048899471759796,
0.11307693272829056,
0.051454298198223114,
0.25946730375289917,
0.09418965876102448,
0.22629159688949585,
0.4076841473579407,
0.1600291132926941,
0.13611066341400146,
0.11112575232982635,
0.1630120724439621,
0.9098927974700928,
-0.30003586411476135,
-0.5261929035186768,
0.005646826699376106,
-0.3195224106311798,
0.2581794559955597,
0.34705850481987,
0.09077177941799164,
0.0022934526205062866,
0.5294183492660522,
-0.07482205331325531,
-0.029259704053401947,
0.12837590277194977,
0.2451361119747162,
0.16968241333961487,
-0.5426191687583923,
-0.39389243721961975,
0.13240322470664978,
0.03904525935649872,
-0.04350210353732109,
0.23724231123924255,
0.4143816828727722,
-0.2668282985687256,
0.2039526253938675,
0.16393700242042542,
0.9817046523094177,
0.15596339106559753,
0.1511462926864624,
0.1814100742340088,
-0.10102884471416473,
0.1729166954755783,
-0.2529507875442505,
0.0057671768590807915,
-0.3481295704841614,
-0.36726126074790955,
-0.20459796488285065,
-0.0986451804637909,
0.20573249459266663,
-0.18908824026584625,
-0.04582569748163223,
0.15980198979377747,
0.026924751698970795,
0.47907066345214844,
-0.019085684791207314,
0.29842692613601685,
-0.0012975838035345078,
-0.09399059414863586,
0.012778662145137787,
0.13575628399848938,
0.021940141916275024,
0.14735329151153564,
-0.1616673767566681,
-0.024424631148576736,
-0.14319053292274475,
-0.15005043148994446,
-0.2912995517253876,
0.16558882594108582,
-0.04034203290939331,
0.15610936284065247,
0.26536011695861816,
-0.16624805331230164,
-0.08220121264457703,
0.5596427321434021,
0.4811437129974365,
0.1527581512928009,
-0.21521629393100739,
0.39987120032310486,
0.24041447043418884,
0.14838379621505737,
0.030061766505241394,
-0.11387388408184052,
0.3137574791908264,
-0.08653552830219269,
-0.35859671235084534,
0.16743259131908417,
-0.1912820190191269,
-0.3360053300857544,
-0.21456152200698853,
-0.2220376878976822,
-0.22494296729564667,
-0.28836172819137573,
-0.011213457211852074,
-0.009458765387535095,
0.02278253436088562,
-0.3153589069843292,
0.18610750138759613,
0.16618676483631134,
-0.15515993535518646,
0.026779327541589737,
0.21994292736053467,
-0.27614080905914307,
-0.22141189873218536,
0.49797818064689636,
-0.010683111846446991,
-0.13807269930839539,
0.5353671312332153,
0.07107585668563843,
-0.41950589418411255,
-0.17402523756027222,
0.10433810204267502,
0.21365094184875488,
-0.4661118984222412,
-0.37198105454444885,
-0.04866710305213928,
-0.003430485725402832,
-0.09393222630023956,
0.41320616006851196,
0.3311004042625427,
0.046631358563899994,
0.16381502151489258,
-0.5570645332336426,
-0.2486804723739624,
0.09244846552610397,
0.042282719165086746,
0.3833039700984955,
-0.09478893876075745,
-0.25707775354385376,
0.047961510717868805,
0.07029788196086884,
-0.3321850895881653,
-0.09348025918006897,
-0.1713414490222931,
-0.09233992546796799,
-0.1631958931684494,
0.09120650589466095,
0.25764212012290955,
-0.20678193867206573,
0.15904133021831512,
-0.11835986375808716,
-0.23042592406272888,
-0.1584678292274475,
-0.17210765182971954,
0.13317552208900452,
0.1701371967792511,
-0.20213593542575836,
0.026839125901460648,
-0.03678993508219719,
-0.012860503047704697,
-0.014447815716266632,
0.17736679315567017,
0.14643549919128418,
-0.11621403694152832,
0.17340533435344696,
0.1618792861700058,
-0.13232696056365967,
-0.0529051348567009,
-0.06672123074531555,
-0.053444430232048035,
-0.016612589359283447,
0.11749481409788132,
-0.03303168714046478,
0.0001279977150261402,
-0.05523235723376274,
0.3718508183956146,
0.25639861822128296,
0.05534537881612778,
0.13109663128852844,
0.20832529664039612,
-0.2870495319366455,
0.09311974048614502,
0.2684086561203003,
0.23129820823669434,
0.40066978335380554,
-0.39592480659484863,
-0.015123027376830578,
0.39156314730644226,
0.16776801645755768,
-0.4466029405593872,
-0.1257719099521637,
0.46235620975494385,
0.03128068894147873,
-0.07261737436056137,
0.04959730803966522,
0.4297808110713959,
-0.15299387276172638,
0.2561388313770294,
0.11523330956697464,
0.004156414419412613,
-0.31545042991638184,
0.5374011397361755,
0.4328666627407074,
-0.22851605713367462,
0.1551165133714676,
0.3275037705898285,
-0.2286580502986908,
-0.3139488399028778,
0.2758030295372009,
-0.04103965312242508,
0.34002602100372314,
-0.2107428014278412,
0.16450804471969604,
0.051433462649583817,
-0.4229329228401184,
0.5269647240638733,
-0.06852544844150543,
-0.34825146198272705,
-0.07999859005212784,
0.15663859248161316,
0.3397449851036072,
0.05023844167590141,
0.14523310959339142,
-0.675571620464325,
0.08821584284305573,
-0.19517379999160767,
-0.1813085526227951,
-0.1008569598197937,
-0.3741767704486847,
-0.06025628373026848,
0.34450364112854004,
-0.005261093378067017,
0.009475771337747574,
-0.06329870223999023,
0.1811758577823639,
-0.42579638957977295,
-0.0950150266289711,
-0.14376837015151978,
-0.1284407079219818,
0.15549027919769287,
-0.10469783842563629,
0.24028946459293365,
0.1742359697818756,
-0.07850092649459839,
0.003558289259672165,
0.2889689803123474,
0.14628152549266815,
0.18391704559326172,
0.24673593044281006,
-0.06851315498352051,
0.14995484054088593,
0.05418296158313751,
0.04010889679193497,
0.6225109696388245,
0.13738390803337097,
-0.05189158394932747,
0.3993260860443115,
0.16797849535942078,
-0.19043204188346863,
0.2093290537595749,
-0.10056924819946289,
-0.040149103850126266,
-0.19581982493400574,
0.1429409682750702,
-0.054098762571811676,
0.15402117371559143,
-0.2616676092147827,
0.018638573586940765,
-0.28441181778907776,
-0.06321363896131516,
0.36226707696914673,
0.14391972124576569,
0.21204569935798645,
-0.23023243248462677,
0.08521617203950882,
0.13778537511825562,
0.6015065908432007,
0.2998622953891754,
-0.15827739238739014,
-0.011697026900947094,
-0.35691285133361816,
-0.8963987231254578,
0.15503637492656708,
-0.09910435974597931,
0.2738315165042877,
-0.099001944065094,
-0.07363349944353104,
-0.01081807166337967,
0.04820796847343445,
0.2917557954788208,
-0.17716604471206665,
0.0008828351274132729,
-0.05651475489139557,
-0.20292752981185913,
-0.00550466775894165,
-0.01755683869123459,
0.10870902985334396,
-0.17632059752941132,
-0.15237954258918762,
0.33250927925109863,
0.11940959095954895,
0.08653786033391953,
0.053580328822135925,
-0.04643416777253151,
-0.15710251033306122,
0.01281077042222023,
0.17740082740783691,
0.10027491301298141,
0.6445300579071045,
-0.12283457070589066,
0.06825267523527145,
-0.25572580099105835,
-0.3333272933959961,
-0.08951842784881592,
0.45940694212913513,
-0.2174849808216095,
0.4654015600681305,
0.1624324768781662,
-0.29717540740966797,
-0.06730426102876663,
0.2537844181060791,
0.14463384449481964,
0.003428997937589884,
-0.3372950255870819,
-0.11930391192436218,
0.009937874972820282,
-0.11869392544031143,
0.26127561926841736,
0.09945431351661682,
-0.01147027313709259,
0.02245531789958477,
0.01731453835964203,
-0.14772345125675201,
0.30495232343673706,
-0.2890409529209137,
0.015653114765882492,
-0.30154627561569214,
-0.009517550468444824,
0.0139956995844841,
-0.1434805691242218,
-0.7540348172187805,
0.055152811110019684,
0.3874390423297882,
0.04293549805879593,
-0.0099495779722929,
0.27219852805137634,
-0.115993931889534,
0.23477135598659515,
-0.08556471765041351,
0.10395350307226181,
0.07305198907852173,
-0.18173745274543762,
-0.022892789915204048,
-0.19928210973739624
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | This is a super-common failure mode. We really need to find a better workaround. My solution was to wait until the owner of the dataset in question did the right thing, and then I had to delete my cached versions of the datasets with the bad checksums. I don't understand why this happens. Would it be possible to maintain a copy of the most recent version that was known to work, and roll back to that automatically if the checksums fail? And if the checksums fail, couldn't the system automatically flush the cached versions with the bad checksums? It feels like we are blaming the provider of the dataset, when in fact, there are things that the system could do to ease the pain. Let's take these error messages seriously. There are too many of them involving too many different datasets. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 141 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
This is a super-common failure mode. We really need to find a better workaround. My solution was to wait until the owner of the dataset in question did the right thing, and then I had to delete my cached versions of the datasets with the bad checksums. I don't understand why this happens. Would it be possible to maintain a copy of the most recent version that was known to work, and roll back to that automatically if the checksums fail? And if the checksums fail, couldn't the system automatically flush the cached versions with the bad checksums? It feels like we are blaming the provider of the dataset, when in fact, there are things that the system could do to ease the pain. Let's take these error messages seriously. There are too many of them involving too many different datasets. | [
-0.09712287038564682,
0.3189546465873718,
-0.02820192463696003,
0.22159138321876526,
0.1986926645040512,
0.08320081979036331,
0.3360256850719452,
0.24195830523967743,
0.13730596005916595,
0.1684645563364029,
0.15631264448165894,
-0.07448147237300873,
0.007777418941259384,
-0.014491286128759384,
-0.25786730647087097,
0.20940695703029633,
0.1647874116897583,
-0.031571581959724426,
-0.08134198188781738,
-0.015956327319145203,
-0.1379835158586502,
-0.05079299956560135,
0.13178960978984833,
-0.2425033301115036,
-0.47619685530662537,
0.09112118184566498,
0.058945491909980774,
-0.17457497119903564,
-0.14665581285953522,
-0.31288376450538635,
0.4855691194534302,
0.11050234735012054,
0.00939573347568512,
0.2922525405883789,
-0.00010994862532243133,
0.16782677173614502,
0.48879313468933105,
-0.028858041390776634,
-0.30425748229026794,
0.08607318252325058,
-0.40968066453933716,
-0.2275942862033844,
-0.4125346541404724,
-0.07580214738845825,
0.15113160014152527,
0.20148485898971558,
0.11613581329584122,
-0.27694010734558105,
0.16484418511390686,
0.33143553137779236,
0.24215590953826904,
0.29989954829216003,
0.0035142414271831512,
0.007152039557695389,
0.16895726323127747,
-0.1396462619304657,
-0.012635406106710434,
0.18601980805397034,
0.13051632046699524,
-0.00502071063965559,
-0.25100255012512207,
0.18394288420677185,
-0.17879809439182281,
-0.23776422441005707,
0.1261177808046341,
-0.27690762281417847,
0.09048576653003693,
-0.203252375125885,
0.20055067539215088,
0.3383444547653198,
0.5869346857070923,
0.0247455183416605,
-0.27858835458755493,
-0.11952507495880127,
-0.049274664372205734,
-0.09032104164361954,
0.37497881054878235,
0.10348780453205109,
0.011360572651028633,
0.19297415018081665,
-0.3996771275997162,
0.1217656135559082,
-0.01395769789814949,
0.18447823822498322,
-0.10872751474380493,
0.1527683585882187,
0.09103964269161224,
0.03930678218603134,
-0.009386930614709854,
0.021625952795147896,
0.3435867130756378,
-0.22748801112174988,
-0.2040765881538391,
0.07145421206951141,
-0.35674071311950684,
0.015124626457691193,
-0.01709253340959549,
0.48934412002563477,
0.32473596930503845,
0.19576314091682434,
-0.05250832438468933,
0.20327985286712646,
-0.3562650978565216,
0.14468905329704285,
0.11968918144702911,
0.1321803331375122,
-0.04714420437812805,
0.19419118762016296,
0.25944313406944275,
0.10788483917713165,
0.033852849155664444,
0.186338871717453,
0.21868085861206055,
-0.292705237865448,
0.42755740880966187,
0.14440618455410004,
0.10813707113265991,
-0.41024643182754517,
-0.32396212220191956,
0.4939744174480438,
-0.12909150123596191,
-0.11651914566755295,
0.04787668585777283,
0.08930736780166626,
-0.3078969717025757,
0.2852463722229004,
-0.20551343262195587,
0.11795425415039062,
-0.1377442181110382,
-0.060536161065101624,
-0.17946329712867737,
-0.10577115416526794,
-0.21813762187957764,
0.062410466372966766,
0.26440364122390747,
-0.2045300006866455,
0.2588539719581604,
-0.008891342207789421,
0.2705208957195282,
-0.1115821823477745,
-0.04926672577857971,
-0.11838321387767792,
-0.24151256680488586,
0.314562052488327,
-0.1360275000333786,
0.16912762820720673,
0.15552720427513123,
-0.22531887888908386,
-0.025937844067811966,
0.07253894954919815,
-0.37029147148132324,
-0.3077613115310669,
-0.004001753404736519,
0.19235070049762726,
-0.43713998794555664,
-0.08527524769306183,
-0.133317232131958,
-0.17985312640666962,
0.20176485180854797,
-0.39846399426460266,
-0.04547350853681564,
-0.21731378138065338,
-0.13799631595611572,
-0.14486052095890045,
0.024366086348891258,
0.3401384949684143,
-0.33431383967399597,
0.0919102281332016,
-0.14604243636131287,
-0.11077994108200073,
0.20658597350120544,
0.13125604391098022,
-0.11148104071617126,
0.16931045055389404,
-0.2223149836063385,
-0.1647469699382782,
0.0886048674583435,
-0.0692499428987503,
-0.6377478837966919,
-0.1711365133523941,
-0.015491358935832977,
0.3821471631526947,
0.17637000977993011,
0.13461123406887054,
0.04245699569582939,
-0.25655391812324524,
-0.12581510841846466,
0.07212826609611511,
-0.07720158994197845,
-0.11211542785167694,
-0.4067823588848114,
-0.1890600025653839,
0.2525065541267395,
0.22624419629573822,
0.3952142000198364,
-0.10525194555521011,
0.39391544461250305,
0.07106950134038925,
0.11270153522491455,
-0.19565483927726746,
0.08158800005912781,
0.13667362928390503,
0.44026198983192444,
0.050285689532756805,
-0.006757144816219807,
-0.07195748388767242,
-0.34770357608795166,
0.4524000883102417,
-0.05624248832464218,
0.09751556813716888,
-0.010151669383049011,
-0.19806179404258728,
-0.1991715133190155,
-0.23278310894966125,
-0.3227786421775818,
0.0027079954743385315,
0.15814755856990814,
0.291078120470047,
-0.18655207753181458,
0.046097371727228165,
-0.026468520984053612,
0.2104552686214447,
-0.4994059205055237,
-0.02940220758318901,
-0.27460822463035583,
0.1878826916217804,
-0.22118835151195526,
0.06948322057723999,
-0.03771193325519562,
0.15943706035614014,
0.12176790088415146,
-0.020119307562708855,
-0.15094858407974243,
0.3456307053565979,
0.18640495836734772,
0.20132064819335938,
-0.19427958130836487,
0.3433191776275635,
0.04128985106945038,
-0.3693959414958954,
-0.012097431346774101,
0.25237080454826355,
-0.06733378022909164,
-0.249432772397995,
-0.1529122292995453,
0.4027959108352661,
-0.18075725436210632,
0.1398182511329651,
-0.21776354312896729,
0.01883908174932003,
0.30697888135910034,
-0.14042586088180542,
-0.24754765629768372,
-0.2875394821166992,
0.26602816581726074,
0.03696432709693909,
0.09865637123584747,
0.2591501474380493,
-0.11942151933908463,
-0.16314664483070374,
0.32017770409584045,
-0.056732144206762314,
-0.07262126356363297,
0.06947566568851471,
0.33749544620513916,
0.09112361818552017,
0.17460761964321136,
0.4701426923274994,
0.12651127576828003,
0.10673347115516663,
-0.03855091705918312,
0.08901066333055496,
-0.2666371166706085,
-0.08719813078641891,
-0.10589616745710373,
-0.11689816415309906,
0.4569418728351593,
0.5411441326141357,
-0.07400137931108475,
0.06316687911748886,
-0.3747877776622772,
-0.005855711176991463,
0.026984883472323418,
0.2875676453113556,
-0.3524390161037445,
0.012352297082543373,
-0.40727534890174866,
-0.1601647585630417,
-0.5202638506889343,
-0.033184945583343506,
-0.46510568261146545,
-0.5220750570297241,
0.07658098638057709,
0.061088912189006805,
-0.11794702708721161,
0.22584065794944763,
-0.33149775862693787,
0.20634470880031586,
-0.1515069156885147,
0.11250262707471848,
0.014030620455741882,
-0.11383441835641861,
-0.25992515683174133,
0.08457708358764648,
0.5691207051277161,
-0.1371036320924759,
0.295303076505661,
-0.4120001792907715,
-0.1922127604484558,
-0.328148752450943,
-0.3456220030784607,
0.03832848370075226,
-0.23765422403812408,
0.3031989634037018,
0.07201966643333435,
0.2767289876937866,
-0.08723240345716476,
-0.44528234004974365,
0.12710651755332947,
0.011289151385426521,
-0.14602649211883545,
0.1751377135515213,
-0.10068491846323013,
0.0014549748739227653,
0.11895164847373962,
-0.14997482299804688,
-0.08026064187288284,
-0.27016985416412354,
-0.11488470435142517,
-0.060834623873233795,
0.08451391756534576,
0.1041233241558075,
-0.021540481597185135,
0.1349889189004898,
-0.07659208029508591,
0.22275401651859283,
-0.18522696197032928,
-0.5419377684593201,
0.5060781836509705,
0.07407207787036896,
-0.23085661232471466,
0.17330987751483917,
0.11189959943294525,
0.27242591977119446,
0.1733362376689911,
-0.7535423040390015,
-0.18465635180473328,
-0.013798633590340614,
0.13075381517410278,
0.22018343210220337,
0.055689532309770584,
0.18008138239383698,
0.053645480424165726,
0.08189767599105835,
-0.2848111093044281,
-0.19362996518611908,
-0.16191932559013367,
-0.09976280480623245,
0.6872155070304871,
-0.24425768852233887,
0.37677958607673645,
0.009805362671613693,
0.708973228931427,
0.341709166765213,
0.09846118092536926,
0.22780556976795197,
0.4069981575012207,
0.6531873941421509,
-0.17329052090644836,
-0.15862467885017395,
0.060516517609357834,
-0.28901851177215576,
-0.26004230976104736,
0.12213850766420364,
-0.14949584007263184,
-0.23358012735843658,
-0.12563949823379517,
-0.006045818328857422,
-0.29962053894996643,
-0.26906561851501465,
-0.04404696077108383,
-0.42419198155403137,
0.1525200754404068,
0.07242651283740997,
-0.029984548687934875,
-0.0009208284318447113,
-0.2977662682533264,
0.20316553115844727,
0.2650015950202942,
-0.04969041794538498,
0.07164758443832397,
-0.5836949348449707,
-0.0739593356847763,
-0.020566947758197784,
0.269355446100235,
0.10935913026332855,
0.5524332523345947,
-0.003501448780298233,
0.13234272599220276,
-0.10833227634429932,
-0.028914745897054672,
0.37767308950424194,
-0.4471290707588196,
0.051705632358789444,
-0.06796768307685852,
0.20682896673679352,
0.07231199741363525,
-0.22287654876708984,
0.05750695988535881,
0.02705296128988266,
0.1406985968351364,
0.08306733518838882,
-0.2652512490749359,
0.052113719284534454,
0.054415687918663025,
0.4938620924949646,
-0.24889056384563446,
-0.11280199140310287,
-0.2596926689147949,
-0.08568990975618362,
-0.13556504249572754,
0.015367813408374786,
0.02455076389014721,
0.10425836592912674,
-0.1352258175611496,
0.04495586082339287,
-0.10555543005466461,
0.05205848813056946,
0.24572452902793884,
-0.1937415599822998,
0.09740494191646576,
0.3143033981323242,
0.14491187036037445,
-0.10531847178936005,
0.19064565002918243,
0.3333241045475006,
0.8354408740997314,
-0.24311137199401855,
-0.2525448203086853,
-0.056386373937129974,
-0.29838699102401733,
0.07855532318353653,
0.3463064432144165,
0.22041267156600952,
-0.14085999131202698,
0.4772989749908447,
-0.18148620426654816,
0.10456616431474686,
-0.017307128757238388,
0.14014612138271332,
0.06002674996852875,
-0.5389559268951416,
-0.22763215005397797,
0.0968945324420929,
0.008992357179522514,
-0.02123098075389862,
0.2625168561935425,
0.2026461362838745,
-0.1848675012588501,
0.35208994150161743,
0.3997471332550049,
0.9681541323661804,
-0.044634945690631866,
0.05310054123401642,
-0.2772136628627777,
0.0802115797996521,
0.3272656500339508,
-0.17587056756019592,
-0.022808637470006943,
-0.2155100554227829,
-0.4842333197593689,
-0.12233112752437592,
-0.050834864377975464,
0.13942542672157288,
-0.012822411954402924,
0.08675985038280487,
0.3615334630012512,
0.000598810613155365,
0.3099345564842224,
0.11931950598955154,
0.10665518045425415,
-0.2404170036315918,
-0.011240271851420403,
0.0625489354133606,
0.1501806527376175,
-0.03206149488687515,
-0.0899878591299057,
-0.2777910828590393,
0.04412458837032318,
0.0629284679889679,
-0.13756394386291504,
-0.42364925146102905,
0.019933562725782394,
-0.08228228986263275,
0.09095264226198196,
0.2381541132926941,
-0.01135716587305069,
-0.05474899709224701,
0.3760131597518921,
0.3698265552520752,
0.238045796751976,
-0.24694553017616272,
0.20158781111240387,
0.4369024932384491,
0.10702766478061676,
0.03901946172118187,
-0.3238358199596405,
0.5984652638435364,
-0.10481306165456772,
-0.14238303899765015,
0.16557401418685913,
-0.2959792912006378,
-0.5713038444519043,
-0.18963943421840668,
-0.22182978689670563,
-0.10372623801231384,
-0.09563584625720978,
-0.13313525915145874,
0.0796627402305603,
0.06511740386486053,
-0.21671094000339508,
0.18705537915229797,
0.19866792857646942,
0.06982474029064178,
0.27575406432151794,
-0.006677247583866119,
-0.27822381258010864,
-0.10958819091320038,
0.4076487123966217,
0.05834624916315079,
-0.15713712573051453,
0.47004055976867676,
-0.06293684989213943,
-0.2429400235414505,
-0.08109002560377121,
-0.01223503053188324,
0.15060976147651672,
-0.4327416718006134,
-0.3735063076019287,
-0.3706720769405365,
0.03714147210121155,
0.05897175520658493,
0.2857016921043396,
0.5225234031677246,
0.013103779405355453,
-0.029343631118535995,
-0.5509014129638672,
-0.18632733821868896,
0.16790303587913513,
0.23758821189403534,
0.4103061556816101,
-0.2812593877315521,
-0.15889136493206024,
-0.13662514090538025,
-0.007980147376656532,
-0.3125948905944824,
-0.17524458467960358,
-0.230264350771904,
0.07934468984603882,
-0.13738000392913818,
0.25023436546325684,
-0.13372351229190826,
-0.273926705121994,
0.08223295956850052,
0.009421441704034805,
-0.19387008249759674,
-0.14983916282653809,
-0.04697251692414284,
0.16977305710315704,
0.3723001480102539,
-0.06279969960451126,
0.1383775770664215,
-0.304368793964386,
0.08611658960580826,
-0.04852746054530144,
-0.02601885050535202,
0.3038892447948456,
-0.1712365299463272,
0.06961039453744888,
0.12463141977787018,
0.2467024028301239,
0.04471013695001602,
-0.23233920335769653,
-0.2778007984161377,
-0.059179216623306274,
0.0036371429450809956,
-0.038704730570316315,
0.14317679405212402,
0.03293705731630325,
0.26156166195869446,
0.23578330874443054,
-0.02407781034708023,
0.14746242761611938,
0.3210044503211975,
-0.23673923313617706,
0.06694285571575165,
0.5038105249404907,
0.32247865200042725,
0.3869627118110657,
-0.4197882413864136,
-0.06488261371850967,
0.5124031901359558,
0.2172287553548813,
-0.2720833420753479,
-0.13787910342216492,
0.12749186158180237,
0.09201819449663162,
-0.10417020320892334,
0.15766695141792297,
0.39379963278770447,
-0.4384559392929077,
0.4708330035209656,
0.1405910849571228,
-0.10194996744394302,
-0.5508372187614441,
0.3696918785572052,
0.39478763937950134,
-0.14000554382801056,
0.1001003161072731,
0.252855509519577,
-0.30650171637535095,
-0.14765024185180664,
0.07602891325950623,
-0.014124251902103424,
0.4653800129890442,
-0.23024994134902954,
0.1320267915725708,
-0.24434944987297058,
-0.3773476481437683,
0.6311708092689514,
0.04366162419319153,
-0.2494182288646698,
0.10678902268409729,
0.1576189398765564,
0.20030564069747925,
-0.10462521016597748,
0.1027594581246376,
-0.5238137245178223,
-0.13645175099372864,
-0.22799494862556458,
0.050371233373880386,
-0.3983154296875,
-0.2739885151386261,
0.015516839921474457,
0.2211938500404358,
-0.07717747986316681,
0.12007153034210205,
0.11038829386234283,
0.09499461203813553,
-0.4853639006614685,
-0.21411266922950745,
-0.013514827936887741,
-0.2518922686576843,
0.2276228666305542,
-0.17651474475860596,
0.25545644760131836,
0.04727138578891754,
-0.21932631731033325,
0.027134407311677933,
0.3444770276546478,
0.21836857497692108,
0.376968652009964,
0.16450577974319458,
-0.0032101934775710106,
0.1480061560869217,
0.16218827664852142,
-0.03358788043260574,
0.6442927122116089,
0.0178297758102417,
-0.18234631419181824,
0.4676077663898468,
0.14827820658683777,
-0.20248228311538696,
0.1590038686990738,
-0.26477470993995667,
-0.0737374871969223,
-0.18174543976783752,
0.20226207375526428,
0.11136449873447418,
0.20970910787582397,
0.014871785417199135,
0.1986006647348404,
-0.30810442566871643,
-0.11232053488492966,
0.3802039325237274,
0.00737649854272604,
0.2730529308319092,
-0.10873183608055115,
0.1139109879732132,
0.06650657951831818,
0.49306589365005493,
0.48639917373657227,
-0.16705995798110962,
-0.13476276397705078,
-0.05541786924004555,
-0.9493088722229004,
0.40817150473594666,
-0.22010496258735657,
0.3452276885509491,
0.09370021522045135,
-0.1863206923007965,
0.05716446414589882,
0.1302718222141266,
0.22686201333999634,
-0.17163194715976715,
-0.11927520483732224,
-0.04832736402750015,
-0.2557087540626526,
-0.1299954205751419,
0.12754057347774506,
-0.1603311449289322,
-0.14813201129436493,
-0.2569398283958435,
0.34269559383392334,
0.09707580506801605,
0.1209293082356453,
0.08121129870414734,
-0.06629988551139832,
-0.03223070129752159,
0.1943606287240982,
0.26446419954299927,
0.14407870173454285,
0.5292996168136597,
0.05948970466852188,
-0.13971231877803802,
-0.4626539945602417,
-0.19716787338256836,
-0.12174086272716522,
0.28137847781181335,
-0.12171006202697754,
0.4320385754108429,
0.08243970572948456,
-0.06369107961654663,
-0.1881202608346939,
0.15115632116794586,
0.15404410660266876,
0.008734621107578278,
-0.287507027387619,
-0.01670403778553009,
-0.22471937537193298,
0.008318521082401276,
0.2106495201587677,
0.21145108342170715,
0.20415201783180237,
0.24648155272006989,
-0.11088107526302338,
-0.25889620184898376,
0.24344134330749512,
-0.07577060163021088,
-0.06832483410835266,
-0.24434643983840942,
0.007102467119693756,
0.038287632167339325,
-0.06315421313047409,
-0.5513280034065247,
-0.05387185886502266,
0.2934572696685791,
-0.07535796612501144,
-0.13280756771564484,
0.09580680727958679,
-0.17170339822769165,
0.11744873225688934,
-0.01553461141884327,
0.08315814286470413,
0.03208932280540466,
-0.2134099155664444,
0.1679871827363968,
-0.1496671438217163
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | Same for [DART dataset](https://huggingface.co/datasets/dart):
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-train.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-dev.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-test.json']
``` | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 17 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
Same for [DART dataset](https://huggingface.co/datasets/dart):
```
NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-train.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-dev.json', 'https://raw.githubusercontent.com/Yale-LILY/dart/master/data/v1.1.1/dart-v1.1.1-full-test.json']
``` | [
-0.2983851432800293,
0.12929564714431763,
-0.1360701322555542,
0.23197515308856964,
0.237399622797966,
-0.02615094929933548,
0.19052433967590332,
0.3863394856452942,
0.12417249381542206,
-0.026040121912956238,
-0.03466229885816574,
0.13166217505931854,
0.10376369208097458,
0.04953528940677643,
-0.01684122532606125,
0.16588915884494781,
0.24987590312957764,
-0.0414423793554306,
-0.3857406973838806,
-0.06122615933418274,
-0.11018770933151245,
0.11288733035326004,
0.021696507930755615,
-0.195386603474617,
-0.09269939363002777,
0.18856613337993622,
0.11621814966201782,
-0.2824335992336273,
-0.14069105684757233,
-0.31432509422302246,
0.4785615801811218,
0.15573818981647491,
-0.09863951057195663,
0.2920575737953186,
-0.0001157699225586839,
0.24981163442134857,
0.36587852239608765,
-0.05046851187944412,
-0.059121958911418915,
-0.05121329426765442,
-0.32112815976142883,
-0.3653143346309662,
-0.15537996590137482,
-0.12550832331180573,
-0.05421066656708717,
-0.030191384255886078,
-0.12321051955223083,
-0.3748505115509033,
0.166820228099823,
0.30270931124687195,
0.21698296070098877,
0.3450079560279846,
0.3007546663284302,
0.06893295049667358,
0.36555585265159607,
-0.030138753354549408,
-0.04850485175848007,
0.16224457323551178,
0.16829878091812134,
0.22586271166801453,
-0.25686919689178467,
0.2622104287147522,
0.000772157683968544,
-0.015602096915245056,
0.15525656938552856,
-0.2686609923839569,
-0.0018500462174415588,
-0.2213020920753479,
0.18102195858955383,
0.5165311098098755,
0.6262089610099792,
-0.02200322598218918,
-0.305494487285614,
-0.024410396814346313,
-0.26649394631385803,
0.09073754400014877,
0.3970434367656708,
0.06287987530231476,
0.024301260709762573,
0.04079708084464073,
-0.42039671540260315,
0.08098311722278595,
0.0002520158886909485,
0.16771447658538818,
0.10140968859195709,
0.38736605644226074,
0.08826747536659241,
0.0459132082760334,
-0.04327880218625069,
-0.137889564037323,
0.3775923550128937,
-0.32070308923721313,
-0.4158201515674591,
0.18364599347114563,
-0.3011504113674164,
-0.057787444442510605,
-0.12156976014375687,
0.23961737751960754,
0.41890987753868103,
0.23009519279003143,
-0.10193488001823425,
0.26352953910827637,
-0.23617978394031525,
0.06640121340751648,
0.11814893782138824,
0.11987300217151642,
0.01061878353357315,
0.26575303077697754,
0.24105331301689148,
0.16968537867069244,
0.018644019961357117,
0.14143069088459015,
0.14421430230140686,
-0.18598172068595886,
0.1827128529548645,
-0.05607602745294571,
-0.10416323691606522,
-0.3499230444431305,
-0.1812751442193985,
0.40596285462379456,
-0.03310566395521164,
-0.2979353368282318,
0.17362616956233978,
0.3164829909801483,
-0.15086308121681213,
0.34751343727111816,
-0.1743013858795166,
0.10616039484739304,
-0.028157927095890045,
-0.1642175018787384,
-0.28703179955482483,
-0.03275126591324806,
-0.07340072840452194,
-0.14409007132053375,
0.10239708423614502,
-0.11003437638282776,
0.38370224833488464,
0.03695758432149887,
0.09098277240991592,
-0.22745895385742188,
0.06775380671024323,
-0.11532482504844666,
-0.06838680058717728,
0.23004983365535736,
-0.13715270161628723,
0.015432333573698997,
0.28781232237815857,
-0.17764486372470856,
-0.019139021635055542,
0.18568052351474762,
-0.2804974615573883,
0.03974941000342369,
-0.30154019594192505,
0.2614583373069763,
-0.4566425085067749,
-0.06786221265792847,
-0.5053207278251648,
-0.09787240624427795,
0.23612546920776367,
-0.36651739478111267,
0.03563648462295532,
-0.1726592779159546,
-0.02070881426334381,
-0.15699857473373413,
0.2026178240776062,
0.07463207840919495,
-0.1104031503200531,
-0.046651408076286316,
-0.10282131284475327,
-0.22954291105270386,
0.21246007084846497,
0.05246627703309059,
-0.23143362998962402,
0.3091173768043518,
-0.28090542554855347,
0.13530388474464417,
0.5235928297042847,
-0.3334141671657562,
-0.6520611643791199,
0.0526130236685276,
0.11360521614551544,
0.1716633290052414,
0.21145950257778168,
0.10684426873922348,
0.11214586347341537,
0.07027679681777954,
-0.23005634546279907,
-0.02924393117427826,
0.3219335079193115,
0.10581300407648087,
-0.2170129418373108,
-0.22684058547019958,
0.0681220069527626,
0.23995737731456757,
0.21466460824012756,
-0.22914302349090576,
0.2968750596046448,
-0.04749961569905281,
0.3425227701663971,
-0.2299848198890686,
-0.01577557809650898,
0.22094213962554932,
0.38541990518569946,
0.08346763253211975,
0.017204435542225838,
-0.15287359058856964,
-0.3663824796676636,
0.2390562891960144,
0.03962453454732895,
-0.0867186188697815,
0.08201846480369568,
-0.10612354427576065,
-0.2188968062400818,
-0.17982938885688782,
-0.4410645067691803,
0.03251359239220619,
0.16395309567451477,
0.43585845828056335,
-0.005066942423582077,
0.011285882443189621,
-0.02052535116672516,
0.06957468390464783,
-0.3953225910663605,
0.05020689591765404,
-0.09416288137435913,
0.18722540140151978,
-0.1353759616613388,
-0.009675160981714725,
0.13354475796222687,
0.05153801292181015,
-0.01862611621618271,
-0.12757420539855957,
-0.1991513967514038,
0.3698606491088867,
0.43588271737098694,
0.11450184881687164,
0.1509859263896942,
0.16565153002738953,
-0.0820658877491951,
-0.38452741503715515,
-0.14306457340717316,
0.25038573145866394,
0.03402340039610863,
-0.14532235264778137,
-0.32801687717437744,
0.38644540309906006,
-0.06186122074723244,
0.09461745619773865,
-0.08928348124027252,
-0.010352792218327522,
0.3682761788368225,
-0.10719338059425354,
-0.16567780077457428,
-0.21630129218101501,
0.2528463900089264,
-0.006051091477274895,
0.08184875547885895,
0.18020889163017273,
-0.03218137100338936,
-0.17213651537895203,
0.35864099860191345,
0.002382386475801468,
0.12065064162015915,
-0.047627732157707214,
0.13859495520591736,
-0.027213364839553833,
0.13866738975048065,
0.4446198642253876,
0.24275799095630646,
0.13938185572624207,
0.011236168444156647,
-0.0680372565984726,
-0.11428450047969818,
-0.12009533494710922,
0.07943648099899292,
0.01596255972981453,
0.24809637665748596,
0.4942612648010254,
0.026053640991449356,
-0.1558392345905304,
-0.5066053867340088,
0.09717975556850433,
-0.06866180896759033,
0.1687960922718048,
-0.3306286036968231,
-0.14979729056358337,
-0.3115188777446747,
0.08658815175294876,
-0.38690614700317383,
-0.07236743718385696,
-0.3466300368309021,
-0.48628881573677063,
-0.15428239107131958,
0.01583864353597164,
0.0846824049949646,
0.31717514991760254,
-0.5115662813186646,
-0.18518756330013275,
-0.2513578534126282,
-0.010533535853028297,
0.035908885300159454,
-0.04164479672908783,
-0.15221980214118958,
0.1239258199930191,
0.5918476581573486,
0.0001706811599433422,
0.28434842824935913,
-0.2307683676481247,
0.12149302661418915,
-0.337805837392807,
-0.421531617641449,
-0.030625149607658386,
-0.18869754672050476,
0.3136110305786133,
0.10534357279539108,
0.27338263392448425,
-0.2762702703475952,
-0.32025066018104553,
0.11585993319749832,
0.12754219770431519,
-0.45801031589508057,
0.01671697199344635,
-0.16984662413597107,
-0.2112232893705368,
0.2283947765827179,
-0.285952627658844,
0.002380227670073509,
-0.22018630802631378,
-0.11289295554161072,
0.12022709846496582,
0.0746692642569542,
-0.21930189430713654,
-0.008460653014481068,
0.3013738989830017,
-0.04426261782646179,
0.19818459451198578,
-0.3269689977169037,
-0.36919155716896057,
0.5142938494682312,
0.017913060262799263,
-0.24232913553714752,
0.2126060128211975,
-0.10892260074615479,
0.4499359130859375,
0.04944518208503723,
-0.6120977997779846,
-0.04312969744205475,
-0.20760773122310638,
0.13757096230983734,
0.1812613606452942,
-0.08796576410531998,
0.20485153794288635,
0.15038929879665375,
0.04042164236307144,
-0.2112293243408203,
-0.05858669802546501,
0.0755835771560669,
-0.36915525794029236,
0.5575549006462097,
-0.20155277848243713,
0.4910164177417755,
-0.08754156529903412,
0.8643449544906616,
0.4897105097770691,
0.0983729362487793,
0.21940988302230835,
0.06518486887216568,
0.3839869499206543,
-0.16944068670272827,
-0.12991659343242645,
0.049025654792785645,
-0.043237119913101196,
0.22153609991073608,
0.0733584314584732,
-0.23033058643341064,
-0.07866435497999191,
-0.1334572732448578,
-0.05894827842712402,
-0.3278520405292511,
-0.09115177392959595,
0.04389134794473648,
-0.27926167845726013,
0.16521790623664856,
-0.10967379808425903,
0.1278110146522522,
-0.02318376675248146,
-0.4407798647880554,
0.14209432899951935,
0.33755069971084595,
-0.11586331576108932,
-0.1253313571214676,
-0.6442395448684692,
0.011697199195623398,
0.11426632851362228,
0.2888309955596924,
0.08332504332065582,
0.3812653124332428,
-0.020958583801984787,
-0.06547211855649948,
-0.05108961462974548,
-0.18826694786548615,
0.283053457736969,
-0.38869422674179077,
0.07991001009941101,
-0.20081086456775665,
0.14709289371967316,
-0.09319674223661423,
-0.26385045051574707,
0.08636482059955597,
-0.18050621449947357,
0.16159752011299133,
0.2348042130470276,
-0.2671104967594147,
0.09831666201353073,
0.3245755732059479,
0.10952198505401611,
-0.21946918964385986,
-0.19885998964309692,
-0.37734436988830566,
-0.13379685580730438,
-0.3002120852470398,
-0.02950945496559143,
-0.024386240169405937,
0.12440628558397293,
-0.041222430765628815,
-0.1462627500295639,
-0.0122761819511652,
-0.04439094662666321,
0.29697638750076294,
0.018292028456926346,
0.30251938104629517,
0.30411648750305176,
0.19615063071250916,
0.05118175595998764,
0.17515221238136292,
0.25182199478149414,
0.6851160526275635,
-0.16341963410377502,
-0.5055124163627625,
-0.1657249629497528,
-0.3286435902118683,
0.19069185853004456,
0.04140952229499817,
0.07632321864366531,
0.08072268962860107,
0.5226747989654541,
-0.21801398694515228,
0.12470545619726181,
0.12270334362983704,
0.2872323989868164,
0.052959490567445755,
-0.3099023401737213,
-0.44030338525772095,
0.15900325775146484,
0.005205970257520676,
-0.09299308806657791,
0.3859335482120514,
-0.01665540039539337,
-0.25483280420303345,
0.10952059924602509,
0.41825005412101746,
0.8643627762794495,
0.13079765439033508,
-0.001235809177160263,
-0.004685182124376297,
-0.12352228164672852,
-0.0007543978281319141,
-0.01077335700392723,
-0.08945204317569733,
-0.4136320948600769,
-0.19256392121315002,
-0.18245640397071838,
-0.26439258456230164,
0.22791630029678345,
-0.1001897007226944,
-0.07666391134262085,
0.25920039415359497,
-0.06495693325996399,
0.5471400618553162,
-0.023631097748875618,
0.22645410895347595,
-0.03772760182619095,
0.1642439216375351,
0.29233095049858093,
0.16355140507221222,
-0.224888876080513,
0.027755457907915115,
-0.02329757809638977,
-0.09877347201108932,
-0.376130074262619,
-0.19774235785007477,
-0.519239604473114,
0.1774546504020691,
0.0002591717056930065,
0.375380277633667,
0.3293667733669281,
-0.059328798204660416,
0.014441423118114471,
0.559326708316803,
0.17936618626117706,
0.1819523721933365,
-0.14474253356456757,
0.40275469422340393,
0.47738200426101685,
0.017215434461832047,
0.051731809973716736,
-0.09028960019350052,
0.18378253281116486,
-0.10917630791664124,
-0.3231375217437744,
0.163772314786911,
-0.1342502236366272,
-0.44414639472961426,
-0.21643894910812378,
-0.22680272161960602,
0.21028845012187958,
-0.40001097321510315,
-0.10508197546005249,
-0.013796508312225342,
-0.13937880098819733,
-0.2431468963623047,
0.18505512177944183,
0.17235279083251953,
-0.09375975281000137,
0.13521234691143036,
0.1577870398759842,
-0.1509196162223816,
-0.09219209849834442,
0.5461278557777405,
0.15677510201931,
-0.10196134448051453,
0.679787278175354,
-0.1865808069705963,
-0.3239355683326721,
-0.16260680556297302,
0.25066086649894714,
0.10338618606328964,
-0.36789047718048096,
-0.31282365322113037,
-0.1782364845275879,
0.0277184396982193,
-0.039513569325208664,
0.5189293622970581,
0.4047306776046753,
0.22333088517189026,
-0.042309217154979706,
-0.4476154148578644,
-0.22415775060653687,
0.06220199167728424,
-0.0936390608549118,
0.39435169100761414,
-0.3423851430416107,
-0.39744752645492554,
-0.006434157490730286,
0.11012682318687439,
-0.29884594678878784,
-0.29298728704452515,
-0.2144390195608139,
-0.07551269233226776,
-0.14286014437675476,
0.14766693115234375,
-0.05173773691058159,
-0.20431572198867798,
0.1764102727174759,
-0.09604181349277496,
-0.21862179040908813,
-0.2083355188369751,
-0.054593704640865326,
0.08999314159154892,
0.22800588607788086,
-0.15795542299747467,
-0.13026252388954163,
-0.11394003033638,
0.01627606526017189,
-0.032855164259672165,
-0.07505787163972855,
-0.0819028913974762,
-0.004075564444065094,
0.1191006451845169,
0.3638710677623749,
-0.07176629453897476,
-0.04486997798085213,
-0.19522589445114136,
-0.27866607904434204,
-0.1129508912563324,
0.08808309584856033,
-0.1188572347164154,
0.1802138090133667,
-0.11085404455661774,
0.2791789174079895,
0.2049471139907837,
0.1335822492837906,
0.12733803689479828,
0.20228543877601624,
-0.24979369342327118,
-0.0484488308429718,
0.5654677152633667,
0.1858098953962326,
0.4654485285282135,
-0.40229952335357666,
0.010660005733370781,
0.2490856945514679,
0.22219322621822357,
-0.32257595658302307,
-0.1557607203722,
0.2946661412715912,
0.1118747889995575,
0.0037040337920188904,
-0.08182493597269058,
0.17597441375255585,
-0.35584238171577454,
0.36904263496398926,
0.11843586713075638,
0.04811767488718033,
-0.5010218620300293,
0.5076389312744141,
0.5211777687072754,
-0.16658958792686462,
-0.046977389603853226,
0.32586807012557983,
-0.1884961873292923,
-0.06981373578310013,
0.12878328561782837,
0.12758472561836243,
0.16217274963855743,
-0.3143376111984253,
0.25378790497779846,
-0.08414018899202347,
-0.3425818085670471,
0.4397486448287964,
0.11268889904022217,
-0.1460765153169632,
0.060099322348833084,
0.2858683466911316,
0.046840839087963104,
0.17530310153961182,
0.09927233308553696,
-0.6379836797714233,
0.030555453151464462,
-0.16339260339736938,
-0.1361549198627472,
-0.33072078227996826,
-0.24512013792991638,
-0.08746945112943649,
0.2594339847564697,
-0.02287997677922249,
0.09041038155555725,
-0.23286691308021545,
0.16095519065856934,
-0.41254544258117676,
-0.06977110356092453,
-0.06575754284858704,
-0.13134464621543884,
0.11465475708246231,
-0.18126215040683746,
0.371171236038208,
0.2355032116174698,
0.0025814026594161987,
0.019742324948310852,
0.3754799962043762,
0.17806117236614227,
0.34094226360321045,
0.2954251170158386,
-0.056089628487825394,
0.15184056758880615,
-0.05849485099315643,
0.042355574667453766,
0.7360104918479919,
0.10727240145206451,
-0.12610980868339539,
0.46499818563461304,
0.1711755096912384,
-0.17073418200016022,
0.17654626071453094,
-0.17558400332927704,
-0.08770588040351868,
0.02392558380961418,
0.33943435549736023,
-0.10023437440395355,
0.08682384341955185,
-0.20892423391342163,
0.0667036771774292,
-0.3284211754798889,
-0.15720534324645996,
0.2733590304851532,
0.057835761457681656,
0.06849832832813263,
-0.15684664249420166,
0.07609516382217407,
0.06523633003234863,
0.4576209783554077,
0.21432477235794067,
-0.1561318039894104,
-0.2070235311985016,
-0.42411214113235474,
-0.7893474698066711,
0.11101848632097244,
-0.241418719291687,
0.10488781332969666,
-0.0029133716598153114,
0.05398142337799072,
0.09860802441835403,
0.1184556633234024,
0.36293330788612366,
-0.26905274391174316,
-0.17840594053268433,
0.12985190749168396,
-0.213522270321846,
0.027154726907610893,
0.11770051717758179,
-0.10801877081394196,
-0.08964002132415771,
-0.24613487720489502,
0.40674012899398804,
0.3605194687843323,
0.11117323487997055,
0.04499367997050285,
-0.019407149404287338,
0.015285827219486237,
-0.034015946090221405,
0.061781175434589386,
-0.030662817880511284,
0.7054529190063477,
-0.041709594428539276,
0.05580805242061615,
-0.16231323778629303,
-0.25759828090667725,
-0.17608974874019623,
0.5913879871368408,
-0.06931982934474945,
0.574479341506958,
0.10046432167291641,
-0.0039100609719753265,
-0.08989622443914413,
0.18438388407230377,
0.10020682215690613,
-0.21242284774780273,
-0.22470629215240479,
-0.2842358648777008,
-0.06471287459135056,
-0.1974201202392578,
0.19134993851184845,
-0.035201214253902435,
0.04340857267379761,
0.18772652745246887,
-0.0735584944486618,
-0.19024579226970673,
0.35985103249549866,
-0.10710323601961136,
0.08664420247077942,
-0.21901610493659973,
-0.046418920159339905,
-0.07024211436510086,
0.019800569862127304,
-0.6499075293540955,
0.02275167405605316,
0.5876091122627258,
-0.00801004096865654,
0.09879788756370544,
0.1870245486497879,
0.021975077688694,
0.3843350410461426,
-0.061703868210315704,
0.15554751455783844,
-0.08831086754798889,
-0.16973166167736053,
-0.1464884728193283,
-0.15665429830551147
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | - @thesofakillers the issue with `exams` was fixed on 16 Aug by this PR:
- #4853
- @Aktsvigun the issue with `dart` has been transferred to the Hub: https://huggingface.co/datasets/dart/discussions/1
- and fixed by PR: https://huggingface.co/datasets/dart/discussions/2
- @Carol-gutianle the issue with `multi_news` have been transferred to the Hub as well: https://huggingface.co/datasets/multi_news/discussions/1
- not reproducible: maybe you should try to update `datasets`
For information to everybody, we are removing the checksum verifications (that were creating a bad user experience). This will be in place in the following weeks. | ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 86 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
- @thesofakillers the issue with `exams` was fixed on 16 Aug by this PR:
- #4853
- @Aktsvigun the issue with `dart` has been transferred to the Hub: https://huggingface.co/datasets/dart/discussions/1
- and fixed by PR: https://huggingface.co/datasets/dart/discussions/2
- @Carol-gutianle the issue with `multi_news` have been transferred to the Hub as well: https://huggingface.co/datasets/multi_news/discussions/1
- not reproducible: maybe you should try to update `datasets`
For information to everybody, we are removing the checksum verifications (that were creating a bad user experience). This will be in place in the following weeks. | [
-0.21696123480796814,
0.08345609903335571,
-0.15576910972595215,
0.2350684255361557,
0.38341712951660156,
-0.06602111458778381,
0.3294699788093567,
0.41948559880256653,
0.17528079450130463,
0.11724361032247543,
0.05562435835599899,
0.16826888918876648,
0.14824868738651276,
0.1484914869070053,
-0.13376323878765106,
-0.014803767204284668,
0.27857112884521484,
-0.17973968386650085,
-0.3115604817867279,
-0.10114824026823044,
-0.061912912875413895,
0.0018149856477975845,
-0.1657775640487671,
-0.20888011157512665,
-0.2492845356464386,
0.09694284945726395,
-0.014011519029736519,
-0.1822558045387268,
-0.19325914978981018,
-0.39715254306793213,
0.29352936148643494,
0.14186039566993713,
-0.20078341662883759,
0.38044342398643494,
-0.00010452713468112051,
0.11732514202594757,
0.39320772886276245,
0.023793796077370644,
-0.28006550669670105,
0.03111368417739868,
-0.1053929328918457,
-0.16091038286685944,
-0.09582560509443283,
-0.1892947107553482,
-0.06429557502269745,
0.05210154503583908,
-0.10080035030841827,
-0.25583192706108093,
0.2605843245983124,
0.37165123224258423,
0.2963961064815521,
0.278812974691391,
0.02327728644013405,
-0.13360001146793365,
0.2901116907596588,
-0.1183287501335144,
-0.11896532773971558,
0.005518968217074871,
0.11873635649681091,
0.14736804366111755,
-0.24144062399864197,
0.3796145021915436,
0.06899184733629227,
-0.09459523856639862,
-0.06443703919649124,
-0.159590482711792,
-0.05344245582818985,
-0.2700566053390503,
0.2516118884086609,
0.48836150765419006,
0.5546615123748779,
-0.02363497018814087,
-0.27662476897239685,
-0.07851038873195648,
-0.072306789457798,
0.13017970323562622,
0.38539746403694153,
0.09411616623401642,
-0.032744426280260086,
0.058560386300086975,
-0.17509540915489197,
0.06953627616167068,
-0.06004703417420387,
0.26376205682754517,
-0.0078022778034210205,
0.4199889898300171,
0.07122635841369629,
-0.02618662267923355,
0.027126597240567207,
-0.10390669107437134,
0.24548159539699554,
-0.07063659280538559,
-0.32647982239723206,
0.16050326824188232,
-0.2855035066604614,
0.03188255429267883,
0.02068151906132698,
0.2152528166770935,
0.3532043397426605,
0.00999402068555355,
-0.12029018998146057,
0.5348276495933533,
-0.25787025690078735,
0.04940788820385933,
0.11597748100757599,
0.16311341524124146,
0.10570892691612244,
0.23667709529399872,
0.3232821226119995,
0.2640019953250885,
0.02186662331223488,
0.15275244414806366,
0.032437629997730255,
-0.11765360832214355,
-0.03956984728574753,
0.03484639525413513,
-0.1625414788722992,
-0.3444034457206726,
-0.08061140775680542,
0.48242202401161194,
0.14054140448570251,
-0.1331661492586136,
0.020370865240693092,
0.34600645303726196,
-0.17396479845046997,
0.40537533164024353,
-0.25017309188842773,
0.14534585177898407,
-0.11655642837285995,
-0.0823201835155487,
-0.23626768589019775,
-0.06290724873542786,
-0.2527165710926056,
-0.014767128974199295,
0.16485518217086792,
-0.08717119693756104,
0.3678402900695801,
0.1754564791917801,
0.06212761625647545,
-0.22169966995716095,
-0.03142325580120087,
-0.1685146689414978,
0.10483291000127792,
0.1999799609184265,
-0.11714689433574677,
0.12221699208021164,
0.20750561356544495,
-0.22089150547981262,
0.09975752979516983,
0.19629132747650146,
-0.22527414560317993,
0.0402933694422245,
-0.23900635540485382,
0.30066797137260437,
-0.35584861040115356,
0.0026493892073631287,
-0.32221531867980957,
0.12909884750843048,
0.13101105391979218,
-0.22814631462097168,
0.12581750750541687,
-0.13285361230373383,
-0.13685095310211182,
-0.10955552756786346,
0.19663655757904053,
0.05936358869075775,
-0.1471949964761734,
-0.16029870510101318,
-0.034322597086429596,
-0.24507790803909302,
0.04073643684387207,
0.08212649822235107,
-0.30199095606803894,
0.24400553107261658,
-0.2496793270111084,
0.08437824249267578,
0.35600578784942627,
-0.37185922265052795,
-0.5780057907104492,
-0.09909284114837646,
0.11423960328102112,
0.1631993055343628,
0.08801185339689255,
0.042705781757831573,
0.08529232442378998,
0.12788403034210205,
-0.20899143815040588,
0.11560314893722534,
0.21340316534042358,
0.1269141435623169,
-0.4236961901187897,
-0.19029004871845245,
0.1299707442522049,
0.29025110602378845,
0.38526105880737305,
-0.3346930742263794,
0.22803941369056702,
0.06931229680776596,
0.31572866439819336,
-0.22835102677345276,
0.04829936474561691,
0.19487188756465912,
0.3536723256111145,
0.014136668294668198,
0.1263923943042755,
-0.17944616079330444,
-0.3531445860862732,
0.26360246539115906,
0.03506544977426529,
0.1432892382144928,
0.11295949667692184,
-0.17673081159591675,
-0.2621765434741974,
-0.20442187786102295,
-0.39268434047698975,
-0.1088956892490387,
0.2358861267566681,
0.20481689274311066,
-0.0943065732717514,
0.16930396854877472,
-0.10151351988315582,
0.13233932852745056,
-0.33524155616760254,
0.011259924620389938,
-0.0457998663187027,
0.11349640786647797,
-0.22336642444133759,
0.008275733329355717,
0.01957803964614868,
0.13911589980125427,
-0.049170203506946564,
-0.008564208634197712,
-0.20327115058898926,
0.3512868285179138,
0.407927006483078,
0.005979843437671661,
0.14333570003509521,
0.17228227853775024,
0.1368151605129242,
-0.2693609893321991,
-0.060238614678382874,
0.23278550803661346,
0.020930517464876175,
-0.13415373861789703,
-0.47052350640296936,
0.5174733996391296,
-0.04189788177609444,
0.10441166162490845,
0.05670539289712906,
0.03995562344789505,
0.3150685131549835,
-0.15498661994934082,
-0.14405317604541779,
-0.23085220158100128,
0.15366603434085846,
0.02154524438083172,
0.07116295397281647,
0.08110012114048004,
-0.00717683881521225,
-0.04228835552930832,
0.46161922812461853,
0.09161955118179321,
0.25976747274398804,
0.021233337000012398,
0.07131490111351013,
-0.0869855284690857,
0.059367693960666656,
0.23719213902950287,
0.14511969685554504,
0.14495959877967834,
0.07058330625295639,
0.09095205366611481,
-0.0003361087292432785,
-0.20002995431423187,
0.03333751857280731,
-0.04044058173894882,
0.16539990901947021,
0.4901083707809448,
0.023444246500730515,
-0.09094922244548798,
-0.48271918296813965,
0.24696338176727295,
0.044088564813137054,
0.13299880921840668,
-0.2017764300107956,
-0.17147299647331238,
-0.30810296535491943,
-0.02052060328423977,
-0.25220322608947754,
-0.0433318130671978,
-0.40432286262512207,
-0.5353103280067444,
0.15803004801273346,
-0.09679768979549408,
-0.14289040863513947,
0.2936289310455322,
-0.27020084857940674,
-0.019984185695648193,
-0.15813003480434418,
0.17143021523952484,
0.060542792081832886,
-0.3422420918941498,
-0.23548153042793274,
0.18598107993602753,
0.4998052716255188,
0.0859331414103508,
0.30714693665504456,
-0.1805395931005478,
-0.09578987956047058,
-0.3798186182975769,
-0.5930349230766296,
0.14556026458740234,
-0.1305684596300125,
0.30380991101264954,
-0.009042322635650635,
0.18410292267799377,
-0.30580848455429077,
-0.21999290585517883,
0.22585329413414001,
-0.06485849618911743,
-0.24977321922779083,
0.08320531994104385,
-0.07796899974346161,
-0.1050868034362793,
0.018298275768756866,
-0.46875324845314026,
-0.0040105413645505905,
-0.21213997900485992,
-0.06309036910533905,
-0.04647482559084892,
0.12679708003997803,
-0.04995286464691162,
0.057476598769426346,
0.21979723870754242,
-0.18084798753261566,
0.14804281294345856,
-0.43886426091194153,
-0.3961242735385895,
0.371271014213562,
-0.14936712384223938,
-0.49633482098579407,
0.12472322583198547,
0.006521366536617279,
0.32538822293281555,
-0.030464760959148407,
-0.5670152902603149,
-0.17712371051311493,
-0.14563658833503723,
0.2209879755973816,
0.1098262146115303,
-0.12628652155399323,
0.1614934802055359,
0.009447343647480011,
-0.14266261458396912,
-0.21543747186660767,
0.11573892831802368,
0.02183987945318222,
-0.19629904627799988,
0.403624027967453,
-0.2940470576286316,
0.20342406630516052,
0.14547006785869598,
0.6852062940597534,
0.27379751205444336,
0.27216634154319763,
0.2470473051071167,
0.13265804946422577,
0.3104366660118103,
-0.2236647605895996,
-0.09386814385652542,
0.17959743738174438,
-0.22265660762786865,
0.12096419930458069,
0.32746046781539917,
-0.1540321409702301,
-0.21230937540531158,
-0.26168906688690186,
0.04840150848031044,
-0.30716681480407715,
-0.2676759958267212,
0.13626906275749207,
-0.3159789741039276,
0.16437038779258728,
-0.01004127599298954,
0.18963944911956787,
0.059998925775289536,
-0.38220053911209106,
0.2652612626552582,
0.25274014472961426,
-0.22678449749946594,
-0.22485129535198212,
-0.6756243705749512,
-0.028757428750395775,
-0.0029072612524032593,
0.16308964788913727,
0.05047455057501793,
0.3388230502605438,
-0.21239319443702698,
-0.1799686849117279,
-0.02879435569047928,
-0.11003659665584564,
0.20460301637649536,
-0.3912692964076996,
0.027857379987835884,
-0.03266970068216324,
0.2188047170639038,
-0.1531316190958023,
-0.2897532880306244,
-0.24206529557704926,
-0.18038541078567505,
0.13272994756698608,
0.22886285185813904,
-0.29073795676231384,
0.05586662143468857,
0.170228973031044,
0.054962143301963806,
-0.1151551678776741,
-0.04535311087965965,
-0.37179234623908997,
-0.037896350026130676,
-0.3781298100948334,
0.18281283974647522,
0.06542211771011353,
0.08408094197511673,
-0.3627427816390991,
-0.08016491681337357,
0.06627702713012695,
0.15950167179107666,
0.09085652232170105,
0.07849088311195374,
0.21187424659729004,
0.269332617521286,
0.10632635653018951,
0.0016253367066383362,
0.05917252227663994,
0.2607499361038208,
0.6722056865692139,
-0.030959483236074448,
-0.2893831729888916,
-0.07187511026859283,
-0.4585311710834503,
0.22504666447639465,
0.26932352781295776,
0.09122813493013382,
0.047698672860860825,
0.3637402057647705,
-0.045215606689453125,
0.0965644046664238,
0.19578033685684204,
0.1812969297170639,
0.0039052600041031837,
-0.2601763904094696,
-0.2145419865846634,
0.070249542593956,
-0.04526772350072861,
-0.09080538898706436,
0.2774573564529419,
0.09498380869626999,
-0.21176894009113312,
0.2503865957260132,
0.28602510690689087,
0.9049332141876221,
0.11811251193284988,
0.012691300362348557,
0.026624727994203568,
0.018253326416015625,
-0.072413869202137,
-0.02747614122927189,
0.01017521321773529,
-0.40035778284072876,
-0.2721391022205353,
-0.064510278403759,
-0.049881041049957275,
0.20946970582008362,
-0.05342286825180054,
-0.26221662759780884,
0.14318658411502838,
-0.0570918470621109,
0.46193942427635193,
-0.06262591481208801,
0.26999226212501526,
-0.24961233139038086,
-0.0029650013893842697,
0.07364164292812347,
0.2643301784992218,
-0.07348033785820007,
0.039068788290023804,
-0.08185501396656036,
0.04617873951792717,
-0.3265093266963959,
-0.1493905782699585,
-0.4444708228111267,
0.22250130772590637,
0.024951934814453125,
0.29927247762680054,
0.18212828040122986,
-0.05208597332239151,
-0.0118195666000247,
0.4898882210254669,
0.35133063793182373,
0.18982169032096863,
-0.2529463768005371,
0.4215656518936157,
0.19481277465820312,
0.013160969130694866,
0.03307925537228584,
-0.03206319734454155,
0.3678124248981476,
-0.1624625027179718,
-0.40357139706611633,
0.10651335120201111,
-0.13443472981452942,
-0.18020875751972198,
-0.26582765579223633,
-0.1537497192621231,
0.1385156810283661,
-0.3242875337600708,
0.012066110968589783,
-0.06603601574897766,
-0.20603612065315247,
-0.3029893934726715,
0.2878238558769226,
-0.044949255883693695,
-0.06712116301059723,
0.19019490480422974,
0.3077351152896881,
-0.1275085210800171,
-0.0006443411111831665,
0.5376463532447815,
0.07462652772665024,
-0.16224811971187592,
0.5094355344772339,
0.11175154149532318,
-0.3362378478050232,
-0.34938547015190125,
0.051015280187129974,
0.14911648631095886,
-0.24326956272125244,
-0.2486800104379654,
-0.10690516233444214,
-0.09745912253856659,
0.041246041655540466,
0.5451427102088928,
0.2248040735721588,
0.03920890390872955,
-0.10743439942598343,
-0.33428701758384705,
-0.1630881428718567,
0.16988545656204224,
0.067816823720932,
0.3901502192020416,
-0.38052475452423096,
-0.396770715713501,
0.09462425857782364,
0.186661034822464,
-0.4227069318294525,
-0.1892775446176529,
-0.23363590240478516,
0.12303779274225235,
-0.31044715642929077,
0.020378682762384415,
-0.06751086562871933,
-0.16753359138965607,
0.18788594007492065,
-0.013172261416912079,
-0.21748405694961548,
-0.35345861315727234,
-0.10875517129898071,
0.08829759061336517,
0.279651015996933,
0.004056975245475769,
-0.00670591788366437,
-0.08336874842643738,
0.01525528822094202,
-0.0750318095088005,
0.13800117373466492,
0.033268965780735016,
-0.11087080836296082,
0.363015741109848,
0.40268751978874207,
0.21584782004356384,
0.16634421050548553,
-0.20231446623802185,
-0.18573448061943054,
0.0020617395639419556,
0.07741885632276535,
-0.2125263512134552,
0.15243719518184662,
-0.03633265197277069,
0.35721907019615173,
0.2480163872241974,
0.20251397788524628,
0.23489299416542053,
0.10693201422691345,
-0.24723617732524872,
0.026618052273988724,
0.43737950921058655,
0.1652073860168457,
0.46570736169815063,
-0.3929794728755951,
-0.10644219070672989,
0.3083151876926422,
0.32615387439727783,
-0.334635466337204,
-0.2354474514722824,
0.2383122593164444,
-0.030715610831975937,
0.00827125832438469,
-0.10379818826913834,
0.3246811330318451,
-0.31468427181243896,
0.32638978958129883,
0.12906327843666077,
-0.01603063941001892,
-0.5045763850212097,
0.43783339858055115,
0.360980361700058,
-0.15716411173343658,
-0.03455103561282158,
0.1231844499707222,
-0.4168657660484314,
-0.18489909172058105,
0.19582943618297577,
0.059228621423244476,
0.25063154101371765,
-0.16653835773468018,
0.34634995460510254,
0.07869581878185272,
-0.12082973122596741,
0.3847023546695709,
0.052905499935150146,
-0.22170507907867432,
0.0007731243968009949,
0.17723748087882996,
0.14256341755390167,
0.125392884016037,
-0.0030311448499560356,
-0.6026914715766907,
-0.07618093490600586,
-0.18464091420173645,
-0.04457976296544075,
-0.28987228870391846,
-0.21653151512145996,
-0.1640697419643402,
0.259366512298584,
-0.05609017238020897,
0.20659884810447693,
0.09146803617477417,
0.19611400365829468,
-0.38362663984298706,
-0.20052747428417206,
-0.03950522094964981,
0.03018791228532791,
0.24734145402908325,
-0.16781657934188843,
0.29211750626564026,
0.17738521099090576,
0.014497481286525726,
-0.02584834024310112,
0.3373010754585266,
0.048638369888067245,
0.2960171103477478,
-0.04300077632069588,
0.03536543250083923,
-0.010904857888817787,
-0.03725443780422211,
-0.0010579302906990051,
0.6261114478111267,
0.29361802339553833,
-0.0371856726706028,
0.3819361627101898,
0.23339153826236725,
-0.261107474565506,
0.04698525369167328,
-0.10656531155109406,
-0.03363233804702759,
0.041143693029880524,
0.060665562748909,
0.08223502337932587,
0.006865568459033966,
-0.22871562838554382,
-0.055542655289173126,
-0.38044291734695435,
-0.07072851061820984,
0.2462311089038849,
0.06900731474161148,
0.18937072157859802,
-0.2788068652153015,
0.1357274353504181,
0.0992317795753479,
0.6764662861824036,
0.11427511274814606,
-0.10291553288698196,
-0.18927624821662903,
-0.4550729990005493,
-0.7663634419441223,
0.15130427479743958,
-0.12633834779262543,
0.236780047416687,
0.030966706573963165,
-0.023913055658340454,
-0.017302848398685455,
0.2751367688179016,
0.2210092544555664,
-0.30851197242736816,
-0.10212048143148422,
0.12234704196453094,
-0.45856404304504395,
0.1492891013622284,
0.10259062051773071,
0.01070970855653286,
-0.09032214432954788,
-0.22472959756851196,
0.3206305205821991,
0.24737262725830078,
0.11702864617109299,
0.11725917458534241,
-0.17795132100582123,
-0.016002805903553963,
0.0617833137512207,
0.24400374293327332,
-0.02734263800084591,
0.4675125777721405,
-0.02809736132621765,
-0.019778743386268616,
-0.19034382700920105,
-0.22767303884029388,
-0.05753209814429283,
0.5175901651382446,
-0.054255399852991104,
0.38899555802345276,
0.18069395422935486,
-0.07704301178455353,
0.03121502511203289,
0.21200226247310638,
0.18826371431350708,
-0.10889053344726562,
-0.3354421854019165,
-0.2887290418148041,
0.2649356424808502,
-0.08707331866025925,
-0.0024648886173963547,
0.0011753402650356293,
-0.03618942201137543,
0.021725015714764595,
-0.14806321263313293,
-0.30163052678108215,
0.3077697157859802,
-0.05088086798787117,
-0.019030869007110596,
-0.29847824573516846,
0.036430977284908295,
-0.07312307506799698,
-0.024861888960003853,
-0.830384373664856,
-0.003006651997566223,
0.3457085192203522,
0.07030527293682098,
-0.003396935760974884,
0.1820061057806015,
-0.03335334733128548,
0.25351735949516296,
-0.12769103050231934,
0.21610836684703827,
-0.056510038673877716,
-0.06441519409418106,
-0.12409058213233948,
-0.15160508453845978
] |
https://github.com/huggingface/datasets/issues/3792 | Checksums didn't match for dataset source | auto_gptq is required for real quantization
['/home/sam/Doctorproject/OmniQuant-main/main.py', '--model', '/home/sam/Doctorproject/OmniQuant-main/PATH/TO/LLaMA/llama-7b/', '--epochs', '20', '--output_dir', '/home/sam/Doctorproject/OmniQuant-main/outdir/llama-7b-w3a16/', '--eval_ppl', '--wbits', '3', '--abits', '16', '--lwc', '--net', 'llama-7b', '--aug_loss']
[2024-03-13 17:58:48 root](main.py 262): INFO Namespace(model='/home/sam/Doctorproject/OmniQuant-main/PATH/TO/LLaMA/llama-7b/', cache_dir='./cache', output_dir='/home/sam/Doctorproject/OmniQuant-main/outdir/llama-7b-w3a16/', save_dir=None, resume=None, real_quant=False, calib_dataset='wikitext2', nsamples=128, batch_size=1, seed=2, tasks='', eval_ppl=True, num_fewshot=0, wbits=3, abits=16, group_size=None, alpha=0.5, let_lr=0.005, lwc_lr=0.01, wd=0, epochs=20, let=False, lwc=True, aug_loss=True, symmetric=False, disable_zero_point=False, a_dynamic_method='per_token', w_dynamic_method='per_channel', limit=-1, multigpu=False, deactive_amp=False, attn_implementation='eager', net='llama-7b', act_scales=None, act_shifts=None)
Loading checkpoint shards: 0%| | 0/33 [00:00<?, ?it/s]/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.__get__(instance, owner)()
Loading checkpoint shards: 100%|██████████| 33/33 [00:11<00:00, 2.98it/s]
vocab size: 32000
[2024-03-13 17:58:59 root](main.py 331): INFO === start quantization ===
get_wikitext2
[2024-03-13 18:02:20 datasets.load](load.py 1586): WARNING Using the latest cached version of the module from /home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126 (last modified on Wed Mar 13 16:54:26 2024) since it couldn't be found locally at wikitext, or remotely on the Hugging Face Hub.
Using the latest cached version of the module from /home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126 (last modified on Wed Mar 13 16:54:26 2024) since it couldn't be found locally at wikitext, or remotely on the Hugging Face Hub.
Downloading data: 243B [00:00, 877kB/s]
Generating test split: 0%| | 0/4358 [00:00<?, ? examples/s]
Traceback (most recent call last):
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1742, in _prepare_split_single
for key, record in generator:
File "/home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126/wikitext.py", line 187, in _generate_examples
with open(data_file, encoding="utf-8") as f:
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/streaming.py", line 75, in wrapper
return function(*args, download_config=download_config, **kwargs)
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/download/streaming_download_manager.py", line 507, in xopen
return open(main_hop, mode, *args, **kwargs)
NotADirectoryError: [Errno 20] Not a directory: '/home/sam/.cache/huggingface/datasets/downloads/94be2a7b3fff32ae7379658c8d3821035b666baddad3a06d29b55ab3a4ab3115/wikitext-2-raw/wiki.test.raw'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/sam/Doctorproject/OmniQuant-main/main.py", line 382, in <module>
main()
File "/home/sam/Doctorproject/OmniQuant-main/main.py", line 339, in main
dataloader, _ = get_loaders(
File "/home/sam/Doctorproject/OmniQuant-main/datautils.py", line 178, in get_loaders
return get_wikitext2(nsamples, seed, seqlen, model)
File "/home/sam/Doctorproject/OmniQuant-main/datautils.py", line 37, in get_wikitext2
traindata = load_dataset(path='wikitext', name='wikitext-2-raw-v1', split='train', download_mode="force_redownload")
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/load.py", line 2598, in load_dataset
builder_instance.download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1021, in download_and_prepare
self._download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1783, in _download_and_prepare
super()._download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1116, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1621, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1778, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
@albertvillanova @Y0mingZhang @kwchurch @HosseynGT @rafikg I tried the solutions you provided above, but none of them worked. Could you please give me some guidance
| ## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
| 418 | Checksums didn't match for dataset source
## Dataset viewer issue for 'wiki_lingua*'
**Link:** *link to the dataset viewer page*
`data = datasets.load_dataset("wiki_lingua", name=language, split="train[:2000]")
`
*short description of the issue*
```
[NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=11wMGqNVSwwk6zUnDaJEgm3qT71kAHeff']]()
```
Am I the one who added this dataset ? No
auto_gptq is required for real quantization
['/home/sam/Doctorproject/OmniQuant-main/main.py', '--model', '/home/sam/Doctorproject/OmniQuant-main/PATH/TO/LLaMA/llama-7b/', '--epochs', '20', '--output_dir', '/home/sam/Doctorproject/OmniQuant-main/outdir/llama-7b-w3a16/', '--eval_ppl', '--wbits', '3', '--abits', '16', '--lwc', '--net', 'llama-7b', '--aug_loss']
[2024-03-13 17:58:48 root](main.py 262): INFO Namespace(model='/home/sam/Doctorproject/OmniQuant-main/PATH/TO/LLaMA/llama-7b/', cache_dir='./cache', output_dir='/home/sam/Doctorproject/OmniQuant-main/outdir/llama-7b-w3a16/', save_dir=None, resume=None, real_quant=False, calib_dataset='wikitext2', nsamples=128, batch_size=1, seed=2, tasks='', eval_ppl=True, num_fewshot=0, wbits=3, abits=16, group_size=None, alpha=0.5, let_lr=0.005, lwc_lr=0.01, wd=0, epochs=20, let=False, lwc=True, aug_loss=True, symmetric=False, disable_zero_point=False, a_dynamic_method='per_token', w_dynamic_method='per_channel', limit=-1, multigpu=False, deactive_amp=False, attn_implementation='eager', net='llama-7b', act_scales=None, act_shifts=None)
Loading checkpoint shards: 0%| | 0/33 [00:00<?, ?it/s]/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/torch/_utils.py:776: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly. To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
return self.fget.__get__(instance, owner)()
Loading checkpoint shards: 100%|██████████| 33/33 [00:11<00:00, 2.98it/s]
vocab size: 32000
[2024-03-13 17:58:59 root](main.py 331): INFO === start quantization ===
get_wikitext2
[2024-03-13 18:02:20 datasets.load](load.py 1586): WARNING Using the latest cached version of the module from /home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126 (last modified on Wed Mar 13 16:54:26 2024) since it couldn't be found locally at wikitext, or remotely on the Hugging Face Hub.
Using the latest cached version of the module from /home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126 (last modified on Wed Mar 13 16:54:26 2024) since it couldn't be found locally at wikitext, or remotely on the Hugging Face Hub.
Downloading data: 243B [00:00, 877kB/s]
Generating test split: 0%| | 0/4358 [00:00<?, ? examples/s]
Traceback (most recent call last):
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1742, in _prepare_split_single
for key, record in generator:
File "/home/sam/.cache/huggingface/modules/datasets_modules/datasets/wikitext/a241db52902eaf2c6aa732210bead40c090019a499ceb13bcbfa3f8ab646a126/wikitext.py", line 187, in _generate_examples
with open(data_file, encoding="utf-8") as f:
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/streaming.py", line 75, in wrapper
return function(*args, download_config=download_config, **kwargs)
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/download/streaming_download_manager.py", line 507, in xopen
return open(main_hop, mode, *args, **kwargs)
NotADirectoryError: [Errno 20] Not a directory: '/home/sam/.cache/huggingface/datasets/downloads/94be2a7b3fff32ae7379658c8d3821035b666baddad3a06d29b55ab3a4ab3115/wikitext-2-raw/wiki.test.raw'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/sam/Doctorproject/OmniQuant-main/main.py", line 382, in <module>
main()
File "/home/sam/Doctorproject/OmniQuant-main/main.py", line 339, in main
dataloader, _ = get_loaders(
File "/home/sam/Doctorproject/OmniQuant-main/datautils.py", line 178, in get_loaders
return get_wikitext2(nsamples, seed, seqlen, model)
File "/home/sam/Doctorproject/OmniQuant-main/datautils.py", line 37, in get_wikitext2
traindata = load_dataset(path='wikitext', name='wikitext-2-raw-v1', split='train', download_mode="force_redownload")
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/load.py", line 2598, in load_dataset
builder_instance.download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1021, in download_and_prepare
self._download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1783, in _download_and_prepare
super()._download_and_prepare(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1116, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1621, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/home/sam/anaconda3/envs/omniquant/lib/python3.10/site-packages/datasets/builder.py", line 1778, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
@albertvillanova @Y0mingZhang @kwchurch @HosseynGT @rafikg I tried the solutions you provided above, but none of them worked. Could you please give me some guidance
| [
-0.3555406928062439,
0.35499897599220276,
-0.049911919981241226,
0.23800629377365112,
0.38942569494247437,
-0.02423764020204544,
0.04631569981575012,
0.5024418234825134,
0.0628199428319931,
0.08423274010419846,
-0.10946397483348846,
0.15064756572246552,
-0.019580066204071045,
0.18422649800777435,
0.02689904347062111,
0.06746178865432739,
0.2048317790031433,
0.07627618312835693,
-0.15537123382091522,
-0.11035842448472977,
-0.3912290632724762,
0.18238550424575806,
0.0299566388130188,
-0.0835137814283371,
-0.23727232217788696,
-0.04310136288404465,
0.09012706577777863,
-0.17466533184051514,
-0.2398492842912674,
-0.24678871035575867,
0.26497119665145874,
0.2390352189540863,
0.0389530286192894,
0.2817416489124298,
-0.00011267475929344073,
0.2102523297071457,
0.26237934827804565,
-0.13990364968776703,
-0.16509263217449188,
0.05357061326503754,
-0.24964562058448792,
-0.31588080525398254,
-0.15684521198272705,
-0.19574928283691406,
-0.2505156993865967,
0.13160596787929535,
0.017703581601381302,
-0.36113232374191284,
0.051312513649463654,
0.44336625933647156,
0.2225215882062912,
0.2550055980682373,
0.2453547567129135,
0.09570839256048203,
0.25657033920288086,
-0.24169863760471344,
-0.08476509898900986,
0.15360957384109497,
-0.08055900037288666,
-0.06381461024284363,
-0.1525821089744568,
0.3783278167247772,
-0.1583646833896637,
-0.14544141292572021,
0.06739114224910736,
-0.24909643828868866,
-0.02722012996673584,
-0.2831766903400421,
0.2386450469493866,
0.4130093455314636,
0.5086553692817688,
-0.2280121147632599,
-0.35761013627052307,
0.03676910698413849,
-0.13443103432655334,
-0.27829569578170776,
0.28653234243392944,
0.13365842401981354,
-0.04548804461956024,
0.0633244514465332,
-0.3497151732444763,
0.18120038509368896,
-0.0508878156542778,
0.16878831386566162,
-0.136926531791687,
0.5750553607940674,
0.09555565565824509,
0.025179758667945862,
-0.08460034430027008,
-0.06779001653194427,
0.29628658294677734,
-0.09510686248540878,
-0.39995908737182617,
0.25394406914711,
-0.5362280011177063,
-0.10922747850418091,
0.01232297345995903,
0.5978782773017883,
0.4160347580909729,
0.2941148281097412,
-0.22870676219463348,
0.1895546317100525,
-0.08106701076030731,
-0.07665339857339859,
-0.0693826973438263,
0.3871771991252899,
-0.021180272102355957,
0.29040631651878357,
0.2873747944831848,
0.14489716291427612,
-0.13038694858551025,
0.08465954661369324,
-0.05184313282370567,
-0.22423583269119263,
0.3024519383907318,
0.06301723420619965,
0.0016022399067878723,
-0.27695783972740173,
-0.35964104533195496,
0.27089789509773254,
-0.1757870316505432,
-0.18367063999176025,
0.1067301332950592,
0.28911375999450684,
-0.0443904735147953,
0.22830414772033691,
-0.10369783639907837,
0.22887642681598663,
-0.19892610609531403,
-0.23214729130268097,
-0.2788947820663452,
0.11457732319831848,
-0.0942828580737114,
-0.04187967628240585,
0.1337885707616806,
0.048142582178115845,
0.4548243284225464,
-0.13037177920341492,
0.27088290452957153,
-0.20554567873477936,
0.03778175264596939,
-0.1903272271156311,
-0.1667112410068512,
0.37437212467193604,
-0.17927399277687073,
0.08922470360994339,
0.36774712800979614,
-0.10918907821178436,
-0.10168298333883286,
0.1681319773197174,
-0.1589502990245819,
-0.09490138292312622,
-0.05902843177318573,
0.24033573269844055,
-0.3587080240249634,
-0.15607433021068573,
0.011043034493923187,
-0.18041305243968964,
0.47417107224464417,
-0.3608638048171997,
0.0816606804728508,
-0.30193960666656494,
-0.11344057321548462,
-0.24869923293590546,
0.3235800862312317,
0.17964231967926025,
-0.26185333728790283,
0.09054231643676758,
-0.1496400237083435,
0.011127146892249584,
0.24836993217468262,
0.19984902441501617,
-0.043259840458631516,
0.48687979578971863,
-0.3044385313987732,
0.050074562430381775,
0.32923829555511475,
-0.4038551449775696,
-0.6588646769523621,
-0.22243136167526245,
0.12201029062271118,
0.3706601560115814,
0.2169569730758667,
0.1825418919324875,
0.001024545170366764,
0.00035676686093211174,
-0.07338157296180725,
-0.003349699079990387,
0.21732445061206818,
0.1129772737622261,
-0.3305530548095703,
-0.24812723696231842,
0.1453588455915451,
0.21092912554740906,
0.20963968336582184,
-0.23296555876731873,
0.19142095744609833,
-0.054053060710430145,
0.34085696935653687,
-0.2500513792037964,
-0.04574622958898544,
0.008406737819314003,
0.4538803696632385,
-0.2219952791929245,
0.08404998481273651,
-0.2281981110572815,
-0.2227415144443512,
0.32774868607521057,
-0.36060628294944763,
0.23434357345104218,
-0.2325705736875534,
-0.1331932246685028,
-0.3468514382839203,
-0.21383702754974365,
-0.5270731449127197,
-0.25854018330574036,
0.22467324137687683,
0.37911275029182434,
0.10539516806602478,
0.14961658418178558,
0.0625421404838562,
0.09670887887477875,
-0.25187718868255615,
-0.014455662108957767,
-0.10517169535160065,
0.10591281950473785,
-0.12983709573745728,
-0.0923522561788559,
0.08168593049049377,
0.19036298990249634,
0.1255512237548828,
-0.05108173191547394,
-0.19954103231430054,
0.36894094944000244,
0.2555716335773468,
0.20289939641952515,
0.04911312460899353,
0.35014456510543823,
-0.1268129199743271,
-0.49034789204597473,
0.01942404732108116,
0.23787544667720795,
0.07305625826120377,
-0.08154067397117615,
-0.19589099287986755,
0.5416394472122192,
0.07279656082391739,
-0.09497565776109695,
-0.12437033653259277,
-0.06040826439857483,
0.4642651081085205,
-0.10110446810722351,
-0.055440135300159454,
-0.19420647621154785,
0.27407100796699524,
0.24498285353183746,
0.1061573475599289,
0.04285833239555359,
0.06028309464454651,
0.0510762520134449,
0.4870259463787079,
-0.0016910005360841751,
0.1537362039089203,
-0.037147797644138336,
0.009154915809631348,
-0.006783630698919296,
0.0924101322889328,
0.23362486064434052,
0.24902838468551636,
0.16157926619052887,
0.05276557803153992,
0.11132564395666122,
-0.30647584795951843,
-0.1613749861717224,
0.23286345601081848,
0.011025756597518921,
0.18486972153186798,
0.4671684801578522,
-0.027638768777251244,
-0.04633348807692528,
-0.4778132140636444,
0.2128947675228119,
-0.02478688955307007,
0.37054240703582764,
-0.3697282373905182,
-0.09991434961557388,
-0.1578141301870346,
-0.18094411492347717,
-0.08555139601230621,
-0.17663811147212982,
-0.40593433380126953,
-0.47110676765441895,
-0.04765622317790985,
-0.09734830260276794,
0.0837261974811554,
0.3862098753452301,
-0.40489161014556885,
-0.044728681445121765,
0.022925009950995445,
-0.2191280573606491,
0.043577179312705994,
-0.22062528133392334,
-0.127823144197464,
0.11997510492801666,
0.49535226821899414,
-0.1544148027896881,
0.4381638169288635,
-0.38763442635536194,
0.06645013391971588,
-0.2610316872596741,
-0.4236055910587311,
-0.035317257046699524,
-0.18943506479263306,
0.44913777709007263,
0.03848525881767273,
0.19080039858818054,
-0.1127866804599762,
-0.13689111173152924,
0.047345008701086044,
0.10075925290584564,
-0.32809293270111084,
0.09049151092767715,
-0.15093959867954254,
-0.08482329547405243,
0.09004063904285431,
-0.21173569560050964,
-0.13967427611351013,
-0.22880898416042328,
-0.13354498147964478,
0.23726694285869598,
0.18219158053398132,
0.08950783312320709,
-0.11983470618724823,
0.20796306431293488,
0.020337658002972603,
0.19324493408203125,
-0.28365907073020935,
-0.471101850271225,
0.5874142050743103,
0.07982917129993439,
-0.20358531177043915,
0.014110755175352097,
-0.15169723331928253,
0.5216829776763916,
-0.02429622784256935,
-0.5207651853561401,
-0.20203134417533875,
-0.29076987504959106,
0.3658984899520874,
0.3169862926006317,
0.0568854883313179,
0.33698803186416626,
0.13967953622341156,
0.002236234024167061,
-0.27071160078048706,
-0.1258852481842041,
0.1397048383951187,
-0.25666576623916626,
0.43780839443206787,
-0.24526989459991455,
0.3278781473636627,
-0.09192832559347153,
0.8381865620613098,
0.6075604557991028,
0.22198563814163208,
0.30074965953826904,
0.06203237175941467,
0.37705013155937195,
-0.26965010166168213,
-0.25193843245506287,
0.1325140744447708,
-0.1259269118309021,
-0.02042226865887642,
0.24041396379470825,
-0.12468875199556351,
-0.006643231958150864,
-0.12182135134935379,
-0.06429566442966461,
-0.42491137981414795,
-0.19374866783618927,
-0.07493467628955841,
-0.3233065605163574,
0.15493088960647583,
0.020736295729875565,
0.02671085298061371,
-0.13255132734775543,
-0.438314288854599,
0.2358640432357788,
0.3340801000595093,
-0.16514387726783752,
-0.08775600790977478,
-0.5113853812217712,
-0.22393769025802612,
-0.08309521526098251,
0.31944146752357483,
0.10899141430854797,
0.3077501356601715,
0.020144153386354446,
-0.00047782808542251587,
0.016641907393932343,
-0.21652072668075562,
0.44200390577316284,
-0.5157909393310547,
0.19748352468013763,
0.007057543843984604,
0.24550935626029968,
0.14060993492603302,
-0.08368881046772003,
-0.0915774405002594,
-0.3062661588191986,
0.18804410099983215,
0.2769389748573303,
-0.2646636664867401,
0.13751095533370972,
0.177510604262352,
0.26135382056236267,
-0.2691064178943634,
-0.17374931275844574,
-0.3151986002922058,
-0.2575273811817169,
-0.10739713907241821,
0.04396671801805496,
0.04791056364774704,
0.24586154520511627,
-0.21486246585845947,
0.07104417681694031,
-0.0757041648030281,
-0.179192453622818,
0.3568190336227417,
-0.048458486795425415,
0.2692023515701294,
0.22562482953071594,
0.18440930545330048,
-0.05379932373762131,
0.12533822655677795,
0.24127450585365295,
0.8037043213844299,
-0.23463881015777588,
-0.47496551275253296,
-0.25413021445274353,
-0.21102023124694824,
0.12073477357625961,
0.09055532515048981,
0.04969096928834915,
0.006259404122829437,
0.30057671666145325,
-0.11705684661865234,
0.12089966982603073,
0.07677367329597473,
0.17826928198337555,
0.17435787618160248,
-0.44879525899887085,
-0.3021756410598755,
0.2570515275001526,
0.07005567848682404,
-0.13044388592243195,
0.21369580924510956,
0.11043447256088257,
-0.37705957889556885,
0.09438228607177734,
0.3456704020500183,
0.9608771800994873,
0.1181730255484581,
0.11619947850704193,
0.20092296600341797,
-0.17075057327747345,
0.18967969715595245,
-0.1803896278142929,
0.08417689055204391,
-0.3989242911338806,
-0.2333020269870758,
-0.08174315840005875,
-0.14856742322444916,
0.162052720785141,
-0.113690584897995,
-0.34236589074134827,
0.259477436542511,
-0.22811466455459595,
0.08316642791032791,
0.1028289943933487,
0.19181551039218903,
0.024642489850521088,
0.13131551444530487,
0.17605583369731903,
0.13141335546970367,
-0.08821265399456024,
0.1253468245267868,
-0.11602962762117386,
-0.2067900449037552,
-0.0838620513677597,
-0.029955323785543442,
-0.37828528881073,
0.22021985054016113,
-0.31607431173324585,
0.04005300998687744,
-0.0129224993288517,
-0.04861271381378174,
-0.09140080213546753,
0.4005080461502075,
0.47416216135025024,
0.23920997977256775,
-0.2602219581604004,
0.29502245783805847,
0.44412538409233093,
0.1409033089876175,
0.24985378980636597,
-0.008279579691588879,
0.39965084195137024,
-0.11126093566417694,
-0.22347697615623474,
0.2201491892337799,
-0.23385073244571686,
-0.22727473080158234,
-0.10912033915519714,
-0.37763774394989014,
0.2243480235338211,
-0.3368894159793854,
-0.009169687516987324,
-0.09832821786403656,
-0.06660981476306915,
-0.30825427174568176,
0.1801622062921524,
0.1631687879562378,
-0.14737103879451752,
0.22632548213005066,
-0.13099347054958344,
-0.2690586447715759,
-0.1401800513267517,
0.32909584045410156,
0.20582735538482666,
-0.056994400918483734,
0.6472823619842529,
-0.17617812752723694,
-0.3769199252128601,
-0.20309123396873474,
0.20080187916755676,
-0.05943754315376282,
-0.4107697904109955,
-0.21117128431797028,
0.13572320342063904,
0.03845010697841644,
0.006284083239734173,
0.41986241936683655,
0.31542450189590454,
0.05704315006732941,
-0.017829131335020065,
-0.5339938402175903,
-0.20199137926101685,
-0.049037396907806396,
0.019717972725629807,
0.3001391589641571,
-0.24663850665092468,
-0.1088791936635971,
0.0370408296585083,
0.2817097306251526,
-0.35358598828315735,
-0.3298777937889099,
-0.3354395031929016,
0.005834566429257393,
-0.24164217710494995,
0.1002897322177887,
0.09791137278079987,
0.06645537912845612,
0.18218779563903809,
-0.19067730009555817,
-0.23394668102264404,
-0.21479791402816772,
-0.09498068690299988,
0.13505065441131592,
0.18256229162216187,
-0.24837659299373627,
0.25202473998069763,
-0.1640249639749527,
0.014146407134830952,
-0.08478272706270218,
-0.019647663459181786,
-0.0885850191116333,
-0.09777295589447021,
0.2331630438566208,
0.33411258459091187,
0.009939953684806824,
-0.09288938343524933,
-0.14610707759857178,
-0.3585401773452759,
-0.19640974700450897,
-0.008658114820718765,
0.013009250164031982,
0.00672262255102396,
-0.09097518771886826,
0.31250905990600586,
0.1467067301273346,
-0.008168108761310577,
0.04036941006779671,
0.23170065879821777,
-0.20815418660640717,
-0.1502385288476944,
0.30976927280426025,
0.18973730504512787,
0.2637447118759155,
-0.38221800327301025,
-0.15414837002754211,
0.31141525506973267,
0.19941309094429016,
-0.5290807485580444,
-0.06457678228616714,
0.11592577397823334,
-0.00013977289199829102,
0.1364731639623642,
0.2005934864282608,
0.24318119883537292,
-0.4055110812187195,
0.5138337016105652,
-0.08616046607494354,
0.21085909008979797,
-0.3730303645133972,
0.3462814390659332,
0.5045557618141174,
-0.13908660411834717,
0.03723631799221039,
0.3328702449798584,
-0.08327034115791321,
-0.15725472569465637,
0.2904313802719116,
-0.10275314003229141,
0.24384233355522156,
-0.2146916389465332,
0.16821008920669556,
-0.190517395734787,
-0.24994908273220062,
0.488076776266098,
0.04803796857595444,
-0.3486820459365845,
0.01811380311846733,
0.09447038173675537,
0.10555669665336609,
0.060982245951890945,
0.19635681807994843,
-0.4521135091781616,
0.15826354920864105,
-0.10862661153078079,
-0.058367788791656494,
-0.323293000459671,
-0.28986597061157227,
0.0965682864189148,
0.018534723669290543,
-0.002043217420578003,
0.1172281801700592,
-0.19228819012641907,
0.17529915273189545,
-0.3857911229133606,
-0.030641263350844383,
-0.061497271060943604,
-0.09797481447458267,
0.21158266067504883,
-0.25071248412132263,
0.4627145528793335,
0.3272721767425537,
-0.07840059697628021,
-0.11035779118537903,
0.5367576479911804,
0.2792156934738159,
0.43410471081733704,
0.09538212418556213,
-0.044095832854509354,
0.23136019706726074,
0.019889546558260918,
-0.029276326298713684,
0.5529900789260864,
0.08433800935745239,
-0.08170750737190247,
0.3310462534427643,
0.13010208308696747,
-0.13907980918884277,
0.061211928725242615,
-0.03714418783783913,
-0.06173008307814598,
-0.06881594657897949,
0.33880186080932617,
-0.08074820786714554,
0.02040288597345352,
-0.07572512328624725,
0.08192937821149826,
-0.324268639087677,
0.009458406828343868,
0.18445540964603424,
0.013728879392147064,
0.13439679145812988,
-0.1345640867948532,
0.11277054250240326,
-0.00807616300880909,
0.40462684631347656,
0.3334653079509735,
-0.05102468281984329,
-0.3511534631252289,
-0.2475586086511612,
-0.6810211539268494,
0.22490663826465607,
-0.12394373118877411,
-0.11847079545259476,
0.015586232766509056,
-0.07357541471719742,
0.010936066508293152,
-0.012204829603433609,
0.2652406692504883,
-0.08980221301317215,
-0.13616394996643066,
0.07482004910707474,
-0.3293187916278839,
-0.02253873273730278,
-0.18499885499477386,
-0.08025847375392914,
-0.09866524487733841,
-0.32836514711380005,
0.37306472659111023,
0.017773866653442383,
0.12099944800138474,
0.07132963091135025,
0.10102948546409607,
0.16347746551036835,
0.24737171828746796,
0.14799857139587402,
0.2264750599861145,
0.6419512033462524,
-0.0820864886045456,
0.08001082390546799,
-0.025872360914945602,
-0.021458128467202187,
-0.40800443291664124,
0.33549562096595764,
-0.0217292383313179,
0.43094736337661743,
0.08681211620569229,
-0.3489934802055359,
-0.072238989174366,
0.1336747258901596,
0.14833378791809082,
-0.25401920080184937,
-0.10735993832349777,
-0.13824954628944397,
-0.015878044068813324,
-0.08945675194263458,
0.1840922087430954,
0.04511784017086029,
0.021272704005241394,
0.2569373548030853,
-0.20387887954711914,
-0.2513236105442047,
0.2833760380744934,
-0.1707148551940918,
-0.11804507672786713,
-0.08752866089344025,
0.1331043541431427,
-0.5023722052574158,
-0.12165047973394394,
-0.5532792210578918,
0.04658307880163193,
0.6080544590950012,
0.055410921573638916,
0.03640315309166908,
0.40567547082901,
-0.005646539852023125,
0.23966921865940094,
0.013035453855991364,
-0.04812685400247574,
0.1149025708436966,
-0.12760773301124573,
-0.14100469648838043,
-0.18689662218093872
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | I see two options:
1. drop the "dev" keyword since it can be considered too generic
2. improve the pattern to something more reasonable, e.g. asking for a separator before and after "dev"
```python
["*[ ._-]dev[ ._-]*", "dev[ ._-]*"]
```
I think 2. is nice. If we agree on this one we can even decide to require the separation for the other split keywords "train", "test" etc. | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 67 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
I see two options:
1. drop the "dev" keyword since it can be considered too generic
2. improve the pattern to something more reasonable, e.g. asking for a separator before and after "dev"
```python
["*[ ._-]dev[ ._-]*", "dev[ ._-]*"]
```
I think 2. is nice. If we agree on this one we can even decide to require the separation for the other split keywords "train", "test" etc. | [
0.00019801035523414612,
-0.022332601249217987,
-0.0004891827702522278,
0.03128046914935112,
0.2191145122051239,
-0.20049825310707092,
0.24112850427627563,
0.5713523626327515,
-0.2572959065437317,
-0.13796325027942657,
0.14218729734420776,
0.17518934607505798,
-0.19896861910820007,
0.218501016497612,
0.015330323949456215,
0.14574381709098816,
0.03951387107372284,
0.3197077810764313,
0.15152588486671448,
-0.11663476377725601,
-0.21981678903102875,
0.10003495961427689,
-0.15549564361572266,
0.17411816120147705,
-0.2647837996482849,
-0.014403073117136955,
0.2917338013648987,
0.15120908617973328,
-0.11582959443330765,
-0.4627322852611542,
0.3759627044200897,
-0.11825360357761383,
-0.26959919929504395,
0.21733984351158142,
-0.00011870978778460994,
0.0670638233423233,
0.21980175375938416,
-0.23026661574840546,
-0.07572858780622482,
-0.18346481025218964,
-0.29680073261260986,
0.0022940626367926598,
0.22906942665576935,
-0.013225145637989044,
-0.21516427397727966,
-0.17979827523231506,
-0.07752926647663116,
-0.11694860458374023,
0.7305977940559387,
0.442778617143631,
0.09739194810390472,
-0.031243089586496353,
-0.26810604333877563,
0.3042497932910919,
-0.07716871052980423,
0.4378034472465515,
0.038384124636650085,
-0.1174183040857315,
0.4219528138637543,
-0.18864652514457703,
0.1858578622341156,
0.21387195587158203,
-0.20081987977027893,
-0.04381785914301872,
0.27130329608917236,
0.047519128769636154,
-0.10843627899885178,
-0.5572141408920288,
-0.019721243530511856,
0.5428009033203125,
0.2997436821460724,
-0.13277509808540344,
-0.15054935216903687,
-0.20979353785514832,
-0.14076264202594757,
-0.11508996039628983,
0.06357808411121368,
0.48003649711608887,
-0.21101754903793335,
0.3628178834915161,
-0.023565666750073433,
-0.07591573148965836,
-0.12583976984024048,
0.026849031448364258,
-0.32133567333221436,
0.5004464387893677,
0.07028263062238693,
0.1447593867778778,
-0.020869355648756027,
0.22952847182750702,
-0.14553597569465637,
-0.23612701892852783,
-0.3424966335296631,
0.17342554032802582,
-0.014109041541814804,
-0.14805829524993896,
-0.17099174857139587,
-0.22237253189086914,
0.2963193356990814,
0.07771699130535126,
-0.14830031991004944,
0.10629784315824509,
-0.28687867522239685,
-0.08768255263566971,
0.32693052291870117,
-0.016997678205370903,
0.32436269521713257,
0.2379036694765091,
0.28925639390945435,
-0.20649491250514984,
-0.05792445316910744,
0.06257513165473938,
0.3159635066986084,
0.02659689262509346,
0.15808700025081635,
0.07162094116210938,
0.23578839004039764,
-0.16665588319301605,
-0.28254303336143494,
0.1444139927625656,
-0.43607446551322937,
-0.10497226566076279,
0.04611915349960327,
0.27326881885528564,
0.2284064143896103,
0.3492756187915802,
-0.10773064196109772,
0.28292083740234375,
0.13637565076351166,
-0.45169734954833984,
-0.07474737614393234,
-0.000722493976354599,
-0.19170844554901123,
-0.12404344230890274,
0.19096067547798157,
-0.052644383162260056,
-0.05010397732257843,
0.3578547537326813,
-0.29934757947921753,
-0.31142595410346985,
-0.04086786508560181,
0.07152596116065979,
0.3950224816799164,
0.4694710969924927,
-0.3503129482269287,
0.16746948659420013,
0.0929112583398819,
-0.39667558670043945,
-0.17377442121505737,
0.2701394557952881,
-0.22450444102287292,
-0.3606037497520447,
-0.09810839593410492,
0.16117523610591888,
-0.15687157213687897,
0.41413864493370056,
0.004913143813610077,
0.15414446592330933,
-0.04143647104501724,
-0.07478754967451096,
-0.04239904135465622,
-0.2053506225347519,
0.17103023827075958,
-0.1816767156124115,
0.05482055991888046,
0.1813320815563202,
-0.4950348436832428,
0.12914827466011047,
-0.07828936725854874,
-0.21553219854831696,
0.20498248934745789,
0.16054366528987885,
-0.3379325866699219,
0.41540688276290894,
-0.4379733204841614,
0.21974985301494598,
0.3838561475276947,
0.08951947093009949,
-0.2038426250219345,
0.5850688219070435,
-0.2662927806377411,
0.30657657980918884,
0.17962098121643066,
-0.1402965486049652,
0.09600913524627686,
0.11994027346372604,
0.019181329756975174,
0.39704346656799316,
0.02937355823814869,
0.03197178989648819,
-0.15778064727783203,
0.0140120480209589,
0.10147088766098022,
-0.03273806720972061,
0.34491801261901855,
0.18943294882774353,
-0.05365634709596634,
0.06287846714258194,
0.656593382358551,
-0.05713490769267082,
-0.18142282962799072,
-0.02912013977766037,
0.3136986494064331,
-0.2574162483215332,
0.181830495595932,
-0.3609101176261902,
-0.38148847222328186,
0.0018045678734779358,
0.03717060387134552,
-0.17222627997398376,
-0.16038526594638824,
-0.2998899817466736,
-0.27193477749824524,
-0.025109020993113518,
-0.07266230881214142,
0.10428246855735779,
0.06549619138240814,
-0.07129444181919098,
0.07396453619003296,
0.016068004071712494,
-0.321427583694458,
0.32621562480926514,
0.121025949716568,
0.2275758981704712,
-0.1379179209470749,
0.2638796269893646,
0.1263042390346527,
-0.01319959294050932,
-0.21686068177223206,
0.16020816564559937,
0.057632457464933395,
-0.3048661947250366,
0.1424599587917328,
0.2844197750091553,
0.3495088219642639,
-0.14974761009216309,
-0.38010698556900024,
0.06134367734193802,
0.06645501405000687,
-0.0011003278195858002,
-0.2293635904788971,
0.25567013025283813,
0.17618641257286072,
-0.3794994056224823,
0.06949398666620255,
0.5455440878868103,
-0.07000948488712311,
0.18514278531074524,
-0.06603503972291946,
0.012210434302687645,
0.2585194706916809,
-0.3102911710739136,
-0.07216312736272812,
-0.2523166537284851,
0.2616299092769623,
-0.0026387646794319153,
0.10766783356666565,
0.22184637188911438,
-0.34092673659324646,
-0.10288520902395248,
0.30095982551574707,
-0.3570410907268524,
0.06516636162996292,
0.11656031757593155,
-0.11517324298620224,
0.039430759847164154,
-0.18539458513259888,
0.45079633593559265,
0.5713419318199158,
0.16165770590305328,
-0.27409476041793823,
0.25141745805740356,
0.04580862075090408,
-0.10813182592391968,
0.3707885444164276,
0.2186809629201889,
-0.20826496183872223,
0.260832279920578,
-0.18247650563716888,
-0.12998266518115997,
-0.4495161771774292,
0.027799662202596664,
0.097019262611866,
0.04032761603593826,
-0.5080071091651917,
0.11276683956384659,
-0.35193613171577454,
0.16388392448425293,
-0.37296828627586365,
-0.15540193021297455,
-0.3188851773738861,
-0.3784325420856476,
0.10927388817071915,
-0.12447339296340942,
-0.10615859925746918,
0.04643817991018295,
-0.06407060474157333,
0.16622847318649292,
-0.24001185595989227,
-0.42192956805229187,
-0.2699589133262634,
-0.05966240540146828,
-0.13486379384994507,
-0.07363652437925339,
0.3243084251880646,
0.1967877298593521,
0.2875964045524597,
-0.07017415016889572,
-0.30399197340011597,
0.08081918954849243,
-0.35969817638397217,
0.08582834899425507,
-0.07179528474807739,
0.17868483066558838,
0.29815712571144104,
0.28614524006843567,
0.3875276446342468,
-0.234998419880867,
-0.15492111444473267,
-0.059699542820453644,
-0.09063553065061569,
0.2013060301542282,
0.014320888556540012,
0.13681966066360474,
-0.30909380316734314,
-0.4328053891658783,
-0.1535363644361496,
-0.08372080326080322,
0.03667287528514862,
-0.26594340801239014,
0.020503439009189606,
0.07996179908514023,
-0.3489753007888794,
-0.27001190185546875,
-0.2659589350223541,
-0.05650600045919418,
-0.12434861809015274,
0.2853255569934845,
0.2384982705116272,
0.12482021749019623,
-0.07577557861804962,
0.07877278327941895,
-0.2477775663137436,
-0.011045925319194794,
-0.030788425356149673,
-0.4505434036254883,
-0.17524416744709015,
-0.23407356441020966,
-0.13345426321029663,
-0.3417867124080658,
-0.1997128129005432,
0.0707378163933754,
0.14226511120796204,
0.11191974580287933,
-0.09276384115219116,
0.05548412725329399,
0.1857660561800003,
-0.1143319383263588,
-0.004046812653541565,
0.08958700299263,
0.36792853474617004,
0.2409423291683197,
0.5671694278717041,
-0.09114386141300201,
-0.1350562870502472,
-0.06751756370067596,
0.010743841528892517,
0.234136700630188,
-0.08359085768461227,
-0.2912353277206421,
-0.18630804121494293,
-0.014296665787696838,
-0.22115327417850494,
0.14038875699043274,
-0.17274919152259827,
0.19771379232406616,
-0.007702913135290146,
0.14534473419189453,
-0.13757018744945526,
-0.25818121433258057,
0.3438124656677246,
-0.08417509496212006,
-0.10909783095121384,
0.31490692496299744,
0.3291676342487335,
0.14267784357070923,
-0.05839768424630165,
-0.06373119354248047,
0.40733975172042847,
0.14788372814655304,
-0.08374578505754471,
-0.45974406599998474,
-0.02895832248032093,
-0.18951794505119324,
0.3570021986961365,
-0.002500253263860941,
0.03592408075928688,
0.09379598498344421,
-0.0006199292838573456,
0.16488856077194214,
0.15783247351646423,
0.7085893750190735,
0.052638694643974304,
0.15927964448928833,
-0.03889460861682892,
-0.007120054215192795,
-0.07742761075496674,
-0.38587555289268494,
-0.2660960257053375,
0.11325150728225708,
0.32559505105018616,
0.5411133170127869,
-0.3899659514427185,
-0.1857762336730957,
0.03635602444410324,
0.3605668842792511,
-0.1307823210954666,
-0.10259019583463669,
-0.20820143818855286,
-0.29641321301460266,
0.07331348955631256,
0.2773419916629791,
0.38172242045402527,
0.077391617000103,
-0.05566607415676117,
-0.04921558499336243,
-0.08217347413301468,
-0.21345970034599304,
0.3905298709869385,
0.08203218877315521,
0.31390050053596497,
-0.20736871659755707,
0.18620865046977997,
-0.1493837535381317,
0.4480760991573334,
-0.062310777604579926,
0.45569151639938354,
-0.14769247174263,
-0.42459332942962646,
-0.4914887547492981,
-0.2620455324649811,
0.4911586344242096,
0.5797915458679199,
-0.12619608640670776,
0.07492797821760178,
0.016407405957579613,
0.08251651376485825,
-0.28184774518013,
0.32518893480300903,
0.3016846179962158,
-0.1270637959241867,
-0.6860477924346924,
-0.33718955516815186,
0.28510770201683044,
-0.024651631712913513,
-0.28480350971221924,
0.3688291907310486,
0.1860353648662567,
-0.5046844482421875,
0.5521907806396484,
-0.24864766001701355,
0.9538231492042542,
0.03495555371046066,
0.1327853947877884,
0.12902946770191193,
-0.2555444538593292,
0.17542164027690887,
-0.46558618545532227,
0.17923390865325928,
-0.4708908796310425,
-0.3182794749736786,
-0.1341017335653305,
-0.23411189019680023,
0.1260327845811844,
0.5024487376213074,
-0.05296899005770683,
0.25087010860443115,
-0.20568174123764038,
0.33918461203575134,
0.10954596102237701,
0.22657105326652527,
0.2198553830385208,
0.00009982287883758545,
-0.208708256483078,
-0.05932837352156639,
-0.34775179624557495,
0.09500670433044434,
0.006935568526387215,
-0.37448209524154663,
0.14207524061203003,
-0.5063502788543701,
-0.30598869919776917,
0.09030193090438843,
-0.24748066067695618,
-0.010020209476351738,
0.1843830943107605,
-0.18931874632835388,
0.07820390164852142,
0.24058504402637482,
-0.08905370533466339,
0.2955694794654846,
-0.040342770516872406,
0.3793395459651947,
-0.18022537231445312,
0.28739166259765625,
0.010110913775861263,
0.02660238742828369,
0.4430348575115204,
0.21013346314430237,
-0.1139502003788948,
-0.09292332082986832,
-0.24306818842887878,
-0.029664304107427597,
-0.21279972791671753,
0.3238788843154907,
-0.11482279002666473,
-0.4722013473510742,
-0.22623291611671448,
0.11959308385848999,
0.3119441866874695,
-0.11224503815174103,
0.07847918570041656,
0.1412152349948883,
-0.3753366768360138,
0.4328150451183319,
-0.2004268765449524,
-0.48093175888061523,
-0.03585444763302803,
0.08491959422826767,
0.11381839215755463,
-0.07428647577762604,
0.5046223402023315,
-0.166154682636261,
-0.00440678745508194,
-0.30188095569610596,
0.53361576795578,
0.44376203417778015,
-0.3005978465080261,
0.426423043012619,
-0.05843013525009155,
-0.1851738840341568,
0.0598338283598423,
0.036593906581401825,
0.1284179985523224,
0.017088502645492554,
-0.1035943478345871,
-0.4287707209587097,
0.1096225306391716,
0.03267321363091469,
-0.1699308156967163,
0.13106967508792877,
-0.0007416009902954102,
0.2798265218734741,
-0.20011049509048462,
0.20263135433197021,
-0.23305127024650574,
0.11924757808446884,
0.13186714053153992,
0.1537923514842987,
-0.3605421781539917,
-0.04989530146121979,
0.2306995987892151,
-0.00004459638148546219,
0.17982177436351776,
0.022710256278514862,
-0.05260486155748367,
-0.1845129132270813,
-0.19739176332950592,
0.1756676435470581,
-0.008420322090387344,
0.22117279469966888,
0.05228053778409958,
0.006112679839134216,
-0.11167080700397491,
-0.09338261187076569,
0.18226291239261627,
0.08981847018003464,
0.14429745078086853,
0.27970534563064575,
0.17380394041538239,
0.09634894132614136,
-0.21426640450954437,
-0.19585010409355164,
-0.39685413241386414,
0.5229972004890442,
0.054369695484638214,
0.14092211425304413,
-0.035568997263908386,
0.035052359104156494,
-0.27210062742233276,
0.030288495123386383,
0.018024101853370667,
0.2681158781051636,
0.1620108187198639,
-0.13357333838939667,
-0.061950210481882095,
0.011069905012845993,
0.47003090381622314,
0.670046329498291,
-0.5376970171928406,
0.1872207373380661,
0.1703762710094452,
0.14094141125679016,
-0.2726539075374603,
-0.35116884112358093,
0.6163100004196167,
0.30851811170578003,
-0.022987905889749527,
0.28970247507095337,
0.19047945737838745,
-0.017005562782287598,
-0.030880406498908997,
0.01930529996752739,
0.36773592233657837,
-0.22398070991039276,
0.30900129675865173,
0.7823275923728943,
-0.12958025932312012,
-0.036402519792318344,
0.18274067342281342,
-0.06787711381912231,
0.0030335262417793274,
0.7862098813056946,
-0.09634517878293991,
0.4619961082935333,
0.10458316653966904,
0.02084445208311081,
0.2914488911628723,
-0.19912151992321014,
-0.1758538782596588,
0.27288299798965454,
-0.4284963607788086,
0.32437610626220703,
0.2042004019021988,
-0.1689264178276062,
-0.36842256784439087,
-0.18485227227210999,
-0.3791830837726593,
-0.2038903683423996,
-0.22613781690597534,
0.14908675849437714,
0.16026856005191803,
-0.07287412881851196,
-0.1743684709072113,
0.21202349662780762,
0.11621735990047455,
0.0036418884992599487,
0.07495757937431335,
0.21259745955467224,
0.05866130068898201,
0.08534866571426392,
0.04438040405511856,
-0.16562464833259583,
0.27649015188217163,
-0.4862482249736786,
-0.07647538930177689,
-0.04826603829860687,
-0.15075743198394775,
0.5332822799682617,
-0.08799950778484344,
0.24481965601444244,
0.4429169297218323,
-0.09043654799461365,
-0.16914235055446625,
-0.36873093247413635,
-0.10922268033027649,
-0.08252064883708954,
0.3717938959598541,
0.004599913954734802,
0.2648407518863678,
0.3188350796699524,
0.16525880992412567,
-0.050337519496679306,
0.04316552355885506,
0.23229049146175385,
0.026156648993492126,
-0.45285290479660034,
0.4932233691215515,
0.20147448778152466,
-0.24943071603775024,
-0.3079507350921631,
-0.020774923264980316,
-0.09016890823841095,
-0.2346818894147873,
0.21346092224121094,
0.28170353174209595,
0.2126816213130951,
-0.15426602959632874,
0.04724083095788956,
-0.017734695225954056,
0.30423250794410706,
-0.11269336938858032,
0.015381138771772385,
-0.29255178570747375,
-0.013686425983905792,
-0.38676050305366516,
-0.02298346906900406,
-0.23991703987121582,
-0.14438468217849731,
0.3068805932998657,
-0.15088586509227753,
-0.013475067913532257,
0.15187343955039978,
-0.10620179772377014,
0.021133562549948692,
-0.024854626506567,
0.112958624958992,
-0.3628503382205963,
0.09388069808483124,
0.23504137992858887,
0.09698620438575745,
-0.076959028840065,
-0.3116643726825714,
0.3963647484779358,
-0.025726258754730225,
-0.04726584255695343,
0.06392157077789307,
-0.167059987783432,
0.3818327784538269,
0.45452046394348145,
0.35103681683540344,
0.37222209572792053,
0.34629106521606445,
-0.020368900150060654,
0.09981382638216019,
-0.05094664916396141,
-0.00876455195248127,
-0.40334352850914,
0.38139843940734863,
0.12901571393013,
0.21910925209522247,
-0.1736270934343338,
-0.0036078952252864838,
-0.27659693360328674,
0.10057860612869263,
-0.11465448886156082,
0.016130434349179268,
-0.6275091767311096,
0.03338641673326492,
-0.20852446556091309,
0.32121390104293823,
0.1675673872232437,
0.43695759773254395,
-0.14005134999752045,
-0.10458475351333618,
0.13169704377651215,
-0.2902420461177826,
0.2775026559829712,
-0.19605688750743866,
-0.5450372099876404,
-0.06226474419236183,
0.2458997219800949,
-0.09009135514497757,
-0.027798576280474663,
-0.3853638172149658,
-0.26619142293930054,
0.3242826461791992,
-0.2007635235786438,
-0.2890166640281677,
-0.0023468472063541412,
0.2883584797382355,
-0.24408261477947235,
-0.0652560219168663,
-0.07310232520103455,
0.2828901410102844,
-0.41420722007751465,
0.15490908920764923,
-0.3507865071296692
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | Yes, I had something like that on mind: "dev" not being part of a word.
```
"[^a-zA-Z]dev[^a-zA-Z]" | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 17 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
Yes, I had something like that on mind: "dev" not being part of a word.
```
"[^a-zA-Z]dev[^a-zA-Z]" | [
-0.08800217509269714,
0.027919262647628784,
-0.027738424018025398,
0.17703275382518768,
0.131300687789917,
-0.20753398537635803,
0.19297058880329132,
0.5046434998512268,
-0.2156713753938675,
-0.022831350564956665,
0.0592503547668457,
0.23835335671901703,
-0.02684652805328369,
0.1029326543211937,
0.05291245877742767,
0.35328853130340576,
0.10878490656614304,
0.3332923650741577,
0.05071192607283592,
-0.11127015948295593,
-0.09836944937705994,
0.1819356083869934,
-0.12267126142978668,
0.1927114725112915,
-0.24298110604286194,
-0.009577995166182518,
0.30274713039398193,
0.22536838054656982,
-0.28206050395965576,
-0.30110064148902893,
0.32851988077163696,
-0.13486529886722565,
-0.3200424909591675,
0.21086561679840088,
-0.00011273076961515471,
0.08673673868179321,
0.31007295846939087,
-0.24257834255695343,
-0.22994859516620636,
-0.1618558019399643,
-0.46613404154777527,
0.12244465947151184,
0.0029224203899502754,
0.0030957013368606567,
-0.03879611939191818,
-0.1804230958223343,
0.09421547502279282,
-0.29508501291275024,
0.5840398669242859,
0.4550175070762634,
0.16981443762779236,
-0.13998542726039886,
-0.18345123529434204,
0.0923478752374649,
-0.015952348709106445,
0.5846718549728394,
-0.01805809512734413,
-0.12141232192516327,
0.44487956166267395,
-0.09255512803792953,
0.01981494575738907,
0.2332061231136322,
-0.0860268846154213,
-0.058517713099718094,
0.20796096324920654,
-0.04590201750397682,
-0.19933882355690002,
-0.3405717611312866,
0.13735318183898926,
0.57967209815979,
0.43736544251441956,
-0.03476310521364212,
-0.053205639123916626,
-0.041483402252197266,
-0.17727701365947723,
0.009445471689105034,
0.21688562631607056,
0.4902152419090271,
-0.17946845293045044,
0.2891908884048462,
-0.10786310583353043,
0.02788444235920906,
-0.1414063572883606,
-0.03852920979261398,
-0.31767454743385315,
0.4120478928089142,
-0.1128460094332695,
0.0978851318359375,
-0.08141696453094482,
0.14718547463417053,
-0.12255468219518661,
-0.27776065468788147,
-0.6254976987838745,
0.10182686895132065,
-0.006912928074598312,
-0.11053985357284546,
-0.13708403706550598,
-0.21070516109466553,
0.46923211216926575,
-0.05149909108877182,
-0.0020663170143961906,
0.10489638149738312,
-0.29572638869285583,
-0.06340767443180084,
0.4367688000202179,
0.008485743775963783,
0.49372363090515137,
0.15863946080207825,
0.22761285305023193,
-0.31681010127067566,
0.10892854630947113,
0.009750636294484138,
0.20914535224437714,
0.16437457501888275,
-0.13962894678115845,
-0.06026832014322281,
0.12038792669773102,
-0.3668874502182007,
-0.3771345913410187,
0.11498802155256271,
-0.3664395809173584,
-0.05358642712235451,
-0.03467798978090286,
0.24771648645401,
0.20287694036960602,
0.1697879433631897,
-0.18919873237609863,
0.13616256415843964,
0.14270584285259247,
-0.4739900529384613,
-0.1517574042081833,
0.003645690158009529,
-0.3302995264530182,
-0.163376584649086,
0.20457984507083893,
0.030527040362358093,
-0.0034879506565630436,
0.23748159408569336,
-0.3042353391647339,
-0.3216205835342407,
-0.06809333711862564,
0.07015612721443176,
0.39767467975616455,
0.4252328872680664,
-0.20875228941440582,
0.17333531379699707,
-0.013688839972019196,
-0.41049057245254517,
-0.10336853563785553,
0.2410852611064911,
-0.2091009020805359,
-0.22041328251361847,
-0.10639771819114685,
0.22136065363883972,
-0.16152389347553253,
0.3692370653152466,
0.07332233339548111,
0.22043313086032867,
-0.03044002503156662,
-0.24886392056941986,
-0.04166322201490402,
-0.08669577538967133,
0.19922983646392822,
-0.07681433111429214,
-0.00287528894841671,
0.15677481889724731,
-0.6828734874725342,
0.16232329607009888,
-0.2088783234357834,
-0.35901567339897156,
0.15705853700637817,
0.0809788927435875,
-0.26396802067756653,
0.23636901378631592,
-0.38011112809181213,
0.36547213792800903,
0.3223421573638916,
0.1786486953496933,
-0.22170741856098175,
0.6720141172409058,
-0.3073047697544098,
0.10760531574487686,
0.0828307569026947,
-0.2031458169221878,
0.10646907240152359,
0.14347776770591736,
-0.04694709926843643,
0.3483630418777466,
0.009406309574842453,
0.001275504007935524,
-0.1520804464817047,
0.023895682767033577,
0.019394971430301666,
-0.0648575872182846,
0.19796954095363617,
0.11357541382312775,
0.19690436124801636,
0.12117543071508408,
0.5547029972076416,
-0.10584414005279541,
-0.021308330819010735,
0.08981532603502274,
0.17418278753757477,
-0.310730516910553,
0.2624225318431854,
-0.3220583200454712,
-0.4222832918167114,
-0.02380661852657795,
0.04563205689191818,
-0.2013203501701355,
0.04304463043808937,
-0.07399515807628632,
-0.2752792239189148,
-0.02690291777253151,
0.02999803051352501,
-0.0017734244465827942,
0.14122231304645538,
0.1926029473543167,
-0.06078445166349411,
-0.08886552602052689,
-0.3319379687309265,
0.35880982875823975,
0.14893628656864166,
0.06094341352581978,
-0.1919076144695282,
0.1062091588973999,
0.05214695259928703,
0.032199960201978683,
-0.2016763687133789,
-0.058011494576931,
-0.02035888284444809,
-0.2957914173603058,
0.09347333759069443,
0.3168705403804779,
0.14820197224617004,
-0.051477640867233276,
-0.1993943750858307,
-0.10198013484477997,
0.11721482127904892,
-0.05188997834920883,
-0.17954421043395996,
0.07649396359920502,
0.20677423477172852,
-0.4340972900390625,
-0.09325391799211502,
0.3510422706604004,
-0.16951604187488556,
0.11001665145158768,
-0.13755285739898682,
-0.013617013581097126,
0.36490416526794434,
-0.35982391238212585,
0.03131462633609772,
-0.30729418992996216,
0.3389904201030731,
0.003505302593111992,
0.09072978794574738,
0.1931268870830536,
-0.2302771657705307,
-0.040216751396656036,
0.35292893648147583,
-0.2396652102470398,
0.037787064909935,
0.05808672308921814,
-0.17380207777023315,
-0.04312984645366669,
-0.13232983648777008,
0.41323038935661316,
0.6813955307006836,
0.1722756177186966,
-0.1811077892780304,
0.08070331066846848,
0.08892294019460678,
-0.28097179532051086,
0.29685646295547485,
0.0638200044631958,
-0.1491856724023819,
0.4041067659854889,
-0.1759464144706726,
-0.14594189822673798,
-0.672919511795044,
0.013393323868513107,
0.24689462780952454,
-0.13808229565620422,
-0.4242045283317566,
0.11803140491247177,
-0.3977299630641937,
0.2719240188598633,
-0.17439503967761993,
-0.10227250307798386,
-0.3019559979438782,
-0.2779654264450073,
0.2254219800233841,
-0.04393717274069786,
-0.10549896955490112,
0.06770513206720352,
0.0033570043742656708,
0.2840409278869629,
-0.2790234684944153,
-0.10724549740552902,
-0.4919564127922058,
-0.10604336857795715,
-0.26325252652168274,
0.05376068130135536,
0.2772316336631775,
0.3794969618320465,
0.23535382747650146,
0.011201296001672745,
-0.16728432476520538,
-0.07514006644487381,
-0.28103405237197876,
0.168172687292099,
-0.18437299132347107,
0.1646607667207718,
0.24671334028244019,
0.21059547364711761,
0.3654252886772156,
-0.09095265716314316,
-0.16769377887248993,
-0.03941814601421356,
-0.30007192492485046,
0.14397622644901276,
-0.014705667272210121,
-0.08329716324806213,
-0.44920092821121216,
-0.4140060245990753,
0.046479836106300354,
-0.09652215242385864,
0.10444338619709015,
-0.23640137910842896,
-0.013999596238136292,
-0.025804463773965836,
-0.259002149105072,
-0.04776114597916603,
-0.27796101570129395,
-0.04318464547395706,
-0.34540030360221863,
0.16156652569770813,
0.1862957924604416,
-0.016686437651515007,
-0.17116503417491913,
0.04263737425208092,
-0.0052392203360795975,
-0.0720408707857132,
0.04838890582323074,
-0.5085452198982239,
0.04248607158660889,
-0.14984795451164246,
-0.27271464467048645,
-0.2583829164505005,
-0.35067400336265564,
0.2235366255044937,
0.014702148735523224,
0.010088207200169563,
-0.31566122174263,
0.007738001644611359,
0.23378875851631165,
-0.14523845911026,
0.24939173460006714,
-0.12062021344900131,
0.3022749423980713,
0.1928417682647705,
0.4983900189399719,
-0.21805356442928314,
-0.11888819932937622,
0.000989481806755066,
0.053966980427503586,
0.43517380952835083,
-0.1222119852900505,
-0.1371784508228302,
0.037404801696538925,
-0.00913970172405243,
-0.17529845237731934,
0.24956625699996948,
-0.17550379037857056,
0.07623704522848129,
-0.06511252373456955,
0.15123912692070007,
0.003012698143720627,
-0.08872390538454056,
0.26446568965911865,
-0.0776301696896553,
-0.23916387557983398,
0.41404053568840027,
0.27321910858154297,
0.17482081055641174,
-0.02640494517982006,
-0.05990200117230415,
0.30821019411087036,
0.11799390614032745,
-0.07391609996557236,
-0.5530258417129517,
0.14134372770786285,
-0.03520386666059494,
0.33095213770866394,
-0.07290272414684296,
0.012857232242822647,
-0.14034152030944824,
-0.005550166592001915,
0.17245706915855408,
0.04048570245504379,
0.7659432291984558,
0.12345362454652786,
0.29349204897880554,
0.0484347827732563,
0.20140030980110168,
0.003055831417441368,
-0.2789415717124939,
-0.309032142162323,
0.04720133915543556,
0.37559524178504944,
0.5868585705757141,
-0.33669787645339966,
-0.056725338101387024,
-0.044214121997356415,
0.137256920337677,
-0.08523482829332352,
-0.09942493587732315,
-0.14163239300251007,
-0.29980039596557617,
0.13928191363811493,
0.2094733566045761,
0.3030940592288971,
0.01605038158595562,
0.014960112981498241,
-0.12636061012744904,
-0.13750018179416656,
-0.11023309081792831,
0.2272278219461441,
0.12993907928466797,
0.0998217985033989,
-0.27545255422592163,
0.1031952053308487,
-0.05729617178440094,
0.5392698049545288,
0.16839465498924255,
0.3882001042366028,
-0.0435800664126873,
-0.27059510350227356,
-0.14004582166671753,
-0.43286415934562683,
0.27376118302345276,
0.5345051288604736,
-0.05969071388244629,
-0.08660145848989487,
0.2189258486032486,
0.03119416907429695,
-0.15563441812992096,
0.2708093822002411,
0.24086067080497742,
-0.11512255668640137,
-0.5917984843254089,
-0.04689093679189682,
0.19836285710334778,
-0.09115307033061981,
-0.31326425075531006,
0.49438995122909546,
0.1054808646440506,
-0.4711032807826996,
0.4514058828353882,
-0.08452071994543076,
0.9285582304000854,
0.18601790070533752,
0.08099418878555298,
0.01351191382855177,
-0.38362908363342285,
0.1856463998556137,
-0.6111034750938416,
0.1639437973499298,
-0.45152294635772705,
-0.4862605929374695,
-0.1284707635641098,
-0.26832661032676697,
0.22068724036216736,
0.6212141513824463,
-0.04408460855484009,
0.034987807273864746,
-0.04523301497101784,
0.4393260180950165,
0.13972783088684082,
0.1636289656162262,
0.16330204904079437,
-0.04152637720108032,
-0.0499291867017746,
0.07507005333900452,
-0.30720943212509155,
0.11776360869407654,
-0.07016503810882568,
-0.35805952548980713,
0.11117862164974213,
-0.4765193462371826,
-0.30851855874061584,
0.26806241273880005,
-0.1576571762561798,
-0.08589240908622742,
0.15967713296413422,
-0.10458508133888245,
0.11961990594863892,
0.1888163834810257,
-0.03504674881696701,
0.25493428111076355,
-0.14917339384555817,
0.5707798004150391,
-0.05824696272611618,
0.3339489698410034,
-0.034920550882816315,
-0.03712300583720207,
0.30782222747802734,
0.0614621639251709,
-0.06665199995040894,
-0.13376867771148682,
-0.3855661451816559,
0.047227323055267334,
-0.16133861243724823,
0.3711423873901367,
-0.1659316122531891,
-0.3858848512172699,
-0.03426690399646759,
0.13834276795387268,
0.34076228737831116,
-0.08620613813400269,
0.13609200716018677,
-0.011018961668014526,
-0.30291321873664856,
0.3671572804450989,
-0.13150927424430847,
-0.5027735829353333,
-0.1022510677576065,
0.20949532091617584,
0.044572584331035614,
-0.09670835733413696,
0.400696337223053,
-0.19574680924415588,
-0.059148456901311874,
-0.3663867115974426,
0.4478076100349426,
0.3197295367717743,
-0.3659692108631134,
0.33281949162483215,
-0.1678173691034317,
-0.38454878330230713,
0.12849733233451843,
0.06638363003730774,
0.17877011001110077,
0.08436712622642517,
-0.10525593161582947,
-0.45400699973106384,
0.21002131700515747,
-0.036307789385318756,
-0.34348005056381226,
0.16843752562999725,
0.07284687459468842,
0.15114857256412506,
-0.10858099907636642,
0.2827802002429962,
-0.2959708571434021,
0.18807774782180786,
0.06332886219024658,
0.24171288311481476,
-0.30872926115989685,
-0.02864108979701996,
0.2326304316520691,
-0.09735327959060669,
0.20443904399871826,
0.17083358764648438,
-0.08268222212791443,
-0.2069340944290161,
-0.1326565146446228,
0.15314128994941711,
0.06051809713244438,
0.24410021305084229,
-0.037657469511032104,
0.011666234582662582,
-0.17846237123012543,
-0.04919816553592682,
0.23007020354270935,
0.0035515427589416504,
0.032107025384902954,
-0.08962084352970123,
0.20484274625778198,
0.17873737215995789,
-0.12859298288822174,
-0.14569349586963654,
-0.22109806537628174,
0.42944908142089844,
-0.022587766870856285,
0.178059920668602,
-0.1241498664021492,
-0.03692198917269707,
-0.32683461904525757,
0.1162087544798851,
0.036964207887649536,
0.3147088885307312,
0.19640269875526428,
-0.19933511316776276,
-0.04584791138768196,
-0.04209160804748535,
0.4439655542373657,
0.6636150479316711,
-0.40239664912223816,
0.0476514995098114,
0.1926288902759552,
0.22105854749679565,
-0.13174086809158325,
-0.3391726315021515,
0.585773766040802,
0.23290391266345978,
-0.16621454060077667,
0.016740188002586365,
0.06454387307167053,
-0.09074327349662781,
0.06363585591316223,
0.08727803081274033,
0.3812076449394226,
-0.19179567694664001,
0.20680531859397888,
0.6390770673751831,
-0.4007628858089447,
0.13557778298854828,
0.31387823820114136,
-0.2140398919582367,
0.03654371201992035,
0.8905038237571716,
-0.04754314571619034,
0.4099583327770233,
0.23379233479499817,
0.22808578610420227,
0.2025906890630722,
-0.15717512369155884,
-0.1354791522026062,
0.293293297290802,
-0.4435591697692871,
0.3601067066192627,
0.18322889506816864,
-0.22782698273658752,
-0.3638491928577423,
-0.07952972501516342,
-0.48976147174835205,
-0.2529585659503937,
-0.24768328666687012,
0.1354728639125824,
-0.08706382662057877,
-0.1833568513393402,
-0.023934081196784973,
0.3060351312160492,
0.02649674192070961,
0.19825273752212524,
0.13171938061714172,
0.18160733580589294,
-0.03655870258808136,
0.014052036218345165,
0.10454755276441574,
-0.21364954113960266,
0.05311046913266182,
-0.5052301287651062,
0.08583232760429382,
-0.05363835394382477,
-0.1329113245010376,
0.5555700659751892,
0.03789656609296799,
0.15267015993595123,
0.4178909957408905,
0.14178244769573212,
-0.20634599030017853,
-0.29782935976982117,
-0.1949625462293625,
-0.15800663828849792,
0.5921424627304077,
0.19293172657489777,
0.1102498471736908,
0.4238080382347107,
0.22740313410758972,
-0.10861266404390335,
0.010837987065315247,
0.3141631782054901,
0.08296079933643341,
-0.30763179063796997,
0.2263965606689453,
0.10374578833580017,
-0.20603951811790466,
-0.31401893496513367,
-0.08136782795190811,
-0.09293188154697418,
-0.13047359883785248,
0.13597790896892548,
0.0827610045671463,
0.29373157024383545,
-0.09655430912971497,
0.07827907800674438,
0.007856518030166626,
0.4727046489715576,
-0.08366493880748749,
-0.28434231877326965,
-0.11385787278413773,
-0.12358534336090088,
-0.3703092932701111,
0.2191673368215561,
-0.24584481120109558,
0.1661190390586853,
0.05376366898417473,
-0.06010270118713379,
0.1283584088087082,
0.09321565926074982,
-0.09661157429218292,
0.08396711200475693,
-0.03535251319408417,
0.18870291113853455,
-0.35832488536834717,
0.15716953575611115,
0.3192262649536133,
0.1671515703201294,
-0.1184801459312439,
-0.3060092031955719,
0.3935571610927582,
0.06306692212820053,
-0.0020501799881458282,
0.15152785181999207,
-0.21305438876152039,
0.24229970574378967,
0.40829017758369446,
0.2570236921310425,
0.32303473353385925,
0.4101792871952057,
-0.08952107280492783,
0.047089964151382446,
-0.11949621140956879,
-0.08399730175733566,
-0.3270498812198639,
0.3767828941345215,
0.2668861746788025,
0.24321675300598145,
-0.1816088855266571,
0.1535724699497223,
-0.20097987353801727,
0.14059953391551971,
-0.132812961935997,
0.1768820583820343,
-0.6069268584251404,
0.044869810342788696,
-0.22320079803466797,
0.2643010914325714,
0.12348851561546326,
0.3177224099636078,
-0.004872962832450867,
-0.2684362232685089,
0.06081004440784454,
-0.17981378734111786,
0.26057615876197815,
-0.11200108379125595,
-0.5537869334220886,
0.09748236835002899,
0.1430015116930008,
0.057025909423828125,
-0.25135552883148193,
-0.347933292388916,
-0.18969577550888062,
0.3540054261684418,
-0.2758062779903412,
-0.25810879468917847,
-0.11421744525432587,
0.12013620138168335,
-0.24694949388504028,
-0.08649992942810059,
0.03824296593666077,
0.4160822331905365,
-0.5453169941902161,
0.2055707573890686,
-0.2957723140716553
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | Is there a reason why we want that regex? It feels like something that'll still be an issue for some weird case. "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified? | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 37 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
Is there a reason why we want that regex? It feels like something that'll still be an issue for some weird case. "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified? | [
-0.1274331957101822,
0.04633675515651703,
0.013926185667514801,
-0.06719404458999634,
0.19075576961040497,
-0.09639116376638412,
0.5693849921226501,
0.5711491107940674,
-0.2740081250667572,
-0.0007302239537239075,
0.0903313159942627,
0.058716706931591034,
-0.17910504341125488,
0.12237241119146347,
-0.005380083806812763,
0.22398613393306732,
0.050259191542863846,
0.4511588215827942,
0.218702495098114,
-0.06833425909280777,
-0.06367693841457367,
0.043217338621616364,
0.02287718653678894,
0.17369785904884338,
-0.4843996465206146,
0.2081337720155716,
0.3272177577018738,
0.16236181557178497,
-0.2965731918811798,
-0.3022826015949249,
0.34257742762565613,
-0.33637481927871704,
-0.07699538767337799,
-0.05566803365945816,
-0.00012298095680307597,
0.18676535785198212,
0.20020714402198792,
-0.1363009512424469,
-0.17857079207897186,
-0.3270830512046814,
-0.4942643642425537,
0.12229438126087189,
-0.010943527333438396,
0.0674772635102272,
-0.017385920509696007,
-0.048355069011449814,
0.3441962003707886,
-0.27376067638397217,
0.5308361649513245,
0.571595311164856,
0.09791333228349686,
0.006560824811458588,
-0.3564882278442383,
0.09397215396165848,
0.09765537083148956,
0.3291971683502197,
-0.08979762345552444,
-0.15999475121498108,
0.419991672039032,
-0.13253629207611084,
-0.0978727862238884,
0.12514787912368774,
-0.04469212144613266,
-0.16805897653102875,
0.04693420231342316,
-0.010186157189309597,
-0.08259003609418869,
-0.3096587061882019,
0.255482017993927,
0.6954458951950073,
0.447785347700119,
-0.025166213512420654,
0.010735737159848213,
0.025482282042503357,
-0.14846722781658173,
-0.08238537609577179,
0.022595245391130447,
0.43153589963912964,
0.05431948974728584,
0.4797022044658661,
-0.24925543367862701,
0.0409526601433754,
-0.163222998380661,
-0.0230870321393013,
-0.28023654222488403,
0.5173516273498535,
-0.08318576216697693,
0.2711012065410614,
0.040200378745794296,
0.42791473865509033,
-0.2724562883377075,
-0.22306668758392334,
-0.3578903079032898,
-0.050298795104026794,
-0.001608189195394516,
-0.1989903599023819,
-0.3146205246448517,
-0.2628301680088043,
0.3226873576641083,
0.43273383378982544,
-0.06748052686452866,
0.07580144703388214,
-0.12628749012947083,
-0.09727717190980911,
0.2755652964115143,
0.02122185006737709,
0.3894801735877991,
0.24694298207759857,
0.27877506613731384,
-0.3710481524467468,
0.014063466340303421,
-0.11077334731817245,
0.14118902385234833,
0.20168139040470123,
0.08148299157619476,
0.16577497124671936,
-0.01322233583778143,
-0.2512495219707489,
-0.3512890636920929,
-0.017846256494522095,
-0.4045100212097168,
-0.10019589215517044,
0.005515833385288715,
0.10857413709163666,
0.24071772396564484,
0.24398964643478394,
-0.40387147665023804,
0.1656780242919922,
0.23560060560703278,
-0.5061638355255127,
-0.09218069165945053,
0.03771045804023743,
-0.38945651054382324,
-0.058324605226516724,
0.2534433603286743,
-0.08661222457885742,
0.18998868763446808,
0.07427651435136795,
-0.30720335245132446,
-0.00234203040599823,
0.02017238922417164,
-0.21326333284378052,
0.3155405521392822,
0.5904127359390259,
-0.4135335087776184,
0.18190643191337585,
0.050013571977615356,
-0.32374274730682373,
-0.19297727942466736,
0.26253455877304077,
-0.2036285102367401,
-0.5489266514778137,
-0.010697035118937492,
0.14386166632175446,
-0.0768967866897583,
0.2821521759033203,
-0.18012088537216187,
0.149089977145195,
-0.09828832000494003,
-0.30132856965065,
0.014989055693149567,
-0.24288584291934967,
0.2346041202545166,
-0.1030111238360405,
-0.00020612217485904694,
-0.08260996639728546,
-0.604017436504364,
0.2746362090110779,
-0.3007233738899231,
-0.36351728439331055,
0.21718719601631165,
0.12782399356365204,
-0.38646742701530457,
0.24028298258781433,
-0.3109814524650574,
0.36483144760131836,
0.3597531318664551,
0.13511279225349426,
-0.19767005741596222,
0.4856891930103302,
-0.30410781502723694,
0.09084704518318176,
0.26013410091400146,
-0.05226346477866173,
0.14890311658382416,
0.06100703775882721,
-0.17329353094100952,
0.2933683395385742,
-0.10093732178211212,
-0.14357823133468628,
0.0748903751373291,
-0.04319710284471512,
0.10501490533351898,
0.004032682627439499,
0.24683168530464172,
0.18986383080482483,
0.19364020228385925,
0.14770136773586273,
0.3714068531990051,
-0.18228380382061005,
0.015783129259943962,
-0.14065566658973694,
0.2806786298751831,
-0.2896485924720764,
0.18342113494873047,
-0.42896056175231934,
-0.4562346935272217,
0.052890755236148834,
0.09015596657991409,
-0.25200769305229187,
0.1585744172334671,
-0.17939375340938568,
-0.22599351406097412,
-0.1937548816204071,
0.10521140694618225,
-0.07992644608020782,
0.039709463715553284,
0.11252771317958832,
-0.031098131090402603,
-0.048387542366981506,
-0.42184901237487793,
0.28145262598991394,
-0.0034766867756843567,
0.08885269612073898,
0.018682874739170074,
0.1923718899488449,
0.08259379863739014,
0.11411785334348679,
-0.2103026807308197,
-0.00903608649969101,
-0.1777077615261078,
-0.20349088311195374,
0.2072506546974182,
0.24923691153526306,
0.26572826504707336,
-0.18030212819576263,
-0.1277545988559723,
-0.021379172801971436,
-0.007430056110024452,
-0.11481764912605286,
-0.17962248623371124,
0.04518944025039673,
0.05892620235681534,
-0.5449885129928589,
0.0039942339062690735,
0.1283179223537445,
0.09658914804458618,
0.19335894286632538,
-0.13841862976551056,
-0.11970868706703186,
0.055901557207107544,
-0.3582342863082886,
-0.1664896011352539,
-0.2436102330684662,
0.0453910306096077,
-0.05307193472981453,
0.12895895540714264,
0.3347523808479309,
-0.2809305191040039,
-0.2990190386772156,
0.4270181357860565,
-0.2714177072048187,
-0.05727459490299225,
0.14684180915355682,
-0.14370808005332947,
-0.08425870537757874,
-0.12256582081317902,
0.33495238423347473,
0.7469993233680725,
0.19229061901569366,
-0.0878651887178421,
0.11366579681634903,
-0.030504629015922546,
-0.2948414385318756,
0.16815362870693207,
0.07326553016901016,
0.0639810785651207,
0.10912221670150757,
-0.22900964319705963,
0.0744551345705986,
-0.671430766582489,
-0.2981649339199066,
0.1229453757405281,
-0.19838234782218933,
-0.2662793695926666,
0.08427132666110992,
-0.4775267541408539,
0.23086369037628174,
-0.15544399619102478,
-0.011872691102325916,
-0.1630338430404663,
-0.14603228867053986,
0.17565706372261047,
-0.16913993656635284,
-0.15611118078231812,
0.02877488173544407,
-0.21361975371837616,
0.2595207393169403,
-0.24545495212078094,
-0.21978215873241425,
-0.4621983468532562,
0.05715886130928993,
-0.3422287106513977,
0.028615742921829224,
0.04175127297639847,
0.14923959970474243,
0.14695066213607788,
-0.006802508607506752,
-0.11805971711874008,
-0.1357983648777008,
-0.3937130272388458,
-0.0629354864358902,
-0.1668350249528885,
0.12609435617923737,
0.2520231306552887,
0.31801337003707886,
0.18724529445171356,
-0.19508971273899078,
-0.20799028873443604,
0.17971311509609222,
-0.1451694667339325,
0.07140965759754181,
0.09434711188077927,
0.02636781521141529,
-0.33772003650665283,
-0.41324302554130554,
0.14846663177013397,
-0.11754941940307617,
0.05937305837869644,
-0.36027270555496216,
-0.09527400135993958,
0.17527782917022705,
-0.27609336376190186,
-0.08691888302564621,
-0.4541957676410675,
-0.00008208304643630981,
-0.1735532283782959,
0.08055080473423004,
0.28381291031837463,
0.1558990329504013,
-0.07177466154098511,
0.000608883798122406,
-0.14796648919582367,
-0.11153218150138855,
0.06425166130065918,
-0.5772459506988525,
0.03809868544340134,
-0.18022918701171875,
-0.3835250437259674,
-0.08801527321338654,
-0.2557343542575836,
0.171951025724411,
-0.16364464163780212,
0.09428731352090836,
-0.11731351912021637,
-0.005791181698441505,
0.18798908591270447,
-0.06848698854446411,
0.17856380343437195,
-0.006417546421289444,
0.24333617091178894,
0.3649708032608032,
0.5561187863349915,
-0.14792713522911072,
-0.11089588701725006,
0.08418083935976028,
0.05776489898562431,
0.44363903999328613,
-0.2950550615787506,
-0.13363544642925262,
0.07565994560718536,
-0.0030648261308670044,
-0.07186540961265564,
0.26324760913848877,
-0.17185688018798828,
0.11050312221050262,
0.033696964383125305,
0.27827855944633484,
0.3183256983757019,
-0.044734321534633636,
0.31508728861808777,
-0.0399380698800087,
-0.1726113259792328,
0.4617452919483185,
0.341124027967453,
0.36957281827926636,
0.07602669298648834,
0.022972472012043,
0.4265390634536743,
0.1499452441930771,
0.10517165809869766,
-0.6098743081092834,
-0.04170341044664383,
0.04069344326853752,
0.27690064907073975,
0.01688232086598873,
0.08867497742176056,
-0.05677780508995056,
0.05944686383008957,
0.14233897626399994,
0.27975890040397644,
0.5906338691711426,
-0.06455955654382706,
-0.0115274116396904,
-0.03727421537041664,
0.10496386885643005,
0.18516816198825836,
-0.32871901988983154,
-0.14594578742980957,
-0.1344819813966751,
0.4376145303249359,
0.8000345230102539,
-0.33521145582199097,
-0.13824276626110077,
0.23604711890220642,
0.258705198764801,
0.06491661071777344,
-0.15109959244728088,
-0.0824161022901535,
-0.13378378748893738,
0.24948495626449585,
0.14560432732105255,
0.2570601999759674,
0.047057025134563446,
-0.002303591463714838,
-0.13259664177894592,
-0.1604616641998291,
-0.1904623806476593,
0.2827579379081726,
0.002226026728749275,
-0.10024898499250412,
-0.041479337960481644,
0.16825097799301147,
-0.12744735181331635,
0.5336227416992188,
0.20073114335536957,
0.2952476739883423,
-0.2083161175251007,
-0.2993433475494385,
-0.178548663854599,
-0.21680745482444763,
0.417160302400589,
0.4576455056667328,
-0.03823070228099823,
-0.06601671129465103,
0.3658931255340576,
0.10014356672763824,
-0.04284803941845894,
0.43568548560142517,
0.2111240178346634,
-0.18705715239048004,
-0.6891578435897827,
-0.2496340125799179,
0.2223188877105713,
-0.07699861377477646,
-0.05702921748161316,
0.225826233625412,
0.17610666155815125,
-0.37211576104164124,
0.33007174730300903,
-0.22481799125671387,
0.8115164637565613,
0.13907325267791748,
0.18986614048480988,
0.021800406277179718,
-0.2893635928630829,
0.05415104329586029,
-0.5202795267105103,
0.16735738515853882,
-0.3222337067127228,
-0.594008207321167,
-0.22393696010112762,
-0.314048171043396,
0.43859463930130005,
0.7566413879394531,
0.1836279034614563,
0.10588886588811874,
0.19636763632297516,
0.4456635117530823,
0.32622942328453064,
0.2572706639766693,
0.14775945246219635,
-0.026360202580690384,
0.16421091556549072,
-0.04285968467593193,
-0.21100841462612152,
-0.043633703142404556,
0.1177099272608757,
-0.27453839778900146,
0.16654975712299347,
-0.4433894157409668,
-0.2698437571525574,
-0.013177158311009407,
-0.33779072761535645,
0.02615795098245144,
0.09352392703294754,
-0.1737988293170929,
0.22346529364585876,
0.12324222922325134,
-0.10434958338737488,
0.28106337785720825,
-0.12490859627723694,
0.4140368700027466,
0.1502128392457962,
0.26562532782554626,
-0.1308978646993637,
-0.18138110637664795,
0.5069245100021362,
0.13123637437820435,
-0.08835406601428986,
0.029402993619441986,
-0.436707079410553,
-0.10530392825603485,
-0.20323187112808228,
0.287449449300766,
-0.11524462699890137,
-0.36092889308929443,
-0.11013181507587433,
0.15051399171352386,
0.3590664863586426,
-0.03794180229306221,
0.03523313254117966,
0.005775339901447296,
-0.0525067038834095,
0.4225590229034424,
-0.07155908644199371,
-0.7615996599197388,
-0.173278346657753,
0.14241242408752441,
0.028179578483104706,
-0.010424859821796417,
0.4489312171936035,
-0.39851006865501404,
-0.12549974024295807,
-0.18178513646125793,
0.5683651566505432,
0.47804510593414307,
-0.3012503385543823,
0.20936483144760132,
-0.13549242913722992,
-0.17438864707946777,
0.14863047003746033,
-0.034539852291345596,
0.19112379848957062,
-0.08764473348855972,
-0.04568438231945038,
-0.46392548084259033,
0.021116578951478004,
0.05278032273054123,
-0.46967455744743347,
0.22274719178676605,
0.1811637580394745,
0.11961783468723297,
-0.13338732719421387,
-0.0125077273696661,
-0.1798919290304184,
0.1662077009677887,
0.10517261177301407,
0.39830464124679565,
-0.34069713950157166,
-0.08059828728437424,
0.27716076374053955,
0.1005484014749527,
0.13661785423755646,
0.03619851917028427,
-0.21104101836681366,
-0.12365312874317169,
-0.19446732103824615,
0.15807905793190002,
0.16027912497520447,
0.2706284523010254,
-0.19387483596801758,
0.04804045706987381,
-0.1482066661119461,
-0.014665868133306503,
0.23279538750648499,
0.14810603857040405,
0.16044336557388306,
0.020673561841249466,
0.035722143948078156,
0.02810290828347206,
-0.1892797350883484,
-0.23958685994148254,
-0.36834225058555603,
0.45001697540283203,
-0.004780780524015427,
0.20945177972316742,
-0.10178396105766296,
0.03739774227142334,
-0.2819983959197998,
-0.07163525372743607,
0.12614800035953522,
0.2036474645137787,
0.17411363124847412,
-0.0658968836069107,
0.07973405718803406,
-0.09715928882360458,
0.36350756883621216,
0.5812846422195435,
-0.4147792160511017,
0.0056913793087005615,
0.3895334005355835,
0.12138135731220245,
-0.0390763022005558,
-0.03520294651389122,
0.5346811413764954,
0.28942742943763733,
-0.053406208753585815,
0.1347711682319641,
0.14550861716270447,
0.11579176783561707,
0.02615584433078766,
-0.010139101184904575,
0.33171093463897705,
-0.035166818648576736,
0.04976199194788933,
0.5850910544395447,
-0.27410125732421875,
0.1177314817905426,
0.2586948275566101,
0.10038970410823822,
-0.010092601180076599,
0.5966426730155945,
-0.07634703069925308,
0.44098806381225586,
0.19008389115333557,
0.12584085762500763,
0.08280879259109497,
-0.11117179691791534,
-0.14838016033172607,
0.38781899213790894,
-0.4136841893196106,
0.1727255880832672,
0.22496986389160156,
-0.1512693166732788,
-0.3026891052722931,
0.05467233434319496,
-0.28360190987586975,
-0.4097091555595398,
-0.12316619604825974,
0.12175995111465454,
0.10439307987689972,
0.046042852103710175,
-0.01506873220205307,
0.15070708096027374,
-0.04044182971119881,
0.18447187542915344,
-0.04807315766811371,
0.043642520904541016,
-0.10076051950454712,
0.2024337202310562,
0.1376761496067047,
-0.22631850838661194,
0.028512246906757355,
-0.40369877219200134,
-0.09163074940443039,
-0.3674619793891907,
-0.1042279303073883,
0.6746687293052673,
-0.060047246515750885,
-0.032129254192113876,
0.36940181255340576,
0.3369314670562744,
-0.23796603083610535,
-0.21912804245948792,
-0.19825570285320282,
-0.13445723056793213,
0.5203821659088135,
0.1874275505542755,
0.18573816120624542,
0.4727586507797241,
0.1544084995985031,
-0.01759706810116768,
0.11894267797470093,
0.17564940452575684,
0.12299999594688416,
-0.5728107690811157,
0.30658164620399475,
0.23929882049560547,
-0.2585108280181885,
-0.010497834533452988,
-0.024280622601509094,
0.005510196089744568,
-0.04658529534935951,
0.152149960398674,
0.09533077478408813,
0.17011964321136475,
-0.19345568120479584,
-0.0027499962598085403,
0.04439235478639603,
0.1998816579580307,
-0.043805982917547226,
-0.3532630503177643,
-0.22927793860435486,
-0.020297899842262268,
-0.19564266502857208,
0.05202070251107216,
-0.2573181688785553,
0.15815047919750214,
0.10965678840875626,
-0.18989600241184235,
0.0895041674375534,
0.08881308883428574,
0.08893527090549469,
0.08899974822998047,
-0.16220536828041077,
0.16498079895973206,
-0.08562684059143066,
0.22975528240203857,
0.32726460695266724,
0.2061750888824463,
-0.11206310242414474,
-0.30583566427230835,
0.38761454820632935,
0.13532514870166779,
-0.04814139008522034,
0.023426227271556854,
-0.09521946310997009,
0.3918384313583374,
0.4406401216983795,
0.3152766823768616,
0.23525972664356232,
0.35853251814842224,
0.009980417788028717,
0.26988643407821655,
-0.29834869503974915,
-0.032569520175457,
-0.20388710498809814,
0.2569538950920105,
0.0823216587305069,
0.2217497080564499,
-0.15994875133037567,
0.11555154621601105,
-0.14142391085624695,
0.18678875267505646,
-0.07101566344499588,
0.09208419919013977,
-0.3760586082935333,
0.06874938309192657,
-0.3776797652244568,
0.18548470735549927,
0.2526663541793823,
0.2132621705532074,
0.00035401061177253723,
-0.48101311922073364,
0.16394434869289398,
-0.2502993643283844,
0.2595904469490051,
-0.15911656618118286,
-0.5266928672790527,
-0.037192557007074356,
0.14683862030506134,
0.2333286702632904,
0.11996933072805405,
-0.4741056263446808,
-0.35454171895980835,
0.3639366924762726,
-0.27055540680885315,
-0.4541487395763397,
-0.10853120684623718,
0.181504487991333,
-0.21264110505580902,
-0.04418753832578659,
-0.0612611323595047,
0.21008676290512085,
-0.4862353205680847,
-0.0037028230726718903,
-0.4276735782623291
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | The regex is needed as part of our effort to make datasets configurable without code. In particular we define some generic dataset repository structures that users can follow
> ```
> "[^a-zA-Z]*dev[^a-zA-Z]*"
> ```
unfortunately our glob doesn't support "^":
https://github.com/fsspec/filesystem_spec/blob/3e739db7e53f5b408319dcc9d11e92bc1f938902/fsspec/spec.py#L465-L479 | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 41 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
The regex is needed as part of our effort to make datasets configurable without code. In particular we define some generic dataset repository structures that users can follow
> ```
> "[^a-zA-Z]*dev[^a-zA-Z]*"
> ```
unfortunately our glob doesn't support "^":
https://github.com/fsspec/filesystem_spec/blob/3e739db7e53f5b408319dcc9d11e92bc1f938902/fsspec/spec.py#L465-L479 | [
-0.2896316349506378,
0.1827498972415924,
0.0006292834877967834,
0.17758825421333313,
0.1653621345758438,
-0.21842288970947266,
0.20605283975601196,
0.5261222720146179,
-0.18241989612579346,
-0.007453650236129761,
-0.044632382690906525,
0.0348765067756176,
-0.05559396743774414,
0.27948638796806335,
-0.05539543926715851,
0.3991412818431854,
-0.0021832212805747986,
0.3991590440273285,
-0.03501542657613754,
-0.04119274765253067,
-0.14967942237854004,
0.21172554790973663,
-0.10787996649742126,
0.1184670627117157,
-0.34445321559906006,
0.13701771199703217,
0.24554547667503357,
0.3243272006511688,
-0.3588830232620239,
-0.3046647012233734,
0.4586411118507385,
-0.15653355419635773,
-0.2863326966762543,
0.1113542839884758,
-0.00011599942081375048,
0.1259215623140335,
0.15251681208610535,
-0.17894645035266876,
-0.2675483822822571,
-0.1815842241048813,
-0.45543867349624634,
0.06861933320760727,
-0.005665621720254421,
0.09008809179067612,
-0.11101863533258438,
-0.22697247564792633,
0.05860273540019989,
-0.34237074851989746,
0.6069830656051636,
0.5616218447685242,
0.13413046300411224,
-0.10634476691484451,
-0.22883650660514832,
0.025325126945972443,
0.02429461106657982,
0.4447610378265381,
-0.04403873160481453,
-0.2380092740058899,
0.2624005079269409,
-0.14064982533454895,
0.08101672679185867,
0.0811200737953186,
-0.09094046801328659,
-0.03750193119049072,
0.09596561640501022,
-0.07848524302244186,
-0.12449783831834793,
-0.4019900858402252,
0.10066871345043182,
0.6224045753479004,
0.4138927459716797,
-0.010005723685026169,
-0.09312403202056885,
-0.006961755454540253,
-0.15392820537090302,
0.05463410168886185,
0.07200895994901657,
0.45651429891586304,
-0.08966226875782013,
0.3684673607349396,
-0.10975322127342224,
0.06379953026771545,
-0.08612284809350967,
0.049601130187511444,
-0.32034066319465637,
0.26026105880737305,
-0.22324703633785248,
0.09379474818706512,
0.08397231996059418,
0.146091490983963,
-0.3984856903553009,
-0.38036373257637024,
-0.6075875163078308,
0.11952073127031326,
-0.09792159497737885,
-0.16777580976486206,
-0.09331827610731125,
-0.21565428376197815,
0.4105132520198822,
0.15225017070770264,
-0.10737188905477524,
0.16919952630996704,
-0.3459670841693878,
-0.010399028658866882,
0.26713287830352783,
-0.017179327085614204,
0.45303165912628174,
0.24018891155719757,
0.2560344338417053,
-0.3048672676086426,
0.046249810606241226,
-0.041367873549461365,
0.29355549812316895,
0.039599839597940445,
-0.20113813877105713,
0.06290758401155472,
0.179927259683609,
-0.394520103931427,
-0.45806729793548584,
0.09379291534423828,
-0.2040705680847168,
-0.011681802570819855,
0.0661969855427742,
0.17773272097110748,
0.24869464337825775,
0.31334343552589417,
-0.24012883007526398,
0.19381017982959747,
0.0562794953584671,
-0.47950461506843567,
-0.17735348641872406,
-0.05480349436402321,
-0.3577195405960083,
0.008404739201068878,
0.24163858592510223,
-0.023717597126960754,
-0.028941400349140167,
0.14179570972919464,
-0.3976958990097046,
-0.1964901238679886,
-0.19085164368152618,
-0.13008007407188416,
0.3800013065338135,
0.596575140953064,
-0.36664944887161255,
0.09671565890312195,
0.13934998214244843,
-0.30411285161972046,
-0.1386105716228485,
0.1361202597618103,
-0.0568305179476738,
-0.27045294642448425,
-0.15323156118392944,
0.18748031556606293,
-0.17416585981845856,
0.35381585359573364,
-0.25731346011161804,
0.18274462223052979,
-0.14722633361816406,
-0.28733131289482117,
0.010880134999752045,
-0.1127263605594635,
0.07769136130809784,
-0.06594324856996536,
0.07468197494745255,
0.2974648177623749,
-0.6433680057525635,
0.09136249125003815,
-0.23018702864646912,
-0.39909327030181885,
0.11922162771224976,
0.20210658013820648,
-0.21432839334011078,
0.17658883333206177,
-0.47281965613365173,
0.4565638303756714,
0.36574724316596985,
0.0958784818649292,
-0.3046417832374573,
0.6667106747627258,
-0.27398616075515747,
0.04675333946943283,
0.08769898116588593,
-0.1908033788204193,
0.2351699322462082,
0.06592517346143723,
-0.2597237527370453,
0.39344310760498047,
-0.054112695157527924,
0.0020921584218740463,
0.0015396662056446075,
-0.16803710162639618,
-0.0467902272939682,
-0.0394718274474144,
0.2865823209285736,
0.15420334041118622,
0.29036980867385864,
0.008436472155153751,
0.5125173330307007,
-0.13202190399169922,
-0.0309146661311388,
0.12090849876403809,
0.3462734818458557,
-0.17003384232521057,
0.13447216153144836,
-0.5364055633544922,
-0.5545493960380554,
0.1330643594264984,
0.09676821529865265,
-0.22393029928207397,
0.04102592170238495,
-0.04886580631136894,
-0.2731180191040039,
-0.14348837733268738,
-0.0393720306456089,
-0.10704469680786133,
0.07429450005292892,
0.129366934299469,
-0.021904457360506058,
-0.07108107954263687,
-0.18075372278690338,
0.41088953614234924,
0.20795945823192596,
0.18660180270671844,
-0.1964506059885025,
0.3097194731235504,
0.14249977469444275,
-0.04164592921733856,
-0.09925796091556549,
0.0603029727935791,
0.14332342147827148,
-0.33110320568084717,
0.07311747968196869,
0.3588104248046875,
0.34077364206314087,
-0.07192124426364899,
-0.19491416215896606,
0.12833650410175323,
0.04960693418979645,
-0.17545731365680695,
-0.15048258006572723,
0.046973057091236115,
0.14151859283447266,
-0.43120983242988586,
-0.10890386253595352,
0.311325341463089,
0.06464160978794098,
0.17270590364933014,
-0.08742662519216537,
0.0332280695438385,
0.25601300597190857,
-0.3702299892902374,
0.054223351180553436,
-0.3421587347984314,
0.17246608436107635,
0.13470813632011414,
0.18093064427375793,
0.41184020042419434,
-0.1587638556957245,
-0.05422685295343399,
0.3659171164035797,
-0.21516086161136627,
-0.06683964282274246,
0.11504268646240234,
-0.26386526226997375,
-0.038177087903022766,
-0.04246634989976883,
0.3490414321422577,
0.746874213218689,
0.19989129900932312,
-0.22051039338111877,
0.09577316790819168,
0.09701764583587646,
-0.21224717795848846,
0.2961142659187317,
-0.02446851134300232,
0.031259454786777496,
0.29778262972831726,
-0.1570775806903839,
-0.09263194352388382,
-0.6620434522628784,
-0.030958589166402817,
0.16021215915679932,
-0.16170606017112732,
-0.41785597801208496,
0.10385137051343918,
-0.4899837076663971,
0.19204509258270264,
-0.17934389412403107,
0.03388984873890877,
-0.19551807641983032,
-0.2178637683391571,
0.014209786430001259,
0.0655781626701355,
-0.043326932936906815,
0.07146720588207245,
-0.04380301386117935,
0.18935243785381317,
-0.2004004269838333,
-0.28367000818252563,
-0.36107057332992554,
0.1382298618555069,
-0.22555407881736755,
0.01179911196231842,
0.2605452835559845,
0.3977603018283844,
0.13638456165790558,
0.1419326663017273,
-0.13154537975788116,
-0.2591773569583893,
-0.2653753161430359,
0.15793702006340027,
-0.1939014196395874,
0.14242416620254517,
0.2616325616836548,
0.18347391486167908,
0.48818790912628174,
0.00590601097792387,
-0.1424969881772995,
-0.022634150460362434,
-0.24030335247516632,
0.20943167805671692,
-0.02675807476043701,
0.012292765080928802,
-0.36273297667503357,
-0.32947200536727905,
0.04043896868824959,
-0.0505189523100853,
0.1835414320230484,
-0.3664741516113281,
-0.06441175192594528,
0.07991323620080948,
-0.1437740921974182,
-0.12145217508077621,
-0.3125748038291931,
-0.1649027317762375,
-0.2733038663864136,
0.06647218763828278,
0.24075788259506226,
0.06185094639658928,
-0.2340226024389267,
-0.036488767713308334,
-0.0670495554804802,
-0.24821507930755615,
0.04493261128664017,
-0.44552546739578247,
0.05287552252411842,
-0.3688613474369049,
-0.16971009969711304,
-0.0979594886302948,
-0.2662944197654724,
0.3213314414024353,
-0.018687009811401367,
-0.02177869901061058,
-0.23768845200538635,
-0.010692719370126724,
0.2159753441810608,
-0.038997091352939606,
0.0920836478471756,
-0.20243918895721436,
0.23777401447296143,
0.25743454694747925,
0.5430557727813721,
-0.16975270211696625,
-0.1557060033082962,
0.011304441839456558,
-0.07515774667263031,
0.43327343463897705,
-0.09855123609304428,
-0.2768123745918274,
0.12888608872890472,
-0.06368580460548401,
-0.09413467347621918,
0.26401424407958984,
-0.0510270893573761,
0.2031150460243225,
0.11983269453048706,
0.3112637400627136,
0.016211729496717453,
-0.12889611721038818,
0.12142297625541687,
-0.10714341700077057,
-0.10504356771707535,
0.3901745676994324,
0.26377972960472107,
0.2621547281742096,
-0.031123125925660133,
-0.1301160454750061,
0.31188178062438965,
0.017214320600032806,
-0.030008379369974136,
-0.39912569522857666,
0.1182851642370224,
-0.040335237979888916,
0.3801777958869934,
-0.08453436940908432,
0.04721657931804657,
-0.16853006184101105,
0.07987064123153687,
0.13132920861244202,
0.14698952436447144,
0.6829296350479126,
0.08203040063381195,
0.32414746284484863,
0.07416485249996185,
0.146212637424469,
-0.032156217843294144,
-0.3218235671520233,
-0.18542075157165527,
-0.03505770489573479,
0.40375176072120667,
0.5893023610115051,
-0.3464950919151306,
-0.24674202501773834,
0.0536169558763504,
0.18234466016292572,
-0.08133340626955032,
-0.04513972997665405,
-0.08851401507854462,
-0.21685650944709778,
0.1660148650407791,
0.15578371286392212,
0.23869188129901886,
0.04608992487192154,
-0.16047999262809753,
-0.08797936141490936,
-0.14562800526618958,
-0.22263994812965393,
0.2731252610683441,
0.009375082328915596,
0.02340567670762539,
-0.157081738114357,
0.11943797767162323,
-0.04588896036148071,
0.3345769941806793,
0.33560532331466675,
0.5202829241752625,
-0.006484679877758026,
-0.33148065209388733,
-0.1400776207447052,
-0.24945251643657684,
0.1976848542690277,
0.49658945202827454,
-0.14120514690876007,
-0.1641647219657898,
0.1141832023859024,
0.17882871627807617,
-0.24411854147911072,
0.419817179441452,
0.27617940306663513,
-0.09803371876478195,
-0.5578621625900269,
-0.13666807115077972,
0.28689685463905334,
0.0012292452156543732,
-0.23611170053482056,
0.363286554813385,
0.2800455689430237,
-0.42096760869026184,
0.4096161723136902,
-0.17176339030265808,
0.7349620461463928,
0.011144973337650299,
0.05050305277109146,
0.07171782106161118,
-0.3642832040786743,
0.027499696239829063,
-0.5725721120834351,
-0.026091832667589188,
-0.44226330518722534,
-0.47438836097717285,
-0.16097098588943481,
-0.29101040959358215,
0.41236889362335205,
0.7570809125900269,
0.07068797945976257,
0.23088599741458893,
-0.010944381356239319,
0.32451942563056946,
0.22004935145378113,
0.3287527561187744,
0.1651918888092041,
-0.11040127277374268,
-0.035279255360364914,
0.10298530757427216,
-0.26244616508483887,
0.07628859579563141,
0.10557596385478973,
-0.32076960802078247,
0.16325747966766357,
-0.4256629943847656,
-0.4759628176689148,
0.3417934775352478,
-0.34787532687187195,
0.008376744575798512,
0.11050021648406982,
-0.05826220661401749,
0.200387641787529,
0.21274767816066742,
-0.11400587856769562,
0.24846534430980682,
-0.12505970895290375,
0.41396841406822205,
0.039730265736579895,
0.33623006939888,
-0.07494353502988815,
-0.1191323772072792,
0.3688082993030548,
0.2393043339252472,
-0.11506464332342148,
-0.20420339703559875,
-0.3498500883579254,
-0.016057856380939484,
0.10212969779968262,
0.3040226697921753,
-0.09388887882232666,
-0.39767318964004517,
0.013657376170158386,
0.14244869351387024,
0.342299222946167,
-0.07295520603656769,
0.08359594643115997,
0.06278619170188904,
-0.24762524664402008,
0.39018625020980835,
-0.10612468421459198,
-0.5431768298149109,
-0.059529732912778854,
0.17451828718185425,
-0.1469021737575531,
0.025979138910770416,
0.46151119470596313,
-0.24054300785064697,
-0.03217771649360657,
-0.3933281898498535,
0.5553339719772339,
0.34355980157852173,
-0.2986140251159668,
0.24820877611637115,
-0.17673414945602417,
-0.26533934473991394,
0.21277178823947906,
0.23637686669826508,
0.06720508635044098,
-0.06502539664506912,
-0.04288637265563011,
-0.4741966724395752,
0.18523414433002472,
-0.17058809101581573,
-0.4346928894519806,
0.2603030502796173,
0.13491973280906677,
0.2882569134235382,
-0.2113301157951355,
0.23644201457500458,
-0.25772982835769653,
0.3318665623664856,
0.0566144734621048,
0.24055355787277222,
-0.25628337264060974,
-0.022905796766281128,
0.38467100262641907,
-0.2305399477481842,
0.17878933250904083,
0.10185881704092026,
-0.21070295572280884,
-0.189083069562912,
-0.19115802645683289,
0.16321034729480743,
0.15101772546768188,
0.1561896651983261,
-0.1915012001991272,
0.0627296194434166,
-0.12000574171543121,
-0.11452829092741013,
0.2785467505455017,
0.15660697221755981,
0.07464451342821121,
0.06664860248565674,
0.1363096535205841,
0.05769822373986244,
-0.07068540155887604,
-0.06686369329690933,
-0.31114816665649414,
0.40091443061828613,
-0.011816446669399738,
0.2709070146083832,
-0.2068416327238083,
0.012855522334575653,
-0.23357222974300385,
0.08567053079605103,
0.2380634993314743,
0.2633533775806427,
0.2413165271282196,
-0.23878230154514313,
-0.05290632322430611,
-0.034683484584093094,
0.44309890270233154,
0.4672205150127411,
-0.3656105697154999,
0.0100370142608881,
0.21577319502830505,
0.19063660502433777,
-0.1556849330663681,
-0.23182205855846405,
0.5880915522575378,
0.2669116258621216,
0.04887544736266136,
0.056623898446559906,
0.12793493270874023,
-0.003266669809818268,
0.1069989949464798,
0.017599839717149734,
0.3137809932231903,
0.163011372089386,
0.2460601031780243,
0.48718780279159546,
-0.232657790184021,
0.08887585252523422,
0.3613434433937073,
-0.1196756660938263,
-0.024428673088550568,
0.7515007257461548,
0.032408058643341064,
0.32667744159698486,
0.03576277196407318,
0.23383593559265137,
0.12822340428829193,
-0.3834685981273651,
-0.029313597828149796,
0.2509635388851166,
-0.4489840269088745,
0.15902507305145264,
0.11696727573871613,
-0.03483794629573822,
-0.42493659257888794,
-0.15180055797100067,
-0.3284520208835602,
-0.14726622402668,
-0.11901991814374924,
0.12455496191978455,
0.15698841214179993,
0.029649846255779266,
-0.019374549388885498,
0.19731765985488892,
0.037333663552999496,
-0.014010071754455566,
0.13633084297180176,
0.10032118856906891,
-0.029447510838508606,
-0.038160331547260284,
0.012445315718650818,
-0.050422362983226776,
-0.00401943176984787,
-0.42156705260276794,
0.061779193580150604,
-0.28974658250808716,
-0.1707850694656372,
0.6038246154785156,
0.03979476913809776,
0.0703536868095398,
0.25000447034835815,
0.17008481919765472,
-0.17200526595115662,
-0.2181152105331421,
-0.19984805583953857,
-0.04951712116599083,
0.3919745683670044,
-0.057082369923591614,
0.19726301729679108,
0.4284217655658722,
0.21642427146434784,
-0.07478903979063034,
-0.05119047686457634,
0.17482821643352509,
0.12938064336776733,
-0.455177903175354,
0.39661407470703125,
0.14601394534111023,
-0.08996022492647171,
-0.31340518593788147,
-0.02284134179353714,
-0.046384505927562714,
-0.24250878393650055,
0.29203349351882935,
0.02143510803580284,
0.3494664132595062,
-0.09228014200925827,
0.05208762735128403,
0.012657182291150093,
0.31894049048423767,
-0.021358761936426163,
-0.2460172176361084,
-0.16520005464553833,
-0.21437731385231018,
-0.3554469645023346,
0.01004914939403534,
-0.22822850942611694,
0.08760219067335129,
0.09699419885873795,
0.005128519609570503,
0.15980106592178345,
0.06615568697452545,
-0.05436757206916809,
0.15446138381958008,
-0.024085965007543564,
0.24693071842193604,
-0.26039454340934753,
0.24865753948688507,
0.07459637522697449,
0.20523717999458313,
-0.08114998787641525,
-0.4482978284358978,
0.3388883173465729,
0.17046894133090973,
0.008981488645076752,
0.09641432017087936,
-0.16934770345687866,
0.1501317024230957,
0.13480475544929504,
0.25891879200935364,
0.31559616327285767,
0.2982414960861206,
-0.0937463790178299,
0.0525226965546608,
-0.21340245008468628,
0.004250008147209883,
-0.29471689462661743,
0.24972647428512573,
0.07604026794433594,
0.3408326506614685,
-0.2219902127981186,
0.3113338053226471,
-0.2808580994606018,
0.10548700392246246,
-0.08202669024467468,
-0.0012187693500891328,
-0.6131060719490051,
0.12050073593854904,
-0.35025086998939514,
0.3009519875049591,
0.03587073087692261,
0.37640300393104553,
-0.037781767547130585,
-0.1442677080631256,
0.1473151296377182,
-0.22341284155845642,
0.32761597633361816,
-0.1498030424118042,
-0.5134915709495544,
0.015127173624932766,
0.23330526053905487,
0.045779749751091,
-0.17488405108451843,
-0.2587025463581085,
-0.13120871782302856,
0.37460997700691223,
-0.31515946984291077,
-0.2793775796890259,
-0.16697286069393158,
0.0440884567797184,
-0.2372034788131714,
-0.10883839428424835,
0.0322297178208828,
0.3343692421913147,
-0.46323153376579285,
0.20977312326431274,
-0.3200685381889343
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | > "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified?
And `my_dataset_dev.foo` would match the pattern, and we also have the same pattern but for the "validation" keyword so `my_dataset_validation.foo` would work too | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 39 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
> "my_dataset_dev" doesn't match your regex, "my_dataset_validation" doesn't either ... Why not always "train" unless specified?
And `my_dataset_dev.foo` would match the pattern, and we also have the same pattern but for the "validation" keyword so `my_dataset_validation.foo` would work too | [
-0.22089800238609314,
0.08572669327259064,
-0.0347692035138607,
0.11357893794775009,
0.180914044380188,
-0.09965336322784424,
0.31540602445602417,
0.5672200918197632,
-0.18939277529716492,
-0.08389537036418915,
0.16459012031555176,
0.20880115032196045,
-0.12983250617980957,
0.165233314037323,
-0.09178689867258072,
0.20148411393165588,
-0.002763710916042328,
0.34957385063171387,
0.0560586154460907,
-0.05329255387187004,
-0.07689709961414337,
0.1015239953994751,
-0.12200218439102173,
0.11341675370931625,
-0.38044995069503784,
-0.01293870247900486,
0.2597781717777252,
0.16348537802696228,
-0.36204373836517334,
-0.3314376771450043,
0.3813692033290863,
-0.20717613399028778,
-0.08688637614250183,
0.123319111764431,
-0.00010457597090862691,
0.1588641107082367,
0.2500627636909485,
-0.13148866593837738,
-0.18764537572860718,
-0.24260161817073822,
-0.49303609132766724,
0.06077050417661667,
0.009652440436184406,
0.06697005778551102,
-0.13854190707206726,
-0.26648008823394775,
0.12414281070232391,
-0.23960961401462555,
0.5834532976150513,
0.5452645421028137,
0.2499004602432251,
-0.019658170640468597,
-0.2805878221988678,
0.057171016931533813,
0.0727764293551445,
0.24855004251003265,
-0.0073453690856695175,
-0.09204259514808655,
0.21384496986865997,
-0.12900379300117493,
-0.09830368310213089,
0.31595858931541443,
-0.01794220507144928,
-0.16432587802410126,
0.14051216840744019,
-0.019314847886562347,
-0.1826288402080536,
-0.2872433066368103,
0.08342152833938599,
0.5308599472045898,
0.43456006050109863,
-0.04528466612100601,
-0.07887326925992966,
-0.0015871226787567139,
-0.07026154547929764,
-0.10494500398635864,
0.13822543621063232,
0.354720801115036,
0.03515242785215378,
0.3261364996433258,
-0.2698935270309448,
0.05149130895733833,
-0.19477258622646332,
-0.039585262537002563,
-0.2839708924293518,
0.456830769777298,
-0.09126004576683044,
0.11029714345932007,
0.08355598151683807,
0.15233232080936432,
-0.273242324590683,
-0.235693097114563,
-0.5262632369995117,
0.09651748090982437,
-0.142597958445549,
-0.15105852484703064,
-0.18485912680625916,
-0.3051794171333313,
0.3874666690826416,
0.2818529009819031,
-0.029947008937597275,
0.14460277557373047,
-0.25089555978775024,
0.009097658097743988,
0.36142200231552124,
0.166015163064003,
0.3554052710533142,
0.2600714862346649,
0.19946110248565674,
-0.29231834411621094,
-0.06132494658231735,
-0.050788961350917816,
0.09488343447446823,
0.05032102391123772,
0.0841490775346756,
0.05841987952589989,
0.027516599744558334,
-0.21680279076099396,
-0.3912946879863739,
0.15236638486385345,
-0.3639257252216339,
-0.07827360928058624,
0.07875145226716995,
0.23895478248596191,
0.11474211513996124,
0.11751783639192581,
-0.24745899438858032,
0.126214861869812,
0.04349613934755325,
-0.4197573959827423,
-0.23975779116153717,
0.1341085135936737,
-0.3907545506954193,
-0.19287589192390442,
0.25944429636001587,
-0.04866189882159233,
0.13172321021556854,
0.16080105304718018,
-0.33073925971984863,
-0.12384288012981415,
0.09747101366519928,
-0.06357347220182419,
0.3475721478462219,
0.40445345640182495,
-0.2226874828338623,
0.1330806016921997,
-0.022530842572450638,
-0.22559328377246857,
-0.171692356467247,
0.13794884085655212,
-0.2153739333152771,
-0.3211957514286041,
0.04470105469226837,
0.3423939645290375,
-0.14303521811962128,
0.17919643223285675,
-0.06431684643030167,
0.23510706424713135,
-0.0738048180937767,
-0.21335503458976746,
-0.06634033471345901,
-0.21439898014068604,
0.1607052981853485,
-0.15220890939235687,
0.15270881354808807,
0.05364494025707245,
-0.5616632103919983,
0.14159026741981506,
-0.18211159110069275,
-0.40475839376449585,
0.14261984825134277,
0.06347943842411041,
-0.32527220249176025,
0.26018446683883667,
-0.25691288709640503,
0.4105696678161621,
0.35937851667404175,
0.04744889959692955,
-0.21791623532772064,
0.5959800481796265,
-0.29074352979660034,
0.11604524403810501,
-0.013361319899559021,
-0.14790934324264526,
0.1549324095249176,
0.23543742299079895,
-0.059944555163383484,
0.4456371068954468,
0.006377812474966049,
-0.03177054971456528,
-0.0838368833065033,
-0.057359062135219574,
-0.01836857944726944,
0.03140532970428467,
0.20375797152519226,
0.025116272270679474,
0.11584573984146118,
0.1267816573381424,
0.42528215050697327,
-0.09757895767688751,
0.01821052096784115,
0.06571800261735916,
0.22285856306552887,
-0.38524264097213745,
0.17491130530834198,
-0.37824276089668274,
-0.4554947018623352,
0.06213478744029999,
0.10142065584659576,
-0.1375291645526886,
0.11589543521404266,
-0.09656554460525513,
-0.3515443801879883,
-0.10738073289394379,
-0.11266498267650604,
-0.166916161775589,
0.2667329013347626,
0.08473477512598038,
0.01047053188085556,
-0.1284503936767578,
-0.34994539618492126,
0.31090718507766724,
0.1858595907688141,
0.09986487776041031,
-0.17605215311050415,
0.11975876986980438,
-0.014788715168833733,
0.01327466033399105,
-0.10029570758342743,
-0.024315036833286285,
-0.06755363196134567,
-0.26218655705451965,
0.12306763231754303,
0.3927677869796753,
0.21710297465324402,
-0.029939517378807068,
-0.1052878126502037,
-0.10213525593280792,
0.10645025223493576,
-0.04357153922319412,
-0.26225388050079346,
0.037927184253931046,
0.04554405063390732,
-0.28137102723121643,
-0.10893664509057999,
0.29007238149642944,
-0.0013891346752643585,
0.12500466406345367,
0.002289850264787674,
-0.0796225368976593,
0.2583754062652588,
-0.38919228315353394,
-0.07615336030721664,
-0.3440887928009033,
0.055321577936410904,
0.028146348893642426,
0.05822458490729332,
0.26226139068603516,
-0.2873215079307556,
-0.07276277989149094,
0.4256913363933563,
-0.19037744402885437,
-0.11093702167272568,
0.00804564356803894,
-0.16541868448257446,
-0.09011083841323853,
-0.03713779151439667,
0.4648382365703583,
0.546400249004364,
0.22403500974178314,
-0.055741649121046066,
0.0853973999619484,
-0.1035086065530777,
-0.2827940583229065,
0.18746675550937653,
-0.060596197843551636,
0.0694378986954689,
0.34352463483810425,
-0.12278778105974197,
-0.07653383910655975,
-0.5940357446670532,
-0.19973646104335785,
0.24397152662277222,
0.021310508251190186,
-0.29154103994369507,
0.12521110475063324,
-0.5876446962356567,
0.15318790078163147,
-0.18018661439418793,
-0.03474161773920059,
-0.15486623346805573,
-0.21694107353687286,
0.20547115802764893,
-0.10399140417575836,
-0.1894841343164444,
0.10274207592010498,
-0.15852892398834229,
0.06630450487136841,
-0.16143739223480225,
-0.13961420953273773,
-0.3145327568054199,
-0.03404239937663078,
-0.39897650480270386,
0.17831438779830933,
0.18301542103290558,
0.20204918086528778,
0.1871422678232193,
0.03905125707387924,
-0.14259286224842072,
-0.09319676458835602,
-0.2514519989490509,
0.09346230328083038,
-0.11179113388061523,
0.1537797749042511,
0.27146345376968384,
0.2392374724149704,
0.16767928004264832,
-0.20096349716186523,
-0.08792539685964584,
0.09007211774587631,
-0.2527700960636139,
0.12261836230754852,
0.035953670740127563,
0.04141677916049957,
-0.3699291944503784,
-0.6525769233703613,
0.055704034864902496,
-0.19680769741535187,
0.014807268977165222,
-0.2343950867652893,
-0.04922177642583847,
0.17139454185962677,
-0.05388537421822548,
-0.014029358513653278,
-0.2752937078475952,
0.015510616824030876,
-0.26436495780944824,
0.03347077593207359,
0.27602097392082214,
-0.01725815236568451,
-0.13879923522472382,
0.018417280167341232,
-0.12177523225545883,
0.03245881199836731,
0.1251867413520813,
-0.45457470417022705,
0.010466084815561771,
-0.13767071068286896,
-0.22678646445274353,
-0.19062113761901855,
-0.3300798833370209,
0.19481144845485687,
0.00046556582674384117,
-0.07238763570785522,
-0.17683929204940796,
0.03560839965939522,
0.2506484389305115,
-0.08107496798038483,
0.20562800765037537,
-0.16320785880088806,
0.27962759137153625,
0.23776593804359436,
0.4854324460029602,
-0.1465912014245987,
-0.21933867037296295,
0.10913053154945374,
-0.01533929817378521,
0.309185266494751,
-0.17174187302589417,
-0.1708223968744278,
-0.051398053765296936,
-0.01941545307636261,
-0.1056223139166832,
0.2262820601463318,
-0.13852044939994812,
0.06328675895929337,
-0.008649177849292755,
0.15977078676223755,
0.015399124473333359,
-0.1616436094045639,
0.2947483956813812,
-0.04569298028945923,
-0.11144531518220901,
0.34936803579330444,
0.28051885962486267,
0.23404976725578308,
0.12309933453798294,
-0.02367563173174858,
0.34005481004714966,
0.13718931376934052,
-0.02261422388255596,
-0.6085087656974792,
-0.03408997133374214,
0.017783600836992264,
0.240602046251297,
-0.07587189227342606,
0.010282956063747406,
-0.024278368800878525,
-0.05854497104883194,
0.1487671136856079,
0.03645871579647064,
0.6180636286735535,
-0.11545232683420181,
0.08959054201841354,
0.06509681046009064,
0.09188583493232727,
0.06913163512945175,
-0.27601006627082825,
-0.2044903188943863,
-0.04756535217165947,
0.5021355748176575,
0.7775657176971436,
-0.4113331437110901,
-0.1560431718826294,
0.08722846210002899,
0.16476500034332275,
-0.0769389197230339,
-0.1625661551952362,
-0.12284684181213379,
-0.1871553659439087,
0.09004278481006622,
0.22868457436561584,
0.21151180565357208,
0.141128808259964,
-0.07013282924890518,
-0.17626479268074036,
-0.1071600615978241,
-0.15667572617530823,
0.245345801115036,
0.21274128556251526,
0.06818081438541412,
-0.20474125444889069,
0.1709822714328766,
-0.07535967975854874,
0.5455244779586792,
0.2742718458175659,
0.3747883439064026,
-0.10422264039516449,
-0.2668090760707855,
-0.1403675377368927,
-0.2021370530128479,
0.23436391353607178,
0.376018226146698,
-0.057708751410245895,
0.009660102427005768,
0.3009229302406311,
0.02410881221294403,
-0.06792445480823517,
0.4851529002189636,
0.24885445833206177,
-0.18631090223789215,
-0.543106198310852,
-0.2297954112291336,
0.16789335012435913,
-0.05115753784775734,
-0.21317695081233978,
0.2035178542137146,
-0.03152795135974884,
-0.4284875988960266,
0.4526445269584656,
-0.09766720980405807,
0.7500523328781128,
0.13806726038455963,
0.06427635997533798,
0.1495359241962433,
-0.260337233543396,
0.14903318881988525,
-0.631102979183197,
0.26903820037841797,
-0.4670383334159851,
-0.45651906728744507,
-0.07754017412662506,
-0.21112321317195892,
0.20428183674812317,
0.6347633004188538,
-0.03970957547426224,
0.09282545745372772,
0.09502550959587097,
0.42578452825546265,
0.05876535177230835,
0.32797685265541077,
0.05276037007570267,
-0.04826769605278969,
-0.035569023340940475,
0.16144300997257233,
-0.14987477660179138,
0.03624400869011879,
-0.05140635371208191,
-0.3855077028274536,
0.1836002916097641,
-0.42840057611465454,
-0.2251661717891693,
0.2187384068965912,
-0.22785945236682892,
-0.03322802111506462,
0.1760794073343277,
-0.12854602932929993,
0.006121348589658737,
0.11739411950111389,
-0.11140358448028564,
0.27714109420776367,
-0.14581824839115143,
0.44502022862434387,
0.009751293808221817,
0.2832593619823456,
-0.13361239433288574,
-0.1786491423845291,
0.4979656934738159,
0.05398769676685333,
-0.21685725450515747,
-0.05611606687307358,
-0.3294493854045868,
-0.03949112445116043,
-0.08498093485832214,
0.2784349322319031,
-0.20254965126514435,
-0.4120260775089264,
-0.06913204491138458,
0.16787201166152954,
0.26742300391197205,
-0.10703624784946442,
0.1977512091398239,
-0.00780622661113739,
-0.18433423340320587,
0.4120733439922333,
-0.05333937332034111,
-0.5031566619873047,
-0.15456146001815796,
0.2033061385154724,
0.08361220359802246,
0.02505248785018921,
0.4855346381664276,
-0.21197237074375153,
-0.10055673122406006,
-0.3836774230003357,
0.31798940896987915,
0.5571680665016174,
-0.1935870349407196,
0.24237820506095886,
-0.13821540772914886,
-0.2601280212402344,
0.27216771245002747,
0.018815234303474426,
0.17959070205688477,
-0.018812038004398346,
0.005804587155580521,
-0.42531588673591614,
0.05407985299825668,
0.04872598871588707,
-0.3073984384536743,
0.2638312578201294,
0.07398438453674316,
0.20100054144859314,
-0.12320934981107712,
0.15762437880039215,
-0.38020193576812744,
0.15144838392734528,
-0.056594327092170715,
0.3011016845703125,
-0.282238245010376,
-0.1286562979221344,
0.2552877366542816,
-0.007192579563707113,
0.276922345161438,
0.06345880031585693,
-0.2208022028207779,
-0.3102846145629883,
-0.17630694806575775,
0.0841933861374855,
0.11437386274337769,
0.2190534919500351,
-0.15166671574115753,
0.05296607315540314,
-0.148259237408638,
0.0025130780413746834,
0.24644866585731506,
-0.03846583142876625,
0.0905698761343956,
0.009830686263740063,
0.030383337289094925,
0.17187510430812836,
-0.0815698504447937,
-0.2382054328918457,
-0.2466033399105072,
0.3126651644706726,
0.06348782777786255,
0.17357346415519714,
-0.06244640797376633,
0.0033638104796409607,
-0.32138562202453613,
-0.05050831288099289,
0.053427375853061676,
0.31471341848373413,
0.1768406480550766,
-0.05794316530227661,
-0.0576825775206089,
-0.04783186689019203,
0.4436822235584259,
0.5993788838386536,
-0.31502822041511536,
0.012222887948155403,
0.18311291933059692,
0.3384348154067993,
-0.1305139660835266,
-0.1803351640701294,
0.5321150422096252,
0.18203680217266083,
-0.010829806327819824,
0.004495710134506226,
0.07600149512290955,
0.10867759585380554,
0.06119079515337944,
0.057289764285087585,
0.39090174436569214,
-0.07028339803218842,
0.18964582681655884,
0.5708372592926025,
-0.48555484414100647,
0.09499076008796692,
0.2598789930343628,
-0.12131662666797638,
0.10497573018074036,
0.6375131607055664,
-0.04308813065290451,
0.4027802348136902,
0.21545091271400452,
0.17888692021369934,
0.0008399710059165955,
-0.2794145345687866,
-0.11759981513023376,
0.3414323925971985,
-0.31141170859336853,
0.23357799649238586,
0.18776166439056396,
-0.03480048477649689,
-0.19462327659130096,
-0.0991959199309349,
-0.3562891185283661,
-0.1453222781419754,
-0.2091040313243866,
0.04385118559002876,
-0.154308021068573,
-0.18718481063842773,
-0.04438413307070732,
0.24165421724319458,
0.05734534561634064,
0.1841016709804535,
0.030548900365829468,
0.06505052745342255,
-0.12331508100032806,
0.023038435727357864,
0.15602171421051025,
-0.16452708840370178,
0.0038522258400917053,
-0.3887149393558502,
0.08894150704145432,
-0.07572218775749207,
-0.11567911505699158,
0.4925916790962219,
-0.027577737346291542,
0.09586714953184128,
0.42392605543136597,
0.18789400160312653,
-0.17482183873653412,
-0.15702258050441742,
-0.14315396547317505,
-0.22669139504432678,
0.47281068563461304,
0.15201044082641602,
0.06251983344554901,
0.44067302346229553,
0.2900243103504181,
-0.16430871188640594,
0.17511524260044098,
0.14957211911678314,
0.09747810661792755,
-0.33412766456604004,
0.24873843789100647,
0.3146914541721344,
-0.16074714064598083,
-0.20664042234420776,
-0.08171262592077255,
-0.029466550797224045,
-0.05965065211057663,
0.18744033575057983,
0.11790396273136139,
0.3407312333583832,
-0.2361193299293518,
0.11070697009563446,
0.0414234921336174,
0.40090733766555786,
-0.04580804333090782,
-0.3240059018135071,
-0.2138717919588089,
-0.04860658571124077,
-0.4575081169605255,
0.16548269987106323,
-0.3153253495693207,
0.09095221012830734,
-0.03779973089694977,
0.004924638196825981,
0.06895533949136734,
0.029135812073946,
-0.016978487372398376,
0.036135464906692505,
-0.023390714079141617,
0.21603427827358246,
-0.28564023971557617,
0.23822061717510223,
0.21645820140838623,
0.17691536247730255,
-0.05650802701711655,
-0.31807011365890503,
0.43147289752960205,
0.08565598726272583,
0.07874605804681778,
0.11734851449728012,
-0.23517341911792755,
0.3316434919834137,
0.3588360548019409,
0.3849411606788635,
0.29476821422576904,
0.37017813324928284,
-0.1180771142244339,
0.12628377974033356,
-0.2970585525035858,
-0.02271055057644844,
-0.3061894476413727,
0.21318605542182922,
0.2257814258337021,
0.3570384383201599,
-0.03365210071206093,
0.13297095894813538,
-0.22865428030490875,
0.14342279732227325,
-0.025144904851913452,
-0.07068589329719543,
-0.3951464295387268,
0.04634609818458557,
-0.19158631563186646,
0.0884954109787941,
0.12257352471351624,
0.35735267400741577,
0.00962507352232933,
-0.3174106776714325,
0.04561249911785126,
-0.2882882356643677,
0.2676805257797241,
-0.2038497030735016,
-0.4605976343154907,
-0.041809096932411194,
0.10663749277591705,
0.1789294332265854,
-0.05903387814760208,
-0.39678511023521423,
-0.19077828526496887,
0.3628889322280884,
-0.29211050271987915,
-0.2910732328891754,
-0.07542769610881805,
0.21660162508487701,
-0.20380984246730804,
-0.0846211314201355,
-0.02204573154449463,
0.3249830901622772,
-0.544760525226593,
0.05917418375611305,
-0.31737232208251953
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | > The regex is needed as part of our effort to make datasets configurable without code
This feels like coding with the filename ^^' | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 24 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
> The regex is needed as part of our effort to make datasets configurable without code
This feels like coding with the filename ^^' | [
-0.25342634320259094,
0.13746654987335205,
-0.06335359066724777,
0.13250324130058289,
0.15387576818466187,
-0.11227462440729141,
0.2060326188802719,
0.5831241011619568,
-0.13597241044044495,
-0.03974711894989014,
0.01743035763502121,
0.19663359224796295,
-0.014410720206797123,
0.1911669224500656,
-0.008255469612777233,
0.34331265091896057,
-0.020284928381443024,
0.3917875587940216,
0.10303223133087158,
-0.052723586559295654,
-0.1903061717748642,
0.1377197802066803,
-0.11359689384698868,
0.14888647198677063,
-0.25767087936401367,
-0.08803009241819382,
0.33352017402648926,
0.23191523551940918,
-0.27384915947914124,
-0.3377779424190521,
0.37908515334129333,
-0.1357726901769638,
-0.24709372222423553,
0.11035604029893875,
-0.00010962603846564889,
0.09979285299777985,
0.23163586854934692,
-0.17074978351593018,
-0.22822701930999756,
-0.2254204899072647,
-0.4662269055843353,
0.0920557975769043,
0.07867953181266785,
0.07418838888406754,
-0.09054630994796753,
-0.21031169593334198,
0.08762989193201065,
-0.3661442995071411,
0.6112679243087769,
0.4726111590862274,
0.19141511619091034,
-0.04247629642486572,
-0.24185046553611755,
0.04348825290799141,
0.00622086226940155,
0.4266783595085144,
-0.017723456025123596,
-0.14496730268001556,
0.41510099172592163,
-0.07261308282613754,
-0.026307232677936554,
0.26327985525131226,
-0.06928245723247528,
0.033185407519340515,
0.12746739387512207,
-0.07856091856956482,
-0.28324031829833984,
-0.38843804597854614,
0.20844155550003052,
0.633554220199585,
0.43795710802078247,
-0.050415731966495514,
-0.006088852882385254,
-0.00939551368355751,
-0.14196375012397766,
-0.026638751849532127,
0.17684632539749146,
0.4905526638031006,
-0.11717177927494049,
0.3152577877044678,
-0.2586172819137573,
0.029911085963249207,
-0.14990583062171936,
-0.015324600040912628,
-0.33294370770454407,
0.3917553424835205,
-0.18820063769817352,
0.12120288610458374,
0.07425575703382492,
0.15090647339820862,
-0.24338120222091675,
-0.2829332649707794,
-0.6026093363761902,
0.019345104694366455,
-0.060338180512189865,
-0.11302164942026138,
-0.2505195736885071,
-0.17461049556732178,
0.4233030080795288,
0.14076070487499237,
-0.012122021056711674,
0.1704205572605133,
-0.25750628113746643,
-0.04228976368904114,
0.3435744345188141,
-0.01725650019943714,
0.47561728954315186,
0.24195916950702667,
0.28948307037353516,
-0.2996284067630768,
0.1191265732049942,
-0.030797071754932404,
0.2374696582555771,
0.07047931849956512,
-0.07952527701854706,
0.05044306069612503,
0.1379535049200058,
-0.34358322620391846,
-0.43054166436195374,
0.11281248927116394,
-0.23768901824951172,
-0.03414851427078247,
0.045068517327308655,
0.16073575615882874,
0.24119336903095245,
0.12321431189775467,
-0.260887086391449,
0.1577785760164261,
0.12069188803434372,
-0.490797221660614,
-0.16013750433921814,
-0.006108641624450684,
-0.31681060791015625,
-0.098241426050663,
0.28072234988212585,
-0.06274467706680298,
0.056884534657001495,
0.23419977724552155,
-0.33886587619781494,
-0.17699649930000305,
0.03859211504459381,
-0.013217674568295479,
0.3620595335960388,
0.5385189056396484,
-0.1930283159017563,
0.15222138166427612,
0.03242550045251846,
-0.4161134958267212,
-0.12818285822868347,
0.14479690790176392,
-0.16487857699394226,
-0.2333534210920334,
-0.08921518176794052,
0.2771681845188141,
-0.1500631719827652,
0.3300786316394806,
-0.06732640415430069,
0.16192308068275452,
-0.125392884016037,
-0.23399576544761658,
0.0062610432505607605,
-0.14062023162841797,
0.29434362053871155,
-0.10509312152862549,
0.06057017296552658,
0.20523524284362793,
-0.7030360102653503,
0.1865289807319641,
-0.25640687346458435,
-0.4325762689113617,
0.11583655327558517,
0.11930851638317108,
-0.30308032035827637,
0.17983996868133545,
-0.35795077681541443,
0.3457511067390442,
0.38106492161750793,
0.13692285120487213,
-0.2833891212940216,
0.6882148385047913,
-0.3251453638076782,
0.028132332488894463,
0.03903103247284889,
-0.09160585701465607,
0.2069055587053299,
0.21475574374198914,
-0.14656856656074524,
0.37396275997161865,
-0.027412833645939827,
-0.0018827617168426514,
-0.08610379695892334,
-0.06195034831762314,
-0.04601309448480606,
-0.03531698137521744,
0.276821494102478,
0.05907628685235977,
0.24919945001602173,
0.07377389073371887,
0.46943244338035583,
-0.1444505751132965,
0.03421885892748833,
0.0812130868434906,
0.20034924149513245,
-0.30736398696899414,
0.13304612040519714,
-0.5007244348526001,
-0.5176320672035217,
0.0246729776263237,
0.10730917751789093,
-0.24469256401062012,
0.006626255810260773,
-0.09493136405944824,
-0.3481309711933136,
-0.09176994115114212,
-0.05366067960858345,
-0.07904468476772308,
0.18343165516853333,
0.21415908634662628,
-0.003171313554048538,
-0.0842805802822113,
-0.27297234535217285,
0.3970382511615753,
0.17783233523368835,
0.1381017118692398,
-0.20585229992866516,
0.2008204162120819,
0.14375090599060059,
-0.03352213278412819,
-0.11380361020565033,
-0.09790811687707901,
0.007437173277139664,
-0.3075515925884247,
0.09490840882062912,
0.3141045570373535,
0.2025976926088333,
-0.028510980308055878,
-0.10197409242391586,
-0.07701389491558075,
0.1247529461979866,
-0.08909212052822113,
-0.19834402203559875,
0.08127614855766296,
0.13662196695804596,
-0.3862431049346924,
-0.14054971933364868,
0.357149600982666,
-0.18147379159927368,
0.12164544314146042,
-0.10297621786594391,
0.035973288118839264,
0.23684954643249512,
-0.3651053011417389,
0.04888398200273514,
-0.308379590511322,
0.182819202542305,
0.002790914848446846,
0.15436144173145294,
0.24972346425056458,
-0.24588051438331604,
-0.14657807350158691,
0.32839158177375793,
-0.21280287206172943,
-0.006697311997413635,
0.05200446769595146,
-0.22130966186523438,
-0.03522532060742378,
-0.041217513382434845,
0.4420037567615509,
0.6184743642807007,
0.22604580223560333,
-0.14997778832912445,
0.049054622650146484,
0.035568393766880035,
-0.30645447969436646,
0.25508153438568115,
0.0559418722987175,
-0.055800747126340866,
0.3221934139728546,
-0.16058535873889923,
-0.10927072912454605,
-0.6805304884910583,
-0.0427679643034935,
0.20704132318496704,
-0.10644416511058807,
-0.3759016990661621,
0.08826594054698944,
-0.5233179926872253,
0.2416749894618988,
-0.11568184196949005,
-0.07984823733568192,
-0.22629976272583008,
-0.2453116774559021,
0.09036322683095932,
-0.04449155554175377,
-0.09651115536689758,
0.09190154820680618,
-0.09457060694694519,
0.15356793999671936,
-0.18923036754131317,
-0.21169334650039673,
-0.3781189024448395,
-0.03923964127898216,
-0.24610260128974915,
0.12371768057346344,
0.21657197177410126,
0.3587961494922638,
0.23381534218788147,
0.06061014533042908,
-0.060701269656419754,
-0.17686140537261963,
-0.26370513439178467,
0.1290324628353119,
-0.17942683398723602,
0.16787439584732056,
0.2429056018590927,
0.2681182622909546,
0.3348749279975891,
-0.09519150853157043,
-0.17920848727226257,
0.04402376711368561,
-0.15473543107509613,
0.13608434796333313,
-0.03357134014368057,
-0.03088727407157421,
-0.3797042965888977,
-0.49087730050086975,
0.08329068869352341,
-0.14049957692623138,
0.15215055644512177,
-0.26341211795806885,
-0.061312027275562286,
0.029612813144922256,
-0.11832044273614883,
-0.07170125842094421,
-0.25549450516700745,
-0.06506513804197311,
-0.2728641927242279,
0.07780440151691437,
0.2598479986190796,
0.027445413172245026,
-0.18970516324043274,
0.027605485171079636,
-0.02453216351568699,
-0.05786812677979469,
0.1157945767045021,
-0.4907013773918152,
0.04564128816127777,
-0.23300911486148834,
-0.16799788177013397,
-0.17312905192375183,
-0.318623423576355,
0.17183423042297363,
0.0008053379133343697,
-0.016759339720010757,
-0.20479166507720947,
0.044875506311655045,
0.19604799151420593,
-0.18276429176330566,
0.14913561940193176,
-0.16276267170906067,
0.3199962079524994,
0.15035651624202728,
0.4808177947998047,
-0.19544552266597748,
-0.14313361048698425,
0.021228495985269547,
0.0393119677901268,
0.46781548857688904,
-0.12274628132581711,
-0.1801379919052124,
0.020520731806755066,
0.054617613554000854,
-0.040716495364904404,
0.24395716190338135,
-0.1391168236732483,
0.05281470715999603,
0.015423186123371124,
0.16291803121566772,
0.03146163374185562,
-0.09418308734893799,
0.2271791696548462,
-0.0032560043036937714,
-0.16765016317367554,
0.3836377263069153,
0.29270002245903015,
0.17817440629005432,
-0.03035682626068592,
-0.12874284386634827,
0.36002105474472046,
0.058899540454149246,
-0.02027479186654091,
-0.5410088896751404,
0.10704301297664642,
0.08705955743789673,
0.37145280838012695,
-0.14144058525562286,
0.004003030713647604,
-0.12528842687606812,
0.04754214733839035,
0.2124888300895691,
0.07087677717208862,
0.7127009630203247,
0.02139204554259777,
0.16174602508544922,
0.025734730064868927,
0.2135612964630127,
0.05022295564413071,
-0.26443198323249817,
-0.2719307839870453,
0.027106773108243942,
0.43712756037712097,
0.6720399856567383,
-0.2766323685646057,
-0.1328773945569992,
0.02664325386285782,
0.20401448011398315,
-0.06532655656337738,
-0.06742552667856216,
-0.09084507822990417,
-0.27609845995903015,
0.10352468490600586,
0.22928133606910706,
0.19992735981941223,
0.01194300688803196,
-0.04415851831436157,
-0.17333649098873138,
-0.15073992311954498,
-0.18228909373283386,
0.24993285536766052,
0.19798940420150757,
0.06347475945949554,
-0.20911464095115662,
0.12364974617958069,
-0.07659207284450531,
0.46701520681381226,
0.27521225810050964,
0.37389299273490906,
-0.07635326683521271,
-0.3105105757713318,
-0.09208082407712936,
-0.3715701103210449,
0.22471946477890015,
0.47106441855430603,
-0.15394249558448792,
-0.1103169247508049,
0.20311877131462097,
0.1381472498178482,
-0.14922046661376953,
0.37554606795310974,
0.22900256514549255,
-0.15135164558887482,
-0.5507346987724304,
-0.10674276947975159,
0.2118317186832428,
-0.06815408170223236,
-0.27929985523223877,
0.38130831718444824,
0.06658017635345459,
-0.44525665044784546,
0.3247506022453308,
-0.0470757856965065,
0.7364588379859924,
0.07723214477300644,
0.0019753463566303253,
0.03525495156645775,
-0.3789108991622925,
0.19081147015094757,
-0.570754885673523,
0.13140615820884705,
-0.4391217529773712,
-0.47193509340286255,
-0.12789711356163025,
-0.2686747908592224,
0.34064826369285583,
0.6454148292541504,
0.03298492357134819,
0.11797637492418289,
-0.0021511316299438477,
0.36248406767845154,
0.11628589779138565,
0.30947473645210266,
0.08966540545225143,
-0.10676614940166473,
-0.011942319571971893,
0.14465898275375366,
-0.36452049016952515,
0.06282299011945724,
-0.0016898289322853088,
-0.39490002393722534,
0.15344789624214172,
-0.39745378494262695,
-0.3265584707260132,
0.21106156706809998,
-0.18190228939056396,
0.004339654929935932,
0.11795403063297272,
-0.16109855473041534,
0.1537466049194336,
0.13005192577838898,
-0.020813554525375366,
0.31417590379714966,
-0.15641283988952637,
0.4836791157722473,
-0.004669353365898132,
0.27669277787208557,
-0.10937045514583588,
-0.02779306098818779,
0.3163762092590332,
0.11520805209875107,
-0.15055006742477417,
-0.13988229632377625,
-0.3200097680091858,
0.036677561700344086,
-0.03852774202823639,
0.3234071731567383,
-0.10929626226425171,
-0.4262801706790924,
0.045098789036273956,
0.05388987809419632,
0.361062616109848,
-0.08858732879161835,
0.1563751995563507,
-0.04955108463764191,
-0.13869404792785645,
0.3979167342185974,
-0.07059267163276672,
-0.551945149898529,
-0.14508050680160522,
0.14047285914421082,
0.029309598729014397,
-0.06568305194377899,
0.40521320700645447,
-0.23238995671272278,
-0.09707598388195038,
-0.41923239827156067,
0.5359835028648376,
0.30141934752464294,
-0.3306964635848999,
0.3382033407688141,
-0.10696282237768173,
-0.2944275736808777,
0.22605036199092865,
0.05889254808425903,
0.13846611976623535,
-0.0183488130569458,
-0.007737796753644943,
-0.4721863269805908,
0.11951420456171036,
-0.09555217623710632,
-0.3592613935470581,
0.24828720092773438,
0.10456771403551102,
0.12566767632961273,
-0.09377242624759674,
0.19585394859313965,
-0.32400059700012207,
0.25827834010124207,
0.011878279969096184,
0.25300127267837524,
-0.26608842611312866,
-0.061132676899433136,
0.20979377627372742,
-0.0645982101559639,
0.22397007048130035,
0.09645679593086243,
-0.21113115549087524,
-0.2445577085018158,
-0.1382104456424713,
0.12168888002634048,
-0.032949987798929214,
0.1568884700536728,
-0.13242207467556,
0.03707735240459442,
-0.12604118883609772,
-0.11090675741434097,
0.3818078637123108,
0.010704521089792252,
0.08276242762804031,
-0.10078811645507812,
0.10006260871887207,
0.07634171098470688,
-0.12761031091213226,
-0.1406954824924469,
-0.2857191264629364,
0.39756280183792114,
-0.08583861589431763,
0.20090171694755554,
-0.10631757229566574,
-0.0351596437394619,
-0.31640011072158813,
0.04961326718330383,
0.11643819510936737,
0.2994039058685303,
0.18059730529785156,
-0.1782355159521103,
-0.06178644299507141,
0.00606883829459548,
0.39483168721199036,
0.5794684290885925,
-0.33893218636512756,
0.02770421840250492,
0.15980887413024902,
0.25846824049949646,
-0.1330041140317917,
-0.23977619409561157,
0.575718879699707,
0.24029728770256042,
-0.01001843810081482,
0.009766794741153717,
0.09854230284690857,
-0.03698044642806053,
0.1006208062171936,
0.03891705721616745,
0.5169343948364258,
-0.07467924803495407,
0.20186327397823334,
0.6104544997215271,
-0.356872022151947,
0.058634016662836075,
0.33850041031837463,
-0.09006443619728088,
0.009127266705036163,
0.71442049741745,
-0.05292169004678726,
0.3150455057621002,
0.1874558925628662,
0.19630898535251617,
0.1359441876411438,
-0.29385557770729065,
-0.061286624521017075,
0.25825417041778564,
-0.42714786529541016,
0.2788757383823395,
0.22101309895515442,
-0.14298859238624573,
-0.3331507742404938,
-0.08310279995203018,
-0.42085692286491394,
-0.18920941650867462,
-0.19741928577423096,
0.12483082711696625,
-0.0884975790977478,
-0.15100005269050598,
-0.04731845110654831,
0.2855483293533325,
0.01577921211719513,
0.09676947444677353,
0.05372775346040726,
0.08484423160552979,
-0.062067776918411255,
0.009056543000042439,
0.12379265576601028,
-0.1440798044204712,
-0.09254208952188492,
-0.43538615107536316,
0.0576472282409668,
-0.12915286421775818,
-0.11656352877616882,
0.574978768825531,
0.0012007728219032288,
0.10952670127153397,
0.3055127263069153,
0.15218158066272736,
-0.18831820785999298,
-0.17061907052993774,
-0.20148681104183197,
-0.11055045574903488,
0.4503718912601471,
0.09382165968418121,
0.1558917760848999,
0.4197559356689453,
0.2794716954231262,
-0.12847846746444702,
0.08288092166185379,
0.1550363153219223,
0.07322420924901962,
-0.35465216636657715,
0.27273574471473694,
0.21907499432563782,
-0.2271001636981964,
-0.25036534667015076,
-0.15390759706497192,
-0.047873832285404205,
-0.07248461991548538,
0.2107958346605301,
0.06745579838752747,
0.3144221901893616,
-0.1502586007118225,
0.08892089873552322,
0.013230453245341778,
0.4036133885383606,
-0.10657617449760437,
-0.35825103521347046,
-0.12148811668157578,
-0.12040770798921585,
-0.40243953466415405,
0.11285315454006195,
-0.2801455557346344,
0.10141682624816895,
0.06420908868312836,
-0.06442801654338837,
0.1878652572631836,
0.10751713067293167,
-0.02099938690662384,
0.13078325986862183,
-0.03919802978634834,
0.1355593204498291,
-0.2636835277080536,
0.2478296160697937,
0.30877527594566345,
0.13199102878570557,
-0.11092159152030945,
-0.3477729856967926,
0.4172828495502472,
0.11767081916332245,
0.04124874621629715,
0.11295973509550095,
-0.18031522631645203,
0.24155548214912415,
0.2920079827308655,
0.2955787479877472,
0.3222990334033966,
0.40126121044158936,
-0.11068557947874069,
0.10529772192239761,
-0.23654243350028992,
-0.08491147309541702,
-0.24783676862716675,
0.3456517457962036,
0.19770482182502747,
0.3303367495536804,
-0.13997572660446167,
0.15351025760173798,
-0.2696497142314911,
0.15034988522529602,
-0.10679103434085846,
0.15026965737342834,
-0.4630713164806366,
0.04568478465080261,
-0.25035589933395386,
0.2556036710739136,
0.16051480174064636,
0.30398303270339966,
-0.010165393352508545,
-0.2853694260120392,
0.12996861338615417,
-0.2773364782333374,
0.23218896985054016,
-0.12421941757202148,
-0.558617353439331,
0.0640542060136795,
0.17105451226234436,
0.1275378167629242,
-0.10088665038347244,
-0.3230808675289154,
-0.11579349637031555,
0.4146098494529724,
-0.3564872443675995,
-0.28119605779647827,
-0.16816043853759766,
0.13056235015392303,
-0.23180346190929413,
-0.08199519664049149,
-0.009072579443454742,
0.3555191457271576,
-0.5567437410354614,
0.11687487363815308,
-0.2912490963935852
] |
https://github.com/huggingface/datasets/issues/3788 | Only-data dataset loaded unexpectedly as validation split | This is still much easier than having to write a full dataset script right ? :p | ## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`. | 16 | Only-data dataset loaded unexpectedly as validation split
## Describe the bug
As reported by @thomasw21 and @lhoestq, a dataset containing only a data file whose name matches the pattern `*dev*` will be returned as VALIDATION split, even if this is not the desired behavior, e.g. a file named `datosdevision.jsonl.gz`.
This is still much easier than having to write a full dataset script right ? :p | [
-0.3309619426727295,
0.07038557529449463,
-0.10609476268291473,
0.1277536153793335,
0.19297082722187042,
-0.10530851781368256,
0.28017011284828186,
0.5553886294364929,
-0.007397536188364029,
0.10581216216087341,
0.1400858610868454,
0.26939231157302856,
0.04482506960630417,
0.22971706092357635,
0.014962964691221714,
0.28369590640068054,
-0.03689185529947281,
0.3354947865009308,
-0.10307773947715759,
-0.09599681198596954,
-0.20338192582130432,
0.1345842182636261,
-0.1522018313407898,
0.0484115332365036,
-0.16098655760288239,
0.01653413102030754,
0.2368631362915039,
0.2690306007862091,
-0.2907955050468445,
-0.33094632625579834,
0.31715041399002075,
-0.052579548209905624,
-0.12990565598011017,
0.13334433734416962,
-0.00010259644477628171,
0.1290195733308792,
0.3580305576324463,
-0.16236567497253418,
-0.20399288833141327,
-0.09626062214374542,
-0.32000917196273804,
0.03646915405988693,
0.08596434444189072,
-0.07309368252754211,
-0.12517595291137695,
-0.21713191270828247,
0.033298712223768234,
-0.3119278848171234,
0.5330466628074646,
0.4383547008037567,
0.29594939947128296,
0.011010317131876945,
-0.22668281197547913,
0.0062903715297579765,
-0.022762060165405273,
0.3966069221496582,
-0.08978020399808884,
-0.0501820333302021,
0.4204058051109314,
-0.09698311984539032,
-0.029973067343235016,
0.22626753151416779,
-0.05890319496393204,
-0.08837765455245972,
0.2656705379486084,
-0.08504039794206619,
-0.2587171792984009,
-0.3214086890220642,
0.1843140721321106,
0.40060269832611084,
0.5153909921646118,
-0.07087592780590057,
-0.05353928357362747,
0.029940247535705566,
-0.12333212047815323,
-0.061400219798088074,
0.1370183527469635,
0.44381242990493774,
-0.030427880585193634,
0.2717041075229645,
-0.2638077437877655,
0.0759129598736763,
-0.19465337693691254,
-0.1041826456785202,
-0.21988607943058014,
0.24865758419036865,
-0.13394273817539215,
0.18102909624576569,
-0.004383541643619537,
0.14673860371112823,
-0.0570959635078907,
-0.3050844073295593,
-0.5694637894630432,
0.04698745161294937,
-0.07839125394821167,
-0.22360067069530487,
-0.04142284393310547,
-0.1351500153541565,
0.41338396072387695,
0.10205230116844177,
0.03364982083439827,
0.18355616927146912,
-0.23577657341957092,
-0.04780071973800659,
0.45723456144332886,
0.06035313382744789,
0.4621771574020386,
0.19490723311901093,
0.265119343996048,
-0.31773653626441956,
0.13039278984069824,
0.027696166187524796,
0.181125670671463,
0.03588451072573662,
0.04940715804696083,
0.05931199714541435,
0.1709585189819336,
-0.34501591324806213,
-0.4236602783203125,
0.0924026146531105,
-0.14991818368434906,
-0.027738122269511223,
-0.022176504135131836,
0.3059893846511841,
0.2342904955148697,
0.10087325423955917,
-0.18326494097709656,
0.135748952627182,
-0.014803527854382992,
-0.29683223366737366,
-0.19442139565944672,
0.09952080249786377,
-0.3053975999355316,
-0.18469585478305817,
0.2577942907810211,
-0.031972914934158325,
0.08302393555641174,
0.1337875872850418,
-0.27414989471435547,
-0.18195727467536926,
0.1403173804283142,
0.09203535318374634,
0.348798930644989,
0.45467305183410645,
0.06294213235378265,
0.07901977002620697,
-0.013611111789941788,
-0.248910591006279,
-0.12657171487808228,
0.24554458260536194,
-0.1639719307422638,
-0.25434941053390503,
-0.039572179317474365,
0.3508048951625824,
-0.11126653105020523,
0.3070956766605377,
0.015361495316028595,
0.11088083684444427,
-0.0867566391825676,
-0.25717711448669434,
-0.01469961553812027,
-0.19212156534194946,
0.05966993048787117,
-0.17188039422035217,
0.023373832926154137,
0.22217193245887756,
-0.6134163737297058,
0.22464880347251892,
-0.1803041398525238,
-0.4256346523761749,
0.0383535772562027,
0.05748681724071503,
-0.3252332806587219,
0.2121913731098175,
-0.39455804228782654,
0.2904382348060608,
0.25690048933029175,
-0.04761248826980591,
-0.2074221819639206,
0.6224557757377625,
-0.272962749004364,
0.035676807165145874,
-0.06531227380037308,
-0.040764220058918,
0.2238396555185318,
0.09488029778003693,
-0.07609021663665771,
0.31040215492248535,
-0.02305801771581173,
0.1568606048822403,
-0.09742118418216705,
0.0015764553099870682,
0.03031308948993683,
0.017860479652881622,
0.23962102830410004,
0.04300737380981445,
0.24129170179367065,
0.04265158623456955,
0.47059109807014465,
-0.1650231033563614,
-0.005880645476281643,
0.10622131079435349,
0.11977338790893555,
-0.4056805968284607,
0.20976127684116364,
-0.27667689323425293,
-0.5367826819419861,
0.10160448402166367,
0.12523388862609863,
-0.17484577000141144,
0.03623314946889877,
-0.11464560776948929,
-0.2598355710506439,
0.019598403945565224,
-0.09939010441303253,
-0.10797469317913055,
0.24702394008636475,
0.1720016598701477,
0.04382111504673958,
-0.23247212171554565,
-0.3408403992652893,
0.29033589363098145,
0.13416853547096252,
0.03678575158119202,
-0.27811291813850403,
0.14103691279888153,
-0.023564988747239113,
-0.027338646352291107,
-0.02413371577858925,
-0.11966704577207565,
0.02375710755586624,
-0.40187498927116394,
0.053652942180633545,
0.38207128643989563,
0.23309378325939178,
-0.022087983787059784,
-0.07437116652727127,
-0.10296227037906647,
0.09360633045434952,
-0.04952064901590347,
-0.10678467899560928,
0.03939712047576904,
0.16699007153511047,
-0.3210774064064026,
-0.20547854900360107,
0.47378718852996826,
-0.3001963496208191,
0.08346180617809296,
-0.10061296075582504,
0.04368312656879425,
0.22824788093566895,
-0.2986275851726532,
-0.06780031323432922,
-0.3276398777961731,
0.16056036949157715,
0.12015391886234283,
0.08701512217521667,
0.14721152186393738,
-0.2548533082008362,
0.15174157917499542,
0.39249467849731445,
-0.23900894820690155,
-0.038840875029563904,
-0.02500171959400177,
-0.07455749064683914,
-0.05546518415212631,
0.004330528900027275,
0.4093603193759918,
0.6356890201568604,
0.19578157365322113,
-0.20915478467941284,
0.0672507956624031,
-0.004314306192100048,
-0.21821655333042145,
0.3147996664047241,
-0.04029369354248047,
-0.06952004134654999,
0.26331159472465515,
-0.15037409961223602,
-0.20452241599559784,
-0.5881249308586121,
0.03553568199276924,
0.18573462963104248,
-0.03361237049102783,
-0.36874157190322876,
0.07005562633275986,
-0.4303840398788452,
0.2599392831325531,
-0.12115487456321716,
-0.062143612653017044,
-0.11352895200252533,
-0.3575889468193054,
0.190126433968544,
0.02482227422297001,
-0.20354898273944855,
0.11784375458955765,
-0.06319412589073181,
0.22194713354110718,
-0.10460773855447769,
0.004015132784843445,
-0.32404008507728577,
-0.18438704311847687,
-0.1938624382019043,
0.17004716396331787,
0.2974511981010437,
0.33230990171432495,
0.3181929290294647,
-0.07894983142614365,
-0.09209420531988144,
-0.21566779911518097,
-0.23105299472808838,
0.146962970495224,
-0.23594333231449127,
0.1516394317150116,
0.26170018315315247,
0.270355224609375,
0.34508055448532104,
0.04012877494096756,
-0.16346952319145203,
-0.05056142807006836,
-0.334435373544693,
0.21280136704444885,
0.042489707469940186,
-0.1869574934244156,
-0.48205676674842834,
-0.5956632494926453,
0.12109854072332382,
-0.16720978915691376,
0.110036700963974,
-0.16148804128170013,
0.04993467777967453,
-0.044617339968681335,
0.014094165526330471,
-0.08922761678695679,
-0.18489322066307068,
-0.07632189244031906,
-0.3187604546546936,
0.01182125136256218,
0.22883322834968567,
-0.18578337132930756,
-0.3805100917816162,
0.06664212048053741,
0.0005037598311901093,
-0.010525565594434738,
0.07210773229598999,
-0.4886789917945862,
-0.08044953644275665,
-0.12620972096920013,
-0.11030073463916779,
-0.2704431712627411,
-0.2867330312728882,
0.28120851516723633,
0.044840727001428604,
-0.045391201972961426,
-0.316334992647171,
-0.042626578360795975,
0.11115869879722595,
-0.23242482542991638,
0.12000157684087753,
-0.21470355987548828,
0.39283719658851624,
0.04023854807019234,
0.4024088978767395,
-0.1719452440738678,
-0.1974954903125763,
0.007307857275009155,
-0.008751308545470238,
0.5414091944694519,
-0.17526376247406006,
-0.23327188193798065,
0.0762641578912735,
0.01755508780479431,
-0.024306004866957664,
0.23450370132923126,
-0.23665866255760193,
0.013927575200796127,
-0.08912748098373413,
0.13982953131198883,
-0.027611784636974335,
-0.16806554794311523,
0.2128666490316391,
-0.029814332723617554,
-0.19528773427009583,
0.4387369453907013,
0.43538254499435425,
0.09289748966693878,
0.10718120634555817,
-0.034393079578876495,
0.2789798974990845,
0.1720551699399948,
-0.03478388860821724,
-0.6186412572860718,
0.024438247084617615,
-0.11553191393613815,
0.32775038480758667,
-0.1245708018541336,
-0.02832135185599327,
-0.020847458392381668,
-0.059642091393470764,
0.16358202695846558,
-0.10744491964578629,
0.6850611567497253,
-0.09513216465711594,
0.20556308329105377,
0.054984200745821,
0.05567237734794617,
-0.10514736920595169,
-0.24615879356861115,
-0.25593242049217224,
0.21699801087379456,
0.3132939338684082,
0.49409765005111694,
-0.2867569625377655,
-0.14630325138568878,
0.10599460452795029,
0.10501904785633087,
-0.11089838296175003,
-0.1787249892950058,
-0.15940387547016144,
-0.3624139726161957,
-0.030098263174295425,
0.15137162804603577,
0.1382409781217575,
-0.007861040532588959,
-0.17110779881477356,
-0.1454593986272812,
-0.10202670842409134,
-0.08345475792884827,
0.10117713361978531,
0.2288752645254135,
0.03853912651538849,
-0.21033571660518646,
0.19837108254432678,
-0.12864559888839722,
0.4566650390625,
0.3061383068561554,
0.474687397480011,
0.03385423496365547,
-0.24570104479789734,
0.023861702531576157,
-0.4169396758079529,
0.15834587812423706,
0.3858678936958313,
-0.04404895007610321,
-0.11645283550024033,
0.12097756564617157,
0.0589226633310318,
-0.1384516954421997,
0.24374590814113617,
0.22002476453781128,
-0.1249307170510292,
-0.43678778409957886,
-0.12601681053638458,
0.12491999566555023,
-0.1783396601676941,
-0.22924409806728363,
0.35174596309661865,
-0.06874598562717438,
-0.3790450990200043,
0.4811052680015564,
0.0015842467546463013,
0.7689036130905151,
0.16017286479473114,
0.018557414412498474,
0.11520390957593918,
-0.35156136751174927,
0.22585058212280273,
-0.4611184597015381,
0.19767341017723083,
-0.5610443949699402,
-0.341762900352478,
-0.07029718160629272,
-0.24453668296337128,
0.10583626478910446,
0.4831617474555969,
-0.14239558577537537,
0.131786048412323,
-0.007855884730815887,
0.36385199427604675,
-0.02147115208208561,
0.32849109172821045,
0.04977213591337204,
-0.08885720372200012,
-0.00820389948785305,
0.22208625078201294,
-0.23157264292240143,
0.07861579954624176,
-0.11755536496639252,
-0.3295959234237671,
0.1270424872636795,
-0.4430471658706665,
-0.2806605100631714,
0.30230382084846497,
-0.06155523285269737,
0.020327668637037277,
0.07342912256717682,
-0.07594428211450577,
0.06344345211982727,
0.11452247202396393,
0.023188769817352295,
0.27750250697135925,
-0.14312335848808289,
0.43635186553001404,
-0.07307659834623337,
0.26711979508399963,
-0.09896325320005417,
-0.08288795500993729,
0.3576001226902008,
0.024382106959819794,
-0.21639488637447357,
-0.16524717211723328,
-0.2756327688694,
0.07401268929243088,
-0.0908856987953186,
0.41273438930511475,
-0.16557621955871582,
-0.4208036959171295,
-0.07160256803035736,
0.0778515636920929,
0.194741353392601,
-0.1604301929473877,
0.22530651092529297,
0.03180626034736633,
-0.14021821320056915,
0.43004682660102844,
-0.040050383657217026,
-0.43990227580070496,
-0.1251438409090042,
0.1439599096775055,
0.0902240052819252,
-0.07881089299917221,
0.342207133769989,
-0.11665825545787811,
-0.07898343354463577,
-0.4536662697792053,
0.3082161843776703,
0.3186632990837097,
-0.29882583022117615,
0.30410322546958923,
-0.13329756259918213,
-0.23093943297863007,
0.21189436316490173,
0.008215438574552536,
0.02541365660727024,
0.06861644983291626,
-0.06829649955034256,
-0.42882832884788513,
0.0944073349237442,
-0.06286834180355072,
-0.24619774520397186,
0.28057974576950073,
0.10435333102941513,
0.13137349486351013,
-0.12359219044446945,
0.1999465525150299,
-0.41631487011909485,
0.14474758505821228,
-0.0035034585744142532,
0.23522751033306122,
-0.19047453999519348,
-0.10414057224988937,
0.08925943076610565,
-0.12787513434886932,
0.27268093824386597,
0.15882091224193573,
-0.22334879636764526,
-0.3178112208843231,
-0.04937971010804176,
0.10116445273160934,
0.03224961459636688,
0.19185759127140045,
-0.10829087346792221,
-0.03840266913175583,
-0.17800533771514893,
-0.08478710800409317,
0.3393416404724121,
0.006086837500333786,
-0.00866052508354187,
-0.1120142713189125,
0.16102281212806702,
0.11964398622512817,
-0.08831010013818741,
-0.12216483056545258,
-0.1805020272731781,
0.38484060764312744,
-0.09789109975099564,
0.21550479531288147,
-0.13695095479488373,
-0.054217178374528885,
-0.21952012181282043,
0.10175059735774994,
0.08582988381385803,
0.37630370259284973,
0.23734423518180847,
-0.1360519677400589,
0.047767650336027145,
-0.10367780178785324,
0.4018546938896179,
0.6040047407150269,
-0.4179920554161072,
0.017667720094323158,
0.01130376011133194,
0.32879549264907837,
-0.14031490683555603,
-0.14132988452911377,
0.43799346685409546,
0.19097529351711273,
-0.05719289556145668,
0.021057002246379852,
0.01679733768105507,
-0.06717339158058167,
0.1974995881319046,
0.08568228781223297,
0.5057976841926575,
-0.1326330304145813,
0.1375213861465454,
0.40395450592041016,
-0.4566676914691925,
0.016727257519960403,
0.2638297379016876,
-0.14219476282596588,
0.06752696633338928,
0.7392699718475342,
-0.038241490721702576,
0.393973171710968,
0.13518741726875305,
0.14076834917068481,
0.07726242393255234,
-0.2325187474489212,
0.046051934361457825,
0.282657653093338,
-0.3565584719181061,
0.21864381432533264,
0.28391993045806885,
-0.17527824640274048,
-0.3420029878616333,
-0.09823066741228104,
-0.46773862838745117,
-0.10328294336795807,
-0.2798646092414856,
0.15421515703201294,
-0.3120957314968109,
-0.10501081496477127,
0.00014324486255645752,
0.2977413833141327,
0.024551378563046455,
0.20253783464431763,
0.0751882866024971,
0.1170884519815445,
-0.19490186870098114,
0.03042345866560936,
0.18363705277442932,
-0.19347995519638062,
-0.05287160724401474,
-0.3803374469280243,
0.07619790732860565,
0.06136571615934372,
-0.027401700615882874,
0.38843613862991333,
0.07674982398748398,
0.25068503618240356,
0.40028369426727295,
0.1252034604549408,
-0.1145649179816246,
-0.07091353833675385,
-0.1673986166715622,
-0.136799156665802,
0.4276280999183655,
0.057679034769535065,
0.1772981435060501,
0.5206537842750549,
0.335565447807312,
-0.13730934262275696,
0.06937617063522339,
0.2737094461917877,
0.0025337673723697662,
-0.23196715116500854,
0.11475027352571487,
0.16923043131828308,
-0.19659236073493958,
-0.35209986567497253,
-0.022226184606552124,
-0.0964837521314621,
-0.193590447306633,
0.14422020316123962,
0.11262759566307068,
0.3153170049190521,
-0.33116525411605835,
0.13237687945365906,
-0.058037180453538895,
0.5745282769203186,
0.0036611519753932953,
-0.279606431722641,
-0.177262082695961,
-0.11389416456222534,
-0.4115943908691406,
0.2383754849433899,
-0.27168503403663635,
0.11706702411174774,
-0.0382583849132061,
0.05296776443719864,
0.199649840593338,
0.10739479959011078,
0.033590495586395264,
0.18371987342834473,
0.03854670748114586,
0.21204307675361633,
-0.37672168016433716,
0.12568534910678864,
0.2503383755683899,
0.05006127059459686,
-0.058294106274843216,
-0.36620989441871643,
0.3597486615180969,
-0.018050577491521835,
0.14157745242118835,
0.09662223607301712,
-0.14877411723136902,
0.2599133551120758,
0.3245712220668793,
0.35826802253723145,
0.3165493607521057,
0.44163239002227783,
-0.13987939059734344,
0.057297997176647186,
-0.19171887636184692,
-0.1250801533460617,
-0.27276256680488586,
0.3156931698322296,
0.19585520029067993,
0.20129024982452393,
-0.05720037966966629,
0.056853193789720535,
-0.2014138102531433,
0.12329517304897308,
-0.16605135798454285,
0.1629651039838791,
-0.4027033746242523,
0.11459936946630478,
-0.23153778910636902,
0.23085321485996246,
0.10738785564899445,
0.23295971751213074,
0.0209331214427948,
-0.16890458762645721,
-0.03068780153989792,
-0.28950363397598267,
0.27682337164878845,
-0.022012891247868538,
-0.4878142476081848,
0.1141476258635521,
0.13922753930091858,
-0.047086313366889954,
-0.20652659237384796,
-0.35068872570991516,
-0.06582004576921463,
0.26059842109680176,
-0.26056864857673645,
-0.2353522926568985,
-0.04824608564376831,
0.04841988533735275,
-0.17120283842086792,
-0.08367346972227097,
0.13255895674228668,
0.34945404529571533,
-0.4399482011795044,
0.11618731915950775,
-0.2697707712650299
] |
https://github.com/huggingface/datasets/issues/3786 | Bug downloading Virus scan warning page from Google Drive URLs | Once the PR merged into master and until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | ## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
| 77 | Bug downloading Virus scan warning page from Google Drive URLs
## Describe the bug
Recently, some issues were reported with URLs from Google Drive, where we were downloading the Virus scan warning page instead of the data file itself.
See:
- #3758
- #3773
- #3784
Once the PR merged into master and until our next `datasets` library release, you can get this fix by installing our library from the GitHub master branch:
```shell
pip install git+https://github.com/huggingface/datasets#egg=datasets
```
Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):
```shell
load_dataset("...", download_mode="force_redownload")
``` | [
-0.14111559092998505,
0.014848902821540833,
-0.0489371120929718,
0.2452070564031601,
0.20490245521068573,
0.07190003246068954,
0.11733248829841614,
0.20772551000118256,
0.3714016079902649,
0.19622553884983063,
-0.06607647985219955,
-0.15883873403072357,
0.10402505099773407,
0.3147510588169098,
0.03509525954723358,
0.010244198143482208,
-0.00000562518835067749,
-0.0964624434709549,
0.10571956634521484,
0.11730015277862549,
-0.2640748620033264,
0.20193971693515778,
-0.2606954872608185,
-0.1197839230298996,
0.12667308747768402,
0.1938183456659317,
0.04797649383544922,
0.405769944190979,
-0.045545317232608795,
-0.5470002889633179,
0.09794400632381439,
-0.028839047998189926,
0.16655772924423218,
0.4387005865573883,
-0.00010552095045568421,
0.09322768449783325,
0.42613470554351807,
-0.07057127356529236,
-0.22983793914318085,
-0.02562527358531952,
0.02841269224882126,
0.10886392742395401,
-0.13316814601421356,
-0.27448123693466187,
0.05580612272024155,
-0.1216234639286995,
-0.04699411243200302,
0.1427108347415924,
-0.10933279991149902,
0.3487899601459503,
0.26647183299064636,
0.34603118896484375,
0.26094070076942444,
-0.13955050706863403,
0.47168853878974915,
-0.3454204797744751,
0.07220274955034256,
0.4545416831970215,
0.24373973906040192,
0.22465363144874573,
-0.06122881919145584,
0.3008183240890503,
-0.06910620629787445,
0.0059739090502262115,
0.2122238278388977,
0.13451136648654938,
0.020871348679065704,
-0.012796346098184586,
0.06885617226362228,
0.052613575011491776,
0.09945889562368393,
-0.15643897652626038,
-0.06101340055465698,
-0.07150188088417053,
-0.03494007885456085,
-0.1882203370332718,
0.6494635343551636,
0.03129347413778305,
0.00322050042450428,
0.10335192084312439,
-0.35112953186035156,
0.017965318635106087,
0.09216785430908203,
-0.08930778503417969,
-0.1395702064037323,
0.10112409293651581,
-0.17983609437942505,
-0.06793791800737381,
0.2816275656223297,
-0.06918337941169739,
-0.0933215543627739,
-0.033770594745874405,
-0.25800782442092896,
-0.002857491374015808,
-0.23820118606090546,
-0.05336486175656319,
0.16778066754341125,
0.0807977020740509,
0.5323065519332886,
0.22791679203510284,
-0.16381904482841492,
-0.09866970032453537,
-0.3140091001987457,
0.03597851097583771,
0.2839820683002472,
-0.0021048467606306076,
-0.24007117748260498,
0.06740663200616837,
0.41432350873947144,
0.49047356843948364,
0.2008994072675705,
0.04225969314575195,
0.24291932582855225,
-0.21404661238193512,
0.30486512184143066,
0.24503594636917114,
0.026973571628332138,
-0.4259999692440033,
-0.2499931901693344,
0.24883830547332764,
0.17827677726745605,
-0.10747556388378143,
0.18778036534786224,
0.5385906100273132,
-0.04153427854180336,
-0.254169762134552,
0.11746525764465332,
-0.0703488364815712,
-0.06967869400978088,
-0.02058456465601921,
-0.17552246153354645,
0.045669469982385635,
-0.18642757833003998,
-0.10488586872816086,
0.28509071469306946,
-0.341707319021225,
0.14339932799339294,
-0.18867382407188416,
0.13316673040390015,
-0.06710311770439148,
-0.22515830397605896,
-0.16440187394618988,
0.11321251094341278,
0.5180912017822266,
0.2539154887199402,
0.05253307521343231,
0.10028603672981262,
0.011126488447189331,
-0.06294707953929901,
0.10207448899745941,
-0.33185815811157227,
-0.057260751724243164,
0.015587406232953072,
0.250822514295578,
-0.36427342891693115,
-0.1520967334508896,
0.0001251325011253357,
-0.4304554760456085,
-0.09607567638158798,
-0.3096970319747925,
-0.22526037693023682,
-0.07962731271982193,
-0.429935485124588,
-0.1845959573984146,
0.29733404517173767,
0.41933387517929077,
0.04362115636467934,
0.0627443790435791,
0.20728066563606262,
-0.49574658274650574,
-0.008084684610366821,
0.371086448431015,
0.022465726360678673,
0.10272649675607681,
-0.5113994479179382,
0.1581876128911972,
-0.20956841111183167,
-0.15844951570034027,
-0.4040757715702057,
0.10703135281801224,
-0.06882739812135696,
-0.039564136415719986,
-0.20042568445205688,
-0.03680115193128586,
0.02047056332230568,
-0.07421782612800598,
0.046334050595760345,
0.19711348414421082,
0.15814974904060364,
0.3225027322769165,
-0.31619128584861755,
-0.3007694482803345,
0.13251638412475586,
0.1309722661972046,
0.028047792613506317,
0.20266270637512207,
0.38008180260658264,
-0.4896271228790283,
0.2948121428489685,
-0.18383406102657318,
-0.01267639547586441,
0.23336158692836761,
0.4142031967639923,
0.04655976593494415,
0.27280837297439575,
-0.08741112798452377,
-0.52224200963974,
0.1474083662033081,
-0.10303138196468353,
-0.1354793757200241,
-0.16294659674167633,
-0.13890042901039124,
-0.4593806564807892,
-0.22288505733013153,
-0.0038262419402599335,
-0.02002902701497078,
0.19039833545684814,
0.09315833449363708,
0.07071445882320404,
0.1501857042312622,
-0.10127665847539902,
-0.05503164976835251,
-0.3797574043273926,
0.1076887920498848,
-0.03260884806513786,
0.5057687163352966,
-0.19205905497074127,
-0.11803440749645233,
0.2849503457546234,
-0.18267112970352173,
0.19466742873191833,
0.016419585794210434,
-0.16696587204933167,
0.37664955854415894,
-0.009216763079166412,
0.17967283725738525,
0.27248719334602356,
0.06738953292369843,
0.2016800343990326,
-0.28019610047340393,
0.01628379337489605,
0.2619102895259857,
0.27218711376190186,
0.0945553258061409,
-0.43903663754463196,
0.10295675694942474,
-0.41029617190361023,
-0.027846045792102814,
0.049799539148807526,
0.11350376158952713,
0.4112527072429657,
-0.2343508005142212,
0.19676436483860016,
-0.1767486035823822,
0.1824292689561844,
0.4177325963973999,
-0.06428322941064835,
-0.19894884526729584,
-0.027914851903915405,
-0.20375066995620728,
0.2145608812570572,
-0.05894774571061134,
0.10695692896842957,
0.09472602605819702,
0.037545058876276016,
-0.03402920067310333,
0.008938081562519073,
0.39565688371658325,
0.13485507667064667,
0.11720165610313416,
0.12494920194149017,
0.2098887413740158,
-0.10706216096878052,
-0.12243833392858505,
0.0744076520204544,
-0.08898025751113892,
0.07196488231420517,
0.4981100261211395,
-0.20860224962234497,
-0.0012240177020430565,
-0.4620521366596222,
-0.11810244619846344,
0.2076953947544098,
0.28013402223587036,
-0.47303056716918945,
-0.13756826519966125,
0.0012105535715818405,
-0.19138014316558838,
0.016204100102186203,
0.37791842222213745,
-0.2940389811992645,
-0.3818686306476593,
-0.05711518973112106,
0.2835640609264374,
-0.521334171295166,
-0.13237161934375763,
-0.25738799571990967,
0.3980226516723633,
0.13511882722377777,
-0.19511686265468597,
-0.02275928482413292,
0.031006699427962303,
-0.10240321606397629,
0.14533491432666779,
0.3720976412296295,
0.15303486585617065,
0.3674638271331787,
-0.2584262490272522,
0.1262214183807373,
-0.6510290503501892,
-0.15103945136070251,
0.23747892677783966,
-0.13026033341884613,
0.28178495168685913,
0.30169254541397095,
0.1904076635837555,
-0.09921367466449738,
-0.08052662760019302,
0.14208124577999115,
-0.31163227558135986,
-0.318363219499588,
-0.01126919500529766,
0.07761792093515396,
-0.05660299211740494,
-0.30904293060302734,
-0.22241178154945374,
0.22728592157363892,
-0.2162473499774933,
-0.22052128612995148,
-0.022261273115873337,
0.17036451399326324,
-0.030087746679782867,
-0.08197144418954849,
0.14032909274101257,
-0.1297440379858017,
0.13749700784683228,
-0.4221394658088684,
-0.40226656198501587,
0.35891497135162354,
-0.18146538734436035,
-0.5303086638450623,
0.28769391775131226,
0.09014234691858292,
-0.20785444974899292,
0.12611204385757446,
-0.5394994020462036,
-0.2977414131164551,
-0.2696743905544281,
-0.14974793791770935,
0.22159595787525177,
0.06018926203250885,
-0.04344522953033447,
-0.13755716383457184,
-0.18234780430793762,
-0.10275033861398697,
-0.23009420931339264,
-0.11890839785337448,
-0.07483282685279846,
0.3211815357208252,
0.02062983252108097,
0.039842572063207626,
0.20148368179798126,
0.21790361404418945,
0.19669489562511444,
0.04595493525266647,
0.25593987107276917,
-0.039816759526729584,
0.4510173499584198,
0.053782496601343155,
-0.04713086411356926,
-0.024338960647583008,
-0.045575231313705444,
-0.18622548878192902,
0.16696074604988098,
-0.025523364543914795,
-0.018297391012310982,
-0.1495775580406189,
-0.1834649294614792,
-0.2946566343307495,
-0.34040528535842896,
-0.07006821036338806,
0.4327457547187805,
0.142229825258255,
-0.10296072065830231,
0.057074174284935,
0.17786791920661926,
-0.16906318068504333,
0.2968071699142456,
0.6332794427871704,
0.07752479612827301,
-0.08830787986516953,
-0.1509729027748108,
0.07843703031539917,
-0.2056581974029541,
0.21245050430297852,
0.06288248300552368,
0.13520541787147522,
-0.128903329372406,
-0.011826252564787865,
-0.012461520731449127,
-0.35886716842651367,
0.3600725531578064,
-0.261099636554718,
0.5256306529045105,
0.09725521504878998,
0.004239462316036224,
0.4069622755050659,
-0.08450955152511597,
-0.37064120173454285,
-0.3606719970703125,
0.19700583815574646,
0.06441189348697662,
-0.36458343267440796,
0.0372043177485466,
0.5046197175979614,
0.08100786805152893,
-0.15669429302215576,
-0.054962437599897385,
-0.24156442284584045,
-0.4004318416118622,
-0.46039989590644836,
0.21067842841148376,
0.004354184493422508,
0.21151448786258698,
-0.18619374930858612,
0.08714576065540314,
0.07173708081245422,
-0.10556135326623917,
-0.09114761650562286,
0.0029534325003623962,
0.4895056486129761,
0.1801128387451172,
0.20366615056991577,
0.2243511974811554,
0.2090567946434021,
0.18597708642482758,
0.6746335029602051,
-0.15673911571502686,
-0.06691546738147736,
0.20078036189079285,
-0.2096828669309616,
-0.25047361850738525,
0.13823454082012177,
-0.01867920532822609,
-0.21302375197410583,
0.39958369731903076,
0.011746019124984741,
-0.177467942237854,
-0.2183828353881836,
0.04388502240180969,
0.01579400897026062,
0.0768919363617897,
0.058570943772792816,
0.1971691995859146,
-0.004672730341553688,
-0.21195252239704132,
0.34721559286117554,
0.19642619788646698,
-0.19239817559719086,
0.23520277440547943,
0.2798667550086975,
0.7221360206604004,
-0.1972152143716812,
-0.0345853827893734,
0.1624077558517456,
0.0415722131729126,
-0.09226619452238083,
0.1780238300561905,
-0.06492007523775101,
-0.35380819439888,
-0.4867313802242279,
0.008222954347729683,
-0.13171738386154175,
0.015892546623945236,
-0.23505379259586334,
-0.17360588908195496,
0.1482640653848648,
0.001260712742805481,
0.243891179561615,
0.0019975723698735237,
0.33975228667259216,
-0.16592657566070557,
-0.076368048787117,
0.0811115950345993,
0.20045572519302368,
0.04858569800853729,
0.30452242493629456,
-0.13720697164535522,
-0.04039780795574188,
0.1092875599861145,
-0.34578388929367065,
-0.27438047528266907,
0.2129838764667511,
0.16139884293079376,
0.020345285534858704,
-0.16994427144527435,
0.11698968708515167,
-0.18392693996429443,
0.1280834823846817,
0.29904723167419434,
0.39724263548851013,
-0.2872287631034851,
0.38255399465560913,
0.10944598913192749,
0.12233330309391022,
-0.20541778206825256,
-0.020697828382253647,
0.18499960005283356,
-0.09323625266551971,
-0.2705875039100647,
0.03760705888271332,
0.014614076353609562,
-0.5256797075271606,
-0.057152748107910156,
0.07093561440706253,
-0.47471731901168823,
-0.15412837266921997,
0.1684494912624359,
-0.022701390087604523,
-0.10029369592666626,
-0.14621537923812866,
0.20505155622959137,
0.4229167699813843,
0.025519488379359245,
-0.006115518510341644,
0.3200679421424866,
-0.38200700283050537,
-0.14217619597911835,
0.40676966309547424,
0.07711019366979599,
-0.5126198530197144,
0.29259899258613586,
0.08545191586017609,
-0.22755394876003265,
-0.35480204224586487,
-0.24334019422531128,
-0.15663088858127594,
-0.010582976043224335,
0.10573286563158035,
-0.2651429772377014,
0.2142004817724228,
-0.015175201930105686,
0.2686728537082672,
0.2003823220729828,
0.040436483919620514,
0.09114447236061096,
-0.605726957321167,
0.02800256572663784,
0.19368700683116913,
-0.08385378122329712,
0.35387641191482544,
-0.12824773788452148,
-0.17011454701423645,
0.07787468284368515,
-0.47361302375793457,
-0.40041080117225647,
0.3317722678184509,
-0.2937305271625519,
-0.05703306943178177,
-0.01126999780535698,
0.1152062937617302,
0.302848756313324,
-0.18253718316555023,
0.20276471972465515,
0.08947572112083435,
-0.011399835348129272,
-0.2156538963317871,
-0.12103381752967834,
0.09473613649606705,
-0.022328365594148636,
-0.01962156593799591,
-0.10177908092737198,
-0.1354624480009079,
-0.09558051824569702,
0.012192107737064362,
0.35211554169654846,
0.1323460340499878,
-0.08194166421890259,
-0.08972896635532379,
0.14410383999347687,
-0.09319194406270981,
-0.11828401684761047,
0.10491027683019638,
-0.26834729313850403,
-0.04376092553138733,
-0.1341356486082077,
0.11130306124687195,
-0.4032270908355713,
0.06584715843200684,
0.29121169447898865,
0.10380683094263077,
0.05402310937643051,
0.1838400661945343,
0.3201451897621155,
0.12213049083948135,
-0.056454792618751526,
0.209928959608078,
0.35174885392189026,
0.30128565430641174,
-0.518110990524292,
-0.06523407250642776,
0.15541619062423706,
0.31134822964668274,
-0.19515107572078705,
-0.007610260974615812,
-0.16501230001449585,
-0.11873861402273178,
-0.04252532497048378,
0.019298821687698364,
0.10424523055553436,
0.12056960165500641,
0.19904911518096924,
0.07883407175540924,
0.40211963653564453,
0.08221671730279922,
0.038239069283008575,
0.11732934415340424,
-0.1489410102367401,
0.04897468537092209,
-0.020458998158574104,
-0.21684397757053375,
-0.03017915040254593,
0.3064303398132324,
-0.10243050009012222,
0.06179147958755493,
-0.19805139303207397,
0.27683666348457336,
-0.18461352586746216,
-0.4560934007167816,
0.4213907718658447,
0.21667277812957764,
-0.20894402265548706,
0.07363254576921463,
0.10000071674585342,
0.12546956539154053,
-0.11337902396917343,
0.03752926364541054,
-0.671643078327179,
0.13029110431671143,
-0.09170333296060562,
0.05631435289978981,
-0.5165026187896729,
-0.23409563302993774,
-0.1992420256137848,
0.3372020125389099,
0.20783258974552155,
-0.06592550873756409,
-0.02132653445005417,
0.18647494912147522,
-0.2952318787574768,
-0.17332614958286285,
-0.1270066499710083,
0.167388916015625,
0.10400915890932083,
-0.2607452869415283,
0.039248496294021606,
0.12567023932933807,
0.09851597249507904,
0.30609092116355896,
0.3731755316257477,
0.25694936513900757,
0.217110738158226,
0.30749934911727905,
-0.1933945268392563,
-0.09067398309707642,
0.12128300964832306,
-0.10743516683578491,
0.35569995641708374,
-0.003276534378528595,
-0.05296901986002922,
0.5245555639266968,
0.2264101356267929,
-0.21047526597976685,
-0.20686955749988556,
-0.047338273376226425,
0.03887141868472099,
0.0614357627928257,
0.1445470154285431,
-0.04164168983697891,
0.2704104781150818,
-0.16464413702487946,
-0.06570873409509659,
-0.2684197425842285,
-0.18260803818702698,
0.06371279805898666,
-0.1248050183057785,
0.2561928927898407,
0.02550102397799492,
0.13247396051883698,
0.25203800201416016,
0.4183419346809387,
0.41043931245803833,
0.059759121388196945,
-0.19948503375053406,
-0.24898597598075867,
-0.8160635828971863,
0.1559518426656723,
-0.05386354401707649,
0.061725810170173645,
0.09763211011886597,
0.1403832584619522,
-0.342868447303772,
0.29152756929397583,
0.40170449018478394,
-0.017844201996922493,
-0.0501566007733345,
0.013085506856441498,
-0.11928801238536835,
-0.13955433666706085,
0.24432513117790222,
-0.1674356311559677,
-0.09893742948770523,
-0.37259429693222046,
0.29296639561653137,
-0.013585198670625687,
0.09921037405729294,
0.12573765218257904,
-0.026431240141391754,
-0.2085554450750351,
-0.088372141122818,
0.4470504820346832,
0.02581385150551796,
0.6857688426971436,
-0.232947438955307,
-0.19566427171230316,
-0.28905630111694336,
-0.15018051862716675,
0.08848021924495697,
0.12118247151374817,
0.17893104255199432,
0.07873329520225525,
0.1979048252105713,
-0.270041286945343,
-0.20515531301498413,
0.4936961531639099,
0.01873059570789337,
0.07255421578884125,
-0.4147917330265045,
0.10215827077627182,
0.09536411613225937,
-0.05093194171786308,
0.0049804942682385445,
-0.04174591600894928,
-0.010868117213249207,
0.23014159500598907,
-0.23896938562393188,
-0.24883654713630676,
0.3725234270095825,
-0.08729078620672226,
0.16042135655879974,
-0.26397761702537537,
0.21188056468963623,
0.024626385420560837,
-0.1813552975654602,
-0.5975136160850525,
0.2188994288444519,
0.04817986860871315,
0.21085768938064575,
-0.27641475200653076,
-0.0007253186777234077,
-0.13399483263492584,
-0.03677307069301605,
0.04571368172764778,
0.31894612312316895,
0.17430374026298523,
-0.37691691517829895,
-0.02872399613261223,
-0.07078112661838531
] |
https://github.com/huggingface/datasets/issues/3784 | Unable to Download CNN-Dailymail Dataset | Glad to help @albertvillanova! Just fine-tuning the PR, will comment once I am able to get it up and running 😀 | ## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the link which would originally download the dataset, now downloads the source code of this web page:**

- **This leads to the following error**:
```python
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
```
## Steps to reproduce the bug
```python
import datasets
dataset = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
```
## Expected results
That the dataset is downloaded and processed just like other datasets.
## Actual results
Hit with this error:
```python
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
| 21 | Unable to Download CNN-Dailymail Dataset
## Describe the bug
I am unable to download the CNN-Dailymail dataset. Upon closer investigation, I realised why this was happening:
- The dataset sits in Google Drive, and both the CNN and DM datasets are large.
- Google is unable to scan the folder for viruses, **so the link which would originally download the dataset, now downloads the source code of this web page:**

- **This leads to the following error**:
```python
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
```
## Steps to reproduce the bug
```python
import datasets
dataset = datasets.load_dataset("cnn_dailymail", "3.0.0", split="train")
```
## Expected results
That the dataset is downloaded and processed just like other datasets.
## Actual results
Hit with this error:
```python
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories'
```
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.4.144+-x86_64-with-Ubuntu-18.04-bionic
- Python version: 3.7.12
- PyArrow version: 6.0.1
Glad to help @albertvillanova! Just fine-tuning the PR, will comment once I am able to get it up and running 😀 | [
-0.09047689288854599,
0.06383641064167023,
-0.06501327455043793,
0.3773006796836853,
0.24847257137298584,
0.25623515248298645,
0.30846157670021057,
0.13527406752109528,
-0.1773417890071869,
0.12619665265083313,
-0.07416261732578278,
-0.017222074791789055,
-0.29949963092803955,
0.07117891311645508,
0.08124133199453354,
-0.013641640543937683,
-0.058640189468860626,
-0.2016187310218811,
-0.06256958842277527,
-0.07532776892185211,
-0.2298908233642578,
0.33267781138420105,
-0.09843060374259949,
-0.21222065389156342,
-0.293277770280838,
-0.11519481986761093,
-0.04431252181529999,
0.39392608404159546,
0.026174109429121017,
-0.25291258096694946,
0.1532018482685089,
-0.16573786735534668,
0.04282943904399872,
0.5742555856704712,
-0.00011552232172107324,
0.16657522320747375,
0.4012315273284912,
-0.03659352660179138,
-0.42353180050849915,
-0.3532629609107971,
0.05447287857532501,
-0.29954689741134644,
-0.1491813212633133,
-0.09362101554870605,
0.16259461641311646,
-0.17203524708747864,
0.09608397632837296,
-0.09381908178329468,
0.13257993757724762,
0.49041905999183655,
0.17927150428295135,
0.16541557013988495,
0.30551794171333313,
0.05285617336630821,
-0.07791922241449356,
0.04405388981103897,
-0.10486780852079391,
0.4444679021835327,
-0.18199104070663452,
0.12463097274303436,
0.31455498933792114,
0.14604899287223816,
-0.10124354809522629,
-0.1373470574617386,
0.18656322360038757,
0.24625229835510254,
-0.21064883470535278,
-0.5531368255615234,
0.23476693034172058,
0.2111763060092926,
0.2750929594039917,
-0.06643631309270859,
-0.24907758831977844,
-0.10022705048322678,
0.027697477489709854,
-0.09638719260692596,
0.3818255662918091,
0.46728575229644775,
-0.19727808237075806,
0.2055296003818512,
-0.3776090741157532,
-0.021000642329454422,
-0.1466616988182068,
0.3564010262489319,
-0.5018126368522644,
0.123194620013237,
-0.014102778397500515,
-0.03126773238182068,
-0.037831295281648636,
-0.06458514928817749,
0.31719377636909485,
-0.2504872679710388,
0.36252692341804504,
0.20538558065891266,
0.08543296903371811,
0.11885930597782135,
0.1947401463985443,
0.04509267210960388,
0.15696221590042114,
0.017002657055854797,
-0.2257590889930725,
-0.3638829290866852,
-0.2622669041156769,
-0.040668077766895294,
0.008699342608451843,
0.08144651353359222,
-0.41944706439971924,
0.505491316318512,
0.4082910418510437,
0.47374439239501953,
0.12439398467540741,
0.011348558589816093,
0.028414808213710785,
-0.05930681899189949,
0.16913864016532898,
0.01543369796127081,
0.47536712884902954,
-0.04272531718015671,
-0.20392411947250366,
0.2656489312648773,
-0.657084584236145,
0.14264580607414246,
0.05961868539452553,
0.4377709627151489,
-0.19290998578071594,
-0.11985193938016891,
0.13816820085048676,
0.09865208715200424,
0.10599666088819504,
0.16011174023151398,
-0.25516578555107117,
0.05478234216570854,
-0.059496719390153885,
0.01181979849934578,
0.33754482865333557,
-0.412605345249176,
0.2282351404428482,
-0.032930888235569,
0.14613869786262512,
-0.20812778174877167,
-0.2672613859176636,
-0.019073663279414177,
-0.15187686681747437,
0.61181640625,
-0.03220903500914574,
0.24105046689510345,
-0.03654855862259865,
0.09570588171482086,
-0.10536442697048187,
0.14982055127620697,
-0.22645559906959534,
-0.38984936475753784,
0.25172334909439087,
0.11523061990737915,
-0.18987883627414703,
-0.22787562012672424,
0.24203792214393616,
-0.15307137370109558,
-0.03625921159982681,
0.13195888698101044,
-0.02424662560224533,
0.002186208963394165,
-0.2243342250585556,
-0.1904652863740921,
0.27092766761779785,
0.613831639289856,
-0.48029178380966187,
0.0779266506433487,
-0.10058733820915222,
-0.19443027675151825,
0.08443152904510498,
0.28352198004722595,
-0.07922206819057465,
0.03724727779626846,
-0.26003900170326233,
-0.033100444823503494,
-0.044117771089076996,
-0.2471434772014618,
-0.7242790460586548,
-0.07468642294406891,
-0.25467169284820557,
0.27778610587120056,
0.07776148617267609,
0.08003935217857361,
-0.24177828431129456,
0.010883658193051815,
0.15552082657814026,
0.5833931565284729,
-0.09499641507863998,
0.12988944351673126,
-0.3145848214626312,
-0.3464209735393524,
0.11584523320198059,
0.1431979387998581,
0.5385628938674927,
0.16874317824840546,
0.10846676677465439,
-0.22171513736248016,
0.2780933082103729,
-0.04450254514813423,
-0.10852871835231781,
0.2694671154022217,
0.2976367175579071,
0.039145685732364655,
0.20055484771728516,
0.09611683338880539,
-0.6436696648597717,
0.30393528938293457,
-0.11401034891605377,
0.09840572625398636,
-0.4031781554222107,
-0.157205730676651,
-0.3697717487812042,
-0.005373671650886536,
-0.03026549145579338,
-0.19256098568439484,
0.10161946713924408,
-0.014069244265556335,
0.13600677251815796,
0.3176998794078827,
-0.10945281386375427,
0.4623390734195709,
-0.13351839780807495,
0.26696106791496277,
-0.2441687136888504,
0.570563554763794,
-0.06276006996631622,
0.0038418532349169254,
-0.01566208526492119,
0.09021760523319244,
0.21981868147850037,
-0.08681688457727432,
-0.17395827174186707,
0.13811951875686646,
-0.1786021590232849,
0.16787955164909363,
-0.05401066690683365,
0.03668937087059021,
0.2912440001964569,
-0.16388113796710968,
0.07885830849409103,
0.5886735916137695,
0.04006410762667656,
0.07168062776327133,
-0.13773655891418457,
0.14093567430973053,
-0.024119552224874496,
0.21072803437709808,
0.13859079778194427,
0.17341312766075134,
0.13754984736442566,
-0.14552445709705353,
0.09544705599546432,
-0.13160590827465057,
0.2865343987941742,
-0.15864038467407227,
0.5071792006492615,
-0.11351460218429565,
-0.31738367676734924,
0.04606374725699425,
0.12481029331684113,
-0.3097407817840576,
0.03328053280711174,
0.2216794788837433,
-0.3624480366706848,
0.04496213048696518,
-0.31021904945373535,
0.5720512270927429,
0.30629175901412964,
0.06672883778810501,
0.2527397871017456,
0.30099353194236755,
-0.03207225725054741,
-0.1879924088716507,
0.2807380259037018,
0.368566632270813,
0.004344044253230095,
0.27996164560317993,
0.19184012711048126,
0.22224509716033936,
-0.3413105010986328,
-0.26948246359825134,
0.10973785817623138,
0.3371436297893524,
-0.4928625226020813,
0.16352830827236176,
-0.2927592098712921,
-0.03152282536029816,
-0.12045136094093323,
-0.07346290349960327,
-0.3034932017326355,
-0.3129817843437195,
0.059526704251766205,
0.10546831786632538,
-0.06201083958148956,
-0.2651832103729248,
-0.11778144538402557,
0.20780116319656372,
0.05771523714065552,
-0.19614070653915405,
-0.05833612009882927,
0.2137269824743271,
-0.11397602409124374,
-0.015883613377809525,
0.44802290201187134,
-0.20868287980556488,
0.23300708830356598,
-0.13102015852928162,
-0.04084227234125137,
-0.48173293471336365,
-0.22859224677085876,
0.10886532068252563,
0.11603091657161713,
0.3896976709365845,
-0.04678019881248474,
0.320443332195282,
0.12973560392856598,
-0.05880054086446762,
-0.05089099332690239,
0.009084349498152733,
-0.0437268391251564,
0.009313179180026054,
-0.018208622932434082,
0.11585268378257751,
-0.09774211049079895,
-0.3500139117240906,
-0.4692278504371643,
-0.2498774528503418,
0.014743108302354813,
-0.14174367487430573,
0.20580676198005676,
0.32441094517707825,
-0.016098223626613617,
0.0776311531662941,
0.05211128294467926,
0.1215469166636467,
-0.13640902936458588,
-0.11710599809885025,
0.5748952031135559,
-0.427867591381073,
-0.37041521072387695,
0.05785896256566048,
-0.005459129810333252,
-0.07860183715820312,
0.11966671049594879,
-0.6027237176895142,
-0.28014475107192993,
-0.2482464760541916,
-0.28587421774864197,
-0.04216783493757248,
-0.09706735610961914,
0.039500556886196136,
-0.25211673974990845,
0.034956641495227814,
0.11904687434434891,
-0.004361269995570183,
-0.19799023866653442,
-0.020192377269268036,
0.03680957108736038,
0.013968931511044502,
0.4683299958705902,
0.08866386115550995,
0.6405177116394043,
0.2417096197605133,
-0.018795866519212723,
0.27357736229896545,
0.009516095742583275,
0.2881152033805847,
0.0764525830745697,
-0.3387579917907715,
-0.19332009553909302,
0.12567846477031708,
-0.1998576819896698,
0.26649609208106995,
0.09199883788824081,
-0.3646586537361145,
-0.01581139676272869,
-0.21732689440250397,
-0.4022379219532013,
-0.28253889083862305,
0.15420220792293549,
0.360672265291214,
0.187530517578125,
0.16580171883106232,
0.12517893314361572,
0.06011364236474037,
-0.29554039239883423,
0.0243668369948864,
0.45853912830352783,
0.012304529547691345,
0.11463884264230728,
0.40789365768432617,
-0.16568587720394135,
-0.4507567882537842,
0.14876550436019897,
-0.05639320984482765,
0.11141538619995117,
-0.025548391044139862,
0.1508796215057373,
0.1792898327112198,
-0.2112608700990677,
0.6466525197029114,
-0.09997523576021194,
0.24229618906974792,
0.104583740234375,
0.11286455392837524,
-0.1621631234884262,
-0.2673959732055664,
-0.1496105045080185,
-0.029033957049250603,
0.28396669030189514,
0.32471776008605957,
-0.21811124682426453,
-0.05804070830345154,
0.6162288188934326,
0.20697930455207825,
-0.06151684373617172,
-0.3152187466621399,
-0.14142121374607086,
-0.41482216119766235,
-0.35018861293792725,
-0.08680558949708939,
0.030070999637246132,
0.1932740956544876,
-0.06719347834587097,
-0.21672354638576508,
0.035984303802251816,
-0.1428859680891037,
0.0744553953409195,
-0.17867456376552582,
0.35844820737838745,
0.16752435266971588,
0.32695484161376953,
0.293072372674942,
-0.06746403872966766,
0.2507055103778839,
0.7537368535995483,
-0.05044586583971977,
-0.22206413745880127,
0.07132110744714737,
0.052980635315179825,
-0.13380450010299683,
0.6096714735031128,
-0.297743558883667,
-0.563601553440094,
0.21359272301197052,
0.3846145272254944,
0.02337804064154625,
-0.09345416724681854,
0.3822786808013916,
-0.22688895463943481,
-0.3081307113170624,
-0.22485966980457306,
0.5574488043785095,
0.15424488484859467,
0.009589418768882751,
0.1515612006187439,
0.10510808229446411,
-0.11861571669578552,
0.1863572746515274,
-0.032805658876895905,
0.9560059905052185,
0.08280187845230103,
0.06271592527627945,
0.3389023542404175,
0.1496426910161972,
0.256769061088562,
-0.4140776991844177,
0.02140207216143608,
-0.1384873241186142,
-0.36597996950149536,
-0.2099335491657257,
-0.09125132858753204,
-0.04833444952964783,
0.2658221125602722,
0.06022742763161659,
0.35783758759498596,
-0.39743345975875854,
0.06909052282571793,
0.13085436820983887,
0.23139649629592896,
-0.2875455915927887,
-0.02913198247551918,
0.00032294169068336487,
0.07246627658605576,
0.04489092528820038,
0.431983083486557,
-0.1129220575094223,
0.008172091096639633,
-0.23742833733558655,
-0.19675830006599426,
-0.5147977471351624,
0.11079367250204086,
-0.3082689642906189,
0.20484943687915802,
-0.02690429612994194,
-0.1527521014213562,
-0.17622554302215576,
0.12069463729858398,
0.26923102140426636,
0.20329494774341583,
-0.23216181993484497,
0.25378960371017456,
-0.15487870573997498,
-0.09974932670593262,
0.02829733118414879,
-0.20838764309883118,
0.3762466311454773,
-0.12321402132511139,
-0.08570364117622375,
-0.2347707450389862,
-0.115091472864151,
-0.22224420309066772,
-0.10035693645477295,
0.05195758491754532,
-0.21162043511867523,
0.010181132704019547,
-0.08633017539978027,
0.016879960894584656,
0.19737358391284943,
-0.16921019554138184,
0.06663169711828232,
0.10888409614562988,
0.1511903554201126,
0.046194642782211304,
-0.14693108201026917,
-0.3198249936103821,
-0.14074960350990295,
0.31801193952560425,
-0.07280521839857101,
-0.4033219516277313,
0.3812536895275116,
0.2968907058238983,
-0.2675105631351471,
-0.054437801241874695,
0.09243438392877579,
0.015495982952415943,
-0.32874900102615356,
0.23636490106582642,
-0.2333948016166687,
0.28398263454437256,
-0.3003006875514984,
0.0545477457344532,
0.10683507472276688,
-0.018200814723968506,
-0.2554396390914917,
-0.7352542281150818,
0.08499498665332794,
0.11128664016723633,
0.12994931638240814,
0.1856418401002884,
-0.22345799207687378,
-0.05636679753661156,
0.18745429813861847,
-0.33250629901885986,
-0.242245152592659,
0.2867140471935272,
-0.06538049131631851,
-0.350362628698349,
0.16766463220119476,
0.04060409590601921,
0.603808581829071,
-0.10191906988620758,
0.05838407576084137,
0.04334457963705063,
-0.07424584776163101,
-0.1683141589164734,
-0.20037803053855896,
0.1791498214006424,
0.09484528005123138,
-0.052922703325748444,
0.2318015843629837,
-0.18259508907794952,
-0.2678176164627075,
0.020838692784309387,
0.2302994430065155,
0.30383482575416565,
0.1960766613483429,
-0.3746242821216583,
0.00907418504357338,
0.03923949599266052,
-0.10121159255504608,
0.08168455958366394,
-0.09932540357112885,
0.36625945568084717,
0.21119362115859985,
0.21557162702083588,
-0.002357958583161235,
0.028917066752910614,
-0.23783566057682037,
-0.06077694147825241,
-0.24307160079479218,
0.09503357112407684,
0.4670010507106781,
-0.15363366901874542,
-0.10127808153629303,
0.32678306102752686,
0.1402459591627121,
0.29911699891090393,
-0.38774383068084717,
0.0319090336561203,
0.2594272494316101,
0.11848323792219162,
-0.14346551895141602,
-0.10038968175649643,
0.09472297132015228,
0.07633388787508011,
0.0492192767560482,
0.21329152584075928,
-0.019135113805532455,
0.1608450710773468,
-0.22815759479999542,
0.06844151020050049,
0.5692635774612427,
0.08897681534290314,
0.26192501187324524,
0.25184187293052673,
-0.006112001836299896,
0.2563759982585907,
0.10546005517244339,
-0.06899528205394745,
0.22442884743213654,
0.45448142290115356,
-0.12902984023094177,
-0.12238606810569763,
-0.11376219242811203,
-0.10907885432243347,
0.23277556896209717,
-0.4324083924293518,
0.16440854966640472,
0.16394513845443726,
-0.18784457445144653,
0.3281955122947693,
0.1333782970905304,
0.18426714837551117,
-0.19499333202838898,
0.13691064715385437,
-0.48707616329193115,
0.43944141268730164,
0.08858568966388702,
0.18273520469665527,
0.08180142194032669,
-0.30103519558906555,
-0.3056962788105011,
0.34116482734680176,
0.1073426604270935,
-0.45917952060699463,
-0.08824284374713898,
0.287139892578125,
-0.3919907212257385,
-0.05543304234743118,
0.022019529715180397,
0.08982954919338226,
0.11207684874534607,
-0.29271233081817627,
-0.01650472916662693,
0.2965187430381775,
-0.1579967588186264,
-0.07390211522579193,
0.37965765595436096,
0.36679431796073914,
0.3065938949584961,
0.08032318949699402,
0.08819106221199036,
0.02093704789876938,
-0.05408675596117973,
-0.08099312335252762,
0.07174763828516006,
0.1263018250465393,
0.06618420779705048,
0.18648453056812286,
0.07269201427698135,
-0.23015275597572327,
0.0017618164420127869,
0.1257808655500412,
0.37803909182548523,
-0.17809955775737762,
0.3739873170852661,
-0.3172801733016968,
0.14731749892234802,
-0.18870198726654053,
-0.3439890146255493,
-0.4231591820716858,
-0.053431186825037,
0.22713978588581085,
-0.056614264845848083,
0.1255575716495514,
-0.05032946914434433,
0.03292498365044594,
0.06965211778879166,
0.25620582699775696,
0.45627227425575256,
0.15310199558734894,
-0.3512130379676819,
-0.01563924551010132,
-0.7017961740493774,
0.17674347758293152,
-0.2578579783439636,
0.21760250627994537,
0.009516902267932892,
0.12063871324062347,
-0.2908039093017578,
0.24642354249954224,
0.34385156631469727,
0.23947490751743317,
-0.15950989723205566,
0.1240515261888504,
-0.1903887689113617,
-0.22691486775875092,
0.07076568156480789,
-0.1405879110097885,
0.013055171817541122,
-0.3046024441719055,
0.04654041677713394,
-0.6752455830574036,
-0.08828165382146835,
0.11630232632160187,
-0.2323225885629654,
-0.2831588387489319,
-0.04449814558029175,
0.5034732818603516,
0.02299339696764946,
0.4101496636867523,
0.056315548717975616,
-0.3711797893047333,
-0.5969370603561401,
0.025556841865181923,
-0.27549296617507935,
0.2683541476726532,
-0.026116475462913513,
0.3203514516353607,
-0.08491882681846619,
-0.5528169274330139,
-0.19485072791576385,
0.15487191081047058,
-0.03466439247131348,
0.00047434805310331285,
-0.2191406786441803,
0.13233987987041473,
-0.2485656440258026,
0.3193981647491455,
0.16842184960842133,
0.13928210735321045,
-0.21643564105033875,
0.1592976301908493,
-0.2177259773015976,
-0.6011961698532104,
0.4642738401889801,
-0.22057385742664337,
-0.15550720691680908,
-0.0389280840754509,
0.2294122278690338,
0.06736338138580322,
0.1734088808298111,
-0.22879180312156677,
0.047941796481609344,
0.1745070070028305,
-0.027325190603733063,
-0.29897013306617737,
-0.16574253141880035,
0.13323035836219788,
-0.18859444558620453,
0.04983668401837349,
0.3755534887313843,
0.2134464979171753,
-0.41625696420669556,
0.24730277061462402,
-0.1781432032585144
] |
https://github.com/huggingface/datasets/issues/3778 | Not be able to download dataset - "Newsroom" | Hi @Darshan2104, thanks for reporting.
Please note that at Hugging Face we do not host the data of this dataset, but just a loading script pointing to the host of the data owners.
Apparently the data owners changed their data host server. After googling it, I found their new website at: https://lil.nlp.cornell.edu/newsroom/index.html
- Download page: https://lil.nlp.cornell.edu/newsroom/download/index.html
I'm fixing the link in our Datasets library. | Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody has this dataset please share your google drive link, it would be a great help!
Thanks
Darshan Tank | 64 | Not be able to download dataset - "Newsroom"
Hello,
I tried to download the **newsroom** dataset but it didn't work out for me. it said me to **download it manually**!
For manually, Link is also didn't work! It is sawing some ad or something!
If anybody has solved this issue please help me out or if somebody has this dataset please share your google drive link, it would be a great help!
Thanks
Darshan Tank
Hi @Darshan2104, thanks for reporting.
Please note that at Hugging Face we do not host the data of this dataset, but just a loading script pointing to the host of the data owners.
Apparently the data owners changed their data host server. After googling it, I found their new website at: https://lil.nlp.cornell.edu/newsroom/index.html
- Download page: https://lil.nlp.cornell.edu/newsroom/download/index.html
I'm fixing the link in our Datasets library. | [
-0.26750102639198303,
0.32212206721305847,
-0.005487628281116486,
0.20531585812568665,
0.15944582223892212,
0.2996755540370941,
0.025815974920988083,
0.31091395020484924,
0.1214270144701004,
-0.07351610064506531,
-0.08823419362306595,
-0.1992521584033966,
-0.10556188970804214,
0.27161794900894165,
0.2644299864768982,
-0.19241680204868317,
-0.0738762840628624,
-0.0039599016308784485,
0.37115657329559326,
0.032297804951667786,
-0.22355665266513824,
0.18414266407489777,
-0.22255441546440125,
-0.024440795183181763,
-0.1433093547821045,
-0.21227268874645233,
-0.10435209423303604,
-0.10070500522851944,
-0.20011617243289948,
-0.25027820467948914,
0.3740208148956299,
0.13491982221603394,
0.14789767563343048,
0.35296449065208435,
-0.00010802874021464959,
-0.08100178837776184,
0.22604647278785706,
-0.08506612479686737,
-0.38881614804267883,
-0.3082149028778076,
-0.15188458561897278,
-0.16920320689678192,
-0.13962720334529877,
-0.2477680742740631,
-0.2177443504333496,
-0.14147678017616272,
0.17523442208766937,
-0.07333202660083771,
0.21093280613422394,
0.4661034643650055,
0.252340167760849,
0.1950782835483551,
0.3654136657714844,
-0.2798071801662445,
0.13397499918937683,
0.08326419442892075,
0.08762381225824356,
0.3295873701572418,
0.030758582055568695,
0.09289897978305817,
0.3254493772983551,
0.05688456818461418,
-0.002151302993297577,
0.09816929697990417,
-0.1656406819820404,
-0.035487718880176544,
-0.05275709182024002,
-0.49165740609169006,
0.3031517267227173,
0.18875572085380554,
0.3737320899963379,
-0.12022965401411057,
0.010840406641364098,
0.05340595543384552,
0.25796499848365784,
0.15294426679611206,
0.13885681331157684,
0.5117778182029724,
-0.1628188043832779,
0.18858683109283447,
-0.408205509185791,
-0.2983432412147522,
-0.20470483601093292,
0.34006160497665405,
-0.10826686024665833,
0.19175973534584045,
-0.2550649046897888,
0.2336905598640442,
0.19125866889953613,
0.12654171884059906,
0.056029196828603745,
-0.013391941785812378,
-0.2932968735694885,
0.07593874633312225,
-0.03493253514170647,
-0.051516782492399216,
-0.13900965452194214,
0.41754236817359924,
0.28166285157203674,
-0.012915804982185364,
-0.4827953279018402,
-0.19886070489883423,
-0.04802754521369934,
-0.05591398477554321,
0.19299083948135376,
0.02585878223180771,
0.06326531618833542,
0.24496124684810638,
0.3160049319267273,
0.38753223419189453,
-0.04242262244224548,
-0.07171386480331421,
-0.08161855489015579,
-0.19628463685512543,
-0.2995401918888092,
-0.21430161595344543,
0.2529134750366211,
-0.37350893020629883,
-0.34138184785842896,
0.1827796995639801,
0.009554147720336914,
0.12102776765823364,
-0.007626633159816265,
0.15388190746307373,
0.21127448976039886,
0.00970885343849659,
0.1942102611064911,
0.04175613075494766,
0.12617585062980652,
-0.37430891394615173,
-0.09417179226875305,
-0.000886041671037674,
-0.20280994474887848,
-0.010518409311771393,
0.2263927012681961,
-0.1674075722694397,
0.25456318259239197,
0.11902309209108353,
0.010428544133901596,
-0.11765402555465698,
-0.17524302005767822,
-0.10186481475830078,
-0.07136598974466324,
0.29411399364471436,
0.1685403436422348,
0.37544476985931396,
-0.06145929917693138,
-0.36973267793655396,
-0.04951578378677368,
0.14698827266693115,
-0.23832806944847107,
-0.20847877860069275,
-0.26012933254241943,
0.1753525584936142,
-0.3115732669830322,
-0.03679497539997101,
-0.1764308512210846,
0.21824321150779724,
-0.16935545206069946,
0.19189897179603577,
-0.000843927264213562,
0.10527920722961426,
0.03873855993151665,
-0.04509938508272171,
0.25661543011665344,
0.5027394890785217,
-0.5429786443710327,
-0.002673104405403137,
-0.13955529034137726,
-0.2276095449924469,
0.040276311337947845,
0.2109975814819336,
-0.27877873182296753,
0.1349642425775528,
-0.36715251207351685,
-0.1432962417602539,
0.5410513877868652,
-0.1919691413640976,
-0.7831020951271057,
0.15568998456001282,
-0.2381466031074524,
-0.2968291938304901,
-0.1245848760008812,
0.12875576317310333,
0.05944643169641495,
0.1293928623199463,
-0.33153045177459717,
0.4958166480064392,
0.12058629840612411,
-0.05484018474817276,
-0.2818966209888458,
-0.019982028752565384,
0.02272436022758484,
0.3163258731365204,
0.13459378480911255,
0.1323402225971222,
0.1280531883239746,
0.039335768669843674,
0.2706604599952698,
0.16375526785850525,
0.29252633452415466,
0.33169108629226685,
0.3519577383995056,
0.1669931709766388,
0.06389280408620834,
-0.12643225491046906,
-0.3052879869937897,
0.06524864584207535,
0.0645304024219513,
0.0036759190261363983,
-0.05599242448806763,
-0.10781000554561615,
-0.6091345548629761,
-0.07530989497900009,
-0.2668992877006531,
-0.21430239081382751,
0.12196452915668488,
0.07273559272289276,
0.23721104860305786,
0.27946364879608154,
-0.10525312274694443,
0.17215600609779358,
-0.11461631953716278,
-0.00478200102224946,
-0.1825932115316391,
0.3883746266365051,
-0.15267407894134521,
0.08066786080598831,
0.05608077347278595,
-0.1768413484096527,
0.25231194496154785,
0.08018746227025986,
-0.13714435696601868,
0.19692912697792053,
-0.12446647882461548,
0.10133130848407745,
0.45632636547088623,
-0.08093561232089996,
0.17270685732364655,
-0.596545398235321,
0.30604320764541626,
0.11339184641838074,
0.012151178903877735,
0.10268033295869827,
-0.08712651580572128,
0.03460909426212311,
-0.13038818538188934,
-0.011567257344722748,
-0.23772144317626953,
0.3756662607192993,
0.36261773109436035,
-0.2186976671218872,
0.308025598526001,
0.032594792544841766,
0.287239670753479,
0.14624656736850739,
0.250049352645874,
-0.06620185822248459,
-0.16539239883422852,
0.21562157571315765,
0.3702352046966553,
-0.010631667450070381,
-0.08651719242334366,
0.21458524465560913,
-0.4376335144042969,
-0.013127514161169529,
-0.17286795377731323,
0.4402175843715668,
0.17502744495868683,
0.09508615732192993,
0.005658477544784546,
0.19655446708202362,
0.2561415135860443,
-0.27435821294784546,
0.21706366539001465,
-0.16516605019569397,
0.12839114665985107,
0.0799948126077652,
0.06386943906545639,
0.029621582478284836,
-0.23972013592720032,
0.11117126047611237,
0.2891848385334015,
0.282158762216568,
-0.14703479409217834,
-0.1146271750330925,
-0.05459848791360855,
-0.5745264291763306,
-0.16145706176757812,
0.2620960772037506,
-0.26432278752326965,
-0.3387516438961029,
-0.15779076516628265,
0.08299826085567474,
0.16752196848392487,
-0.11955767124891281,
-0.07296627759933472,
0.3826087713241577,
0.010872682556509972,
0.05636152625083923,
-0.1629779040813446,
-0.20331144332885742,
-0.27910861372947693,
0.1436118483543396,
0.23771744966506958,
0.1657489389181137,
0.24113425612449646,
-0.2983349859714508,
0.01346125639975071,
-0.8658276200294495,
-0.11999502778053284,
0.05533017963171005,
0.047204963862895966,
0.7588214874267578,
0.016184434294700623,
0.5726413130760193,
-0.3704832196235657,
-0.10183800756931305,
0.08190979808568954,
-0.17010699212551117,
0.012475335970520973,
-0.03398345410823822,
-0.09547460079193115,
-0.10597524046897888,
0.09394876658916473,
-0.20611131191253662,
-0.4901125431060791,
-0.09443846344947815,
0.2325194627046585,
-0.11204417049884796,
-0.0076308101415634155,
0.014995517209172249,
-0.2653833031654358,
-0.07408033311367035,
0.030523240566253662,
-0.24370217323303223,
-0.2850533425807953,
-0.31503596901893616,
0.423991858959198,
-0.41590774059295654,
-0.6227352619171143,
0.28586283326148987,
0.2171744704246521,
0.09702791273593903,
-0.025253750383853912,
-0.6097107529640198,
0.17151030898094177,
-0.2230415791273117,
0.07675746083259583,
0.2796698212623596,
-0.053533270955085754,
0.07997996360063553,
-0.39875873923301697,
0.03862813860177994,
-0.023111144080758095,
-0.1213337779045105,
-0.026980772614479065,
0.16289395093917847,
0.42984989285469055,
0.1660514771938324,
0.3655998110771179,
0.06316864490509033,
0.5530514121055603,
0.34712252020835876,
-0.0891401618719101,
0.41838303208351135,
-0.156670942902565,
0.2459661364555359,
0.03875339776277542,
-0.43630459904670715,
0.23177945613861084,
0.08104293793439865,
-0.0956093817949295,
0.041930802166461945,
-0.06982257217168808,
-0.3349306583404541,
-0.3081114590167999,
-0.0461360365152359,
-0.4378983676433563,
-0.23639990389347076,
-0.10806035995483398,
0.12338574975728989,
0.23439335823059082,
0.26178550720214844,
-0.08079949766397476,
0.3424316942691803,
-0.5714322924613953,
0.22314411401748657,
0.5259585380554199,
0.059627167880535126,
0.07127807289361954,
-0.1998005360364914,
0.1384139209985733,
-0.40043675899505615,
0.19684700667858124,
-0.38208162784576416,
0.22503229975700378,
-0.2817952632904053,
0.32912588119506836,
0.29462456703186035,
0.08171439170837402,
0.5841178894042969,
-0.2961171567440033,
0.32583582401275635,
0.04490797594189644,
0.22066134214401245,
-0.17621685564517975,
-0.11596377193927765,
-0.2781825363636017,
0.21338099241256714,
0.10069149732589722,
0.17774474620819092,
-0.2446332573890686,
0.03265324607491493,
0.3838455379009247,
0.016796596348285675,
-0.20109960436820984,
-0.048119205981492996,
-0.06718839704990387,
-0.23538976907730103,
-0.18903449177742004,
-0.17278969287872314,
-0.08856803178787231,
0.09886528551578522,
-0.13139966130256653,
0.06159565970301628,
0.05328935384750366,
0.18376827239990234,
-0.033731549978256226,
-0.05562272295355797,
0.27927345037460327,
0.26300153136253357,
0.06977617740631104,
0.4072941541671753,
0.16891950368881226,
0.1222217008471489,
0.4179036319255829,
-0.014435701072216034,
-0.1559525579214096,
0.23011749982833862,
-0.06938952952623367,
0.28149959444999695,
0.33438611030578613,
-0.0787225142121315,
-0.06973499804735184,
0.0879170373082161,
0.1886388510465622,
-0.12354404479265213,
0.031033145263791084,
0.26297134160995483,
-0.03413781151175499,
-0.2447078675031662,
-0.3464462459087372,
0.35986343026161194,
0.05544016882777214,
-0.0785713791847229,
-0.02573753148317337,
0.3236500024795532,
-0.0012225881218910217,
0.031066663563251495,
-0.09476477652788162,
1.0388904809951782,
-0.12295490503311157,
-0.15080055594444275,
0.030371172353625298,
-0.17724540829658508,
0.5442025065422058,
-0.17877274751663208,
0.06776080280542374,
-0.22071003913879395,
-0.026490021497011185,
-0.15703000128269196,
-0.09836216270923615,
-0.09850319474935532,
0.3003500699996948,
-0.10901165008544922,
0.2900611460208893,
-0.09210886806249619,
0.10779060423374176,
0.040931299328804016,
0.46019577980041504,
-0.1949322670698166,
0.16171762347221375,
-0.25722596049308777,
0.17514362931251526,
-0.10963974893093109,
0.4918673634529114,
-0.20470353960990906,
-0.15415191650390625,
-0.0884496420621872,
0.17572684586048126,
-0.5897836685180664,
0.19330748915672302,
-0.2618509531021118,
0.10191141068935394,
-0.18108616769313812,
-0.39914971590042114,
0.3113566040992737,
0.235464945435524,
0.2973725199699402,
0.25014668703079224,
-0.4442131519317627,
0.3171730041503906,
-0.19772771000862122,
-0.4087277352809906,
0.12008905410766602,
-0.00039570964872837067,
0.07680702954530716,
-0.08327596634626389,
-0.5253350138664246,
0.13977470993995667,
0.08348142355680466,
-0.21396444737911224,
-0.25315043330192566,
-0.10367044806480408,
-0.07188738882541656,
-0.26222291588783264,
-0.13593299686908722,
-0.08490322530269623,
-0.09320294111967087,
-0.05825108662247658,
0.15494029223918915,
-0.12010984122753143,
0.08158952742815018,
-0.23666059970855713,
0.30234429240226746,
-0.2681063711643219,
-0.05139339342713356,
0.3349335491657257,
-0.10140062123537064,
0.06539354473352432,
0.3313959836959839,
0.21880756318569183,
-0.21115311980247498,
-0.29704543948173523,
0.15323251485824585,
0.2075006067752838,
-0.3984789252281189,
0.03360644727945328,
-0.09083014726638794,
0.4323139786720276,
0.1490476429462433,
-0.07313448190689087,
0.2180033028125763,
-0.021895021200180054,
0.05289287492632866,
-0.7133673429489136,
0.0014085602015256882,
-0.0033074766397476196,
-0.24199695885181427,
0.011466562747955322,
-0.05892719328403473,
-0.1813301295042038,
0.40025216341018677,
-0.009889570996165276,
-0.2972121238708496,
0.3161793053150177,
-0.3663545548915863,
0.015424366109073162,
0.06487928330898285,
0.020093942061066628,
0.09683956950902939,
-0.07303754985332489,
0.049929238855838776,
-0.041731901466846466,
-0.2294580042362213,
-0.19323498010635376,
0.09624797105789185,
0.14187854528427124,
0.04535622149705887,
-0.2335984855890274,
-0.10840926319360733,
-0.29094576835632324,
-0.3157986104488373,
0.3211963176727295,
0.056456755846738815,
-0.03513143211603165,
0.13726940751075745,
-0.004201288800686598,
0.15553949773311615,
-0.1689266562461853,
-0.19257543981075287,
0.07886222004890442,
0.04365324229001999,
0.3275671601295471,
0.020602097734808922,
0.24828916788101196,
0.09394501894712448,
0.02846314013004303,
-0.4447765052318573,
0.022419340908527374,
0.13189586997032166,
0.125351220369339,
0.35974884033203125,
-0.22917886078357697,
0.13778351247310638,
0.2881212830543518,
0.23412925004959106,
0.24247294664382935,
-0.4489681124687195,
0.04144509136676788,
0.2642163038253784,
0.18466003239154816,
-0.4048037528991699,
0.029232924804091454,
0.3209657073020935,
0.06995398551225662,
-0.18686380982398987,
-0.08621609956026077,
0.31088951230049133,
0.05848658084869385,
-0.16172611713409424,
0.09444978833198547,
0.6713652014732361,
-0.04544072598218918,
0.1576925814151764,
0.3063071072101593,
0.14535430073738098,
-0.023493807762861252,
0.15307459235191345,
0.16399647295475006,
-0.09939945489168167,
0.3785627484321594,
-0.20770177245140076,
0.047861408442258835,
0.13093498349189758,
0.27212128043174744,
0.4997040927410126,
-0.18209877610206604,
-0.12508870661258698,
0.3098984360694885,
-0.18914121389389038,
-0.04837943613529205,
-0.09793823957443237,
0.24458515644073486,
-0.0873948484659195,
-0.1282425820827484,
-0.29705142974853516,
0.3990962505340576,
-0.027645081281661987,
0.29337745904922485,
-0.14705953001976013,
-0.3312380015850067,
-0.3560140132904053,
0.2173663079738617,
0.005707003176212311,
-0.3637286424636841,
0.17304706573486328,
0.22210998833179474,
-0.2903715968132019,
-0.37589743733406067,
0.271762877702713,
0.24687349796295166,
0.25867563486099243,
-0.31229168176651,
0.23316028714179993,
-0.21000264585018158,
0.06510579586029053,
0.2328590452671051,
0.718496561050415,
0.09620809555053711,
0.14663821458816528,
0.07741622626781464,
0.25863996148109436,
0.10891991853713989,
-0.22703079879283905,
0.008640473708510399,
0.28324559330940247,
0.23167653381824493,
-0.1825626790523529,
0.11175347864627838,
0.1493120640516281,
-0.04467274621129036,
-0.2031928449869156,
-0.010261598974466324,
0.22509770095348358,
-0.15828418731689453,
-0.1618107557296753,
-0.2841038703918457,
0.009407930076122284,
-0.24081823229789734,
-0.3876636028289795,
-0.09765370190143585,
-0.20844416320323944,
0.2611679136753082,
-0.14543171226978302,
0.3344951272010803,
-0.2046400010585785,
0.06934574246406555,
-0.03358524292707443,
0.48673713207244873,
0.4672749638557434,
0.1482028365135193,
-0.2712726891040802,
-0.7238597273826599,
-0.7304806709289551,
-0.030604638159275055,
0.12211199104785919,
-0.08058278262615204,
0.0292533989995718,
-0.07018056511878967,
-0.2601782977581024,
0.13571834564208984,
0.09306755661964417,
0.6030327677726746,
-0.19101287424564362,
0.07311584055423737,
-0.35230979323387146,
-0.11566129326820374,
0.04558170214295387,
0.19468453526496887,
-0.19498515129089355,
-0.0016006603837013245,
0.3334590196609497,
-0.04979497194290161,
-0.07260534167289734,
-0.07258793711662292,
0.007829852402210236,
0.08264541625976562,
0.32564741373062134,
0.2802436649799347,
0.10966061800718307,
0.3320543169975281,
-0.011596828699111938,
-0.10315942764282227,
-0.2739814519882202,
-0.17832227051258087,
-0.05296780914068222,
0.18682298064231873,
-0.017871294170618057,
-0.03925751894712448,
0.09319306164979935,
-0.16439437866210938,
-0.10487861931324005,
-0.07109808921813965,
-0.0641452968120575,
0.11929285526275635,
-0.4238274097442627,
-0.44528457522392273,
-0.23356255888938904,
0.1982833445072174,
0.3204776644706726,
0.10419079661369324,
-0.0274336040019989,
-0.19284172356128693,
-0.15628832578659058,
-0.12765496969223022,
0.34398090839385986,
-0.24889236688613892,
0.007186610251665115,
-0.068412184715271,
0.13601639866828918,
-0.005208536982536316,
-0.08939695358276367,
-0.3704517185688019,
-0.03635576367378235,
0.3867969810962677,
-0.07068543881177902,
-0.11783774197101593,
0.15856844186782837,
0.0007184017449617386,
0.06547410786151886,
0.08411282300949097,
0.4481504559516907,
0.20138230919837952,
-0.29978322982788086,
0.08466064929962158,
-0.08134181797504425
] |
https://github.com/huggingface/datasets/issues/3776 | Allow download only some files from the Wikipedia dataset | Hi @jvanz, thank you for your proposal.
In fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_files` to load only a specific subset of the data files.
See:
- #3401 | **Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb).
**Describe the solution you'd like**
I would like to use the `data_files` argument in the `load_dataset` function to define which file in the wikipedia dataset I would like to download. Thus, I can work with the dataset in a smaller machine using the Apache Beam `DirectRunner`.
**Describe alternatives you've considered**
I've tried to use the `simple` Wikipedia dataset. But it's in English and I would like to use Portuguese texts in my model.
| 70 | Allow download only some files from the Wikipedia dataset
**Is your feature request related to a problem? Please describe.**
The Wikipedia dataset can be really big. This is a problem if you want to use it locally in a laptop with the Apache Beam `DirectRunner`. Even if your laptop have a considerable amount of memory (e.g. 32gb).
**Describe the solution you'd like**
I would like to use the `data_files` argument in the `load_dataset` function to define which file in the wikipedia dataset I would like to download. Thus, I can work with the dataset in a smaller machine using the Apache Beam `DirectRunner`.
**Describe alternatives you've considered**
I've tried to use the `simple` Wikipedia dataset. But it's in English and I would like to use Portuguese texts in my model.
Hi @jvanz, thank you for your proposal.
In fact, we are aware that it is very common the problem you mention. Because of that, we are currently working in implementing a new version of wikipedia on the Hub, with all data preprocessed (no need to use Apache Beam), from where you will be able to use `data_files` to load only a specific subset of the data files.
See:
- #3401 | [
-0.21162118017673492,
0.050485074520111084,
-0.10688233375549316,
0.3503209948539734,
-0.04531509429216385,
0.10915056616067886,
0.023389074951410294,
0.6189422607421875,
0.44180458784103394,
0.1188720092177391,
-0.09599872678518295,
0.18924197554588318,
0.054292354732751846,
-0.05413525551557541,
0.07702712714672089,
-0.18839213252067566,
-0.035248227417469025,
0.019304700195789337,
-0.022897109389305115,
-0.18511387705802917,
-0.18544046580791473,
-0.21569335460662842,
0.006524018943309784,
-0.1704161912202835,
-0.11716795712709427,
0.13148760795593262,
0.36332085728645325,
-0.08101256936788559,
-0.38991522789001465,
-0.24186594784259796,
0.24898172914981842,
0.5197984576225281,
0.2918394207954407,
-0.1929270625114441,
-0.00011401206575101241,
0.06289862096309662,
0.4904630780220032,
-0.08928733319044113,
-0.4281182289123535,
-0.1749892681837082,
-0.4245412051677704,
-0.1589718908071518,
0.250255823135376,
-0.41688162088394165,
-0.07757847756147385,
-0.030976325273513794,
0.3113533556461334,
-0.041587501764297485,
0.23173189163208008,
0.1332031637430191,
0.17371363937854767,
-0.07671763747930527,
-0.12079846858978271,
-0.11918476969003677,
0.5432426929473877,
0.33367931842803955,
0.013211129233241081,
0.1994791179895401,
0.1310189664363861,
0.11937575042247772,
-0.2090815007686615,
0.23204749822616577,
-0.13201431930065155,
0.22075125575065613,
0.5662455558776855,
-0.17578411102294922,
-0.1456727385520935,
-0.6676276922225952,
0.26798853278160095,
0.5541573762893677,
0.8907580375671387,
-0.1665201485157013,
0.08562790602445602,
-0.1407141089439392,
0.05308861657977104,
0.24668647348880768,
0.18198908865451813,
0.2930394411087036,
-0.512718915939331,
0.17249716818332672,
0.1971195936203003,
-0.5737572312355042,
-0.4416334331035614,
0.4605064392089844,
0.018310725688934326,
0.23284775018692017,
0.21281032264232635,
0.2006216049194336,
0.16563047468662262,
0.13657501339912415,
0.055545344948768616,
-0.26369985938072205,
0.09512831270694733,
0.29231107234954834,
-0.21295703947544098,
-0.13104350864887238,
-0.10526829212903976,
0.5061231851577759,
0.5263720750808716,
-0.02696237713098526,
-0.09805425256490707,
0.21103686094284058,
-0.011755011044442654,
0.061486292630434036,
0.35285013914108276,
-0.13581568002700806,
0.12383995950222015,
-0.06267254054546356,
0.5552932024002075,
0.2505526542663574,
-0.04409274086356163,
0.05602497234940529,
0.055404018610715866,
-0.07518032938241959,
-0.4171801209449768,
0.033165812492370605,
0.025926660746335983,
-0.1655232012271881,
0.21329642832279205,
-0.13502976298332214,
-0.04496394097805023,
-0.2980939447879791,
0.09415705502033234,
0.24069035053253174,
0.0794714018702507,
0.19572997093200684,
0.038874149322509766,
0.259876549243927,
-0.030789678916335106,
-0.33274582028388977,
0.051743511110544205,
0.1659838855266571,
-0.11535516381263733,
0.18877117335796356,
0.39076748490333557,
-0.07136237621307373,
0.10293836146593094,
0.05994512140750885,
0.029649384319782257,
0.03205074369907379,
0.10615019500255585,
-0.33381444215774536,
0.06209228187799454,
0.12861356139183044,
0.2254040539264679,
0.41306111216545105,
-0.03700565919280052,
-0.15126767754554749,
-0.2294168770313263,
0.2630293071269989,
-0.20065438747406006,
-0.33344486355781555,
0.08203544467687607,
0.09033394604921341,
-0.200456902384758,
0.2069789320230484,
-0.34208008646965027,
0.33917826414108276,
-0.38963761925697327,
-0.021872861310839653,
0.007024690508842468,
0.3043556809425354,
-0.2863188087940216,
-0.2007826715707779,
0.20098860561847687,
0.6549606323242188,
-0.16609390079975128,
0.11141292750835419,
-0.18043501675128937,
-0.08080635964870453,
-0.13666832447052002,
0.10842901468276978,
-0.3754044473171234,
0.5174348950386047,
0.05554874241352081,
0.16088950634002686,
0.7192617058753967,
-0.3706146776676178,
-0.3776341676712036,
0.2904247045516968,
0.08956362307071686,
-0.02337803691625595,
0.08512366563081741,
0.2675456404685974,
0.37251734733581543,
0.10247486084699631,
-0.18966475129127502,
0.6713266968727112,
0.24770388007164001,
-0.007184185087680817,
-0.1310744732618332,
-0.33433470129966736,
0.1807744801044464,
0.28554806113243103,
0.19291245937347412,
0.18260103464126587,
0.32850319147109985,
0.533618688583374,
0.3887270987033844,
-0.028195921331644058,
0.2285163551568985,
0.2018265277147293,
-0.15279006958007812,
-0.06913191080093384,
0.07751933485269547,
-0.09973932802677155,
-0.24372971057891846,
0.18980595469474792,
-0.06711599975824356,
-0.09040379524230957,
0.1311572790145874,
-0.14135554432868958,
-0.34456151723861694,
-0.25047776103019714,
-0.04359329119324684,
0.06705307215452194,
0.05084402859210968,
-0.16206718981266022,
-0.0481739416718483,
0.16953782737255096,
0.029183518141508102,
0.13396486639976501,
-0.16143667697906494,
0.027755893766880035,
-0.2341884821653366,
0.20079489052295685,
0.06352027505636215,
0.19847488403320312,
-0.030503425747156143,
-0.25781798362731934,
0.3099229633808136,
0.08447454869747162,
0.007385123521089554,
0.022212956100702286,
0.052692022174596786,
0.098733089864254,
0.20041048526763916,
0.16023343801498413,
0.2890113592147827,
-0.12970958650112152,
0.18088263273239136,
0.2772737145423889,
0.2894257605075836,
-0.10379847884178162,
-0.38844674825668335,
0.029210269451141357,
-0.12687353789806366,
0.16501650214195251,
-0.05206271633505821,
-0.036522239446640015,
0.20734229683876038,
-0.23347024619579315,
0.0017405394464731216,
-0.2526358962059021,
0.1248513013124466,
0.5354851484298706,
-0.02506164461374283,
-0.15441466867923737,
-0.11440534889698029,
-0.24402785301208496,
0.2572954595088959,
0.12613703310489655,
0.14796504378318787,
0.27423980832099915,
-0.3448551297187805,
-0.02178087830543518,
0.24164588749408722,
0.012910205870866776,
0.0788407027721405,
0.20440727472305298,
0.14942337572574615,
-0.02374809794127941,
0.23005445301532745,
-0.12908999621868134,
0.23108255863189697,
0.15652135014533997,
-0.01140758115798235,
0.1115119606256485,
-0.09213140606880188,
-0.06579172611236572,
-0.16899758577346802,
-0.03658770024776459,
0.0605354979634285,
0.09486914426088333,
-0.017348431050777435,
-0.2333536148071289,
-0.3268764913082123,
-0.392106294631958,
0.02061500772833824,
0.16833597421646118,
-0.3790672719478607,
-0.035004012286663055,
0.23329675197601318,
0.37516123056411743,
-0.06473242491483688,
-0.06857908517122269,
0.17077648639678955,
0.41069817543029785,
-0.058519147336483,
-0.18047164380550385,
-0.23541544377803802,
-0.18369311094284058,
-0.12848681211471558,
-0.01267297100275755,
0.22399751842021942,
0.44871580600738525,
0.18983101844787598,
0.07010530680418015,
0.017374951392412186,
-0.480215847492218,
0.01790603995323181,
0.10819771140813828,
0.08550399541854858,
0.18887199461460114,
-0.09790550172328949,
0.6192888021469116,
-0.017456218600273132,
0.04086809605360031,
-0.05103982612490654,
0.11844764649868011,
0.1597537100315094,
-0.07803000509738922,
-0.0012044354807585478,
0.300648957490921,
0.0839737057685852,
-0.25511232018470764,
-0.22538208961486816,
-0.4765337407588959,
0.2202332466840744,
0.2563585937023163,
0.22341212630271912,
-0.017808642238378525,
0.0939454659819603,
-0.15806224942207336,
0.044197048991918564,
0.09775318950414658,
-0.10051896423101425,
-0.09093623608350754,
0.5422565340995789,
-0.13840380311012268,
-0.34611910581588745,
0.060872290283441544,
0.0524003729224205,
-0.16232657432556152,
0.3129085898399353,
-0.36956632137298584,
-0.2132473886013031,
0.11569730192422867,
0.20714040100574493,
-0.1416761726140976,
0.07210218161344528,
0.2025795578956604,
-0.19582323729991913,
0.08064883947372437,
-0.09610707312822342,
0.052815649658441544,
-0.011300534009933472,
-0.03896833211183548,
-0.004204787313938141,
0.33931076526641846,
0.034512657672166824,
0.10294517874717712,
0.7771216630935669,
0.1137099415063858,
0.2957881987094879,
0.4677335321903229,
0.20274953544139862,
0.08111392706632614,
-0.06785408407449722,
-0.09040939807891846,
0.05659367889165878,
-0.14418506622314453,
-0.002307591959834099,
0.35750192403793335,
-0.016260266304016113,
-0.31835901737213135,
-0.3125773072242737,
-0.47533556818962097,
-0.15688487887382507,
-0.40914931893348694,
0.31417715549468994,
0.16566520929336548,
0.04083821550011635,
0.03440411761403084,
0.012715518474578857,
-0.22075849771499634,
-0.39288607239723206,
0.32051122188568115,
0.3104887008666992,
0.13790513575077057,
0.12826089560985565,
0.1276320070028305,
-0.1331007182598114,
-0.446880578994751,
0.1315612941980362,
-0.03695899248123169,
-0.09205197542905807,
-0.04299239069223404,
-0.08679016679525375,
0.23370623588562012,
0.33175522089004517,
0.6123629212379456,
-0.3886457085609436,
0.1607012152671814,
-0.047275692224502563,
-0.011703621596097946,
-0.4903261661529541,
0.14183366298675537,
-0.030732272192835808,
0.15306849777698517,
-0.04831470921635628,
0.1545497179031372,
-0.39159655570983887,
-0.17558521032333374,
-0.16877630352973938,
0.37103357911109924,
-0.0696076974272728,
-0.18885092437267303,
0.22394095361232758,
0.09943487495183945,
-0.6034556031227112,
-0.06083814054727554,
0.09243276715278625,
0.14004671573638916,
0.06532347947359085,
-0.01071673259139061,
-0.011659352108836174,
0.296673446893692,
-0.06954893469810486,
0.18604005873203278,
0.10935061424970627,
0.2609161138534546,
-0.2406345009803772,
0.20151716470718384,
0.11884399503469467,
-0.20177949965000153,
0.17965185642242432,
0.2687840163707733,
-0.19410893321037292,
-0.22815832495689392,
-0.21106016635894775,
-0.4192613661289215,
0.38680532574653625,
-0.001884882221929729,
0.2700744867324829,
0.10778935253620148,
-0.2608306407928467,
-0.2852628827095032,
0.22952523827552795,
-0.26122286915779114,
-0.4707935154438019,
-0.29722946882247925,
-0.3908727169036865,
0.6527305245399475,
-0.06185758486390114,
-0.3524010181427002,
0.27051591873168945,
-0.09877951443195343,
-0.4929811358451843,
0.1788916438817978,
0.3397780954837799,
1.0366462469100952,
-0.02112247794866562,
0.17604613304138184,
-0.33996158838272095,
0.03639272600412369,
0.5400573015213013,
-0.7603380084037781,
0.06746725738048553,
-0.2440466731786728,
-0.08273810148239136,
-0.16065523028373718,
0.12103697657585144,
-0.013325400650501251,
0.19327223300933838,
-0.09313401579856873,
0.1475325971841812,
0.15167242288589478,
0.2710966467857361,
-0.150722935795784,
0.5313639044761658,
-0.10967224091291428,
-0.4006580710411072,
-0.04587295651435852,
0.019081979990005493,
-0.1695273518562317,
0.3114573359489441,
-0.0965510904788971,
-0.2113264501094818,
-0.007665064185857773,
-0.2923142910003662,
-0.2102247029542923,
-0.10340447723865509,
-0.31168225407600403,
0.05485871806740761,
-0.4385230541229248,
-0.309876412153244,
0.20884719491004944,
0.3520474433898926,
0.09478047490119934,
0.31066402792930603,
-0.46287214756011963,
0.11309628188610077,
-0.20380449295043945,
-0.16800278425216675,
-0.3406749963760376,
-0.10552570223808289,
0.1538708508014679,
-0.2514026165008545,
-0.29374396800994873,
0.13295915722846985,
-0.003449662122875452,
-0.3499331474304199,
-0.20500344038009644,
0.13178178668022156,
0.36899644136428833,
-0.021285315975546837,
-0.35874029994010925,
-0.01804833859205246,
-0.09359769523143768,
-0.028689181432127953,
0.11397355794906616,
-0.03071478009223938,
-0.05268996208906174,
-0.05809289962053299,
0.12165221571922302,
-0.2154027670621872,
-0.0589275024831295,
0.5909817814826965,
0.18827548623085022,
-0.09754904359579086,
0.19756969809532166,
-0.03352699801325798,
-0.3634522557258606,
-0.2637695372104645,
0.02736886590719223,
-0.1579921841621399,
-0.4390229284763336,
-0.14063046872615814,
-0.04708712175488472,
0.13678331673145294,
-0.4689820110797882,
0.05286986753344536,
0.022256674244999886,
0.02141273394227028,
0.003407362848520279,
-0.42338481545448303,
-0.07325474917888641,
0.2135079950094223,
-0.2167670577764511,
0.05260259285569191,
0.06099779158830643,
-0.4818423390388489,
0.21992969512939453,
0.045235052704811096,
-0.2398948073387146,
-0.05025269091129303,
-0.08195704966783524,
0.16264978051185608,
0.1838822066783905,
0.24101930856704712,
-0.14236237108707428,
-0.10758082568645477,
-0.04136313870549202,
-0.07353268563747406,
-0.16348965466022491,
-0.16283836960792542,
-0.19464169442653656,
0.17878158390522003,
0.03240513056516647,
-0.018685948103666306,
-0.009025008417665958,
-0.5287409424781799,
0.06362327933311462,
-0.15100105106830597,
0.27124032378196716,
-0.12091723829507828,
-0.0014151409268379211,
0.03145645186305046,
0.46869921684265137,
0.1290864646434784,
-0.6787348389625549,
0.27595043182373047,
-0.027359403669834137,
0.27384912967681885,
0.08434351533651352,
0.18109725415706635,
0.2103298157453537,
-0.08306015282869339,
-0.4661608338356018,
0.017907708883285522,
0.23331263661384583,
0.2115151286125183,
0.11689929664134979,
0.2965063452720642,
0.018961872905492783,
0.4330381155014038,
-0.13698188960552216,
0.13797670602798462,
-0.1975826472043991,
0.05309546738862991,
0.28771093487739563,
0.16586828231811523,
-0.11184042692184448,
-0.22694118320941925,
0.4312659800052643,
-0.32915806770324707,
-0.03850465640425682,
0.11862806230783463,
0.2857081890106201,
-0.040889009833335876,
0.12587586045265198,
-0.052904579788446426,
-0.040867384523153305,
0.08083589375019073,
0.06650330871343613,
0.35650408267974854,
0.20940662920475006,
-0.12283983826637268,
-0.2529880106449127,
0.3616982400417328,
0.14524397253990173,
0.43883419036865234,
-0.14283457398414612,
0.17108498513698578,
0.2356347143650055,
-0.05905405059456825,
0.06422872841358185,
-0.2619994878768921,
0.23327608406543732,
0.11569727957248688,
-0.05318206548690796,
0.07660309970378876,
-0.13456296920776367,
-0.1843949854373932,
0.39496639370918274,
0.0720485970377922,
-0.21064457297325134,
0.00173138827085495,
0.13533824682235718,
-0.020600467920303345,
-0.41995152831077576,
-0.3248770534992218,
-0.15668874979019165,
0.12589535117149353,
-0.028763365000486374,
-0.40915852785110474,
-0.0030910447239875793,
0.3687646985054016,
-0.20900706946849823,
-0.046074278652668,
0.4849676787853241,
-0.015032567083835602,
0.056054387241601944,
-0.2170795202255249,
-0.1533588171005249,
-0.3485836386680603,
0.06233823299407959,
0.248392254114151,
0.04818461835384369,
-0.30208104848861694,
0.2990165054798126,
-0.19461923837661743,
-0.06987518817186356,
0.11348851025104523,
0.013913741335272789,
-0.25903749465942383,
-0.13013975322246552,
0.2455679327249527,
0.2694345712661743,
0.3515142798423767,
0.10382044315338135,
-0.09032167494297028,
-0.003089543431997299,
0.027752041816711426,
-0.0010475311428308487,
-0.3217409551143646,
-0.3135785758495331,
0.4693298637866974,
-0.010239869356155396,
0.003661965951323509,
-0.2208191454410553,
-0.17039477825164795,
0.3280671238899231,
0.16601558029651642,
0.0680457279086113,
0.09286989271640778,
-0.21835926175117493,
0.03594459220767021,
-0.3491888642311096,
0.45460647344589233,
-0.1252850741147995,
0.014764878898859024,
-0.3498420715332031,
-0.11005546152591705,
-0.1217733696103096,
0.05640389770269394,
-0.1946401298046112,
-0.16233810782432556,
0.3087640404701233,
0.1892113983631134,
-0.0013155341148376465,
0.3446996212005615,
-0.11509627103805542,
-0.4295377731323242,
-0.06356179714202881,
0.5285249948501587,
-0.02619100548326969,
-0.18859070539474487,
0.000723324716091156,
0.21571792662143707,
-0.14551673829555511,
-0.2593587338924408,
0.2748330533504486,
0.07411137968301773,
-0.08165498077869415,
-0.12114089727401733,
-0.38129934668540955,
0.373307466506958,
0.020661428570747375,
0.5597362518310547,
-0.1468360424041748,
0.17351356148719788,
-0.20510461926460266,
0.18497225642204285,
-0.18728817999362946,
0.17254585027694702,
-0.25743573904037476,
0.03743673861026764,
0.051409121602773666,
0.20217779278755188,
-0.10110456496477127,
0.035220518708229065,
-0.3204886019229889,
0.39900821447372437,
-0.2255597561597824,
0.3785732388496399,
-0.012785852886736393,
-0.4296151399612427,
0.0024813711643218994,
0.17469248175621033,
-0.11215923726558685,
0.1417050063610077,
-0.24545550346374512,
-0.1331758201122284,
-0.35433149337768555,
-0.14191082119941711,
0.27358728647232056,
-0.4874449372291565,
-0.3544395864009857,
-0.05449493229389191,
0.26155057549476624,
-0.14818572998046875,
0.16046373546123505,
-0.3361680805683136,
0.05945884436368942,
0.2911529541015625,
-0.0868101492524147,
-0.08677245676517487,
0.09975196421146393,
0.10667389631271362,
0.0001156441867351532,
-0.20479798316955566,
-0.25854775309562683,
0.14355741441249847,
-0.2517249882221222,
-0.405129611492157,
-0.5547288656234741
] |
https://github.com/huggingface/datasets/issues/3773 | Checksum mismatch for the reddit_tifu dataset | @albertvillanova Thank you for the fast response! However I am still getting the same error:
Downloading: 2.23kB [00:00, ?B/s]
Traceback (most recent call last):
File "C:\Users\Anna\PycharmProjects\summarization\main.py", line 17, in <module>
dataset = load_dataset('reddit_tifu', 'long')
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\builder.py", line 665, in _download_and_prepare
verify_checksums(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\utils\info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
I have cleaned the cache/huggingface/datasets & cache/huggingface/modules files and also tried on another machine with a fresh installation of trasnformers & datasets.
The reddit_tifu.py that gets downloaded still has the previous url on line 51, _URL = "https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF" | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "/.../lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 7.0.0
| 112 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "/.../lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 7.0.0
@albertvillanova Thank you for the fast response! However I am still getting the same error:
Downloading: 2.23kB [00:00, ?B/s]
Traceback (most recent call last):
File "C:\Users\Anna\PycharmProjects\summarization\main.py", line 17, in <module>
dataset = load_dataset('reddit_tifu', 'long')
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\builder.py", line 665, in _download_and_prepare
verify_checksums(
File "C:\Users\Anna\Desktop\summarization\summarization_env\lib\site-packages\datasets\utils\info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
I have cleaned the cache/huggingface/datasets & cache/huggingface/modules files and also tried on another machine with a fresh installation of trasnformers & datasets.
The reddit_tifu.py that gets downloaded still has the previous url on line 51, _URL = "https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF" | [
-0.26124662160873413,
0.30781984329223633,
-0.03472023829817772,
0.29327884316444397,
0.2877587080001831,
-0.01536322757601738,
0.07713275402784348,
0.4611123204231262,
0.003072153776884079,
0.04997805505990982,
-0.07861137390136719,
0.1378062516450882,
0.42363137006759644,
0.14078034460544586,
0.09978392720222473,
0.004324063658714294,
0.17175957560539246,
-0.050647854804992676,
-0.011172868311405182,
0.023379594087600708,
-0.07654786109924316,
0.10034167766571045,
-0.16961418092250824,
-0.19672547280788422,
0.0872984454035759,
0.2290242463350296,
0.06251513212919235,
0.0703178122639656,
-0.07932430505752563,
-0.28768041729927063,
0.3445723056793213,
0.1128159910440445,
-0.1633053421974182,
0.6776046752929688,
-0.00011674370034597814,
-0.06316486746072769,
0.3226739764213562,
-0.15783458948135376,
-0.24376839399337769,
-0.1349482387304306,
-0.31373849511146545,
-0.12289613485336304,
-0.23733697831630707,
-0.14660565555095673,
0.17049065232276917,
0.1870759129524231,
-0.03465363383293152,
-0.0162821002304554,
-0.25582969188690186,
0.25150102376937866,
0.15950292348861694,
0.29694676399230957,
0.1936870664358139,
0.13352587819099426,
0.2962923049926758,
-0.07881960272789001,
0.06562139838933945,
0.4495222568511963,
0.12269923835992813,
-0.05806932598352432,
-0.13005685806274414,
0.1050061285495758,
-0.31562167406082153,
0.14405101537704468,
0.04879506677389145,
0.0876782163977623,
0.05340111255645752,
-0.10579946637153625,
0.06001199036836624,
0.39588311314582825,
0.46771472692489624,
-0.252756804227829,
-0.4401876926422119,
0.0037196725606918335,
-0.1844644993543625,
-0.16876183450222015,
0.35342973470687866,
0.23750922083854675,
-0.24888469278812408,
0.04049450904130936,
-0.33521130681037903,
0.21204370260238647,
0.19045108556747437,
0.1755681037902832,
0.15215148031711578,
-0.13734422624111176,
0.16936369240283966,
0.03673531860113144,
-0.1364014893770218,
-0.048293329775333405,
0.23048986494541168,
-0.2315029799938202,
-0.04585077241063118,
0.06464656442403793,
-0.40392065048217773,
-0.0729013979434967,
-0.05112960934638977,
0.11284703016281128,
0.538145899772644,
0.329664945602417,
0.14822150766849518,
0.22872322797775269,
-0.09726692736148834,
0.18877488374710083,
-0.025979705154895782,
0.22172850370407104,
-0.06380892544984818,
0.2174302190542221,
0.2788621783256531,
0.3559037446975708,
-0.10696139931678772,
0.13850069046020508,
0.2183276265859604,
-0.17302684485912323,
0.43620240688323975,
0.25216197967529297,
0.051295310258865356,
-0.47509765625,
-0.2844623029232025,
0.3379579186439514,
0.12059233337640762,
-0.2243695706129074,
0.14957132935523987,
0.19047528505325317,
-0.3530105650424957,
0.21721705794334412,
-0.1098552867770195,
0.1972063034772873,
-0.15815354883670807,
-0.07933320850133896,
-0.23220279812812805,
0.03613334894180298,
-0.21324701607227325,
0.037458255887031555,
0.13923785090446472,
-0.3727502226829529,
0.47061294317245483,
-0.017208054661750793,
0.30070555210113525,
-0.2543621063232422,
-0.09639208763837814,
-0.14384564757347107,
-0.025576412677764893,
0.34621334075927734,
-0.26323607563972473,
0.11735492199659348,
0.18673337996006012,
0.06451459228992462,
-0.19405759871006012,
0.08648736029863358,
-0.3130348324775696,
-0.17668429017066956,
-0.040833041071891785,
0.18228662014007568,
-0.453943133354187,
-0.19378261268138885,
0.036178380250930786,
-0.4995279312133789,
0.397879421710968,
-0.26834821701049805,
0.09548213332891464,
-0.28441768884658813,
-0.34712547063827515,
-0.3780643045902252,
0.13038338720798492,
0.16775764524936676,
-0.31829914450645447,
0.19630679488182068,
0.04409569129347801,
-0.17162270843982697,
0.3176197111606598,
0.2135585993528366,
-0.011101705953478813,
0.07872211188077927,
-0.19450543820858002,
0.058452025055885315,
0.197252094745636,
-0.576240062713623,
-0.8570894002914429,
-0.08895552903413773,
-0.02454191818833351,
0.0981251671910286,
0.09579431265592575,
0.20112179219722748,
-0.01365680806338787,
-0.1518794298171997,
0.3851180970668793,
0.22864404320716858,
-0.03424413502216339,
0.24466368556022644,
-0.43566274642944336,
-0.4694649875164032,
0.06798554956912994,
0.11730626225471497,
0.10509972274303436,
0.03463940694928169,
0.2737374007701874,
-0.20994910597801208,
0.47632133960723877,
0.13217897713184357,
-0.18048891425132751,
0.03217286989092827,
0.5188761949539185,
0.0922635942697525,
0.031438156962394714,
-0.3085211217403412,
-0.3516792356967926,
0.3165912628173828,
-0.10117683559656143,
0.202106311917305,
-0.0961008071899414,
-0.1394745111465454,
-0.4417223632335663,
-0.1470145434141159,
0.003366135060787201,
0.020225167274475098,
0.07853742688894272,
0.2890240550041199,
0.510312557220459,
-0.0020488575100898743,
-0.06755369901657104,
0.21933263540267944,
-0.3332850933074951,
0.07550618797540665,
-0.06919945776462555,
0.4105214774608612,
-0.14253854751586914,
-0.16337420046329498,
0.1933012753725052,
-0.03260916471481323,
0.21199163794517517,
-0.01898285001516342,
-0.19265314936637878,
0.5856889486312866,
0.24475200474262238,
0.01465337723493576,
0.010342467576265335,
0.16692571341991425,
0.027535589411854744,
-0.11484888195991516,
-0.030615096911787987,
0.4881109297275543,
0.11598975211381912,
-0.0035282932221889496,
-0.08490964025259018,
0.312019944190979,
-0.16783340275287628,
-0.010544419288635254,
-0.03990963101387024,
0.05013398081064224,
0.42526301741600037,
-0.22505854070186615,
-0.08307299017906189,
-0.2810632288455963,
0.3952235281467438,
0.15655341744422913,
-0.1764390617609024,
-0.011362330988049507,
-0.05655255913734436,
0.08669774234294891,
0.4145711362361908,
-0.0815586969256401,
-0.040318071842193604,
0.05873545631766319,
0.09579285234212875,
-0.14654161036014557,
0.10594763606786728,
0.5406917333602905,
0.46465253829956055,
0.10179061442613602,
0.10955080389976501,
0.16945847868919373,
-0.24909257888793945,
-0.08080558478832245,
-0.05853370577096939,
0.05346459522843361,
0.14591166377067566,
0.4165162444114685,
0.14168386161327362,
0.01099640503525734,
-0.22133907675743103,
-0.01994178257882595,
-0.00008408818393945694,
0.2933086156845093,
-0.4290466010570526,
-0.13171078264713287,
-0.28944793343544006,
-0.18918579816818237,
-0.1678348034620285,
-0.04593236371874809,
-0.24098405241966248,
-0.39138996601104736,
-0.08180982619524002,
0.22238464653491974,
-0.13571815192699432,
0.09745779633522034,
-0.49647459387779236,
-0.13520191609859467,
0.06617195159196854,
-0.5941941738128662,
0.1869996041059494,
-0.06037219241261482,
-0.13469764590263367,
-0.00587579607963562,
0.45291003584861755,
0.10976885259151459,
0.3725109398365021,
-0.44255533814430237,
-0.16772350668907166,
-0.36184242367744446,
-0.3254409730434418,
0.12149328738451004,
-0.048073433339595795,
0.2676190137863159,
0.13720619678497314,
0.2562137842178345,
0.13799957931041718,
-0.18905821442604065,
0.20843994617462158,
-0.09196987748146057,
-0.40904343128204346,
0.22957278788089752,
0.138991117477417,
-0.09715604037046432,
0.04963994398713112,
-0.10358645766973495,
0.011918636038899422,
-0.27249062061309814,
-0.21036915481090546,
0.12194600701332092,
0.34420204162597656,
-0.05515458434820175,
0.17333711683750153,
0.03457290306687355,
-0.1635572910308838,
0.1595681756734848,
-0.3038474917411804,
-0.6381139755249023,
0.42781302332878113,
0.029441025108098984,
-0.337120920419693,
-0.05446019023656845,
-0.04978860914707184,
-0.05020469054579735,
0.399951696395874,
-0.5818222165107727,
-0.3925362527370453,
-0.2917535901069641,
0.19481399655342102,
0.21926537156105042,
0.021462544798851013,
0.19424790143966675,
-0.14214134216308594,
-0.07208229601383209,
-0.24902310967445374,
-0.17097404599189758,
0.03168854862451553,
0.07695263624191284,
0.5315158367156982,
-0.1315438151359558,
0.19247406721115112,
0.05408946052193642,
0.22872766852378845,
0.49199384450912476,
-0.09506522119045258,
0.04067481309175491,
0.1255818009376526,
0.3465282917022705,
-0.0732860192656517,
-0.18651561439037323,
-0.07848924398422241,
-0.22883400321006775,
-0.08244344592094421,
0.03567686676979065,
-0.0425897054374218,
0.013675438240170479,
-0.23396946489810944,
-0.10353207588195801,
-0.32647883892059326,
-0.30998969078063965,
0.010356218554079533,
-0.2194744050502777,
0.1357797235250473,
0.11123135685920715,
-0.00041962042450904846,
-0.23993657529354095,
-0.40373682975769043,
0.17124894261360168,
0.25550222396850586,
-0.34941044449806213,
-0.0005448857555165887,
-0.4887557923793793,
0.10059203207492828,
-0.05104852467775345,
0.31537067890167236,
0.40755999088287354,
0.5397176146507263,
0.18517018854618073,
-0.23139533400535583,
-0.06239025294780731,
-0.06166762486100197,
0.166267991065979,
-0.5252134799957275,
0.3027803301811218,
0.07363814115524292,
0.34080564975738525,
0.003947490826249123,
-0.24463070929050446,
0.015070375055074692,
0.11251326650381088,
0.4904667139053345,
0.19948093593120575,
-0.3187851011753082,
0.20614907145500183,
0.44144609570503235,
0.5295765995979309,
-0.12165224552154541,
-0.2765873372554779,
-0.29641640186309814,
-0.2718982994556427,
-0.31972748041152954,
-0.011213399469852448,
0.04626043140888214,
0.2565399408340454,
0.06056252866983414,
0.05510786548256874,
0.16116277873516083,
0.10344759374856949,
0.12681476771831512,
-0.016617633402347565,
0.33623984456062317,
-0.041128527373075485,
0.19057512283325195,
-0.2478647530078888,
-0.2222069501876831,
0.42038846015930176,
0.6949387192726135,
-0.1534421443939209,
-0.23307234048843384,
-0.19063135981559753,
-0.36366018652915955,
0.0006842166185379028,
0.09716574847698212,
-0.05815154314041138,
-0.153143048286438,
0.17091956734657288,
0.08924848586320877,
0.03401019796729088,
0.0007214867509901524,
-0.05411170423030853,
0.09915246069431305,
-0.20571701228618622,
-0.4110708236694336,
0.1358899176120758,
-0.059816889464855194,
-0.07075446099042892,
0.473506361246109,
0.10695313662290573,
-0.03555673360824585,
0.26194220781326294,
0.2891378104686737,
0.9489628672599792,
0.01868336647748947,
-0.11025340855121613,
0.052709825336933136,
-0.2681312561035156,
0.27406418323516846,
-0.05885399132966995,
0.2120104283094406,
-0.3883243501186371,
-0.41494622826576233,
-0.028997985646128654,
-0.289086252450943,
-0.1068839356303215,
-0.03238821029663086,
-0.04165934771299362,
0.33350875973701477,
-0.1730477213859558,
0.11794371902942657,
0.2758585214614868,
0.290039598941803,
-0.23216769099235535,
0.13798123598098755,
0.12927445769309998,
0.13758112490177155,
-0.06567740440368652,
0.4032222628593445,
-0.04221116006374359,
0.08862946182489395,
-0.3786868155002594,
-0.06041363626718521,
-0.6585509777069092,
0.16683590412139893,
-0.10791633278131485,
0.03060312196612358,
-0.019296955317258835,
-0.13185390830039978,
-0.48333725333213806,
0.18160444498062134,
0.44428467750549316,
0.2150236964225769,
-0.14040802419185638,
0.059171199798583984,
0.34394657611846924,
0.14899639785289764,
0.268282026052475,
-0.11663729697465897,
0.5275894999504089,
-0.06627215445041656,
-0.30507856607437134,
0.03248472511768341,
0.05858459323644638,
-0.4294567108154297,
0.06371067464351654,
-0.2264503687620163,
-0.22146807610988617,
-0.16191045939922333,
-0.029983090236783028,
-0.14698676764965057,
0.04677728936076164,
-0.23438303172588348,
0.12254035472869873,
0.24039769172668457,
-0.05004506558179855,
0.21489733457565308,
0.011567264795303345,
-0.3341027796268463,
-0.10032576322555542,
0.5128710865974426,
0.16629573702812195,
-0.44727960228919983,
0.3390148878097534,
0.009024146944284439,
-0.1937495470046997,
-0.11598891019821167,
-0.33579933643341064,
-0.47982314229011536,
-0.40093451738357544,
-0.05363735929131508,
-0.56867915391922,
0.20774893462657928,
-0.1074201837182045,
0.1716686487197876,
0.4166521430015564,
0.20623332262039185,
0.15533804893493652,
-0.6682945489883423,
-0.2888534963130951,
-0.05088245868682861,
0.24972505867481232,
0.14375892281532288,
-0.2918235957622528,
0.05739497020840645,
0.05234869569540024,
-0.05992257595062256,
-0.29809218645095825,
0.019167577847838402,
-0.2851569354534149,
-0.06116822361946106,
0.06792286038398743,
0.18406948447227478,
0.2747393846511841,
-0.14841488003730774,
0.1050545871257782,
-0.0744343027472496,
-0.024922393262386322,
-0.1295502781867981,
-0.1253715306520462,
0.1633901745080948,
0.17565834522247314,
-0.16983596980571747,
0.055631935596466064,
-0.1425430327653885,
0.08021499961614609,
-0.04115886241197586,
-0.06075672432780266,
0.31613561511039734,
-0.05573137104511261,
0.07690326869487762,
0.06336425989866257,
0.0715978592634201,
-0.026645880192518234,
0.05601221323013306,
-0.2856733500957489,
0.13900774717330933,
0.1839468628168106,
0.1013169139623642,
-0.05929529294371605,
0.005020178854465485,
0.2109593152999878,
0.06366387009620667,
-0.13916105031967163,
-0.014519359916448593,
0.39014747738838196,
-0.19632072746753693,
-0.12584365904331207,
0.22588889300823212,
0.25737521052360535,
0.4360412061214447,
-0.2716432511806488,
-0.14304552972316742,
0.22387635707855225,
0.19185446202754974,
-0.39454758167266846,
-0.016879161819815636,
0.20097073912620544,
0.017362181097269058,
-0.02800280787050724,
0.07634065300226212,
0.15153351426124573,
-0.3390643298625946,
0.35027801990509033,
0.033364053815603256,
0.5817388296127319,
-0.17193768918514252,
0.21088765561580658,
0.3964325785636902,
0.008462827652692795,
0.07111948728561401,
0.16042912006378174,
-0.12521348893642426,
-0.11949025839567184,
-0.21203173696994781,
0.1628446877002716,
0.11138767749071121,
-0.41128844022750854,
-0.03511609509587288,
-0.367432177066803,
-0.2995719313621521,
0.38651934266090393,
0.2987321615219116,
-0.029727265238761902,
0.08218955248594284,
0.11408057808876038,
0.2637178897857666,
0.049467332661151886,
0.46150699257850647,
-0.42952418327331543,
0.01880655251443386,
0.06989851593971252,
0.04289187490940094,
-0.19273334741592407,
-0.3415248990058899,
0.05908845365047455,
0.19849176704883575,
0.06544048339128494,
0.05207490921020508,
0.14819800853729248,
0.06391396373510361,
-0.323810875415802,
-0.40525782108306885,
-0.0132073275744915,
0.05564425140619278,
0.10073387622833252,
-0.3396131694316864,
0.07662345468997955,
0.20980596542358398,
-0.10545141994953156,
0.1070447564125061,
0.3048463463783264,
0.44079798460006714,
0.43979284167289734,
0.19419637322425842,
-0.234266459941864,
0.12182368338108063,
0.18443752825260162,
-0.014373399317264557,
0.4709814190864563,
-0.012072332203388214,
-0.1656174510717392,
0.3947385847568512,
0.15706294775009155,
-0.13872091472148895,
0.12784360349178314,
-0.11092481017112732,
-0.0037938226014375687,
0.058721255511045456,
0.3359569013118744,
0.08620530366897583,
0.15222975611686707,
-0.09735123813152313,
-0.008043110370635986,
-0.274345725774765,
-0.20782679319381714,
0.3509630262851715,
-0.022806961089372635,
0.25057387351989746,
-0.07334583252668381,
0.08463725447654724,
-0.06218763813376427,
0.25567859411239624,
0.49174076318740845,
-0.11490217596292496,
-0.23240718245506287,
-0.20945537090301514,
-0.894852876663208,
0.28294843435287476,
-0.15458159148693085,
0.05854576826095581,
0.06078369542956352,
0.3524729311466217,
-0.03301778435707092,
0.3431512713432312,
0.3723412752151489,
-0.09509535133838654,
-0.3539853096008301,
0.14914986491203308,
-0.1705213487148285,
-0.21066249907016754,
-0.2851603031158447,
-0.20482955873012543,
0.051981084048748016,
-0.3670412302017212,
0.18716759979724884,
-0.029823146760463715,
0.11530394107103348,
-0.12261037528514862,
-0.13478386402130127,
0.217720165848732,
-0.047635748982429504,
0.24347743391990662,
-0.023340990766882896,
0.5562724471092224,
0.06687738746404648,
-0.26454541087150574,
-0.2145642638206482,
0.06240968406200409,
-0.26020917296409607,
0.3608379662036896,
-0.2531193792819977,
0.19454175233840942,
-0.05197468400001526,
-0.03861599043011665,
-0.26099228858947754,
0.4104684889316559,
0.04809471219778061,
-0.4372226297855377,
-0.13636139035224915,
-0.08075587451457977,
0.02293407917022705,
-0.06189099699258804,
0.16657695174217224,
0.012905221432447433,
-0.06071477383375168,
0.4384474456310272,
-0.1467866748571396,
-0.3227742612361908,
0.3257700204849243,
-0.034228455275297165,
-0.011005260050296783,
-0.09718155115842819,
0.17577490210533142,
-0.2186478078365326,
-0.04152417182922363,
-0.7142670750617981,
0.21052196621894836,
0.302693635225296,
0.021552344784140587,
-0.18735377490520477,
0.15240351855754852,
-0.28002509474754333,
0.21439163386821747,
0.0543983019888401,
0.16342541575431824,
-0.011883620172739029,
-0.14823636412620544,
-0.13580767810344696,
-0.18208609521389008
] |
https://github.com/huggingface/datasets/issues/3773 | Checksum mismatch for the reddit_tifu dataset | Hi @anna-kay, I'm sorry I didn't clearly explain the details to you:
- the error has been fixed in our `master` branch on GitHub: https://github.com/huggingface/datasets/commit/8ae21bf6a77175dc803ce2f1b93d18b8fbf45586
- the fix will not be accessible to users in PyPI until our next release of the `datasets` library
- our latest release (version 1.18.3) was made 23 days ago: https://github.com/huggingface/datasets/releases/tag/1.18.3
- in the meantime, you can get the fix if you install datasets from our GitHub `master` branch:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
``` | ## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "/.../lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 7.0.0
| 79 | Checksum mismatch for the reddit_tifu dataset
## Describe the bug
A checksum occurs when downloading the reddit_tifu data (both long & short).
## Steps to reproduce the bug
reddit_tifu_dataset = load_dataset('reddit_tifu', 'long')
## Expected results
The expected result is for the dataset to be downloaded and cached locally.
## Actual results
File "/.../lib/python3.9/site-packages/datasets/utils/info_utils.py", line 40, in verify_checksums
raise NonMatchingChecksumError(error_msg + str(bad_urls))
datasets.utils.info_utils.NonMatchingChecksumError: Checksums didn't match for dataset source files:
['https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF']
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Linux-5.13.0-30-generic-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 7.0.0
Hi @anna-kay, I'm sorry I didn't clearly explain the details to you:
- the error has been fixed in our `master` branch on GitHub: https://github.com/huggingface/datasets/commit/8ae21bf6a77175dc803ce2f1b93d18b8fbf45586
- the fix will not be accessible to users in PyPI until our next release of the `datasets` library
- our latest release (version 1.18.3) was made 23 days ago: https://github.com/huggingface/datasets/releases/tag/1.18.3
- in the meantime, you can get the fix if you install datasets from our GitHub `master` branch:
```
pip install git+https://github.com/huggingface/datasets#egg=datasets
``` | [
-0.19005201756954193,
0.11285537481307983,
-0.07971759140491486,
0.19644156098365784,
0.32475709915161133,
-0.081168532371521,
0.14281511306762695,
0.43338721990585327,
-0.020615482702851295,
0.0688302218914032,
-0.06491341441869736,
0.198968306183815,
0.43937987089157104,
0.1943293809890747,
0.049071233719587326,
0.061195969581604004,
0.13347813487052917,
-0.021558687090873718,
-0.06484249234199524,
0.03266262263059616,
-0.11548639833927155,
0.10417443513870239,
-0.10480831563472748,
-0.20224131643772125,
0.016633789986371994,
0.16748104989528656,
-0.020300744101405144,
0.14833277463912964,
-0.12348204106092453,
-0.236965149641037,
0.3213936984539032,
0.1848239004611969,
-0.28200042247772217,
0.5908809900283813,
-0.00010720451973611489,
0.022376202046871185,
0.3191755414009094,
-0.08312197029590607,
-0.15615960955619812,
-0.11233128607273102,
-0.3493349850177765,
-0.08092096447944641,
-0.27707308530807495,
-0.20041532814502716,
0.08635517209768295,
0.2190302461385727,
-0.008151834830641747,
0.05163871496915817,
-0.12305226922035217,
0.20963962376117706,
0.26118361949920654,
0.39937371015548706,
0.17315208911895752,
0.06570788472890854,
0.2744641602039337,
-0.007205449044704437,
0.04570647329092026,
0.34845054149627686,
0.01669587939977646,
-0.054367296397686005,
-0.10456066578626633,
0.14472658932209015,
-0.24582643806934357,
0.06073850765824318,
-0.05189763754606247,
0.1324625462293625,
-0.07496611028909683,
-0.09726950526237488,
0.029774345457553864,
0.3908534348011017,
0.2932795584201813,
-0.2951299250125885,
-0.43367838859558105,
0.00029747188091278076,
-0.140408456325531,
-0.17842388153076172,
0.4304540157318115,
0.18103615939617157,
-0.16016951203346252,
0.09789855778217316,
-0.22944656014442444,
0.20264656841754913,
0.12901625037193298,
0.12226294726133347,
0.12387120723724365,
-0.17140927910804749,
0.12073344737291336,
-0.017668530344963074,
-0.13237279653549194,
-0.020604383200407028,
0.11862660199403763,
-0.10078847408294678,
-0.0816674679517746,
-0.08062474429607391,
-0.3440822660923004,
-0.1756422370672226,
0.008164837956428528,
0.04812829941511154,
0.5169190168380737,
0.3528967499732971,
0.19576889276504517,
0.23639315366744995,
-0.12942549586296082,
0.2041100263595581,
-0.07878142595291138,
0.15373417735099792,
-0.03019166737794876,
0.1860133409500122,
0.32566767930984497,
0.2757437825202942,
-0.07767333090305328,
0.0798189789056778,
0.23150859773159027,
-0.13600268959999084,
0.3752281069755554,
0.19801393151283264,
0.18431110680103302,
-0.43309345841407776,
-0.3279227912425995,
0.24129128456115723,
0.12214633077383041,
-0.1825946867465973,
0.14018984138965607,
0.2640247642993927,
-0.28616368770599365,
0.09543536603450775,
-0.24216577410697937,
0.12999626994132996,
-0.19985920190811157,
-0.008182317949831486,
-0.2965955138206482,
0.06586582958698273,
-0.16025914251804352,
0.03525534272193909,
0.09926974773406982,
-0.4089716374874115,
0.5231050252914429,
0.029985416680574417,
0.31652045249938965,
-0.1344498097896576,
-0.06652923673391342,
-0.24245299398899078,
0.029752060770988464,
0.4122633934020996,
-0.22842155396938324,
0.04566308856010437,
0.1462372988462448,
0.10887239873409271,
-0.18645460903644562,
-0.02583278715610504,
-0.31095194816589355,
-0.17195220291614532,
0.005052981898188591,
0.29714611172676086,
-0.39637088775634766,
-0.19246020913124084,
0.09181185811758041,
-0.4222530722618103,
0.3521610498428345,
-0.2544283866882324,
0.1407960206270218,
-0.19620896875858307,
-0.2611277401447296,
-0.3696994483470917,
0.10977496951818466,
0.18267376720905304,
-0.24776017665863037,
0.15089021623134613,
0.07540246844291687,
-0.19658474624156952,
0.2714075744152069,
0.24891695380210876,
0.01080753281712532,
-0.07976967841386795,
-0.23704935610294342,
0.16634802520275116,
0.1132354587316513,
-0.5046205520629883,
-0.755987823009491,
-0.11712478846311569,
-0.034792400896549225,
0.15271756052970886,
0.12032491713762283,
0.20165082812309265,
0.10008646547794342,
-0.23263783752918243,
0.26966798305511475,
0.20501162111759186,
0.021132951602339745,
0.21724192798137665,
-0.44878390431404114,
-0.39216339588165283,
0.04762404039502144,
0.044991303235292435,
0.08481206744909286,
0.00045262277126312256,
0.2512330710887909,
-0.236685648560524,
0.3878806531429291,
0.0962183028459549,
-0.20509810745716095,
0.048933953046798706,
0.6228854060173035,
0.12088930606842041,
0.026379114016890526,
-0.2893863916397095,
-0.2855339050292969,
0.2649042010307312,
-0.049669764935970306,
0.28234344720840454,
-0.08946101367473602,
-0.21881623566150665,
-0.41247716546058655,
-0.07845955342054367,
0.0033869408071041107,
-0.062494974583387375,
0.19739601016044617,
0.28288212418556213,
0.45489853620529175,
0.0034745782613754272,
-0.08193339407444,
0.2327018827199936,
-0.3240801692008972,
0.07548025995492935,
-0.07359068095684052,
0.4671477973461151,
-0.174841046333313,
-0.10439494997262955,
0.2091560959815979,
0.01483793556690216,
0.18191902339458466,
-0.07456568628549576,
-0.11183197051286697,
0.6493154168128967,
0.20961669087409973,
-0.0102316215634346,
0.13065467774868011,
0.18695245683193207,
0.11411513388156891,
-0.31237688660621643,
-0.1495935171842575,
0.498248815536499,
0.07642171531915665,
0.0816587433218956,
-0.09083317965269089,
0.4276823401451111,
-0.07183896005153656,
-0.0361984446644783,
-0.044198520481586456,
0.013435764238238335,
0.37922364473342896,
-0.22351333498954773,
-0.09814972430467606,
-0.3026880621910095,
0.33114632964134216,
0.05493411049246788,
-0.2260264903306961,
0.005160320550203323,
-0.1235538199543953,
0.11475378274917603,
0.43270954489707947,
-0.09999628365039825,
-0.057146698236465454,
0.10137580335140228,
0.12419796735048294,
-0.14879198372364044,
0.04866482689976692,
0.4523022472858429,
0.345491886138916,
0.22478769719600677,
0.06438274681568146,
0.08925417065620422,
-0.32139337062835693,
-0.15397171676158905,
0.017430908977985382,
0.0458892360329628,
0.11054570972919464,
0.23714402318000793,
0.18884672224521637,
0.047771990299224854,
-0.2897651493549347,
-0.13480356335639954,
-0.019550956785678864,
0.280076801776886,
-0.38768118619918823,
-0.10715410858392715,
-0.2627955675125122,
-0.21012794971466064,
-0.06908959150314331,
-0.03548891842365265,
-0.2628883719444275,
-0.3803194761276245,
0.07419387996196747,
0.1479802429676056,
-0.14535298943519592,
0.14685755968093872,
-0.37506532669067383,
-0.14862392842769623,
0.2107023000717163,
-0.472703754901886,
0.020362578332424164,
-0.14804716408252716,
-0.03760155290365219,
0.11813515424728394,
0.39407581090927124,
0.12691456079483032,
0.4453444182872772,
-0.3863299787044525,
-0.20408549904823303,
-0.42512190341949463,
-0.44462481141090393,
0.12035367637872696,
-0.18080684542655945,
0.26837658882141113,
0.14814941585063934,
0.24388013780117035,
0.174238383769989,
-0.16160619258880615,
0.23433297872543335,
-0.1609545350074768,
-0.45936232805252075,
0.2563980221748352,
0.05550803244113922,
-0.05487694591283798,
-0.042959682643413544,
-0.10848366469144821,
0.0763259008526802,
-0.2454843521118164,
-0.10088364779949188,
0.15027400851249695,
0.2498251050710678,
0.08132516592741013,
0.1859627664089203,
-0.01910974830389023,
-0.12652985751628876,
0.1893494427204132,
-0.3376818299293518,
-0.6981477737426758,
0.3856305480003357,
-0.01694105565547943,
-0.3967520296573639,
-0.12060318887233734,
0.01592177152633667,
-0.03574817255139351,
0.3154926896095276,
-0.5722043514251709,
-0.6082021594047546,
-0.2810336649417877,
0.2543129324913025,
0.18477632105350494,
-0.03431940823793411,
0.1415257453918457,
-0.09883304685354233,
-0.2230893075466156,
-0.20560672879219055,
-0.07962116599082947,
0.05743144452571869,
-0.01019459217786789,
0.40359771251678467,
-0.10567294806241989,
0.1560164988040924,
0.019889038056135178,
0.21353209018707275,
0.36235177516937256,
-0.12582792341709137,
0.013325247913599014,
0.04418535530567169,
0.40594935417175293,
-0.047840751707553864,
-0.21203215420246124,
0.019533252343535423,
-0.13360008597373962,
-0.036762312054634094,
0.0442999042570591,
-0.03770452365279198,
0.06449145078659058,
-0.22140806913375854,
-0.017540309578180313,
-0.3223883807659149,
-0.329708456993103,
0.016083598136901855,
-0.1672525405883789,
0.1363673359155655,
0.13213899731636047,
0.03253897279500961,
-0.2025018185377121,
-0.314195454120636,
0.22735609114170074,
0.220920592546463,
-0.3696500062942505,
-0.0908881351351738,
-0.40655192732810974,
0.07577063143253326,
-0.16483935713768005,
0.2514907717704773,
0.3688642978668213,
0.43443214893341064,
0.07684576511383057,
-0.30150967836380005,
0.005182787775993347,
-0.12343103438615799,
0.19887042045593262,
-0.4472050666809082,
0.21835291385650635,
0.041904084384441376,
0.26200351119041443,
0.04543304443359375,
-0.10747469961643219,
-0.09590363502502441,
0.07742380350828171,
0.4777328073978424,
0.28008532524108887,
-0.4372285306453705,
0.1374204456806183,
0.3022538721561432,
0.3145928978919983,
-0.053764741867780685,
-0.21785926818847656,
-0.31404775381088257,
-0.29580971598625183,
-0.37517648935317993,
0.09895416349172592,
0.04595129191875458,
0.22849899530410767,
-0.0867304876446724,
0.027005624026060104,
0.03854746371507645,
0.1013672724366188,
0.1957414150238037,
0.10399945080280304,
0.266966849565506,
-0.13137565553188324,
0.1469772905111313,
-0.2448352575302124,
-0.22253724932670593,
0.4480533003807068,
0.6327453851699829,
-0.07564152777194977,
-0.18254655599594116,
-0.17306360602378845,
-0.2739280164241791,
-0.05254653841257095,
0.058190613985061646,
-0.027927611023187637,
-0.022095084190368652,
0.09569087624549866,
0.21883471310138702,
0.04903814569115639,
0.07054992020130157,
0.01946021243929863,
0.06242368370294571,
-0.2915259599685669,
-0.331942617893219,
0.07047569751739502,
-0.10226817429065704,
-0.04493347555398941,
0.41767647862434387,
0.22250494360923767,
0.00048002786934375763,
0.28494328260421753,
0.31550928950309753,
0.9710372090339661,
-0.0785561203956604,
-0.1270715296268463,
0.23165184259414673,
-0.2639891505241394,
0.34453561902046204,
-0.11116071790456772,
0.15675146877765656,
-0.31299784779548645,
-0.5144609808921814,
-0.013435532338917255,
-0.20793138444423676,
-0.08258730918169022,
-0.0997573584318161,
-0.09422250837087631,
0.24099892377853394,
-0.03793365880846977,
0.12512069940567017,
0.2272225320339203,
0.18958471715450287,
-0.22743329405784607,
0.10990405082702637,
0.0026044342666864395,
0.25416308641433716,
-0.0062823668122291565,
0.2770986258983612,
0.014653360471129417,
0.044912878423929214,
-0.2502346932888031,
-0.168974831700325,
-0.5091606378555298,
0.12452631443738937,
-0.08504045754671097,
0.0007706806063652039,
0.0643579289317131,
-0.20786526799201965,
-0.4780372381210327,
0.044436752796173096,
0.4337863326072693,
0.22693291306495667,
-0.113670215010643,
0.06354651600122452,
0.33208969235420227,
0.08071903884410858,
0.16469888389110565,
-0.0984705239534378,
0.45577502250671387,
-0.03958616033196449,
-0.27359020709991455,
0.09060508757829666,
0.009955157525837421,
-0.40634435415267944,
0.13373011350631714,
-0.18870891630649567,
-0.2518823742866516,
-0.15313133597373962,
0.09050969779491425,
-0.14616365730762482,
0.011504262685775757,
-0.3544285297393799,
0.2021731734275818,
0.19264814257621765,
-0.043924812227487564,
0.105814628303051,
0.09386296570301056,
-0.33073052763938904,
-0.16863064467906952,
0.4259225130081177,
0.12110606580972672,
-0.2722458839416504,
0.2682381272315979,
-0.0051869601011276245,
-0.2361270934343338,
-0.21042713522911072,
-0.3251001238822937,
-0.40826305747032166,
-0.3693888783454895,
0.0041726077906787395,
-0.44097426533699036,
0.15718509256839752,
-0.08262020349502563,
0.1699252426624298,
0.3596709966659546,
0.26797670125961304,
0.18497952818870544,
-0.6902469992637634,
-0.2765558660030365,
-0.056588560342788696,
0.20503990352153778,
0.16707727313041687,
-0.22444072365760803,
0.145364910364151,
-0.0802549347281456,
-0.0652843564748764,
-0.41738396883010864,
0.017630964517593384,
-0.3920246660709381,
-0.02650323137640953,
0.13004809617996216,
0.07905002683401108,
0.3818747103214264,
-0.1252303421497345,
0.2143695056438446,
-0.03354405611753464,
-0.045856717973947525,
-0.24561700224876404,
-0.09348161518573761,
0.09582707285881042,
0.07936535775661469,
-0.10580146312713623,
0.00005042878910899162,
0.05060791224241257,
0.06987287104129791,
-0.03000975400209427,
-0.003972141072154045,
0.3002875745296478,
-0.08459906280040741,
0.0879744365811348,
0.07488996535539627,
0.018618885427713394,
-0.039615437388420105,
-0.057960331439971924,
-0.2276308834552765,
0.06104164198040962,
0.12962329387664795,
0.11665952205657959,
-0.29541251063346863,
0.025971032679080963,
0.2628779709339142,
0.14070120453834534,
-0.008438244462013245,
-0.022923272103071213,
0.3752785921096802,
-0.11004453897476196,
-0.1486903429031372,
0.26201358437538147,
0.2918507754802704,
0.34046098589897156,
-0.21272654831409454,
-0.11736453324556351,
0.26458093523979187,
0.3031042516231537,
-0.3557896316051483,
0.052757032215595245,
0.17704562842845917,
0.0026615317910909653,
0.09183664619922638,
0.09869470447301865,
0.06086835637688637,
-0.3041338324546814,
0.32918423414230347,
0.0811774954199791,
0.4921715557575226,
-0.19084101915359497,
0.13072821497917175,
0.30876582860946655,
-0.0029223263263702393,
0.03822140395641327,
0.17728470265865326,
-0.19245901703834534,
-0.03995100408792496,
-0.12646202743053436,
0.10693653672933578,
0.2586950361728668,
-0.4696154296398163,
-0.009333182126283646,
-0.30251702666282654,
-0.28554558753967285,
0.3433801531791687,
0.25559037923812866,
-0.026439905166625977,
0.048443734645843506,
0.1307867169380188,
0.40087035298347473,
-0.0008293613791465759,
0.41271573305130005,
-0.4435991644859314,
0.13471052050590515,
0.04697440564632416,
0.04257524386048317,
-0.18135525286197662,
-0.2728213369846344,
0.08165739476680756,
0.11906495690345764,
0.09419020265340805,
0.0554753802716732,
0.22746393084526062,
0.0801110789179802,
-0.24065928161144257,
-0.4401474595069885,
0.0034236088395118713,
0.05204921215772629,
0.11951422691345215,
-0.2721112370491028,
0.13265308737754822,
0.22360965609550476,
-0.12111850082874298,
0.038058504462242126,
0.35775166749954224,
0.47421443462371826,
0.2847362458705902,
0.27136796712875366,
-0.1815463751554489,
0.03528844565153122,
0.1261775642633438,
-0.07204702496528625,
0.483648419380188,
0.03475956991314888,
-0.15871217846870422,
0.38822200894355774,
0.2614325284957886,
-0.23675930500030518,
0.05945487320423126,
-0.09184280037879944,
-0.006942585110664368,
0.09838704764842987,
0.281695157289505,
0.06178595870733261,
0.07158602029085159,
-0.07187336683273315,
-0.015202254056930542,
-0.3078845739364624,
-0.1365826427936554,
0.24867506325244904,
0.01887759380042553,
0.24708819389343262,
-0.06716036796569824,
0.14567843079566956,
-0.018559478223323822,
0.2647973895072937,
0.47090306878089905,
-0.15117096900939941,
-0.16729353368282318,
-0.23536165058612823,
-0.7481090426445007,
0.3521192669868469,
-0.13431884348392487,
0.03177362680435181,
-0.055935561656951904,
0.33073657751083374,
-0.013801515102386475,
0.2914218306541443,
0.27567464113235474,
-0.11995556950569153,
-0.28555282950401306,
0.13178251683712006,
-0.25669530034065247,
-0.06963373720645905,
-0.32592618465423584,
-0.2589731514453888,
0.1309289038181305,
-0.262091726064682,
0.14409494400024414,
-0.017326757311820984,
0.2210099697113037,
-0.08524543792009354,
-0.05663057416677475,
0.10831555724143982,
-0.14713943004608154,
0.25031328201293945,
0.005011189728975296,
0.4292769134044647,
-0.045220449566841125,
-0.24789096415042877,
-0.1576462984085083,
-0.06531913578510284,
-0.16262753307819366,
0.35047224164009094,
-0.15884922444820404,
0.21639639139175415,
-0.03289419412612915,
-0.1964280605316162,
-0.1773751974105835,
0.46966320276260376,
0.10928162932395935,
-0.55536949634552,
-0.129729226231575,
0.057105183601379395,
-0.01999448612332344,
-0.1124090626835823,
0.1082136482000351,
0.0547913983464241,
-0.03141903877258301,
0.3282072842121124,
-0.20415377616882324,
-0.4453553259372711,
0.3851277232170105,
-0.0941128134727478,
0.0029285885393619537,
-0.04659451171755791,
0.2446126788854599,
-0.15415680408477783,
-0.0605945810675621,
-0.7055215835571289,
0.2206883728504181,
0.2324613779783249,
0.024129966273903847,
-0.2592686712741852,
0.1575746387243271,
-0.2919674813747406,
0.21892912685871124,
0.018861714750528336,
0.2731562554836273,
0.026112470775842667,
-0.1752401739358902,
0.01670331507921219,
-0.12645502388477325
] |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | Hi ! Indeed `map` is dropping the index right now, because one can create a dataset with more or fewer rows using `map` (and therefore the index might not be relevant anymore)
I guess we could check the resulting dataset length, and if the user hasn't changed the dataset size we could keep the index, what do you think ? | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
| 60 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
Hi ! Indeed `map` is dropping the index right now, because one can create a dataset with more or fewer rows using `map` (and therefore the index might not be relevant anymore)
I guess we could check the resulting dataset length, and if the user hasn't changed the dataset size we could keep the index, what do you think ? | [
-0.19114834070205688,
-0.0692242980003357,
-0.0801808312535286,
0.27046889066696167,
0.07581931352615356,
0.34000223875045776,
0.21909241378307343,
0.21293726563453674,
0.7335779666900635,
0.23962055146694183,
-0.046845391392707825,
0.46913856267929077,
0.0690716803073883,
-0.3312777280807495,
-0.09635163098573685,
0.1843682825565338,
0.25183427333831787,
0.11344686150550842,
0.06208669766783714,
-0.1465299129486084,
-0.43946272134780884,
0.07605626434087753,
-0.14016976952552795,
-0.020715929567813873,
0.09015435725450516,
0.08395018428564072,
-0.026356548070907593,
-0.025923073291778564,
0.019238708540797234,
-0.3719547688961029,
0.2027835100889206,
-0.1621653437614441,
0.013540370389819145,
0.2944715917110443,
-0.00011500655091367662,
0.07535001635551453,
0.2552715539932251,
0.09762181341648102,
-0.18185178935527802,
0.002290979027748108,
-0.36800888180732727,
-0.16191428899765015,
0.03300546854734421,
-0.25731348991394043,
0.03603670746088028,
-0.2040439248085022,
0.010193439200520515,
-0.7148446440696716,
0.07457000017166138,
0.15250110626220703,
0.1970360279083252,
0.07960863411426544,
0.011719625443220139,
-0.16085284948349,
0.38007181882858276,
-0.24157215654850006,
0.032672710716724396,
0.23206062614917755,
0.1937447488307953,
0.047685518860816956,
0.038799986243247986,
0.09134863317012787,
-0.25664517283439636,
-0.07718151807785034,
0.03321962058544159,
0.20689421892166138,
0.4984325170516968,
-0.25345578789711,
0.03157898411154747,
0.06685672700405121,
0.20790648460388184,
-0.24237826466560364,
-0.3016095757484436,
-0.16378657519817352,
0.08284910768270493,
-0.11014610528945923,
-0.17538490891456604,
-0.28018251061439514,
0.09135206043720245,
0.150837242603302,
-0.07525431364774704,
0.02407957799732685,
0.028274990618228912,
0.326260507106781,
-0.08305851370096207,
0.12971609830856323,
0.027532901614904404,
0.19428440928459167,
-0.12806791067123413,
-0.13221728801727295,
-0.1335901916027069,
-0.2621437609195709,
-0.03973529860377312,
0.17358796298503876,
-0.21679316461086273,
0.013539344072341919,
0.5819124579429626,
-0.1859157681465149,
0.2752065658569336,
-0.42708539962768555,
-0.19179295003414154,
0.15375088155269623,
-0.08517184108495712,
0.12168798595666885,
0.15361520648002625,
0.1291370689868927,
-0.054605863988399506,
0.07207610458135605,
-0.06781128793954849,
-0.000528678996488452,
-0.20354337990283966,
-0.0045628659427165985,
0.3902353346347809,
-0.010725464671850204,
0.1460058093070984,
-0.13975125551223755,
0.36047863960266113,
-0.1848684847354889,
-0.5118563771247864,
0.4449149966239929,
-0.44843536615371704,
0.11025498062372208,
-0.08857526630163193,
0.17517274618148804,
0.09922622889280319,
-0.17830821871757507,
-0.0682121068239212,
0.1619323492050171,
-0.17654921114444733,
0.24689272046089172,
-0.28752535581588745,
-0.33884912729263306,
-0.07265575230121613,
0.0518820658326149,
-0.04745142161846161,
-0.15953564643859863,
0.2329661101102829,
0.09488356858491898,
-0.09726393222808838,
-0.01490439847111702,
-0.2687084376811981,
-0.07192984223365784,
0.4188790023326874,
0.07444648444652557,
-0.08913777768611908,
0.32339397072792053,
0.04977446421980858,
-0.22022221982479095,
-0.3680207133293152,
0.20618441700935364,
-0.34162116050720215,
-0.18745285272598267,
-0.05794115364551544,
0.18874096870422363,
0.07847979664802551,
0.013348076492547989,
-0.03359193354845047,
0.34519705176353455,
0.1154944971203804,
-0.0896611213684082,
0.16656240820884705,
-0.32445669174194336,
-0.3158203363418579,
-0.34418120980262756,
0.21956056356430054,
0.4310135245323181,
-0.3843838572502136,
-0.1360040307044983,
-0.1208726093173027,
0.12647902965545654,
-0.09149949997663498,
0.4754199683666229,
-0.09962990134954453,
0.3783809542655945,
-0.2927539050579071,
0.32977932691574097,
0.25674664974212646,
-0.012292537838220596,
-0.685058057308197,
0.07591891288757324,
-0.23461587727069855,
0.057892270386219025,
-0.2608587443828583,
0.2387983798980713,
0.4400714337825775,
-0.06707346439361572,
0.4054527282714844,
0.258280873298645,
-0.025212278589606285,
0.04161010682582855,
-0.3333953619003296,
-0.27490687370300293,
0.14469793438911438,
0.04273321107029915,
-0.1129922866821289,
0.15683043003082275,
0.39743080735206604,
-0.6001850962638855,
0.2176145613193512,
-0.09715218842029572,
0.12047377228736877,
0.31549668312072754,
0.22854025661945343,
0.04211924225091934,
0.1756848394870758,
-0.08132079243659973,
-0.2526894211769104,
0.22690194845199585,
0.01744110882282257,
-0.2902834117412567,
-0.23566068708896637,
-0.16511768102645874,
-0.13490265607833862,
0.2119571417570114,
-0.15899349749088287,
0.10167615115642548,
0.04605068266391754,
-0.2638973295688629,
-0.19854749739170074,
0.07844924926757812,
-0.10230623185634613,
-0.2009829878807068,
-0.05985166132450104,
-0.0007719803252257407,
-0.39252591133117676,
0.2268337905406952,
0.08197847008705139,
0.013382276520133018,
-0.280027836561203,
0.19468069076538086,
0.20435765385627747,
-0.1171620786190033,
-0.09213942289352417,
0.26770758628845215,
0.003227664390578866,
0.041422437876462936,
0.09294414520263672,
-0.18236885964870453,
0.12763047218322754,
-0.2504611313343048,
0.2400078922510147,
0.2230004072189331,
0.05283735692501068,
0.004678733646869659,
-0.05581100285053253,
0.14381173253059387,
0.1643572896718979,
0.2769143581390381,
-0.23162859678268433,
-0.1539463847875595,
0.07020214200019836,
-0.1395827680826187,
-0.0016563981771469116,
-0.4454208314418793,
-0.22467796504497528,
0.2032603919506073,
0.21928252279758453,
0.09351553022861481,
0.021696321666240692,
0.4387497901916504,
0.2224784791469574,
-0.281340628862381,
0.0016356930136680603,
0.25419554114341736,
-0.44582927227020264,
-0.06464792788028717,
-0.19908499717712402,
-0.1652478128671646,
0.5625894665718079,
0.20780174434185028,
0.13475993275642395,
-0.11194402724504471,
0.003326668404042721,
-0.15905235707759857,
0.13341549038887024,
0.11640746146440506,
0.027402812615036964,
0.26624661684036255,
0.282349556684494,
0.08350968360900879,
-0.2206876277923584,
-0.06289017200469971,
-0.10363753139972687,
0.186110258102417,
-0.4410584270954132,
0.051339976489543915,
-0.14159910380840302,
0.1394861936569214,
-0.09721938520669937,
-0.37267592549324036,
-0.09160836040973663,
-0.37621933221817017,
0.10051356256008148,
0.059709254652261734,
-0.21217110753059387,
0.11060568690299988,
-0.14329807460308075,
-0.07221333682537079,
0.19676336646080017,
-0.36561015248298645,
0.055470697581768036,
-0.29497602581977844,
-0.21653735637664795,
-0.017518585547804832,
-0.07731395959854126,
-0.05419709533452988,
0.1641046404838562,
0.1493094116449356,
-0.3259563446044922,
-0.44128695130348206,
-0.09638236463069916,
-0.005121883004903793,
-0.08712944388389587,
0.4307575225830078,
-0.013568423688411713,
0.09151147305965424,
-0.07750895619392395,
-0.06209392473101616,
0.08359745889902115,
-0.07392656058073044,
-0.14281339943408966,
-0.06958475708961487,
-0.16748622059822083,
-0.2469979226589203,
-0.02918253093957901,
-0.3706069588661194,
-0.036009132862091064,
-0.22450241446495056,
0.08302100747823715,
0.03291390463709831,
0.07282928377389908,
0.0014259368181228638,
0.26400327682495117,
0.06548860669136047,
0.028307247906923294,
-0.18983179330825806,
-0.4016534388065338,
-0.270304411649704,
0.2342379242181778,
-0.0719776377081871,
-0.21650709211826324,
-0.16165509819984436,
-0.18909217417240143,
-0.020343657582998276,
0.36004799604415894,
-0.33986419439315796,
0.17850984632968903,
-0.008599048480391502,
0.5397694706916809,
0.003235630691051483,
0.220316082239151,
0.36674585938453674,
0.10735596716403961,
-0.03337501734495163,
-0.1183570921421051,
-0.16930410265922546,
0.17133523523807526,
0.30601245164871216,
0.11238723248243332,
-0.008412297815084457,
0.39302346110343933,
-0.22508837282657623,
0.8033993244171143,
0.3044256567955017,
-0.334731787443161,
0.41181930899620056,
-0.17215542495250702,
0.4298176169395447,
-0.16415917873382568,
-0.29373687505722046,
0.026503438130021095,
0.07373115420341492,
-0.3139994740486145,
0.19936853647232056,
-0.08639325946569443,
-0.31820884346961975,
0.42543673515319824,
-0.08214929699897766,
-0.2750185430049896,
-0.3150393068790436,
0.06269804388284683,
0.04405253753066063,
0.2559455633163452,
0.06537415087223053,
0.15350517630577087,
-0.39399453997612,
-0.18127530813217163,
0.2290816605091095,
-0.10405305027961731,
0.3575354814529419,
-0.11637333780527115,
-0.09454505145549774,
-0.11341904103755951,
-0.386485755443573,
0.3470599055290222,
0.11675502359867096,
0.30567237734794617,
0.0851813405752182,
-0.1484057605266571,
0.17243275046348572,
0.2940356433391571,
0.7111703753471375,
-0.25781258940696716,
-0.03477572649717331,
0.2403629720211029,
0.5496163368225098,
-0.543621301651001,
-0.1629168540239334,
-0.07810842990875244,
0.4358956515789032,
0.0534488782286644,
0.5975387692451477,
-0.21386873722076416,
0.018481655046343803,
0.1463635265827179,
0.1304461658000946,
-0.03165891394019127,
-0.1740196943283081,
-0.07809877395629883,
-0.0358484648168087,
-0.013208718970417976,
0.10323499143123627,
-0.037270765751600266,
0.03703160956501961,
0.11891482025384903,
-0.3059041202068329,
-0.13689005374908447,
0.16516053676605225,
-0.061346814036369324,
0.132768914103508,
0.47167614102363586,
0.24403391778469086,
0.3190590739250183,
0.24287347495555878,
0.12986555695533752,
0.23527397215366364,
0.392471045255661,
-0.14127160608768463,
0.08240856975317001,
-0.1840258240699768,
0.1386001855134964,
0.18668508529663086,
0.3159221410751343,
0.0832974910736084,
0.047400206327438354,
-0.17436034977436066,
0.18017415702342987,
-0.11786984652280807,
-0.15194158256053925,
0.47401994466781616,
-0.011423337273299694,
-0.44853368401527405,
-0.30196818709373474,
0.45211777091026306,
-0.07158195972442627,
-0.37268662452697754,
0.24749937653541565,
-0.0907294899225235,
-0.36262381076812744,
0.8403794169425964,
0.26648056507110596,
0.7040184140205383,
0.018037132918834686,
0.17723791301250458,
0.2610359191894531,
0.2858847975730896,
0.14812596142292023,
0.036926187574863434,
0.0638502836227417,
-0.42378708720207214,
-0.13898377120494843,
0.06388399004936218,
-0.15465974807739258,
0.0654795840382576,
0.13641215860843658,
-0.12001816928386688,
0.21594856679439545,
-0.09219249337911606,
0.26472240686416626,
-0.07213480025529861,
-0.13656073808670044,
0.19317780435085297,
-0.29903101921081543,
-0.12430863082408905,
0.12580737471580505,
0.248085618019104,
0.21949881315231323,
0.004907771944999695,
-0.023792129009962082,
-0.2919284999370575,
0.045375801622867584,
-0.0930723175406456,
-0.012035534717142582,
-0.2533000409603119,
0.4015984535217285,
-0.007960714399814606,
-0.1178329586982727,
-0.04508873075246811,
-0.05797702446579933,
0.13183151185512543,
0.03473835811018944,
-0.12227398157119751,
0.08665955066680908,
0.15641576051712036,
0.15398673713207245,
0.41037189960479736,
-0.4418846368789673,
0.1377955973148346,
0.32224878668785095,
-0.3302536606788635,
-0.0453198105096817,
0.05330213904380798,
-0.08676835894584656,
-0.5510673522949219,
0.14898467063903809,
0.07469845563173294,
-0.5094481706619263,
-0.44437652826309204,
-0.011063359677791595,
0.24341273307800293,
-0.08726798743009567,
0.05772491917014122,
0.15029925107955933,
0.028015023097395897,
0.6174356937408447,
-0.21314246952533722,
-0.4247879385948181,
-0.16230443120002747,
0.6186991930007935,
-0.014009986072778702,
0.16942796111106873,
0.24094383418560028,
-0.23040232062339783,
-0.13465455174446106,
-0.059986844658851624,
-0.053364381194114685,
0.139523446559906,
0.07643508166074753,
-0.08512885868549347,
-0.13205483555793762,
0.06792919337749481,
-0.05001149699091911,
-0.09125450253486633,
-0.07319299876689911,
-0.15199288725852966,
-0.3027375042438507,
-0.21315425634384155,
-0.2644200921058655,
0.1896514594554901,
0.22365045547485352,
0.3200494945049286,
-0.11283988505601883,
-0.08748118579387665,
-0.2279534637928009,
-0.0871647447347641,
-0.2736276388168335,
0.2119724601507187,
0.16010691225528717,
0.25654730200767517,
0.03637472540140152,
0.12713730335235596,
0.12199578434228897,
-0.4166345000267029,
0.14237749576568604,
-0.11447468400001526,
-0.06618582457304001,
-0.24625533819198608,
-0.2578740417957306,
0.11369909346103668,
0.08620767295360565,
0.14013943076133728,
-0.16925066709518433,
-0.39417535066604614,
0.09409427642822266,
-0.4088149964809418,
0.15799540281295776,
0.33906179666519165,
-0.059624895453453064,
0.004728418774902821,
0.21330320835113525,
-0.07421671599149704,
0.3310052156448364,
0.3418351411819458,
-0.024893105030059814,
0.19543014466762543,
-0.07313058525323868,
0.2711937129497528,
-0.21419015526771545,
0.017220154404640198,
-0.04942959547042847,
0.2093210518360138,
0.11490976065397263,
0.17907831072807312,
0.4146917164325714,
-0.17775461077690125,
-0.23040255904197693,
0.28106266260147095,
0.19703035056591034,
0.22514261305332184,
-0.25943607091903687,
-0.20150335133075714,
0.0048858486115932465,
0.2303282618522644,
-0.2529357671737671,
-0.3337738513946533,
0.8622459173202515,
-0.24168001115322113,
0.1518433690071106,
0.07237027585506439,
0.19350723922252655,
-0.011300459504127502,
-0.1902560442686081,
0.017519045621156693,
0.16592173278331757,
0.24092046916484833,
-0.1646198183298111,
0.29545024037361145,
0.2495926171541214,
0.20549041032791138,
0.14429247379302979,
0.2018369734287262,
0.4303656220436096,
0.6934803128242493,
0.17808064818382263,
0.38215091824531555,
0.1213507279753685,
0.12339186668395996,
0.00823473185300827,
-0.30605393648147583,
0.6698286533355713,
0.09835642576217651,
-0.16915282607078552,
0.2981221675872803,
0.4192434251308441,
0.19627681374549866,
-0.06137140467762947,
-0.375387042760849,
0.07240775972604752,
0.20462054014205933,
-0.3379668891429901,
-0.26873132586479187,
0.25749292969703674,
0.012955158948898315,
0.10074862837791443,
-0.07648942619562149,
-0.14773868024349213,
-0.29532235860824585,
0.025804929435253143,
0.05114177241921425,
-0.15858732163906097,
-0.1388111710548401,
-0.22953760623931885,
0.21485835313796997,
0.3715564012527466,
-0.09500660002231598,
-0.07853696495294571,
-0.25868576765060425,
-0.07232759892940521,
-0.06197330728173256,
0.26304447650909424,
0.33683979511260986,
0.13887256383895874,
-0.18127310276031494,
0.20787784457206726,
0.4324251711368561,
-0.1776260882616043,
-0.23131749033927917,
-0.10820861160755157,
-0.25638702511787415,
-0.2869688868522644,
0.13309064507484436,
0.1707836538553238,
-0.13254781067371368,
-0.1282801479101181,
0.1388528198003769,
0.46542540192604065,
-0.2763197124004364,
0.03135594725608826,
-0.17242932319641113,
-0.33097097277641296,
-0.13899490237236023,
-0.16143301129341125,
-0.2087256908416748,
-0.05237898603081703,
0.4291817843914032,
-0.08679579943418503,
0.27483025193214417,
-0.06904693692922592,
0.06302819401025772,
0.1024785041809082,
0.17186136543750763,
0.35366541147232056,
-0.06969436258077621,
-0.5006698369979858,
0.1035633534193039,
-0.6758017539978027,
0.2554607689380646,
-0.10153119266033173,
0.2982076108455658,
0.24444246292114258,
0.16794514656066895,
-0.01282191276550293,
0.021872438490390778,
0.29015883803367615,
0.04258168116211891,
-0.0556814931333065,
0.4933916926383972,
-0.043225355446338654,
-0.17376156151294708,
-0.3955177664756775,
-0.06759791076183319,
0.053699053823947906,
-0.32707688212394714,
0.23227326571941376,
-0.20548151433467865,
0.011094894260168076,
-0.2199966162443161,
0.09968970715999603,
0.0610995851457119,
-0.22266262769699097,
0.7173023819923401,
0.17557093501091003,
-0.1596495509147644,
-0.2339659035205841,
-0.1793762743473053,
-0.2660617530345917,
-0.2858222723007202,
-0.1986611932516098,
0.2555582523345947,
-0.21280962228775024,
0.18179786205291748,
-0.1507231593132019,
-0.5105020403862,
-0.10393218696117401,
-0.06018824875354767,
0.3334748148918152,
-0.1975204050540924,
-0.4118536710739136,
0.11330828815698624,
-0.42303577065467834,
0.2516912817955017,
-0.10987355560064316,
0.3840593695640564,
0.08629808574914932,
0.5603607296943665,
0.0927070826292038,
-0.22442527115345,
0.4275217056274414,
-0.5289146304130554,
-0.014126164838671684,
-0.13701826333999634,
0.25605013966560364,
0.14612823724746704,
-0.14054954051971436,
-0.20442704856395721,
-0.09309717267751694,
0.45026880502700806,
-0.21594318747520447,
-0.22567607462406158,
0.04809120297431946,
0.023334810510277748,
0.24695084989070892,
-0.2713448703289032,
0.15910106897354126,
0.23135513067245483,
-0.18318414688110352,
0.42061784863471985,
-0.24751614034175873
] |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | doing `.add_column("x",x_data)` also removes the index. the new column might be irrelevant to the index so I don't think it should drop.
Minimal example
```python
from datasets import load_dataset
import numpy as np
data=load_dataset("ceyda/cats_vs_dogs_sample") #just a test dataset
data=data["train"]
embd_data=data.map(lambda x: {"emb":np.random.uniform(-1,0,50).astype(np.float32)})
embd_data.add_faiss_index(column="emb")
print(embd_data.list_indexes())
embd_data=embd_data.add_column("x",[0]*data.num_rows)
print(embd_data.list_indexes())
``` | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
| 47 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
doing `.add_column("x",x_data)` also removes the index. the new column might be irrelevant to the index so I don't think it should drop.
Minimal example
```python
from datasets import load_dataset
import numpy as np
data=load_dataset("ceyda/cats_vs_dogs_sample") #just a test dataset
data=data["train"]
embd_data=data.map(lambda x: {"emb":np.random.uniform(-1,0,50).astype(np.float32)})
embd_data.add_faiss_index(column="emb")
print(embd_data.list_indexes())
embd_data=embd_data.add_column("x",[0]*data.num_rows)
print(embd_data.list_indexes())
``` | [
-0.12139679491519928,
0.015257105231285095,
-0.04456828534603119,
0.1667940318584442,
0.16001971065998077,
0.40729233622550964,
0.2641547620296478,
0.23648220300674438,
0.6856908202171326,
0.21004986763000488,
-0.20901915431022644,
0.6060695052146912,
0.20546890795230865,
-0.3304554522037506,
-0.06039384752511978,
0.11498662829399109,
0.2898170053958893,
0.047274548560380936,
0.006551384925842285,
-0.1748526692390442,
-0.49398186802864075,
0.08484407514333725,
-0.15109768509864807,
-0.019613325595855713,
0.10162445902824402,
0.0937165766954422,
-0.08327527344226837,
0.009934011846780777,
0.07881686091423035,
-0.34146395325660706,
0.20653361082077026,
-0.2217358946800232,
0.05519098788499832,
0.26913198828697205,
-0.00011436890781624243,
0.03547345846891403,
0.18305949866771698,
0.12454137206077576,
-0.14409063756465912,
0.039525389671325684,
-0.2911766767501831,
-0.17611436545848846,
0.023357734084129333,
-0.2965795397758484,
0.07714652270078659,
-0.20322765409946442,
0.01321769505739212,
-0.7132865190505981,
0.0702308714389801,
0.20538944005966187,
0.19668693840503693,
0.08479658514261246,
-0.009122084826231003,
-0.17535190284252167,
0.34590351581573486,
-0.3400779366493225,
-0.03753960505127907,
0.19845335185527802,
0.21735544502735138,
0.0036510908976197243,
0.04355170205235481,
0.1060214638710022,
-0.3106797933578491,
-0.0891343504190445,
-0.0020592138171195984,
0.2939196228981018,
0.527570366859436,
-0.18923594057559967,
0.02275947481393814,
0.02368423342704773,
0.20212090015411377,
-0.31545761227607727,
-0.29007789492607117,
-0.1404396891593933,
0.0507727712392807,
-0.1605413556098938,
-0.2244286835193634,
-0.24411621689796448,
0.1005859524011612,
0.17101427912712097,
0.010213058441877365,
0.09446048736572266,
0.0283970907330513,
0.3069955110549927,
-0.03355751186609268,
0.12293712794780731,
0.06814291328191757,
0.17538097500801086,
-0.14070281386375427,
-0.05647539347410202,
-0.10749701410531998,
-0.2909660339355469,
-0.030255477875471115,
0.21201810240745544,
-0.32548847794532776,
0.020761705935001373,
0.5770183801651001,
-0.18772953748703003,
0.19718119502067566,
-0.36045122146606445,
-0.19177892804145813,
0.10647522658109665,
-0.07230887562036514,
0.12477635592222214,
0.08660279214382172,
0.1673993319272995,
-0.16165897250175476,
0.14444616436958313,
-0.09792201220989227,
0.024002328515052795,
-0.1667465716600418,
-0.030875802040100098,
0.45837339758872986,
0.02294045314192772,
0.11527273058891296,
-0.0824081227183342,
0.30356138944625854,
-0.23177333176136017,
-0.5018435716629028,
0.4009484350681305,
-0.323559433221817,
0.13143740594387054,
-0.1566796898841858,
0.21646380424499512,
0.11878924816846848,
-0.20099997520446777,
-0.056141436100006104,
0.2663666009902954,
-0.16751506924629211,
0.22944201529026031,
-0.3577874004840851,
-0.24252824485301971,
-0.0582427941262722,
0.08482448011636734,
-0.0363144725561142,
-0.09609736502170563,
0.2230461835861206,
0.12603813409805298,
-0.07712012529373169,
0.07017449289560318,
-0.26973259449005127,
-0.04724559560418129,
0.35330018401145935,
0.07253208756446838,
-0.0721324235200882,
0.40618476271629333,
0.12168222665786743,
-0.20714786648750305,
-0.2996763586997986,
0.19429564476013184,
-0.2923344075679779,
-0.1929781287908554,
-0.0926612913608551,
0.19351471960544586,
0.07583234459161758,
-0.04667362570762634,
-0.09514617174863815,
0.31842607259750366,
0.13078470528125763,
-0.0642753317952156,
0.13301335275173187,
-0.2818032503128052,
-0.2923361361026764,
-0.399564653635025,
0.19755399227142334,
0.34867584705352783,
-0.3920392692089081,
-0.06587686389684677,
-0.12222553044557571,
0.13795211911201477,
0.024351269006729126,
0.4365120828151703,
0.006687680259346962,
0.3391193747520447,
-0.2541458010673523,
0.3584092855453491,
0.21398788690567017,
-0.11414563655853271,
-0.6720308661460876,
0.06500108540058136,
-0.2247210144996643,
0.06766150891780853,
-0.2609095573425293,
0.2659168839454651,
0.41382554173469543,
-0.08926989138126373,
0.31146013736724854,
0.3437056541442871,
0.003702901303768158,
0.09176278859376907,
-0.3497316837310791,
-0.22156637907028198,
0.12067800760269165,
0.03366254270076752,
-0.16338765621185303,
0.21260684728622437,
0.4062328338623047,
-0.6073459982872009,
0.24198216199874878,
-0.14680607616901398,
0.13950695097446442,
0.30834436416625977,
0.30380359292030334,
0.06569595634937286,
0.16053517162799835,
-0.09376806020736694,
-0.2674873471260071,
0.2254800796508789,
0.04705227166414261,
-0.2078208029270172,
-0.29403936862945557,
-0.18738050758838654,
-0.14573544263839722,
0.17943139374256134,
-0.1403152048587799,
0.017976591363549232,
0.05227622389793396,
-0.1844770610332489,
-0.18871507048606873,
0.061343517154455185,
-0.1190103143453598,
-0.13893672823905945,
-0.06816445291042328,
0.04704111069440842,
-0.33235156536102295,
0.26259198784828186,
0.03595391660928726,
-0.05199793726205826,
-0.33252161741256714,
0.23515334725379944,
0.250117689371109,
-0.12387973815202713,
-0.07913839817047119,
0.29140108823776245,
-0.03419894352555275,
0.05827121436595917,
0.07418864220380783,
-0.18174971640110016,
0.10728578269481659,
-0.23646500706672668,
0.12118738144636154,
0.2244729995727539,
0.05341622233390808,
0.004620090126991272,
-0.061189472675323486,
0.1279246211051941,
0.08491121232509613,
0.28980377316474915,
-0.26720356941223145,
-0.07452823221683502,
0.10127890110015869,
-0.11687858402729034,
0.0650213435292244,
-0.40622660517692566,
-0.19711178541183472,
0.23974905908107758,
0.12336322665214539,
0.04526085406541824,
0.059552744030952454,
0.4842793345451355,
0.1524774134159088,
-0.30552956461906433,
-0.017053239047527313,
0.08481743931770325,
-0.45047301054000854,
-0.037421874701976776,
-0.18621370196342468,
-0.11425517499446869,
0.5989559888839722,
0.20107148587703705,
0.14006203413009644,
-0.01444992981851101,
-0.07094905525445938,
-0.1714244931936264,
0.10092039406299591,
0.09995218366384506,
-0.00877919141203165,
0.2161256968975067,
0.2954145073890686,
0.1218792125582695,
-0.1498042643070221,
-0.02538449317216873,
-0.05449291318655014,
0.2390424609184265,
-0.4525255560874939,
0.04420403391122818,
-0.15338629484176636,
0.21433168649673462,
-0.08704087883234024,
-0.3270881772041321,
0.031203066930174828,
-0.42376044392585754,
0.0349508672952652,
0.13035857677459717,
-0.2539655566215515,
0.12411708384752274,
-0.19323094189167023,
-0.08337952196598053,
0.18178533017635345,
-0.3821714222431183,
0.04784076660871506,
-0.30850550532341003,
-0.20718392729759216,
0.004553813487291336,
-0.1186305582523346,
-0.025390198454260826,
0.11353030055761337,
0.1758245825767517,
-0.27257245779037476,
-0.45786383748054504,
-0.13721781969070435,
-0.05714993178844452,
-0.1368047297000885,
0.4920804500579834,
-0.039465054869651794,
0.13994774222373962,
-0.13331545889377594,
-0.09573035687208176,
0.13537421822547913,
-0.022242138162255287,
-0.13573527336120605,
-0.052549656480550766,
-0.18037934601306915,
-0.2776120901107788,
-0.04624886065721512,
-0.43914756178855896,
-0.025179682299494743,
-0.23435837030410767,
0.045077741146087646,
-0.02627662941813469,
0.07425856590270996,
-0.051627885550260544,
0.18699897825717926,
0.046443622559309006,
-0.014742892235517502,
-0.12109169363975525,
-0.3974536657333374,
-0.2461535483598709,
0.37316057085990906,
-0.11958276480436325,
-0.2724182903766632,
-0.1852290779352188,
-0.20732484757900238,
-0.00475461408495903,
0.2955740690231323,
-0.2894481420516968,
0.06985586881637573,
-0.0637056976556778,
0.5374752879142761,
0.02972896210849285,
0.27122029662132263,
0.3145323693752289,
0.12959696352481842,
-0.05012629181146622,
-0.1586906909942627,
-0.20858661830425262,
0.1562676727771759,
0.3917672336101532,
0.13328473269939423,
-0.01058289036154747,
0.38687559962272644,
-0.18383421003818512,
0.6738660931587219,
0.3216046988964081,
-0.27616259455680847,
0.5034595727920532,
-0.20224113762378693,
0.36216306686401367,
-0.14965566992759705,
-0.3998892307281494,
0.026153935119509697,
0.04363427311182022,
-0.20974037051200867,
0.15860503911972046,
-0.07079137116670609,
-0.2791807949542999,
0.3780381977558136,
-0.06170405447483063,
-0.2745799124240875,
-0.26549673080444336,
0.0753774493932724,
0.13206465542316437,
0.23669534921646118,
0.1405172049999237,
0.12484759837388992,
-0.4266156256198883,
-0.1485258936882019,
0.27824708819389343,
-0.06180112063884735,
0.2936198115348816,
-0.1126549243927002,
-0.07480017840862274,
-0.0948823094367981,
-0.3731708824634552,
0.31355512142181396,
0.08319766074419022,
0.22918906807899475,
0.07777433097362518,
-0.19218382239341736,
0.18738529086112976,
0.30712923407554626,
0.7330359220504761,
-0.24327127635478973,
-0.058040715754032135,
0.23963433504104614,
0.5325309634208679,
-0.5498894453048706,
-0.15708552300930023,
-0.120777428150177,
0.30359071493148804,
0.08660532534122467,
0.6381708383560181,
-0.18427541851997375,
0.05076455697417259,
0.1585865318775177,
0.19496704638004303,
-0.0267281886190176,
-0.18190313875675201,
-0.10842636972665787,
-0.12508797645568848,
-0.01692364737391472,
0.06632718443870544,
-0.05619598925113678,
0.15742111206054688,
0.11675719916820526,
-0.26315879821777344,
-0.08976881206035614,
0.11215194314718246,
-0.058498844504356384,
0.08789436519145966,
0.42234838008880615,
0.23005351424217224,
0.31144946813583374,
0.1887519508600235,
0.20048600435256958,
0.11103673279285431,
0.3645618259906769,
-0.20275944471359253,
0.051729779690504074,
-0.25676918029785156,
0.035862717777490616,
0.14253966510295868,
0.2524559199810028,
0.09836465865373611,
0.07865637540817261,
-0.22602835297584534,
0.09194538742303848,
-0.012188886292278767,
-0.19348596036434174,
0.47174426913261414,
-0.01173323206603527,
-0.2900305688381195,
-0.3351968228816986,
0.45121121406555176,
-0.08660338819026947,
-0.4421025514602661,
0.28749024868011475,
0.020318880677223206,
-0.28283265233039856,
0.8226042985916138,
0.17134791612625122,
0.7072457671165466,
0.045074351131916046,
0.175919771194458,
0.33297502994537354,
0.2066015750169754,
0.2680252492427826,
0.06336360424757004,
0.10100172460079193,
-0.40864992141723633,
-0.18599487841129303,
0.09935690462589264,
-0.15747441351413727,
0.07155168056488037,
0.10394847393035889,
-0.0677231103181839,
0.28085723519325256,
-0.07712377607822418,
0.2927214205265045,
-0.011881148442626,
-0.29146409034729004,
0.23270916938781738,
-0.3114544749259949,
-0.11850030720233917,
0.12243978679180145,
0.2884564995765686,
0.20945608615875244,
0.023233070969581604,
0.015285835601389408,
-0.38344910740852356,
0.06849825382232666,
-0.028303831815719604,
0.03975645452737808,
-0.1447782814502716,
0.4558752775192261,
0.059381596744060516,
-0.1498156487941742,
-0.04318651556968689,
-0.044444967061281204,
0.2408120185136795,
-0.08662965893745422,
-0.08717820793390274,
0.07152681052684784,
0.1858956664800644,
0.24332743883132935,
0.45131993293762207,
-0.46511611342430115,
0.14903414249420166,
0.2510569095611572,
-0.398347944021225,
-0.0031202509999275208,
0.07317173480987549,
-0.15610697865486145,
-0.45345601439476013,
0.11025466024875641,
0.10778768360614777,
-0.45706290006637573,
-0.44583162665367126,
0.01465924084186554,
0.2651848793029785,
-0.1608332097530365,
0.07614994049072266,
0.09871191531419754,
-0.040055856108665466,
0.662441074848175,
-0.268478661775589,
-0.4116479456424713,
-0.13804134726524353,
0.6272913217544556,
0.006276043131947517,
0.12255735695362091,
0.29769396781921387,
-0.18264812231063843,
-0.18139182031154633,
-0.03630921244621277,
-0.17379435896873474,
0.17758186161518097,
0.013745881617069244,
-0.07292373478412628,
-0.17585261166095734,
0.06613615155220032,
-0.08826799690723419,
-0.01860332116484642,
-0.11241072416305542,
-0.13753899931907654,
-0.3361448645591736,
-0.2437705546617508,
-0.29744407534599304,
0.15514317154884338,
0.18561877310276031,
0.2732405662536621,
-0.09365672618150711,
-0.008981343358755112,
-0.276035875082016,
-0.0970049649477005,
-0.2890140414237976,
0.24510212242603302,
0.17076916992664337,
0.2546643018722534,
0.10790634155273438,
0.13565018773078918,
0.09178038686513901,
-0.35307902097702026,
0.1891365349292755,
-0.06768201291561127,
0.01167384348809719,
-0.26077958941459656,
-0.23769082129001617,
0.10401707142591476,
0.08178333938121796,
0.055382341146469116,
-0.16051098704338074,
-0.3866879940032959,
0.04303506761789322,
-0.39191341400146484,
0.21355211734771729,
0.315513551235199,
-0.07391107082366943,
-0.005773751996457577,
0.11849857866764069,
-0.10555695742368698,
0.3153958320617676,
0.26454997062683105,
-0.08545409142971039,
0.08514165133237839,
-0.025880049914121628,
0.2574733793735504,
-0.2123584747314453,
0.017200805246829987,
-0.021441545337438583,
0.13857701420783997,
0.08926695585250854,
0.20423507690429688,
0.4513266086578369,
-0.20195208489894867,
-0.26862725615501404,
0.31717994809150696,
0.16342219710350037,
0.05369260162115097,
-0.2619004547595978,
-0.18187060952186584,
-0.02266509458422661,
0.23152925074100494,
-0.2830294668674469,
-0.2751602530479431,
0.8166751265525818,
-0.2222447246313095,
0.16811533272266388,
0.059421561658382416,
0.2533499300479889,
-0.008232012391090393,
-0.23565305769443512,
-0.05640610679984093,
0.22335638105869293,
0.2961543798446655,
-0.17610639333724976,
0.3842000663280487,
0.2954341173171997,
0.2272266149520874,
0.12645849585533142,
0.16016411781311035,
0.3124232292175293,
0.6688538789749146,
0.13209311664104462,
0.3050188422203064,
0.07871648669242859,
0.09186556935310364,
0.025700818747282028,
-0.3544624149799347,
0.7104552388191223,
0.05321085453033447,
-0.15021038055419922,
0.2501555383205414,
0.42521530389785767,
0.13543793559074402,
-0.052815165370702744,
-0.30370521545410156,
0.07992061227560043,
0.24157144129276276,
-0.33798882365226746,
-0.28986695408821106,
0.23050305247306824,
-0.03962887451052666,
0.1297944039106369,
-0.08831910043954849,
-0.14976027607917786,
-0.32102710008621216,
0.0690782219171524,
-0.002897307276725769,
-0.12484917044639587,
-0.17739783227443695,
-0.22832688689231873,
0.2326069176197052,
0.37691909074783325,
0.012644033879041672,
-0.12014260143041611,
-0.18522129952907562,
-0.10772714018821716,
-0.0662003755569458,
0.23473137617111206,
0.3323550224304199,
0.10794050991535187,
-0.12836743891239166,
0.18670082092285156,
0.38541531562805176,
-0.20493058860301971,
-0.13414523005485535,
-0.12133347988128662,
-0.31299838423728943,
-0.3092891573905945,
0.12244713306427002,
0.16771818697452545,
-0.13774888217449188,
-0.18777647614479065,
0.17889849841594696,
0.5117798447608948,
-0.22461548447608948,
0.11710946261882782,
-0.1850801259279251,
-0.36016497015953064,
-0.12279947102069855,
-0.17173516750335693,
-0.1959015429019928,
-0.09049021452665329,
0.386554092168808,
-0.09507320821285248,
0.2551492750644684,
-0.017994754016399384,
0.06997175514698029,
0.06953626871109009,
0.09860943257808685,
0.35673731565475464,
-0.07108106464147568,
-0.5021924376487732,
0.05717770755290985,
-0.6201156377792358,
0.3232713043689728,
-0.0061715394258499146,
0.20378661155700684,
0.13880231976509094,
0.17847397923469543,
0.005119577050209045,
0.007282093167304993,
0.3059177100658417,
0.010671762749552727,
0.05963754653930664,
0.5758708715438843,
-0.0030993707478046417,
-0.18260043859481812,
-0.343345582485199,
-0.028426771983504295,
-0.0031925588846206665,
-0.3016034662723541,
0.16860626637935638,
-0.034600526094436646,
0.052983976900577545,
-0.25715726613998413,
0.11128108203411102,
0.027169793844223022,
-0.2899576425552368,
0.683685302734375,
0.17071422934532166,
-0.12008799612522125,
-0.21673113107681274,
-0.2259054332971573,
-0.2653343081474304,
-0.2515604794025421,
-0.11009734869003296,
0.1899859607219696,
-0.23878467082977295,
0.1882021129131317,
-0.08121190965175629,
-0.46466025710105896,
-0.09826366603374481,
0.003659478621557355,
0.26705867052078247,
-0.22870805859565735,
-0.46353772282600403,
0.16641762852668762,
-0.42573118209838867,
0.22178807854652405,
-0.11247429251670837,
0.291390985250473,
0.09098565578460693,
0.6106711030006409,
0.11658935248851776,
-0.3136645555496216,
0.4646833837032318,
-0.5595929026603699,
-0.030177246779203415,
-0.16545945405960083,
0.22360974550247192,
0.12356823682785034,
-0.03834668546915054,
-0.24776721000671387,
-0.08948598802089691,
0.3834069073200226,
-0.26142510771751404,
-0.23132678866386414,
0.12219057977199554,
-0.01875925250351429,
0.25175967812538147,
-0.20591570436954498,
0.1093367487192154,
0.21430346369743347,
-0.09807318449020386,
0.3597275912761688,
-0.24874749779701233
] |
https://github.com/huggingface/datasets/issues/3769 | `dataset = dataset.map()` causes faiss index lost | I agree `add_column` shouldn't drop the index indeed ! Is it something you'd like to contribute ? I think it's just a matter of copying the `self._indexes` dictionary to the output dataset | ## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
| 32 | `dataset = dataset.map()` causes faiss index lost
## Describe the bug
assigning the resulted dataset to original dataset causes lost of the faiss index
## Steps to reproduce the bug
`my_dataset` is a regular loaded dataset. It's a part of a customed dataset structure
```python
self.dataset.add_faiss_index('embeddings')
self.dataset.list_indexes()
# ['embeddings']
dataset2 = my_dataset.map(
lambda x: self._get_nearest_examples_batch(x['text']), batch=True
)
# the unexpected result:
dataset2.list_indexes()
# []
self.dataset.list_indexes()
# ['embeddings']
```
in case something wrong with my `_get_nearest_examples_batch()`, it's like this
```python
def _get_nearest_examples_batch(self, examples, k=5):
queries = embed(examples)
scores_batch, retrievals_batch = self.dataset.get_nearest_examples_batch(self.faiss_column, queries, k)
return {
'neighbors': [batch['text'] for batch in retrievals_batch],
'scores': scores_batch
}
```
## Expected results
`map` shouldn't drop the indexes, in another word, indexes should be carried to the generated dataset
## Actual results
map drops the indexes
## Environment info
<!-- You can run the command `datasets-cli env` and copy-and-paste its output below. -->
- `datasets` version: 1.18.3
- Platform: Ubuntu 20.04.3 LTS
- Python version: 3.8.12
- PyArrow version: 7.0.0
I agree `add_column` shouldn't drop the index indeed ! Is it something you'd like to contribute ? I think it's just a matter of copying the `self._indexes` dictionary to the output dataset | [
-0.16240623593330383,
-0.00607704371213913,
-0.050822287797927856,
0.19401894509792328,
0.15720155835151672,
0.3615516126155853,
0.20458418130874634,
0.23357929289340973,
0.7304725050926208,
0.21505935490131378,
-0.21325524151325226,
0.613610565662384,
0.1274133324623108,
-0.2290450930595398,
-0.06089409440755844,
0.0984211415052414,
0.28985050320625305,
0.08136913180351257,
-0.03429265320301056,
-0.2001122087240219,
-0.4706920385360718,
0.08716708421707153,
-0.14014089107513428,
-0.07244189083576202,
0.09657338261604309,
0.1031806468963623,
-0.07860735058784485,
0.007866878062486649,
0.039044659584760666,
-0.31110456585884094,
0.18314778804779053,
-0.16604968905448914,
0.018344968557357788,
0.2729245722293854,
-0.00011294623982394114,
0.02032770961523056,
0.1583135724067688,
0.0882815271615982,
-0.15546004474163055,
0.008523330092430115,
-0.30720680952072144,
-0.15725602209568024,
0.05232439190149307,
-0.3084384500980377,
-0.008040182292461395,
-0.2578379809856415,
-0.0037306752055883408,
-0.6734215021133423,
0.0582025982439518,
0.1542854905128479,
0.2081957757472992,
0.07868616282939911,
-0.008900683373212814,
-0.16388335824012756,
0.3723776042461395,
-0.3159526586532593,
-0.015692997723817825,
0.21347679197788239,
0.19831141829490662,
0.02426118217408657,
0.03506392240524292,
0.07515445351600647,
-0.2788584530353546,
-0.12746544182300568,
0.012172795832157135,
0.33401045203208923,
0.5149281024932861,
-0.19030426442623138,
0.007721368223428726,
0.0195029117166996,
0.23971879482269287,
-0.3497041165828705,
-0.3194361925125122,
-0.1341785341501236,
0.08859208971261978,
-0.16469109058380127,
-0.2231578528881073,
-0.2708372175693512,
0.08973422646522522,
0.2052513062953949,
0.014474877156317234,
0.07644077390432358,
-0.012869268655776978,
0.30430346727371216,
-0.00948934257030487,
0.14493843913078308,
0.07975669205188751,
0.11676326394081116,
-0.13795724511146545,
-0.09136343002319336,
-0.18895867466926575,
-0.2668653130531311,
-0.017947006970643997,
0.16415651142597198,
-0.2631930410861969,
0.021535351872444153,
0.5542423725128174,
-0.18747347593307495,
0.21611663699150085,
-0.3238806128501892,
-0.2515420615673065,
0.17885610461235046,
-0.06328056752681732,
0.15482190251350403,
0.10207007825374603,
0.13076286017894745,
-0.11471345275640488,
0.16357916593551636,
-0.05928611755371094,
-0.01336844265460968,
-0.21633583307266235,
-0.014957007020711899,
0.4332188069820404,
0.04580191522836685,
0.12259064614772797,
-0.11553295701742172,
0.2952372431755066,
-0.2367321252822876,
-0.44327640533447266,
0.41028499603271484,
-0.3250764012336731,
0.12461085617542267,
-0.1308123767375946,
0.23822209239006042,
0.09409129619598389,
-0.19380447268486023,
-0.03558661416172981,
0.21124306321144104,
-0.17781732976436615,
0.275191992521286,
-0.33103081583976746,
-0.22760988771915436,
-0.04541969299316406,
0.10915712267160416,
-0.039975471794605255,
-0.09175825119018555,
0.24770238995552063,
0.11932053416967392,
-0.058469802141189575,
0.07463186234235764,
-0.2688137888908386,
0.020329594612121582,
0.3688513934612274,
0.07318499684333801,
-0.05462173372507095,
0.366276353597641,
0.07736411690711975,
-0.23115454614162445,
-0.3481679856777191,
0.18620598316192627,
-0.2702701985836029,
-0.2449655383825302,
-0.11076563596725464,
0.21130867302417755,
0.08482257276773453,
-0.026120170950889587,
-0.02269880473613739,
0.3132001459598541,
0.1182708814740181,
-0.07520810514688492,
0.10521996766328812,
-0.28885799646377563,
-0.27601131796836853,
-0.3917200565338135,
0.25916576385498047,
0.2858234643936157,
-0.4328462779521942,
-0.09226924180984497,
-0.1146944984793663,
0.12646231055259705,
0.019607819616794586,
0.40452951192855835,
0.01103292591869831,
0.35791030526161194,
-0.2593688666820526,
0.3432389497756958,
0.2612019181251526,
-0.10492578148841858,
-0.6721419095993042,
0.057558439671993256,
-0.24722346663475037,
0.08438952267169952,
-0.18277844786643982,
0.2501124143600464,
0.40582627058029175,
-0.019886868074536324,
0.3840329051017761,
0.3594712018966675,
-0.015914546325802803,
0.08648613840341568,
-0.35577303171157837,
-0.1994989812374115,
0.1286809891462326,
0.0839974582195282,
-0.1626177877187729,
0.2113092690706253,
0.3529869616031647,
-0.659173309803009,
0.2702924609184265,
-0.17455004155635834,
0.14140549302101135,
0.28557276725769043,
0.3578588664531708,
0.0958104059100151,
0.18994112312793732,
-0.10445279628038406,
-0.2517198622226715,
0.23098379373550415,
0.03777638077735901,
-0.16324763000011444,
-0.3127685785293579,
-0.19491586089134216,
-0.14664119482040405,
0.17865242063999176,
-0.1469944715499878,
0.028456661850214005,
0.07389649003744125,
-0.2385089099407196,
-0.17162933945655823,
0.04323004558682442,
-0.1513298749923706,
-0.1509501338005066,
-0.08898507058620453,
0.02683306112885475,
-0.3571650981903076,
0.2563866972923279,
0.01927073672413826,
-0.03767721727490425,
-0.2498815804719925,
0.25103968381881714,
0.2338361144065857,
-0.08590491116046906,
-0.054848723113536835,
0.2820037305355072,
-0.021463174372911453,
0.07263213396072388,
0.09283675253391266,
-0.15521763265132904,
0.08401277661323547,
-0.20882198214530945,
0.18696525692939758,
0.13795161247253418,
0.019578710198402405,
0.0033896714448928833,
-0.06987813860177994,
0.1898944079875946,
0.0878744125366211,
0.29318273067474365,
-0.2400635927915573,
-0.08521339297294617,
0.046615444123744965,
-0.13746291399002075,
0.04084659367799759,
-0.45067980885505676,
-0.22969461977481842,
0.1892852932214737,
0.15080107748508453,
0.028828613460063934,
0.02424665540456772,
0.522313117980957,
0.18645329773426056,
-0.30787262320518494,
0.0025323331356048584,
0.12703366577625275,
-0.42768043279647827,
-0.022343045100569725,
-0.15621043741703033,
-0.13391995429992676,
0.5321044921875,
0.27583062648773193,
0.15001267194747925,
-0.06108205020427704,
-0.086740642786026,
-0.17619937658309937,
0.0989517867565155,
0.10540858656167984,
0.013976397924125195,
0.2570042610168457,
0.27029430866241455,
0.05326500162482262,
-0.21493086218833923,
0.002443131059408188,
-0.09602220356464386,
0.22135357558727264,
-0.4190881848335266,
0.04480350762605667,
-0.1830984503030777,
0.13144341111183167,
-0.06791713088750839,
-0.34832194447517395,
0.025766976177692413,
-0.43005242943763733,
0.10176729410886765,
0.11044743657112122,
-0.28950250148773193,
0.14369449019432068,
-0.1339433491230011,
-0.06822673976421356,
0.17746223509311676,
-0.4212128221988678,
0.049773216247558594,
-0.34170931577682495,
-0.19755062460899353,
0.015818126499652863,
-0.11043090373277664,
0.007351779844611883,
0.1735905110836029,
0.19646602869033813,
-0.3065200448036194,
-0.4512329697608948,
-0.10134868323802948,
-0.04171091318130493,
-0.14770928025245667,
0.45998990535736084,
-0.03019535541534424,
0.13695839047431946,
-0.06736988574266434,
-0.11239662021398544,
0.12914736568927765,
-0.061173006892204285,
-0.13612863421440125,
-0.07468339800834656,
-0.183371901512146,
-0.2634901702404022,
-0.04956428334116936,
-0.43004485964775085,
-0.026660313829779625,
-0.26266711950302124,
0.06778527796268463,
0.0001223236322402954,
0.10250070691108704,
-0.04991890862584114,
0.1966426521539688,
0.03424946218729019,
0.028813868761062622,
-0.10613080114126205,
-0.37201300263404846,
-0.23204655945301056,
0.3838967978954315,
-0.16188591718673706,
-0.23505716025829315,
-0.2054372876882553,
-0.23768725991249084,
-0.012102171778678894,
0.2726471424102783,
-0.2910611033439636,
0.04006580635905266,
-0.03946840763092041,
0.5397152900695801,
0.02701513096690178,
0.2778894603252411,
0.31801164150238037,
0.1551131010055542,
-0.05981080234050751,
-0.15794485807418823,
-0.18027307093143463,
0.17129090428352356,
0.3910891115665436,
0.07915065437555313,
0.006639381870627403,
0.42687729001045227,
-0.21748825907707214,
0.6694475412368774,
0.28844699263572693,
-0.24954424798488617,
0.4429457485675812,
-0.21134790778160095,
0.349466472864151,
-0.16592729091644287,
-0.31869298219680786,
-0.01633952185511589,
0.042697787284851074,
-0.25446707010269165,
0.14049527049064636,
-0.04963970184326172,
-0.26238489151000977,
0.3940161168575287,
-0.049932267516851425,
-0.27164149284362793,
-0.2777692377567291,
0.07583555579185486,
0.09287646412849426,
0.23851892352104187,
0.08349676430225372,
0.11290549486875534,
-0.43049949407577515,
-0.13536030054092407,
0.32199445366859436,
-0.12296152114868164,
0.34067708253860474,
-0.14730268716812134,
-0.061251766979694366,
-0.11833471804857254,
-0.46111875772476196,
0.3165084421634674,
0.12921467423439026,
0.17790727317333221,
0.08207373321056366,
-0.21977496147155762,
0.17236052453517914,
0.2828054428100586,
0.7295154929161072,
-0.29272958636283875,
-0.06266077607870102,
0.23202618956565857,
0.510780394077301,
-0.5376437306404114,
-0.15618447959423065,
-0.11754250526428223,
0.3420465886592865,
0.030246781185269356,
0.5920095443725586,
-0.18709531426429749,
0.0066284844651818275,
0.20786820352077484,
0.17113471031188965,
-0.04117435961961746,
-0.1951836198568344,
-0.06998541951179504,
-0.09245554357767105,
-0.021290192380547523,
0.04942474141716957,
-0.053592123091220856,
0.15668995678424835,
0.09232991933822632,
-0.276645690202713,
-0.019916510209441185,
0.14022397994995117,
-0.06013883650302887,
0.10403338074684143,
0.47324618697166443,
0.2229146659374237,
0.33090129494667053,
0.16293933987617493,
0.1518019288778305,
0.14464634656906128,
0.38582444190979004,
-0.20298583805561066,
0.12047968804836273,
-0.23302891850471497,
0.041408006101846695,
0.24224841594696045,
0.26797547936439514,
0.10165251046419144,
0.13559399545192719,
-0.2823503911495209,
0.13200360536575317,
-0.07519061118364334,
-0.252546489238739,
0.42019370198249817,
-0.05119266360998154,
-0.28777870535850525,
-0.31067073345184326,
0.47077059745788574,
-0.09783273935317993,
-0.3849393129348755,
0.2498493492603302,
0.057567816227674484,
-0.31983518600463867,
0.8964040875434875,
0.22409683465957642,
0.7027564644813538,
0.029901467263698578,
0.18017083406448364,
0.32642608880996704,
0.2000788003206253,
0.24858231842517853,
-0.01274799183011055,
0.10352800786495209,
-0.45600995421409607,
-0.16488055884838104,
0.09763219952583313,
-0.12950873374938965,
0.006078168749809265,
0.10763783752918243,
-0.0824284553527832,
0.24015957117080688,
-0.09733065217733383,
0.255869597196579,
-0.052287809550762177,
-0.2008752077817917,
0.2549189329147339,
-0.37358736991882324,
-0.1364605724811554,
0.1280495822429657,
0.3277071714401245,
0.13904738426208496,
0.04600303992629051,
-0.019599106162786484,
-0.35581842064857483,
0.09535704553127289,
-0.034831926226615906,
0.03892901539802551,
-0.08757144212722778,
0.44634807109832764,
0.0745304599404335,
-0.17311003804206848,
-0.05257602781057358,
-0.03526369109749794,
0.23416106402873993,
-0.057347867637872696,
-0.08536922186613083,
0.06833323836326599,
0.15788018703460693,
0.21513919532299042,
0.40848249197006226,
-0.4596300721168518,
0.19142481684684753,
0.24794554710388184,
-0.3899608552455902,
-0.01887558400630951,
0.10666586458683014,
-0.18033619225025177,
-0.4688088595867157,
0.060218822211027145,
0.10720744729042053,
-0.4640357494354248,
-0.4060463309288025,
0.022085431963205338,
0.23912036418914795,
-0.1585703194141388,
0.08215764164924622,
0.11102388799190521,
-0.07442407310009003,
0.6554266214370728,
-0.20793850719928741,
-0.3567393124103546,
-0.13675779104232788,
0.6267848014831543,
0.024110719561576843,
0.20319980382919312,
0.31414324045181274,
-0.1225237250328064,
-0.16257236897945404,
-0.06780552864074707,
-0.18574488162994385,
0.20003090798854828,
0.06645222753286362,
-0.1056206226348877,
-0.1209668442606926,
0.037299200892448425,
-0.06410519033670425,
0.00451095774769783,
-0.08513541519641876,
-0.14647763967514038,
-0.3576299846172333,
-0.2186070680618286,
-0.28292107582092285,
0.1886546015739441,
0.22155582904815674,
0.3271767795085907,
-0.12539876997470856,
-0.023917146027088165,
-0.29411157965660095,
-0.025652343407273293,
-0.31725162267684937,
0.1637093424797058,
0.13843084871768951,
0.24074913561344147,
0.12175282090902328,
0.12286790460348129,
0.12582911550998688,
-0.34058529138565063,
0.2063535451889038,
-0.08323104679584503,
-0.007047684863209724,
-0.27084261178970337,
-0.24154099822044373,
0.10340062528848648,
0.07044439017772675,
0.10633353888988495,
-0.16818678379058838,
-0.3167564868927002,
0.017961908131837845,
-0.4019128680229187,
0.23772692680358887,
0.308393269777298,
-0.05372939258813858,
0.06857765465974808,
0.13218426704406738,
-0.10354114323854446,
0.3110741376876831,
0.24907070398330688,
-0.04249820113182068,
0.13657288253307343,
-0.031247645616531372,
0.2148851901292801,
-0.2571893334388733,
-0.014083988964557648,
0.03147919103503227,
0.17804625630378723,
0.07681506872177124,
0.1778566539287567,
0.44396206736564636,
-0.15228058397769928,
-0.3357369005680084,
0.2832995653152466,
0.245243102312088,
0.09881336987018585,
-0.2529676556587219,
-0.17741717398166656,
-0.03251924738287926,
0.2596747577190399,
-0.29110509157180786,
-0.32494378089904785,
0.812786340713501,
-0.2883394658565521,
0.1827317476272583,
0.10032230615615845,
0.2523777186870575,
0.0277574360370636,
-0.21317897737026215,
-0.03960200771689415,
0.19518010318279266,
0.2612922191619873,
-0.18493255972862244,
0.26507681608200073,
0.27494943141937256,
0.21406491100788116,
0.1228758916258812,
0.18328842520713806,
0.37649378180503845,
0.6509246826171875,
0.15580090880393982,
0.28341054916381836,
0.03429017588496208,
0.08955554664134979,
0.005867950618267059,
-0.30846408009529114,
0.7101894617080688,
0.02437140792608261,
-0.11727860569953918,
0.23248258233070374,
0.40096813440322876,
0.16084171831607819,
-0.048831645399332047,
-0.31710079312324524,
0.07350137829780579,
0.21157673001289368,
-0.35732364654541016,
-0.2664644718170166,
0.21624621748924255,
-0.049951374530792236,
0.07254715263843536,
-0.06854183971881866,
-0.1290590614080429,
-0.3179194927215576,
0.062098681926727295,
0.0031734034419059753,
-0.07458852231502533,
-0.17036932706832886,
-0.20655107498168945,
0.22652465105056763,
0.3993576169013977,
-0.02893446572124958,
-0.09969840198755264,
-0.19746924936771393,
-0.0719076544046402,
-0.10131290555000305,
0.20221549272537231,
0.30263224244117737,
0.13085982203483582,
-0.15733854472637177,
0.20859703421592712,
0.38028213381767273,
-0.22862906754016876,
-0.15121884644031525,
-0.1284487098455429,
-0.30516499280929565,
-0.3095107078552246,
0.14169055223464966,
0.19274187088012695,
-0.1603354662656784,
-0.15876741707324982,
0.21310976147651672,
0.48190587759017944,
-0.18523317575454712,
0.12485481798648834,
-0.07372058928012848,
-0.37585121393203735,
-0.13098035752773285,
-0.19122424721717834,
-0.1615699976682663,
-0.17983794212341309,
0.34083354473114014,
-0.10785485059022903,
0.24014994502067566,
-0.01722569391131401,
0.08159571886062622,
0.09344911575317383,
0.1556541472673416,
0.3597462475299835,
-0.06645456701517105,
-0.5296337604522705,
0.049004122614860535,
-0.5702572464942932,
0.3075757920742035,
-0.023465510457754135,
0.16524110734462738,
0.15227414667606354,
0.22220654785633087,
0.02566193789243698,
0.011700736358761787,
0.28156808018684387,
0.07054999470710754,
0.01820981130003929,
0.514203667640686,
-0.04693998768925667,
-0.19942116737365723,
-0.36801183223724365,
-0.08018530905246735,
-0.020145094022154808,
-0.3049669563770294,
0.155765563249588,
-0.09853697568178177,
0.07344366610050201,
-0.22426263988018036,
0.10142146050930023,
0.05485342815518379,
-0.29620739817619324,
0.7131733894348145,
0.1551797091960907,
-0.12090247869491577,
-0.27126526832580566,
-0.19741588830947876,
-0.2181943953037262,
-0.277780145406723,
-0.1862354278564453,
0.1792934387922287,
-0.2565380930900574,
0.22166240215301514,
-0.07550794631242752,
-0.5063785314559937,
-0.1189761832356453,
-0.001611625775694847,
0.305117130279541,
-0.2532908320426941,
-0.3886926472187042,
0.19415217638015747,
-0.38102519512176514,
0.19907696545124054,
-0.11671954393386841,
0.2873055040836334,
0.11378990113735199,
0.5718685984611511,
0.09217295050621033,
-0.2751929759979248,
0.4576081931591034,
-0.5492506623268127,
-0.023590242490172386,
-0.13394257426261902,
0.2360357642173767,
0.15110035240650177,
-0.0575677752494812,
-0.22268104553222656,
-0.11053701490163803,
0.3749611973762512,
-0.23441478610038757,
-0.22048597037792206,
0.1351224035024643,
0.04204225912690163,
0.24726401269435883,
-0.2329629361629486,
0.0854845941066742,
0.23202186822891235,
-0.1147361770272255,
0.2852879464626312,
-0.28500819206237793
] |
https://github.com/huggingface/datasets/issues/3763 | It's not possible download `20200501.pt` dataset | Hi @jvanz, thanks for reporting.
Please note that Wikimedia website does not longer host Wikipedia dumps for so old dates.
For a list of accessible dump dates of `pt` Wikipedia, please see: https://dumps.wikimedia.org/ptwiki/
You can load for example `20220220` `pt` Wikipedia:
```python
dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
``` | ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect to download the dataset locally.
## Actual results
```
>>> from datasets import load_dataset
>>> dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
Downloading and preparing dataset wikipedia/20200501.pt to /home/jvanz/.cache/huggingface/datasets/wikipedia/20200501.pt/1.0.0/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475...
/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/apache_beam/__init__.py:79: UserWarning: This version of Apache Beam has not been sufficiently tested on Python 3.9. You may encounter bugs or missing features.
warnings.warn(
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 1245, in _download_and_prepare
super()._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 661, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/jvanz/.cache/huggingface/modules/datasets_modules/datasets/wikipedia/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475/wikipedia.py", line 420, in _split_generators
downloaded_files = dl_manager.download_and_extract({"info": info_url})
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 307, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 260, in map_nested
mapped = [
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 261, in <listcomp>
_single_map_nested((function, obj, types, None, True))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 196, in _single_map_nested
return function(data_struct)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 216, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 298, in cached_path
output_path = get_from_cache(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 612, in get_from_cache
raise FileNotFoundError(f"Couldn't find file at {url}")
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/ptwiki/20200501/dumpstatus.json
```
## Environment info
```
- `datasets` version: 1.18.3
- Platform: Linux-5.3.18-150300.59.49-default-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 6.0.1
``` | 49 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect to download the dataset locally.
## Actual results
```
>>> from datasets import load_dataset
>>> dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
Downloading and preparing dataset wikipedia/20200501.pt to /home/jvanz/.cache/huggingface/datasets/wikipedia/20200501.pt/1.0.0/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475...
/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/apache_beam/__init__.py:79: UserWarning: This version of Apache Beam has not been sufficiently tested on Python 3.9. You may encounter bugs or missing features.
warnings.warn(
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 1245, in _download_and_prepare
super()._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 661, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/jvanz/.cache/huggingface/modules/datasets_modules/datasets/wikipedia/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475/wikipedia.py", line 420, in _split_generators
downloaded_files = dl_manager.download_and_extract({"info": info_url})
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 307, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 260, in map_nested
mapped = [
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 261, in <listcomp>
_single_map_nested((function, obj, types, None, True))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 196, in _single_map_nested
return function(data_struct)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 216, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 298, in cached_path
output_path = get_from_cache(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 612, in get_from_cache
raise FileNotFoundError(f"Couldn't find file at {url}")
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/ptwiki/20200501/dumpstatus.json
```
## Environment info
```
- `datasets` version: 1.18.3
- Platform: Linux-5.3.18-150300.59.49-default-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 6.0.1
```
Hi @jvanz, thanks for reporting.
Please note that Wikimedia website does not longer host Wikipedia dumps for so old dates.
For a list of accessible dump dates of `pt` Wikipedia, please see: https://dumps.wikimedia.org/ptwiki/
You can load for example `20220220` `pt` Wikipedia:
```python
dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
``` | [
-0.32233506441116333,
-0.1315496265888214,
-0.09835247695446014,
0.32115858793258667,
0.25045347213745117,
0.15006598830223083,
0.04972411319613457,
0.45896250009536743,
0.09251992404460907,
0.1612987220287323,
0.10031767189502716,
0.3547097444534302,
0.017580397427082062,
0.13518834114074707,
-0.027923792600631714,
-0.41242900490760803,
0.07415053993463516,
0.02160976082086563,
-0.19547852873802185,
0.028227247297763824,
-0.215701624751091,
0.16403675079345703,
-0.1948072612285614,
-0.19260628521442413,
-0.020950961858034134,
-0.057874903082847595,
0.1435270756483078,
-0.042119599878787994,
-0.20809617638587952,
-0.22298066318035126,
0.19634169340133667,
0.019576463848352432,
0.12848125398159027,
0.47829484939575195,
-0.00010531362931942567,
0.17540113627910614,
0.4400365948677063,
-0.029066001996397972,
-0.3724507987499237,
-0.11769212782382965,
-0.17388328909873962,
-0.1003987193107605,
0.11456870287656784,
-0.2962556779384613,
-0.17162856459617615,
-0.21446876227855682,
0.009143901988863945,
-0.23906032741069794,
0.513215959072113,
0.227469339966774,
0.32313770055770874,
0.4897460639476776,
0.387395977973938,
-0.2229723483324051,
0.434715211391449,
-0.10458049178123474,
-0.16496163606643677,
0.06506410241127014,
-0.07698722183704376,
0.224431112408638,
0.1632048785686493,
0.27182096242904663,
-0.05015648156404495,
-0.04824209585785866,
0.2512190639972687,
-0.3109745681285858,
0.08445833623409271,
-0.42666128277778625,
0.21080002188682556,
0.2650676667690277,
0.8665356040000916,
-0.18711259961128235,
-0.10754972696304321,
0.04242895543575287,
-0.05383206903934479,
0.017612295225262642,
0.22135359048843384,
0.10388139635324478,
-0.21375447511672974,
0.022476926445961,
0.08203672617673874,
-0.13473589718341827,
-0.20556479692459106,
0.24028629064559937,
-0.11671993881464005,
0.2269531637430191,
0.029934793710708618,
0.1449248045682907,
-0.19736839830875397,
-0.016467507928609848,
-0.06331387907266617,
0.04756348952651024,
0.13370947539806366,
0.08938874304294586,
-0.26782041788101196,
-0.042239028960466385,
-0.10539176315069199,
0.1117190271615982,
0.11699452251195908,
0.14544931054115295,
0.09580665826797485,
0.26176178455352783,
-0.09144018590450287,
-0.03781038522720337,
0.03419455140829086,
0.23391275107860565,
-0.19358623027801514,
-0.05072012171149254,
0.18923403322696686,
0.2287672609090805,
-0.06919305771589279,
0.0472608357667923,
0.0020271786488592625,
-0.29166892170906067,
-0.2639904022216797,
0.14769285917282104,
0.11276312172412872,
-0.07861873507499695,
-0.01839013397693634,
0.054139718413352966,
-0.22021245956420898,
-0.00482551846653223,
-0.24318662285804749,
0.2852347493171692,
-0.04872579127550125,
0.39937853813171387,
0.23448239266872406,
0.12875467538833618,
-0.22420808672904968,
-0.4861935079097748,
-0.14023303985595703,
0.1473301351070404,
-0.11063779890537262,
0.043400853872299194,
0.1618039309978485,
-0.227345809340477,
0.2579297423362732,
-0.019715318456292152,
-0.053069911897182465,
-0.025119690224528313,
-0.00873884279280901,
0.10912041366100311,
-0.10570483654737473,
0.27626556158065796,
0.25910207629203796,
0.3945353627204895,
0.04056912660598755,
0.25902295112609863,
0.0018426552414894104,
-0.02121727168560028,
-0.21658459305763245,
-0.22858180105686188,
-0.22064121067523956,
0.2521074414253235,
-0.013189742341637611,
-0.004737120121717453,
-0.22910764813423157,
0.059927135705947876,
0.0986429750919342,
-0.0805995762348175,
0.05329448729753494,
-0.1421767920255661,
-0.32161688804626465,
-0.3087879717350006,
0.4316564202308655,
0.4920247197151184,
-0.42553120851516724,
0.13960255682468414,
-0.0567280575633049,
-0.01169748604297638,
-0.08105846494436264,
-0.05701763555407524,
-0.1123933419585228,
0.3496845066547394,
-0.21929728984832764,
-0.18095137178897858,
0.206828773021698,
-0.39765065908432007,
-0.2395835816860199,
0.09062524884939194,
-0.06346902996301651,
-0.10562300682067871,
0.18405693769454956,
-0.08714774250984192,
0.1540350764989853,
0.04853282868862152,
-0.23069414496421814,
0.21104827523231506,
0.13715487718582153,
-0.047936152666807175,
-0.3818025290966034,
-0.20280157029628754,
-0.01719777286052704,
0.018991772085428238,
0.32375654578208923,
0.11464665085077286,
0.1676122546195984,
0.5691866874694824,
0.45552608370780945,
0.08321236073970795,
0.17779189348220825,
0.40130937099456787,
-0.20856080949306488,
-0.04134335368871689,
0.2671732008457184,
-0.2288278043270111,
-0.24878466129302979,
0.21875140070915222,
-0.07570849359035492,
0.034880444407463074,
0.11009523272514343,
-0.019941117614507675,
-0.6193234324455261,
0.03146911412477493,
-0.12312395870685577,
-0.20057477056980133,
0.27244532108306885,
-0.04409181326627731,
0.1745685487985611,
0.27439644932746887,
0.003963533788919449,
0.19247601926326752,
-0.08670195937156677,
0.003948911093175411,
-0.5343649387359619,
0.4087267220020294,
-0.19350285828113556,
-0.0015834597870707512,
0.06576111912727356,
0.026075709611177444,
0.40883350372314453,
-0.17055881023406982,
-0.13544690608978271,
0.2723589241504669,
-0.030447272583842278,
0.21941688656806946,
-0.1594223976135254,
0.17987048625946045,
0.23960450291633606,
-0.46094653010368347,
0.05480159819126129,
0.4481230676174164,
0.19315993785858154,
0.06782912462949753,
0.022319648414850235,
0.12407757341861725,
0.13887496292591095,
0.1711905300617218,
0.03374272584915161,
0.23317137360572815,
0.1935805380344391,
0.03283464536070824,
0.06411956995725632,
-0.19084134697914124,
0.3381064832210541,
0.434816837310791,
0.1477688103914261,
-0.28778740763664246,
0.12548893690109253,
0.17177873849868774,
0.15796823799610138,
0.00040346384048461914,
-0.14410102367401123,
-0.041202202439308167,
-0.4308422803878784,
0.032352156937122345,
0.2122805267572403,
-0.06317941844463348,
-0.07840806245803833,
0.2154165506362915,
0.16827963292598724,
0.07857342809438705,
0.04188058525323868,
-0.23457998037338257,
0.23507343232631683,
0.2690863609313965,
0.2969724237918854,
0.1277826428413391,
0.0447370707988739,
0.19640067219734192,
-0.10108332335948944,
-0.24794159829616547,
-0.0026073670014739037,
0.31324031949043274,
-0.30366069078445435,
-0.0806538462638855,
-0.406772255897522,
-0.493169903755188,
-0.34702152013778687,
0.32083484530448914,
-0.07426273822784424,
-0.42876383662223816,
-0.03800994157791138,
0.2559501528739929,
-0.07313089072704315,
0.2184460163116455,
0.003127334639430046,
-0.028349831700325012,
0.19469279050827026,
0.03300148993730545,
-0.410717248916626,
-0.15923841297626495,
-0.23573914170265198,
0.13068635761737823,
0.1672375202178955,
-0.08010352402925491,
0.3537474274635315,
-0.11188293993473053,
-0.14930561184883118,
-0.40411654114723206,
-0.2278541624546051,
0.3301379382610321,
-0.0719805359840393,
-0.05731699615716934,
-0.05296690762042999,
0.43758684396743774,
0.09465464949607849,
-0.043446097522974014,
0.14039047062397003,
-0.3532879650592804,
-0.2544419467449188,
-0.02948136068880558,
-0.13585470616817474,
0.07522452622652054,
-0.14134536683559418,
-0.42176148295402527,
-0.10671501606702805,
-0.42009928822517395,
0.06358467042446136,
0.4178259074687958,
0.040025223046541214,
0.18741285800933838,
0.13653282821178436,
-0.026746761053800583,
0.1471458524465561,
0.14770415425300598,
-0.10040006041526794,
-0.26138973236083984,
0.2261001616716385,
-0.29351845383644104,
-0.5474250912666321,
0.12744398415088654,
-0.04436400532722473,
0.12471719086170197,
0.12483644485473633,
-0.39242398738861084,
-0.26178455352783203,
0.005621584132313728,
0.0976366400718689,
-0.1082213968038559,
0.0930221825838089,
0.34131506085395813,
-0.23865807056427002,
-0.08229292184114456,
-0.16942371428012848,
0.11903993785381317,
-0.13679930567741394,
-0.39984121918678284,
0.05243764817714691,
0.18044403195381165,
0.13826985657215118,
0.12258578836917877,
0.7687304019927979,
0.3579523265361786,
0.05071539804339409,
0.36714333295822144,
-0.13817642629146576,
0.16904543340206146,
-0.24797853827476501,
-0.14265768229961395,
0.07121512293815613,
-0.09704697132110596,
0.12930814921855927,
0.15589505434036255,
0.0018558939918875694,
0.006467969622462988,
-0.3752080500125885,
0.021886996924877167,
-0.3430135250091553,
-0.3467525839805603,
-0.22391492128372192,
-0.2602979242801666,
0.20127707719802856,
0.0562705360352993,
0.2149013876914978,
-0.11821344494819641,
-0.2169910967350006,
0.4041282832622528,
0.24484218657016754,
-0.14810776710510254,
0.06915773451328278,
0.14077088236808777,
-0.01905326545238495,
-0.47246497869491577,
0.3940322995185852,
-0.014213542453944683,
0.28594735264778137,
-0.04178239405155182,
0.03580684959888458,
0.24871395528316498,
-0.06811685115098953,
0.6890001893043518,
-0.3251383900642395,
0.4206539988517761,
0.19722816348075867,
-0.04620659723877907,
-0.6607311367988586,
-0.052342578768730164,
-0.21302735805511475,
-0.33420634269714355,
0.12131047248840332,
-0.007018372416496277,
-0.26908260583877563,
0.057155873626470566,
0.15488049387931824,
0.216532900929451,
-0.20434808731079102,
0.05533304437994957,
-0.1759537160396576,
-0.26749128103256226,
-0.34432142972946167,
-0.3518785536289215,
0.03746660798788071,
0.2797243893146515,
-0.015019778162240982,
0.1489972621202469,
-0.008972447365522385,
-0.1631561517715454,
-0.28051429986953735,
-0.01928699016571045,
0.2171698808670044,
0.17147748172283173,
0.08294732868671417,
0.15888163447380066,
0.14988772571086884,
-0.19482748210430145,
0.32016509771347046,
0.20804674923419952,
-0.1252276450395584,
0.00736013799905777,
-0.04730372875928879,
-0.2837892174720764,
0.18289795517921448,
-0.19338470697402954,
0.012835294008255005,
-0.09962709248065948,
0.04641641303896904,
-0.0720033124089241,
0.20352262258529663,
0.20740175247192383,
-0.3440108001232147,
-0.2312784045934677,
-0.4038137197494507,
0.5444299578666687,
0.2526133358478546,
-0.026238009333610535,
0.3076670169830322,
-0.0009518340229988098,
-0.1902519017457962,
0.44606828689575195,
0.29583922028541565,
0.8912937045097351,
-0.13496705889701843,
0.09725052118301392,
0.26374223828315735,
-0.07677796483039856,
0.5943506360054016,
-0.539385199546814,
-0.0811295360326767,
-0.34340426325798035,
0.012268513441085815,
-0.0762893557548523,
0.07417699694633484,
0.0045426636934280396,
-0.17356635630130768,
-0.12310980260372162,
0.20475460588932037,
0.15925322473049164,
0.36479654908180237,
-0.02455669455230236,
0.2681591808795929,
0.02385896071791649,
-0.10921724140644073,
-0.13057823479175568,
0.20202752947807312,
0.021110031753778458,
0.3256053626537323,
-0.2123456597328186,
0.019462790340185165,
0.03463209047913551,
-0.2762020230293274,
-0.5661534667015076,
0.0316854752600193,
-0.18062983453273773,
0.23237282037734985,
-0.3078182339668274,
-0.5932392477989197,
0.07300198078155518,
0.2003033608198166,
0.2836861312389374,
0.07331093400716782,
-0.45861896872520447,
0.20516224205493927,
-0.19524729251861572,
-0.30883800983428955,
-0.05178342014551163,
0.13679881393909454,
0.36539116501808167,
-0.2657693028450012,
-0.07621096074581146,
0.18152055144309998,
-0.1009218841791153,
-0.15918944776058197,
-0.16515225172042847,
-0.07219110429286957,
0.3516339659690857,
0.09875086694955826,
0.21180780231952667,
-0.029997117817401886,
-0.006665332242846489,
-0.32546740770339966,
0.20649845898151398,
-0.2296016961336136,
-0.03853233531117439,
-0.03280901163816452,
0.14466999471187592,
-0.24749541282653809,
-0.12104429304599762,
0.6870856881141663,
0.053119007498025894,
-0.007951026782393456,
0.48713240027427673,
0.39574480056762695,
-0.1800927072763443,
-0.24571090936660767,
0.13401862978935242,
0.05366291105747223,
-0.4782203137874603,
-0.04549895226955414,
-0.09551884233951569,
0.33797281980514526,
-0.08265955001115799,
0.38307616114616394,
0.1347338855266571,
-0.15132707357406616,
0.05632230266928673,
-0.43892574310302734,
-0.08644168078899384,
0.040314700454473495,
-0.1971254050731659,
0.012416921555995941,
0.01858021318912506,
0.3043414056301117,
0.16142049431800842,
-0.1440286487340927,
-0.3686390519142151,
-0.02599506638944149,
-0.05674940347671509,
-0.01949186623096466,
0.27768638730049133,
0.054132796823978424,
-0.06387891620397568,
0.060974087566137314,
0.17674873769283295,
0.1514948308467865,
-0.2745378315448761,
-0.26986661553382874,
-0.12606534361839294,
0.09837121516466141,
0.0882042944431305,
-0.2828153669834137,
0.01372083742171526,
-0.19474714994430542,
-0.22129511833190918,
0.023188747465610504,
0.05395655706524849,
0.06753963232040405,
0.006267093122005463,
0.20361138880252838,
0.19104748964309692,
0.42208224534988403,
-0.4398249387741089,
0.1276291310787201,
0.09869425743818283,
0.4499656558036804,
0.07263009995222092,
0.1687944531440735,
0.13076011836528778,
-0.04233568534255028,
-0.4793455898761749,
-0.034411922097206116,
0.05279367044568062,
0.022988490760326385,
0.3434591293334961,
-0.10360030829906464,
0.055225107818841934,
0.049643512815237045,
0.39912188053131104,
0.07984769344329834,
-0.2671371400356293,
0.06489232927560806,
0.2630925178527832,
0.23748189210891724,
-0.2556936740875244,
0.11341886222362518,
0.383789986371994,
0.14390800893306732,
0.05790640786290169,
0.07956153154373169,
0.32030701637268066,
-0.12230144441127777,
0.1428871750831604,
0.1269334852695465,
0.2926531136035919,
-0.19017508625984192,
0.2066458761692047,
0.1494838148355484,
0.2561003267765045,
0.02966517023742199,
-0.0874118059873581,
0.1589432656764984,
0.17579543590545654,
0.5897730588912964,
-0.07162300497293472,
0.4057769179344177,
-0.0376361608505249,
-0.039078447967767715,
-0.015033997595310211,
-0.2731300890445709,
0.3489270508289337,
0.15392278134822845,
0.03170384466648102,
0.004697483032941818,
0.05508529022336006,
0.13377885520458221,
0.036420151591300964,
-0.0458931140601635,
-0.30149275064468384,
0.13457214832305908,
0.012365536764264107,
0.06650596857070923,
-0.5769990086555481,
-0.2979728579521179,
-0.08927673101425171,
0.09090498089790344,
0.06905714422464371,
-0.3141440749168396,
0.20752158761024475,
0.25417667627334595,
-0.27815836668014526,
-0.4329789876937866,
0.19900831580162048,
-0.010134417563676834,
0.25430217385292053,
-0.14333318173885345,
0.1692429631948471,
0.0009099692106246948,
-0.08555427193641663,
0.10171931982040405,
0.20561261475086212,
0.18727757036685944,
-0.04636333882808685,
-0.3102205693721771,
-0.17996808886528015,
0.15367670357227325,
-0.02187916822731495,
-0.19232110679149628,
0.09344092011451721,
0.018306545913219452,
0.05450291931629181,
0.4399302899837494,
0.2131347507238388,
-0.2740662395954132,
-0.16464854776859283,
0.24346259236335754,
0.2693311870098114,
-0.23131726682186127,
0.11167662590742111,
-0.21902498602867126,
-0.04243747144937515,
-0.10441811382770538,
-0.02612261474132538,
-0.4175271689891815,
0.24577227234840393,
-0.08298459649085999,
0.12693774700164795,
0.1525842547416687,
-0.24281328916549683,
0.12036724388599396,
-0.11693395674228668,
0.48905065655708313,
0.3297613561153412,
0.0657498687505722,
-0.19417054951190948,
-0.29482385516166687,
-0.47593992948532104,
0.3133857250213623,
0.03674536943435669,
-0.17811481654644012,
-0.01810138113796711,
0.15676560997962952,
-0.0471353605389595,
0.3549680709838867,
0.19838474690914154,
-0.11145173758268356,
-0.02951856330037117,
0.39748042821884155,
-0.33433911204338074,
-0.1886742264032364,
-0.04353393614292145,
-0.08595581352710724,
-0.10977566987276077,
-0.16337290406227112,
0.09954533725976944,
-0.3035081923007965,
0.14261043071746826,
-0.12880629301071167,
-0.5236305594444275,
0.241265207529068,
-0.2654019594192505,
0.4500879943370819,
-0.09616348892450333,
0.2885900139808655,
-0.14382696151733398,
-0.028656400740146637,
-0.3720549941062927,
0.0022340998984873295,
-0.24290060997009277,
0.22095343470573425,
-0.2282949686050415,
0.22918468713760376,
-0.0588226392865181,
-0.22023044526576996,
-0.2594876289367676,
0.35140159726142883,
-0.09423404932022095,
0.25702589750289917,
-0.36034896969795227,
0.13784468173980713,
-0.1802360713481903,
0.20872735977172852,
-0.021443191915750504,
0.1211920827627182,
-0.13482582569122314,
0.16443584859371185,
-0.5382938981056213,
-0.48634934425354004,
0.33037126064300537,
-0.5342556834220886,
-0.2488311529159546,
-0.05344449728727341,
0.14107291400432587,
-0.21874907612800598,
0.048074208199977875,
-0.3636198937892914,
0.22763347625732422,
0.30186375975608826,
-0.15278363227844238,
-0.04849405586719513,
0.014318476431071758,
-0.27349770069122314,
0.058432433754205704,
-0.1012425571680069,
0.30229300260543823,
0.03642696887254715,
-0.16290920972824097,
0.025372367352247238,
-0.16461770236492157
] |
https://github.com/huggingface/datasets/issues/3763 | It's not possible download `20200501.pt` dataset | > ```python
> dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
> ```
Thank you! I did not know that I can do this. I was following the example in the error message when I do not define which language dataset I'm trying to download.
I've tried something similar changing the date in the `load_dataset` call that I've shared in the bug description. Obviously, it did not work. I need to read the docs more carefully next time. My bad!
Thanks again and sorry for the noise.
| ## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect to download the dataset locally.
## Actual results
```
>>> from datasets import load_dataset
>>> dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
Downloading and preparing dataset wikipedia/20200501.pt to /home/jvanz/.cache/huggingface/datasets/wikipedia/20200501.pt/1.0.0/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475...
/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/apache_beam/__init__.py:79: UserWarning: This version of Apache Beam has not been sufficiently tested on Python 3.9. You may encounter bugs or missing features.
warnings.warn(
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 1245, in _download_and_prepare
super()._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 661, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/jvanz/.cache/huggingface/modules/datasets_modules/datasets/wikipedia/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475/wikipedia.py", line 420, in _split_generators
downloaded_files = dl_manager.download_and_extract({"info": info_url})
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 307, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 260, in map_nested
mapped = [
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 261, in <listcomp>
_single_map_nested((function, obj, types, None, True))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 196, in _single_map_nested
return function(data_struct)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 216, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 298, in cached_path
output_path = get_from_cache(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 612, in get_from_cache
raise FileNotFoundError(f"Couldn't find file at {url}")
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/ptwiki/20200501/dumpstatus.json
```
## Environment info
```
- `datasets` version: 1.18.3
- Platform: Linux-5.3.18-150300.59.49-default-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 6.0.1
``` | 85 | It's not possible download `20200501.pt` dataset
## Describe the bug
The dataset `20200501.pt` is broken.
The available datasets: https://dumps.wikimedia.org/ptwiki/
## Steps to reproduce the bug
```python
from datasets import load_dataset
dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
```
## Expected results
I expect to download the dataset locally.
## Actual results
```
>>> from datasets import load_dataset
>>> dataset = load_dataset("wikipedia", "20200501.pt", beam_runner='DirectRunner')
Downloading and preparing dataset wikipedia/20200501.pt to /home/jvanz/.cache/huggingface/datasets/wikipedia/20200501.pt/1.0.0/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475...
/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/apache_beam/__init__.py:79: UserWarning: This version of Apache Beam has not been sufficiently tested on Python 3.9. You may encounter bugs or missing features.
warnings.warn(
0%| | 0/1 [00:00<?, ?it/s]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/load.py", line 1702, in load_dataset
builder_instance.download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 594, in download_and_prepare
self._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 1245, in _download_and_prepare
super()._download_and_prepare(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/builder.py", line 661, in _download_and_prepare
split_generators = self._split_generators(dl_manager, **split_generators_kwargs)
File "/home/jvanz/.cache/huggingface/modules/datasets_modules/datasets/wikipedia/009f923d9b6dd00c00c8cdc7f408f2b47f45dd4f5fb7982a21f9448f4afbe475/wikipedia.py", line 420, in _split_generators
downloaded_files = dl_manager.download_and_extract({"info": info_url})
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 307, in download_and_extract
return self.extract(self.download(url_or_urls))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 195, in download
downloaded_path_or_paths = map_nested(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 260, in map_nested
mapped = [
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 261, in <listcomp>
_single_map_nested((function, obj, types, None, True))
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/py_utils.py", line 196, in _single_map_nested
return function(data_struct)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/download_manager.py", line 216, in _download
return cached_path(url_or_filename, download_config=download_config)
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 298, in cached_path
output_path = get_from_cache(
File "/home/jvanz/anaconda3/envs/tf-gpu/lib/python3.9/site-packages/datasets/utils/file_utils.py", line 612, in get_from_cache
raise FileNotFoundError(f"Couldn't find file at {url}")
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/ptwiki/20200501/dumpstatus.json
```
## Environment info
```
- `datasets` version: 1.18.3
- Platform: Linux-5.3.18-150300.59.49-default-x86_64-with-glibc2.31
- Python version: 3.9.7
- PyArrow version: 6.0.1
```
> ```python
> dataset = load_dataset("wikipedia", language="pt", date="20220220", beam_runner="DirectRunner")
> ```
Thank you! I did not know that I can do this. I was following the example in the error message when I do not define which language dataset I'm trying to download.
I've tried something similar changing the date in the `load_dataset` call that I've shared in the bug description. Obviously, it did not work. I need to read the docs more carefully next time. My bad!
Thanks again and sorry for the noise.
| [
-0.32233506441116333,
-0.1315496265888214,
-0.09835247695446014,
0.32115858793258667,
0.25045347213745117,
0.15006598830223083,
0.04972411319613457,
0.45896250009536743,
0.09251992404460907,
0.1612987220287323,
0.10031767189502716,
0.3547097444534302,
0.017580397427082062,
0.13518834114074707,
-0.027923792600631714,
-0.41242900490760803,
0.07415053993463516,
0.02160976082086563,
-0.19547852873802185,
0.028227247297763824,
-0.215701624751091,
0.16403675079345703,
-0.1948072612285614,
-0.19260628521442413,
-0.020950961858034134,
-0.057874903082847595,
0.1435270756483078,
-0.042119599878787994,
-0.20809617638587952,
-0.22298066318035126,
0.19634169340133667,
0.019576463848352432,
0.12848125398159027,
0.47829484939575195,
-0.00010531362931942567,
0.17540113627910614,
0.4400365948677063,
-0.029066001996397972,
-0.3724507987499237,
-0.11769212782382965,
-0.17388328909873962,
-0.1003987193107605,
0.11456870287656784,
-0.2962556779384613,
-0.17162856459617615,
-0.21446876227855682,
0.009143901988863945,
-0.23906032741069794,
0.513215959072113,
0.227469339966774,
0.32313770055770874,
0.4897460639476776,
0.387395977973938,
-0.2229723483324051,
0.434715211391449,
-0.10458049178123474,
-0.16496163606643677,
0.06506410241127014,
-0.07698722183704376,
0.224431112408638,
0.1632048785686493,
0.27182096242904663,
-0.05015648156404495,
-0.04824209585785866,
0.2512190639972687,
-0.3109745681285858,
0.08445833623409271,
-0.42666128277778625,
0.21080002188682556,
0.2650676667690277,
0.8665356040000916,
-0.18711259961128235,
-0.10754972696304321,
0.04242895543575287,
-0.05383206903934479,
0.017612295225262642,
0.22135359048843384,
0.10388139635324478,
-0.21375447511672974,
0.022476926445961,
0.08203672617673874,
-0.13473589718341827,
-0.20556479692459106,
0.24028629064559937,
-0.11671993881464005,
0.2269531637430191,
0.029934793710708618,
0.1449248045682907,
-0.19736839830875397,
-0.016467507928609848,
-0.06331387907266617,
0.04756348952651024,
0.13370947539806366,
0.08938874304294586,
-0.26782041788101196,
-0.042239028960466385,
-0.10539176315069199,
0.1117190271615982,
0.11699452251195908,
0.14544931054115295,
0.09580665826797485,
0.26176178455352783,
-0.09144018590450287,
-0.03781038522720337,
0.03419455140829086,
0.23391275107860565,
-0.19358623027801514,
-0.05072012171149254,
0.18923403322696686,
0.2287672609090805,
-0.06919305771589279,
0.0472608357667923,
0.0020271786488592625,
-0.29166892170906067,
-0.2639904022216797,
0.14769285917282104,
0.11276312172412872,
-0.07861873507499695,
-0.01839013397693634,
0.054139718413352966,
-0.22021245956420898,
-0.00482551846653223,
-0.24318662285804749,
0.2852347493171692,
-0.04872579127550125,
0.39937853813171387,
0.23448239266872406,
0.12875467538833618,
-0.22420808672904968,
-0.4861935079097748,
-0.14023303985595703,
0.1473301351070404,
-0.11063779890537262,
0.043400853872299194,
0.1618039309978485,
-0.227345809340477,
0.2579297423362732,
-0.019715318456292152,
-0.053069911897182465,
-0.025119690224528313,
-0.00873884279280901,
0.10912041366100311,
-0.10570483654737473,
0.27626556158065796,
0.25910207629203796,
0.3945353627204895,
0.04056912660598755,
0.25902295112609863,
0.0018426552414894104,
-0.02121727168560028,
-0.21658459305763245,
-0.22858180105686188,
-0.22064121067523956,
0.2521074414253235,
-0.013189742341637611,
-0.004737120121717453,
-0.22910764813423157,
0.059927135705947876,
0.0986429750919342,
-0.0805995762348175,
0.05329448729753494,
-0.1421767920255661,
-0.32161688804626465,
-0.3087879717350006,
0.4316564202308655,
0.4920247197151184,
-0.42553120851516724,
0.13960255682468414,
-0.0567280575633049,
-0.01169748604297638,
-0.08105846494436264,
-0.05701763555407524,
-0.1123933419585228,
0.3496845066547394,
-0.21929728984832764,
-0.18095137178897858,
0.206828773021698,
-0.39765065908432007,
-0.2395835816860199,
0.09062524884939194,
-0.06346902996301651,
-0.10562300682067871,
0.18405693769454956,
-0.08714774250984192,
0.1540350764989853,
0.04853282868862152,
-0.23069414496421814,
0.21104827523231506,
0.13715487718582153,
-0.047936152666807175,
-0.3818025290966034,
-0.20280157029628754,
-0.01719777286052704,
0.018991772085428238,
0.32375654578208923,
0.11464665085077286,
0.1676122546195984,
0.5691866874694824,
0.45552608370780945,
0.08321236073970795,
0.17779189348220825,
0.40130937099456787,
-0.20856080949306488,
-0.04134335368871689,
0.2671732008457184,
-0.2288278043270111,
-0.24878466129302979,
0.21875140070915222,
-0.07570849359035492,
0.034880444407463074,
0.11009523272514343,
-0.019941117614507675,
-0.6193234324455261,
0.03146911412477493,
-0.12312395870685577,
-0.20057477056980133,
0.27244532108306885,
-0.04409181326627731,
0.1745685487985611,
0.27439644932746887,
0.003963533788919449,
0.19247601926326752,
-0.08670195937156677,
0.003948911093175411,
-0.5343649387359619,
0.4087267220020294,
-0.19350285828113556,
-0.0015834597870707512,
0.06576111912727356,
0.026075709611177444,
0.40883350372314453,
-0.17055881023406982,
-0.13544690608978271,
0.2723589241504669,
-0.030447272583842278,
0.21941688656806946,
-0.1594223976135254,
0.17987048625946045,
0.23960450291633606,
-0.46094653010368347,
0.05480159819126129,
0.4481230676174164,
0.19315993785858154,
0.06782912462949753,
0.022319648414850235,
0.12407757341861725,
0.13887496292591095,
0.1711905300617218,
0.03374272584915161,
0.23317137360572815,
0.1935805380344391,
0.03283464536070824,
0.06411956995725632,
-0.19084134697914124,
0.3381064832210541,
0.434816837310791,
0.1477688103914261,
-0.28778740763664246,
0.12548893690109253,
0.17177873849868774,
0.15796823799610138,
0.00040346384048461914,
-0.14410102367401123,
-0.041202202439308167,
-0.4308422803878784,
0.032352156937122345,
0.2122805267572403,
-0.06317941844463348,
-0.07840806245803833,
0.2154165506362915,
0.16827963292598724,
0.07857342809438705,
0.04188058525323868,
-0.23457998037338257,
0.23507343232631683,
0.2690863609313965,
0.2969724237918854,
0.1277826428413391,
0.0447370707988739,
0.19640067219734192,
-0.10108332335948944,
-0.24794159829616547,
-0.0026073670014739037,
0.31324031949043274,
-0.30366069078445435,
-0.0806538462638855,
-0.406772255897522,
-0.493169903755188,
-0.34702152013778687,
0.32083484530448914,
-0.07426273822784424,
-0.42876383662223816,
-0.03800994157791138,
0.2559501528739929,
-0.07313089072704315,
0.2184460163116455,
0.003127334639430046,
-0.028349831700325012,
0.19469279050827026,
0.03300148993730545,
-0.410717248916626,
-0.15923841297626495,
-0.23573914170265198,
0.13068635761737823,
0.1672375202178955,
-0.08010352402925491,
0.3537474274635315,
-0.11188293993473053,
-0.14930561184883118,
-0.40411654114723206,
-0.2278541624546051,
0.3301379382610321,
-0.0719805359840393,
-0.05731699615716934,
-0.05296690762042999,
0.43758684396743774,
0.09465464949607849,
-0.043446097522974014,
0.14039047062397003,
-0.3532879650592804,
-0.2544419467449188,
-0.02948136068880558,
-0.13585470616817474,
0.07522452622652054,
-0.14134536683559418,
-0.42176148295402527,
-0.10671501606702805,
-0.42009928822517395,
0.06358467042446136,
0.4178259074687958,
0.040025223046541214,
0.18741285800933838,
0.13653282821178436,
-0.026746761053800583,
0.1471458524465561,
0.14770415425300598,
-0.10040006041526794,
-0.26138973236083984,
0.2261001616716385,
-0.29351845383644104,
-0.5474250912666321,
0.12744398415088654,
-0.04436400532722473,
0.12471719086170197,
0.12483644485473633,
-0.39242398738861084,
-0.26178455352783203,
0.005621584132313728,
0.0976366400718689,
-0.1082213968038559,
0.0930221825838089,
0.34131506085395813,
-0.23865807056427002,
-0.08229292184114456,
-0.16942371428012848,
0.11903993785381317,
-0.13679930567741394,
-0.39984121918678284,
0.05243764817714691,
0.18044403195381165,
0.13826985657215118,
0.12258578836917877,
0.7687304019927979,
0.3579523265361786,
0.05071539804339409,
0.36714333295822144,
-0.13817642629146576,
0.16904543340206146,
-0.24797853827476501,
-0.14265768229961395,
0.07121512293815613,
-0.09704697132110596,
0.12930814921855927,
0.15589505434036255,
0.0018558939918875694,
0.006467969622462988,
-0.3752080500125885,
0.021886996924877167,
-0.3430135250091553,
-0.3467525839805603,
-0.22391492128372192,
-0.2602979242801666,
0.20127707719802856,
0.0562705360352993,
0.2149013876914978,
-0.11821344494819641,
-0.2169910967350006,
0.4041282832622528,
0.24484218657016754,
-0.14810776710510254,
0.06915773451328278,
0.14077088236808777,
-0.01905326545238495,
-0.47246497869491577,
0.3940322995185852,
-0.014213542453944683,
0.28594735264778137,
-0.04178239405155182,
0.03580684959888458,
0.24871395528316498,
-0.06811685115098953,
0.6890001893043518,
-0.3251383900642395,
0.4206539988517761,
0.19722816348075867,
-0.04620659723877907,
-0.6607311367988586,
-0.052342578768730164,
-0.21302735805511475,
-0.33420634269714355,
0.12131047248840332,
-0.007018372416496277,
-0.26908260583877563,
0.057155873626470566,
0.15488049387931824,
0.216532900929451,
-0.20434808731079102,
0.05533304437994957,
-0.1759537160396576,
-0.26749128103256226,
-0.34432142972946167,
-0.3518785536289215,
0.03746660798788071,
0.2797243893146515,
-0.015019778162240982,
0.1489972621202469,
-0.008972447365522385,
-0.1631561517715454,
-0.28051429986953735,
-0.01928699016571045,
0.2171698808670044,
0.17147748172283173,
0.08294732868671417,
0.15888163447380066,
0.14988772571086884,
-0.19482748210430145,
0.32016509771347046,
0.20804674923419952,
-0.1252276450395584,
0.00736013799905777,
-0.04730372875928879,
-0.2837892174720764,
0.18289795517921448,
-0.19338470697402954,
0.012835294008255005,
-0.09962709248065948,
0.04641641303896904,
-0.0720033124089241,
0.20352262258529663,
0.20740175247192383,
-0.3440108001232147,
-0.2312784045934677,
-0.4038137197494507,
0.5444299578666687,
0.2526133358478546,
-0.026238009333610535,
0.3076670169830322,
-0.0009518340229988098,
-0.1902519017457962,
0.44606828689575195,
0.29583922028541565,
0.8912937045097351,
-0.13496705889701843,
0.09725052118301392,
0.26374223828315735,
-0.07677796483039856,
0.5943506360054016,
-0.539385199546814,
-0.0811295360326767,
-0.34340426325798035,
0.012268513441085815,
-0.0762893557548523,
0.07417699694633484,
0.0045426636934280396,
-0.17356635630130768,
-0.12310980260372162,
0.20475460588932037,
0.15925322473049164,
0.36479654908180237,
-0.02455669455230236,
0.2681591808795929,
0.02385896071791649,
-0.10921724140644073,
-0.13057823479175568,
0.20202752947807312,
0.021110031753778458,
0.3256053626537323,
-0.2123456597328186,
0.019462790340185165,
0.03463209047913551,
-0.2762020230293274,
-0.5661534667015076,
0.0316854752600193,
-0.18062983453273773,
0.23237282037734985,
-0.3078182339668274,
-0.5932392477989197,
0.07300198078155518,
0.2003033608198166,
0.2836861312389374,
0.07331093400716782,
-0.45861896872520447,
0.20516224205493927,
-0.19524729251861572,
-0.30883800983428955,
-0.05178342014551163,
0.13679881393909454,
0.36539116501808167,
-0.2657693028450012,
-0.07621096074581146,
0.18152055144309998,
-0.1009218841791153,
-0.15918944776058197,
-0.16515225172042847,
-0.07219110429286957,
0.3516339659690857,
0.09875086694955826,
0.21180780231952667,
-0.029997117817401886,
-0.006665332242846489,
-0.32546740770339966,
0.20649845898151398,
-0.2296016961336136,
-0.03853233531117439,
-0.03280901163816452,
0.14466999471187592,
-0.24749541282653809,
-0.12104429304599762,
0.6870856881141663,
0.053119007498025894,
-0.007951026782393456,
0.48713240027427673,
0.39574480056762695,
-0.1800927072763443,
-0.24571090936660767,
0.13401862978935242,
0.05366291105747223,
-0.4782203137874603,
-0.04549895226955414,
-0.09551884233951569,
0.33797281980514526,
-0.08265955001115799,
0.38307616114616394,
0.1347338855266571,
-0.15132707357406616,
0.05632230266928673,
-0.43892574310302734,
-0.08644168078899384,
0.040314700454473495,
-0.1971254050731659,
0.012416921555995941,
0.01858021318912506,
0.3043414056301117,
0.16142049431800842,
-0.1440286487340927,
-0.3686390519142151,
-0.02599506638944149,
-0.05674940347671509,
-0.01949186623096466,
0.27768638730049133,
0.054132796823978424,
-0.06387891620397568,
0.060974087566137314,
0.17674873769283295,
0.1514948308467865,
-0.2745378315448761,
-0.26986661553382874,
-0.12606534361839294,
0.09837121516466141,
0.0882042944431305,
-0.2828153669834137,
0.01372083742171526,
-0.19474714994430542,
-0.22129511833190918,
0.023188747465610504,
0.05395655706524849,
0.06753963232040405,
0.006267093122005463,
0.20361138880252838,
0.19104748964309692,
0.42208224534988403,
-0.4398249387741089,
0.1276291310787201,
0.09869425743818283,
0.4499656558036804,
0.07263009995222092,
0.1687944531440735,
0.13076011836528778,
-0.04233568534255028,
-0.4793455898761749,
-0.034411922097206116,
0.05279367044568062,
0.022988490760326385,
0.3434591293334961,
-0.10360030829906464,
0.055225107818841934,
0.049643512815237045,
0.39912188053131104,
0.07984769344329834,
-0.2671371400356293,
0.06489232927560806,
0.2630925178527832,
0.23748189210891724,
-0.2556936740875244,
0.11341886222362518,
0.383789986371994,
0.14390800893306732,
0.05790640786290169,
0.07956153154373169,
0.32030701637268066,
-0.12230144441127777,
0.1428871750831604,
0.1269334852695465,
0.2926531136035919,
-0.19017508625984192,
0.2066458761692047,
0.1494838148355484,
0.2561003267765045,
0.02966517023742199,
-0.0874118059873581,
0.1589432656764984,
0.17579543590545654,
0.5897730588912964,
-0.07162300497293472,
0.4057769179344177,
-0.0376361608505249,
-0.039078447967767715,
-0.015033997595310211,
-0.2731300890445709,
0.3489270508289337,
0.15392278134822845,
0.03170384466648102,
0.004697483032941818,
0.05508529022336006,
0.13377885520458221,
0.036420151591300964,
-0.0458931140601635,
-0.30149275064468384,
0.13457214832305908,
0.012365536764264107,
0.06650596857070923,
-0.5769990086555481,
-0.2979728579521179,
-0.08927673101425171,
0.09090498089790344,
0.06905714422464371,
-0.3141440749168396,
0.20752158761024475,
0.25417667627334595,
-0.27815836668014526,
-0.4329789876937866,
0.19900831580162048,
-0.010134417563676834,
0.25430217385292053,
-0.14333318173885345,
0.1692429631948471,
0.0009099692106246948,
-0.08555427193641663,
0.10171931982040405,
0.20561261475086212,
0.18727757036685944,
-0.04636333882808685,
-0.3102205693721771,
-0.17996808886528015,
0.15367670357227325,
-0.02187916822731495,
-0.19232110679149628,
0.09344092011451721,
0.018306545913219452,
0.05450291931629181,
0.4399302899837494,
0.2131347507238388,
-0.2740662395954132,
-0.16464854776859283,
0.24346259236335754,
0.2693311870098114,
-0.23131726682186127,
0.11167662590742111,
-0.21902498602867126,
-0.04243747144937515,
-0.10441811382770538,
-0.02612261474132538,
-0.4175271689891815,
0.24577227234840393,
-0.08298459649085999,
0.12693774700164795,
0.1525842547416687,
-0.24281328916549683,
0.12036724388599396,
-0.11693395674228668,
0.48905065655708313,
0.3297613561153412,
0.0657498687505722,
-0.19417054951190948,
-0.29482385516166687,
-0.47593992948532104,
0.3133857250213623,
0.03674536943435669,
-0.17811481654644012,
-0.01810138113796711,
0.15676560997962952,
-0.0471353605389595,
0.3549680709838867,
0.19838474690914154,
-0.11145173758268356,
-0.02951856330037117,
0.39748042821884155,
-0.33433911204338074,
-0.1886742264032364,
-0.04353393614292145,
-0.08595581352710724,
-0.10977566987276077,
-0.16337290406227112,
0.09954533725976944,
-0.3035081923007965,
0.14261043071746826,
-0.12880629301071167,
-0.5236305594444275,
0.241265207529068,
-0.2654019594192505,
0.4500879943370819,
-0.09616348892450333,
0.2885900139808655,
-0.14382696151733398,
-0.028656400740146637,
-0.3720549941062927,
0.0022340998984873295,
-0.24290060997009277,
0.22095343470573425,
-0.2282949686050415,
0.22918468713760376,
-0.0588226392865181,
-0.22023044526576996,
-0.2594876289367676,
0.35140159726142883,
-0.09423404932022095,
0.25702589750289917,
-0.36034896969795227,
0.13784468173980713,
-0.1802360713481903,
0.20872735977172852,
-0.021443191915750504,
0.1211920827627182,
-0.13482582569122314,
0.16443584859371185,
-0.5382938981056213,
-0.48634934425354004,
0.33037126064300537,
-0.5342556834220886,
-0.2488311529159546,
-0.05344449728727341,
0.14107291400432587,
-0.21874907612800598,
0.048074208199977875,
-0.3636198937892914,
0.22763347625732422,
0.30186375975608826,
-0.15278363227844238,
-0.04849405586719513,
0.014318476431071758,
-0.27349770069122314,
0.058432433754205704,
-0.1012425571680069,
0.30229300260543823,
0.03642696887254715,
-0.16290920972824097,
0.025372367352247238,
-0.16461770236492157
] |
https://github.com/huggingface/datasets/issues/3762 | `Dataset.class_encode` should support custom class names | Hi @Dref360, thanks a lot for your proposal.
It totally makes sense to have more flexibility when class encoding, I agree.
You could even further customize the class encoding by passing an instance of `ClassLabel` itself (instead of replicating `ClassLabel` instantiation arguments as `Dataset.class_encode_column` arguments).
And the latter made me think of `Dataset.cast_column`...
Maybe better to have some others' opinions @lhoestq @mariosasko | I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L1235
**Describe the solution you'd like**
I would like to add a **optional** parameter `class_names` to `class_encode_column` that would be used for the mapping instead of sorting the unique values.
**Describe alternatives you've considered**
One can use map instead. I find it harder to read.
```python
CLASS_NAMES = ['apple', 'orange', 'potato']
ds = ds.map(lambda item: CLASS_NAMES.index(item[label_column]))
# Proposition
ds = ds.class_encode_column(label_column, CLASS_NAMES)
```
**Additional context**
I can make the PR if this feature is accepted.
| 62 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L1235
**Describe the solution you'd like**
I would like to add a **optional** parameter `class_names` to `class_encode_column` that would be used for the mapping instead of sorting the unique values.
**Describe alternatives you've considered**
One can use map instead. I find it harder to read.
```python
CLASS_NAMES = ['apple', 'orange', 'potato']
ds = ds.map(lambda item: CLASS_NAMES.index(item[label_column]))
# Proposition
ds = ds.class_encode_column(label_column, CLASS_NAMES)
```
**Additional context**
I can make the PR if this feature is accepted.
Hi @Dref360, thanks a lot for your proposal.
It totally makes sense to have more flexibility when class encoding, I agree.
You could even further customize the class encoding by passing an instance of `ClassLabel` itself (instead of replicating `ClassLabel` instantiation arguments as `Dataset.class_encode_column` arguments).
And the latter made me think of `Dataset.cast_column`...
Maybe better to have some others' opinions @lhoestq @mariosasko | [
0.21428190171718597,
0.11984619498252869,
0.03736736252903938,
0.15226009488105774,
0.4958590269088745,
0.25225338339805603,
0.27032986283302307,
0.11935608088970184,
-0.00805065967142582,
0.1555159091949463,
0.09971427172422409,
0.6819631457328796,
-0.20788651704788208,
0.15024282038211823,
-0.001954595558345318,
-0.3815779387950897,
-0.07693993300199509,
0.1150636076927185,
0.038273174315690994,
-0.12663795053958893,
-0.5918617844581604,
0.08436216413974762,
-0.04311694577336311,
-0.04885654151439667,
0.21263575553894043,
0.1786666363477707,
-0.14443573355674744,
-0.03756985068321228,
-0.10104576498270035,
-0.4944472014904022,
0.2601310908794403,
0.32197821140289307,
0.06034271419048309,
0.16792485117912292,
-0.00011326825188007206,
-0.14588689804077148,
0.048434220254421234,
-0.12109822779893875,
-0.29652512073516846,
-0.13772498071193695,
-0.31888723373413086,
-0.11789332330226898,
-0.03663200885057449,
-0.4444142282009125,
-0.3508874177932739,
-0.2777611017227173,
-0.06854047626256943,
-0.4826301038265228,
0.08361779153347015,
-0.00563819007948041,
0.19045493006706238,
-0.15491876006126404,
0.003002062439918518,
-0.027086513116955757,
0.20879003405570984,
0.09959573298692703,
-0.2746998965740204,
0.10027027130126953,
0.11715485155582428,
0.43350130319595337,
0.08930972218513489,
0.2528912127017975,
0.15273037552833557,
-0.18658092617988586,
0.26003867387771606,
0.09291340410709381,
0.06686186045408249,
-0.1332463175058365,
-0.02247488871216774,
0.2461071014404297,
0.5489941835403442,
-0.3130011260509491,
-0.5099372267723083,
-0.21499544382095337,
0.3963841199874878,
-0.5658677220344543,
0.14756087958812714,
-0.12613517045974731,
0.11608803272247314,
0.14337554574012756,
0.0894639864563942,
0.15095768868923187,
-0.18225041031837463,
0.24161472916603088,
0.0609135776758194,
0.3853321373462677,
0.03514041379094124,
0.0758771151304245,
-0.06906978785991669,
-0.372162401676178,
0.17570608854293823,
-0.1181851178407669,
0.09373913705348969,
0.37264299392700195,
-0.14084620773792267,
-0.39409738779067993,
-0.23463767766952515,
0.04292207956314087,
-0.05425310134887695,
-0.0465405210852623,
-0.2172234058380127,
0.18377557396888733,
0.10839267820119858,
-0.1563538908958435,
-0.03537053242325783,
0.23267054557800293,
0.4786261022090912,
0.5048440098762512,
0.052227798849344254,
-0.18823565542697906,
-0.05745646357536316,
0.03404857963323593,
-0.19475403428077698,
-0.010783443227410316,
0.0705341249704361,
0.10087551921606064,
-0.21212823688983917,
-0.027098216116428375,
0.0258330125361681,
0.04093402624130249,
-0.11942027509212494,
-0.12764614820480347,
0.28208306431770325,
0.2562931180000305,
0.2157822698354721,
-0.08010025322437286,
0.04815521836280823,
-0.015871301293373108,
0.26053985953330994,
-0.06192735955119133,
-0.0008738026954233646,
-0.2853645384311676,
-0.045469604432582855,
0.3137902319431305,
0.14920811355113983,
0.16045604646205902,
0.13215291500091553,
0.04992623254656792,
0.1381319761276245,
0.038592398166656494,
0.0935085266828537,
0.2491881400346756,
0.3018965423107147,
-0.011032160371541977,
-0.5371091961860657,
0.1373354196548462,
0.10460849106311798,
-0.1213584691286087,
-0.3480391800403595,
0.0585930235683918,
-0.3317868113517761,
-0.2726188004016876,
-0.21261243522167206,
0.1371525675058365,
0.07655861973762512,
-0.2250649631023407,
-0.02374207228422165,
0.1588519960641861,
0.14730513095855713,
-0.22102265059947968,
0.26158955693244934,
-0.10965186357498169,
-0.057778067886829376,
-0.12296543270349503,
-0.07518628239631653,
0.04543917626142502,
-0.1781572550535202,
-0.2752508521080017,
0.009131647646427155,
0.32258105278015137,
-0.052545152604579926,
-0.023152265697717667,
-0.1682669222354889,
-0.2019844949245453,
-0.00019777566194534302,
0.13496632874011993,
0.408804327249527,
-0.5234546661376953,
-0.33481529355049133,
0.2049255669116974,
0.029663793742656708,
-0.16501590609550476,
0.4003221094608307,
0.39301708340644836,
0.2978954315185547,
-0.1434648036956787,
0.04548816382884979,
0.08480960130691528,
0.08334506303071976,
-0.046175841242074966,
0.05408569052815437,
-0.10363554209470749,
0.1421428918838501,
0.31450480222702026,
-0.3679450750350952,
-0.059260137379169464,
-0.07269658893346786,
-0.35288095474243164,
0.12032132595777512,
-0.5228549242019653,
-0.051008738577365875,
0.19548460841178894,
0.15236392617225647,
0.22602565586566925,
0.21935847401618958,
-0.18027135729789734,
-0.40453505516052246,
0.27227386832237244,
0.002698894590139389,
-0.028892390429973602,
-0.37098991870880127,
-0.583052396774292,
0.15478515625,
-0.20228460431098938,
-0.2566605508327484,
0.16152812540531158,
0.10739719867706299,
-0.21758407354354858,
0.060730453580617905,
-0.18562492728233337,
-0.2682822048664093,
0.13652321696281433,
-0.44094347953796387,
0.14653700590133667,
-0.10919356346130371,
-0.04155764728784561,
0.1466790735721588,
0.15499141812324524,
-0.2915008068084717,
0.2358945608139038,
0.2502424418926239,
-0.19702115654945374,
-0.1352432370185852,
0.17578598856925964,
0.02491001784801483,
-0.41581982374191284,
0.06423621624708176,
0.07408873736858368,
0.17322736978530884,
-0.21162377297878265,
0.06439106166362762,
0.03935672342777252,
-0.05005793273448944,
0.022307850420475006,
-0.5379953384399414,
0.8190425634384155,
0.02966337651014328,
0.3371780812740326,
-0.01688932254910469,
-0.09647436439990997,
0.19899378716945648,
-0.11573778092861176,
-0.3960905075073242,
-0.4436717629432678,
-0.03993447497487068,
-0.0360511839389801,
0.31983017921447754,
0.017556902021169662,
-0.4070631265640259,
-0.04698740690946579,
0.5263600945472717,
-0.08615608513355255,
0.1677934229373932,
-0.005196012556552887,
0.02210598811507225,
0.33831003308296204,
0.2012287974357605,
0.4741468131542206,
0.4069932699203491,
0.30240172147750854,
-0.10707136988639832,
-0.1383659988641739,
-0.13914251327514648,
0.07617130875587463,
0.24655282497406006,
-0.0011081099510192871,
-0.006561709102243185,
-0.0556354895234108,
0.12616588175296783,
0.04523180425167084,
-0.3460567891597748,
-0.18960876762866974,
0.23336102068424225,
-0.24770617485046387,
-0.2712043523788452,
0.019774487242102623,
-0.1890385001897812,
-0.17764905095100403,
-0.19334851205348969,
-0.251446008682251,
-0.09394420683383942,
-0.0773807093501091,
0.16676397621631622,
-0.3894663155078888,
-0.1566295176744461,
0.33225059509277344,
-0.22054629027843475,
0.248765230178833,
-0.018299534916877747,
-0.7132539749145508,
0.14431066811084747,
-0.045563872903585434,
-0.021820083260536194,
0.004472266882658005,
-0.1761297732591629,
-0.17110992968082428,
0.4380055367946625,
0.0675215795636177,
0.10567683726549149,
-0.20569416880607605,
-0.639149010181427,
-0.05140189826488495,
-0.25227659940719604,
-0.012753011658787727,
0.16073524951934814,
-0.18842042982578278,
-0.13462424278259277,
-0.20615579187870026,
0.2510630488395691,
0.1966370791196823,
-0.07538525015115738,
-0.11153261363506317,
0.09583872556686401,
-0.12653306126594543,
-0.20704500377178192,
-0.407789945602417,
-0.203083336353302,
-0.22222410142421722,
0.08422110974788666,
0.07062886655330658,
0.19269202649593353,
-0.15023182332515717,
-0.11043011397123337,
0.04904237017035484,
0.1959957331418991,
-0.017976514995098114,
-0.21379119157791138,
-0.07812335342168808,
0.48570379614830017,
-0.44903233647346497,
0.09041272103786469,
-0.19799870252609253,
-0.2750656008720398,
0.08442679047584534,
-0.04685332626104355,
0.03376881033182144,
-0.324455201625824,
-0.1313101351261139,
0.41662657260894775,
0.08637428283691406,
0.05958746373653412,
0.31952357292175293,
0.43797263503074646,
-0.023547085002064705,
-0.13011285662651062,
-0.34062743186950684,
-0.006324991583824158,
0.31737399101257324,
0.23426055908203125,
0.2345585823059082,
0.6384070515632629,
-0.10622668266296387,
0.6462867259979248,
0.0792347639799118,
-0.20542748272418976,
0.2693180739879608,
0.06887263059616089,
0.18105857074260712,
0.00836501270532608,
-0.15034447610378265,
-0.2884036898612976,
0.08648312091827393,
0.22747687995433807,
0.17937006056308746,
0.13103289902210236,
-0.23794935643672943,
0.1531715989112854,
0.3449418544769287,
-0.04450519382953644,
-0.18964344263076782,
0.15277695655822754,
0.0027108602225780487,
0.1512121707201004,
-0.23654291033744812,
0.12147236615419388,
-0.46346211433410645,
-0.15555250644683838,
0.06259790062904358,
-0.0070442333817481995,
-0.24169966578483582,
-0.16174867749214172,
-0.19896693527698517,
-0.15618324279785156,
-0.13771158456802368,
0.27320265769958496,
0.27456820011138916,
-0.003253137692809105,
0.0382903628051281,
0.18026724457740784,
0.2572949230670929,
0.12306518852710724,
0.5576581358909607,
-0.466989129781723,
-0.24795804917812347,
0.22760574519634247,
0.08034193515777588,
-0.22846227884292603,
0.17552413046360016,
-0.0926724225282669,
0.11825674027204514,
-0.11231750249862671,
0.18937578797340393,
-0.3433390259742737,
-0.3160596489906311,
0.4696248769760132,
0.07451479882001877,
-0.23744238913059235,
-0.34022024273872375,
0.037369150668382645,
-0.08033714443445206,
0.07796336710453033,
0.09952975064516068,
0.29329612851142883,
0.2502279281616211,
-0.022726893424987793,
-0.08566871285438538,
-0.171674907207489,
-0.13468903303146362,
0.21956175565719604,
-0.008382275700569153,
0.026497434824705124,
0.4301478862762451,
0.2649892270565033,
0.05359891057014465,
0.03763694316148758,
0.15137504041194916,
0.6257619857788086,
-0.3463912010192871,
-0.5766127705574036,
-0.3386728763580322,
-0.34743085503578186,
0.4388117790222168,
0.33722448348999023,
-0.03686770051717758,
0.19197866320610046,
-0.09027142077684402,
-0.07556653022766113,
-0.21118174493312836,
-0.24660027027130127,
0.3402823805809021,
-0.09727248549461365,
-0.5199818015098572,
-0.4400399625301361,
0.8224515318870544,
0.03995770215988159,
-0.2888568937778473,
0.4297606348991394,
0.41130363941192627,
-0.7420065402984619,
0.3395957350730896,
0.28362035751342773,
0.8213863968849182,
-0.02609500288963318,
0.21814145147800446,
-0.1230793371796608,
-0.20135191082954407,
0.3889385163784027,
0.44607847929000854,
0.2987995743751526,
-0.29179662466049194,
-0.19669967889785767,
-0.05559340864419937,
0.0921328216791153,
0.2845471501350403,
0.4342535734176636,
-0.19037216901779175,
0.32793086767196655,
-0.20102213323116302,
0.0290048997849226,
-0.18827663362026215,
0.16958588361740112,
0.018784059211611748,
-0.44131898880004883,
-0.1961878538131714,
0.12124693393707275,
0.243122398853302,
-0.24218329787254333,
-0.020210057497024536,
-0.17088714241981506,
0.0705895870923996,
-0.1235569566488266,
-0.019981935620307922,
-0.18406721949577332,
-0.18475234508514404,
0.08820676803588867,
0.01475871168076992,
-0.2571646273136139,
0.49542734026908875,
0.3048216998577118,
0.2996881604194641,
0.20575839281082153,
-0.0778561532497406,
0.19555556774139404,
0.1574322134256363,
0.4113330841064453,
-0.15282577276229858,
-0.019827034324407578,
0.3098897635936737,
0.2164800763130188,
0.1380372941493988,
-0.0172644704580307,
0.20290666818618774,
-0.5788192749023438,
-0.16222329437732697,
-0.1324893981218338,
0.3844148516654968,
-0.3914908170700073,
0.05047939345240593,
-0.09110589325428009,
-0.08297031372785568,
-0.21111471951007843,
0.1424376517534256,
-0.08265239000320435,
-0.10862398147583008,
0.15468871593475342,
-0.06043858453631401,
-0.04179023578763008,
0.0036463122814893723,
0.2827925682067871,
0.22496452927589417,
0.03195919841527939,
0.4441242814064026,
-0.1089465394616127,
-0.11722376942634583,
-0.21097540855407715,
0.18734613060951233,
0.2736063003540039,
-0.3744889795780182,
0.2433527112007141,
0.4055209159851074,
0.026938244700431824,
0.08133406937122345,
0.03586709126830101,
0.1885356307029724,
0.18478383123874664,
-0.1860923171043396,
0.22387012839317322,
-0.26489824056625366,
0.09960409998893738,
0.454729825258255,
0.5195061564445496,
-0.35005977749824524,
-0.01293758861720562,
-0.18309210240840912,
-0.0738697275519371,
-0.326428085565567,
0.1730874627828598,
-0.060203373432159424,
0.10980985313653946,
0.28608575463294983,
0.5301567912101746,
0.12591932713985443,
0.16032318770885468,
0.17032770812511444,
-0.1296727955341339,
-0.07879742234945297,
-0.1781088411808014,
-0.26631495356559753,
0.10838017612695694,
0.13497045636177063,
0.318066269159317,
-0.11959117650985718,
-0.4029645323753357,
-0.06853167712688446,
-0.30268561840057373,
0.069691002368927,
0.17498111724853516,
0.03881493955850601,
0.31100067496299744,
0.1368965208530426,
0.07987504452466965,
0.03424564749002457,
0.0877724289894104,
-0.13489790260791779,
0.12455709278583527,
0.18676063418388367,
0.12028800696134567,
-0.14162135124206543,
0.07604120671749115,
0.021100910380482674,
0.09751473367214203,
-0.06725382804870605,
-0.32931724190711975,
0.1826694905757904,
-0.2820989489555359,
-0.009789131581783295,
0.5578944683074951,
0.11670124530792236,
0.1421779990196228,
-0.23908056318759918,
-0.2876552641391754,
0.3592207729816437,
0.17313189804553986,
-0.21526052057743073,
-0.23405687510967255,
0.06670783460140228,
0.07759787887334824,
0.1738833636045456,
0.3720023036003113,
0.04521616920828819,
0.12153434753417969,
0.12248674035072327,
-0.31980273127555847,
0.26495471596717834,
-0.18219533562660217,
0.41848066449165344,
0.29070034623146057,
0.08376270532608032,
-0.035744573920965195,
0.510641872882843,
0.14575694501399994,
0.17442141473293304,
0.2278391718864441,
-0.05097993463277817,
0.16994573175907135,
0.14800795912742615,
0.1270163357257843,
0.07644227147102356,
0.21055203676223755,
0.3488152027130127,
0.09038840234279633,
0.055742621421813965,
0.3655651807785034,
0.2690054774284363,
0.14996901154518127,
-0.42723390460014343,
-0.1963186413049698,
-0.24471023678779602,
0.0023029930889606476,
0.0031790882349014282,
-0.28171807527542114,
-0.13281433284282684,
-0.1007886454463005,
0.03836487978696823,
-0.19423100352287292,
-0.29161134362220764,
-0.3837640881538391,
0.20787817239761353,
-0.05760778486728668,
0.29983314871788025,
-0.5084845423698425,
-0.05047836899757385,
-0.11614420264959335,
0.5494153499603271,
-0.09407509863376617,
0.12326958030462265,
0.05084822699427605,
0.09520407766103745,
0.3284400403499603,
-0.14237147569656372,
-0.1642005443572998,
0.11910169571638107,
-0.03267671912908554,
-0.14509616792201996,
-0.05179372802376747,
-0.012485971674323082,
0.07174167037010193,
0.036878034472465515,
-0.2093183994293213,
-0.1741160899400711,
0.16222181916236877,
0.13492634892463684,
-0.2068624347448349,
-0.036689434200525284,
0.1890724003314972,
0.3788636028766632,
-0.18934451043605804,
0.45958176255226135,
0.05522622913122177,
-0.1539686769247055,
-0.07411596924066544,
-0.1329212486743927,
-0.08491332083940506,
-0.17431539297103882,
0.17480701208114624,
-0.07355893403291702,
-0.12309246510267258,
0.13219645619392395,
0.08767670392990112,
0.02175155095756054,
0.19933761656284332,
0.10317331552505493,
-0.27111899852752686,
-0.1646811068058014,
0.03101550042629242,
-0.22191058099269867,
0.04458484798669815,
0.10043066740036011,
-0.29117321968078613,
0.19911858439445496,
0.10406801849603653,
0.21238136291503906,
-0.2031181901693344,
0.0925174206495285,
-0.4745559096336365,
0.006919615902006626,
0.14709365367889404,
-0.20250347256660461,
-0.041131239384412766,
0.2666662037372589,
0.18182939291000366,
-0.02035137638449669,
-0.24138328433036804,
-0.21417643129825592,
0.11017458140850067,
-0.11072003096342087,
-0.30521106719970703,
0.3355003893375397,
-0.013016949407756329,
-0.2916562855243683,
0.39825674891471863,
-0.13143950700759888,
0.33423638343811035,
0.15381458401679993,
-0.0672752633690834,
0.32461586594581604,
-0.20811337232589722,
-0.2507905960083008,
0.46996253728866577,
0.11464625597000122,
0.3958507180213928,
-0.001986970193684101,
-0.34356123208999634,
-0.06268260627985,
0.036962538957595825,
-0.008019872009754181,
0.13580332696437836,
-0.1609821915626526,
0.4387698769569397,
-0.1639513075351715,
-0.161701500415802,
-0.06467491388320923,
0.06209573149681091,
0.08702171593904495,
0.2554236948490143,
0.2145739048719406,
-0.4991481602191925,
0.28061559796333313,
-0.5358148217201233,
-0.23945792019367218,
0.21094325184822083,
0.257124662399292,
0.03813236951828003,
0.1507391482591629,
-0.21638676524162292,
0.04875610023736954,
0.3981359302997589,
-0.08223497122526169,
-0.17918477952480316,
0.3209508955478668,
0.024978699162602425,
-0.010742750018835068,
-0.1062200665473938,
0.06442729383707047,
-0.04453571140766144,
0.06953150779008865,
-0.31314802169799805,
-0.3263742923736572
] |
https://github.com/huggingface/datasets/issues/3762 | `Dataset.class_encode` should support custom class names | Hi @Dref360! You can use [`Dataset.align_labels_with_mapping`](https://huggingface.co/docs/datasets/master/package_reference/main_classes.html#datasets.Dataset.align_labels_with_mapping) after `Dataset.class_encode_column` to assign a different mapping of labels to ids.
@albertvillanova I'd like to avoid adding more complexity to the API where it's not (absolutely) needed, so I don't think introducing a new param in `Dataset.class_encode_column` is a good idea.
| I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L1235
**Describe the solution you'd like**
I would like to add a **optional** parameter `class_names` to `class_encode_column` that would be used for the mapping instead of sorting the unique values.
**Describe alternatives you've considered**
One can use map instead. I find it harder to read.
```python
CLASS_NAMES = ['apple', 'orange', 'potato']
ds = ds.map(lambda item: CLASS_NAMES.index(item[label_column]))
# Proposition
ds = ds.class_encode_column(label_column, CLASS_NAMES)
```
**Additional context**
I can make the PR if this feature is accepted.
| 47 | `Dataset.class_encode` should support custom class names
I can make a PR, just wanted approval before starting.
**Is your feature request related to a problem? Please describe.**
It is often the case that classes are not ordered in alphabetical order. Current `class_encode_column` sort the classes before indexing.
https://github.com/huggingface/datasets/blob/master/src/datasets/arrow_dataset.py#L1235
**Describe the solution you'd like**
I would like to add a **optional** parameter `class_names` to `class_encode_column` that would be used for the mapping instead of sorting the unique values.
**Describe alternatives you've considered**
One can use map instead. I find it harder to read.
```python
CLASS_NAMES = ['apple', 'orange', 'potato']
ds = ds.map(lambda item: CLASS_NAMES.index(item[label_column]))
# Proposition
ds = ds.class_encode_column(label_column, CLASS_NAMES)
```
**Additional context**
I can make the PR if this feature is accepted.
Hi @Dref360! You can use [`Dataset.align_labels_with_mapping`](https://huggingface.co/docs/datasets/master/package_reference/main_classes.html#datasets.Dataset.align_labels_with_mapping) after `Dataset.class_encode_column` to assign a different mapping of labels to ids.
@albertvillanova I'd like to avoid adding more complexity to the API where it's not (absolutely) needed, so I don't think introducing a new param in `Dataset.class_encode_column` is a good idea.
| [
0.19947408139705658,
-0.01150868833065033,
0.05015478655695915,
0.10149215161800385,
0.36114442348480225,
0.2609221637248993,
0.21678824722766876,
0.025550466030836105,
0.08183914422988892,
0.11730652302503586,
0.00869697704911232,
0.6595107316970825,
-0.169237419962883,
0.12703317403793335,
0.04716397076845169,
-0.3817208409309387,
-0.08017464727163315,
0.06983888149261475,
0.196708083152771,
-0.03490711748600006,
-0.6529198884963989,
0.15425992012023926,
0.02377605438232422,
-0.08820097148418427,
0.21933868527412415,
0.09266066551208496,
-0.13807468116283417,
0.028509069234132767,
-0.02510332502424717,
-0.5012537837028503,
0.2955208122730255,
0.367763489484787,
-0.030214790254831314,
0.15864837169647217,
-0.00011642970639513806,
-0.15924564003944397,
-0.03900747746229172,
-0.14225606620311737,
-0.23307731747627258,
-0.281261682510376,
-0.2510818839073181,
-0.0613144114613533,
-0.00788566842675209,
-0.37405818700790405,
-0.38515859842300415,
-0.27509933710098267,
-0.05122999846935272,
-0.377249151468277,
0.13442106544971466,
-0.03150121867656708,
0.15649639070034027,
-0.12786635756492615,
0.0498935766518116,
-0.11757846921682358,
0.12492375075817108,
0.11010721325874329,
-0.19568154215812683,
0.1239767074584961,
0.1516651213169098,
0.3846850097179413,
0.14210465550422668,
0.3117636740207672,
0.12451674044132233,
-0.16642458736896515,
0.40472519397735596,
0.07383076846599579,
0.052212223410606384,
-0.06299109011888504,
-0.04515229910612106,
0.17543308436870575,
0.4312141239643097,
-0.3508842885494232,
-0.5304560661315918,
-0.29707980155944824,
0.3410783112049103,
-0.6122490763664246,
0.0023101195693016052,
-0.15417280793190002,
0.15181297063827515,
0.12897834181785583,
0.08224132657051086,
0.060707416385412216,
-0.16960594058036804,
0.27518367767333984,
0.1457081437110901,
0.33692556619644165,
0.002326225396245718,
0.06574307382106781,
0.02137264981865883,
-0.4121971130371094,
-0.062126364558935165,
0.028197970241308212,
0.12315784394741058,
0.43074437975883484,
-0.12759509682655334,
-0.3845303952693939,
-0.2077280879020691,
0.05509733408689499,
-0.007402205839753151,
-0.013123933225870132,
-0.20829547941684723,
0.15975669026374817,
0.08430766314268112,
-0.16499191522598267,
-0.05537575110793114,
0.3089485764503479,
0.49098116159439087,
0.5153470039367676,
-0.011145032942295074,
-0.05449778214097023,
-0.021595867350697517,
0.04458140954375267,
-0.12056358903646469,
0.03532109782099724,
0.0434342660009861,
0.04687624052166939,
-0.13351500034332275,
-0.0627342090010643,
-0.02737623080611229,
0.027360141277313232,
-0.11422067135572433,
-0.04040427878499031,
0.27799245715141296,
0.3559277355670929,
0.235469788312912,
-0.17156144976615906,
0.1534448266029358,
0.03533225134015083,
0.2233296036720276,
0.028096426278352737,
0.0010066102258861065,
-0.25481340289115906,
0.008728589862585068,
0.41881370544433594,
0.17248499393463135,
0.11524435877799988,
0.20614132285118103,
0.034504104405641556,
0.031394876539707184,
0.05399986356496811,
0.07856984436511993,
0.3354119658470154,
0.32905587553977966,
0.015728086233139038,
-0.46705591678619385,
0.1688409000635147,
0.09235438704490662,
-0.2490220069885254,
-0.37541288137435913,
-0.044244639575481415,
-0.3989103436470032,
-0.34588342905044556,
-0.16581185162067413,
0.12053705751895905,
0.0915282815694809,
-0.28434208035469055,
0.0025378838181495667,
0.23759961128234863,
0.17152908444404602,
-0.19841741025447845,
0.25955653190612793,
-0.017418965697288513,
-0.1553354412317276,
-0.11060239374637604,
-0.1657954603433609,
0.16008353233337402,
-0.0977770984172821,
-0.42723721265792847,
0.038539819419384,
0.3133598566055298,
-0.10178085416555405,
0.010694172233343124,
-0.07378244400024414,
-0.2740502655506134,
0.006626566872000694,
0.060507506132125854,
0.25858765840530396,
-0.6207506060600281,
-0.30501386523246765,
0.1470889002084732,
-0.04045607149600983,
-0.12624968588352203,
0.3811632990837097,
0.399444043636322,
0.23661182820796967,
-0.12765616178512573,
0.26275634765625,
-0.10321526229381561,
0.15159058570861816,
-0.04368625581264496,
0.09093774855136871,
-0.06661269068717957,
0.020277438685297966,
0.3606598675251007,
-0.4370359778404236,
-0.054747216403484344,
-0.1316605508327484,
-0.35598018765449524,
0.062094368040561676,
-0.4586586058139801,
-0.12408200651407242,
0.14426034688949585,
0.1717093139886856,
0.26102080941200256,
0.21272721886634827,
-0.22612759470939636,
-0.5414159297943115,
0.24128952622413635,
0.04030553996562958,
0.023880453780293465,
-0.29192739725112915,
-0.5915960669517517,
0.12534111738204956,
-0.20355309545993805,
-0.21750839054584503,
0.12477420270442963,
0.07060569524765015,
-0.2701050341129303,
0.1429547667503357,
-0.2614476680755615,
-0.28890493512153625,
0.14153139293193817,
-0.4437038004398346,
0.2632511854171753,
-0.2415955811738968,
-0.105438232421875,
0.1996428519487381,
0.14040832221508026,
-0.23191618919372559,
0.21622908115386963,
0.2609144151210785,
-0.1734914630651474,
-0.014067547395825386,
0.21078640222549438,
0.12907375395298004,
-0.36769890785217285,
0.06562025099992752,
0.15176676213741302,
0.2081337720155716,
-0.1174643486738205,
-0.017076315358281136,
0.06187574565410614,
-0.11518719047307968,
0.04761041700839996,
-0.4791375696659088,
0.8631474375724792,
0.04836656153202057,
0.40556126832962036,
0.03076983243227005,
-0.09471309930086136,
0.16829602420330048,
-0.13135406374931335,
-0.4411601126194,
-0.4517972469329834,
0.022407306358218193,
-0.12977594137191772,
0.3244473934173584,
-0.048136308789253235,
-0.4404686987400055,
0.04039856418967247,
0.37544748187065125,
-0.0665905550122261,
0.10683692991733551,
-0.035965293645858765,
-0.015875868499279022,
0.41671425104141235,
0.18970677256584167,
0.4448101818561554,
0.38768333196640015,
0.3436782956123352,
-0.19185689091682434,
-0.09348723292350769,
-0.1758311688899994,
0.02065543830394745,
0.17797207832336426,
0.08267591893672943,
-0.15294036269187927,
-0.05115696042776108,
0.13166780769824982,
0.009439803659915924,
-0.3825457990169525,
-0.24536843597888947,
0.1037905141711235,
-0.2218339890241623,
-0.33627352118492126,
-0.00709911435842514,
-0.10394894331693649,
-0.1925695836544037,
-0.190439373254776,
-0.42231130599975586,
-0.146153524518013,
-0.06695448607206345,
0.2642044425010681,
-0.31789931654930115,
-0.19157540798187256,
0.32985734939575195,
-0.1969032883644104,
0.2837175130844116,
-0.05124950408935547,
-0.7253996729850769,
0.09539653360843658,
-0.024114156141877174,
0.09295549988746643,
-0.012149415910243988,
-0.22485649585723877,
-0.17006762325763702,
0.49981430172920227,
-0.016003726050257683,
0.13141195476055145,
-0.1698043942451477,
-0.6717205047607422,
-0.0676538273692131,
-0.23468859493732452,
0.024961650371551514,
0.29948505759239197,
-0.16687287390232086,
-0.12962806224822998,
-0.20761293172836304,
0.28707441687583923,
0.17306147515773773,
-0.08709116280078888,
-0.27530014514923096,
0.028167130425572395,
-0.11209233850240707,
-0.23927085101604462,
-0.3698713183403015,
-0.1595621556043625,
-0.23445409536361694,
0.23632793128490448,
0.16109035909175873,
0.2554934620857239,
-0.022175487130880356,
-0.1338852494955063,
0.05595223605632782,
0.14403648674488068,
0.0058544715866446495,
-0.2290513813495636,
-0.10988058894872665,
0.4167483150959015,
-0.4332854449748993,
0.14413128793239594,
-0.16872496902942657,
-0.2919521927833557,
0.0854344516992569,
-0.08202804625034332,
0.12172269821166992,
-0.4521835744380951,
-0.1092749685049057,
0.3319486081600189,
0.07192973047494888,
0.10488186776638031,
0.32658472657203674,
0.36923113465309143,
-0.022049395367503166,
-0.1383684277534485,
-0.36418983340263367,
0.07082993537187576,
0.31471338868141174,
0.17643965780735016,
0.193741112947464,
0.5414766073226929,
-0.13104979693889618,
0.817883312702179,
0.1473550647497177,
-0.2775658071041107,
0.2606443464756012,
0.04992741346359253,
0.20392218232154846,
0.033150963485240936,
-0.2426365464925766,
-0.43658342957496643,
0.1202869713306427,
0.25570642948150635,
0.14312490820884705,
0.14390835165977478,
-0.15479648113250732,
0.12183727324008942,
0.3099110424518585,
-0.07147001475095749,
-0.16076385974884033,
0.012576592154800892,
0.18850715458393097,
0.16745314002037048,
-0.1896684765815735,
0.15727445483207703,
-0.5025141835212708,
-0.1400519609451294,
0.08820360898971558,
0.16790175437927246,
-0.19794192910194397,
-0.13859988749027252,
-0.27684396505355835,
-0.24379737675189972,
-0.2628280520439148,
0.3703596591949463,
0.32936733961105347,
-0.11482933163642883,
0.05853596702218056,
0.12288480252027512,
0.19636842608451843,
0.11850566416978836,
0.565841794013977,
-0.3620700538158417,
-0.28408920764923096,
0.15034033358097076,
0.005059432238340378,
-0.25978389382362366,
0.24666647613048553,
0.0075604915618896484,
0.08758699893951416,
-0.0713796317577362,
0.3976115584373474,
-0.38426434993743896,
-0.3231084644794464,
0.35853061079978943,
-0.10657357424497604,
-0.21139109134674072,
-0.3775026202201843,
0.0010325461626052856,
-0.12288744002580643,
-0.01140515599399805,
0.15490803122520447,
0.2738304138183594,
0.18436922132968903,
0.05467703193426132,
-0.12636417150497437,
-0.023562269285321236,
-0.18112313747406006,
0.2562798857688904,
-0.04090963304042816,
0.06735533475875854,
0.49461260437965393,
0.2485383152961731,
0.16400179266929626,
0.05060490965843201,
0.1716303676366806,
0.6065285801887512,
-0.35194963216781616,
-0.5332885980606079,
-0.3332338333129883,
-0.15969112515449524,
0.3754942715167999,
0.31617647409439087,
0.06313024461269379,
0.28855234384536743,
-0.02205776423215866,
-0.01783198118209839,
-0.21039211750030518,
-0.19403624534606934,
0.2570596933364868,
-0.12419208139181137,
-0.4752032160758972,
-0.41925981640815735,
0.814322292804718,
0.09494675695896149,
-0.2723510265350342,
0.4104841947555542,
0.5151715874671936,
-0.6999377608299255,
0.26572954654693604,
0.19223526120185852,
0.8076398372650146,
-0.043545886874198914,
0.21664811670780182,
-0.10264534503221512,
-0.2605631351470947,
0.4591659903526306,
0.476365864276886,
0.2953580617904663,
-0.3208663761615753,
-0.19672740995883942,
-0.03818787634372711,
0.04790438339114189,
0.20963627099990845,
0.31270062923431396,
-0.11788670718669891,
0.35585519671440125,
-0.13968932628631592,
-0.015166770666837692,
-0.2214435487985611,
0.2238803207874298,
-0.027403416112065315,
-0.5046265721321106,
-0.30175164341926575,
0.0790262296795845,
0.23187504708766937,
-0.08661772310733795,
-0.07724205404520035,
-0.11557790637016296,
0.03601447865366936,
-0.18852496147155762,
0.0413040816783905,
-0.2777724862098694,
-0.18134064972400665,
0.027381911873817444,
0.1013801246881485,
-0.11119186878204346,
0.3974643349647522,
0.2376336008310318,
0.22753426432609558,
0.10860201716423035,
-0.11887618899345398,
0.24088487029075623,
0.07551896572113037,
0.32686129212379456,
-0.20833884179592133,
-0.013035413809120655,
0.31069666147232056,
0.23331281542778015,
0.18967559933662415,
-0.03701964020729065,
0.19754044711589813,
-0.5316169261932373,
-0.3184775114059448,
-0.1673814207315445,
0.2976263761520386,
-0.3919343650341034,
0.07671226561069489,
-0.14584223926067352,
-0.102507084608078,
-0.19308847188949585,
0.09352642297744751,
-0.029552415013313293,
-0.0780201256275177,
0.058567021042108536,
-0.06519250571727753,
-0.034834519028663635,
-0.06042717769742012,
0.3494132161140442,
0.12884393334388733,
0.04809325188398361,
0.42406725883483887,
-0.11018173396587372,
-0.09822839498519897,
-0.1512961983680725,
0.0528213232755661,
0.3314337134361267,
-0.41157299280166626,
0.26011475920677185,
0.5096983313560486,
0.08362545073032379,
0.15432459115982056,
0.12253476679325104,
0.2107926309108734,
0.1814751923084259,
-0.07387451827526093,
0.22367984056472778,
-0.27320852875709534,
0.16205354034900665,
0.3623107969760895,
0.543969452381134,
-0.24750524759292603,
-0.030367378145456314,
-0.21630950272083282,
0.0022228434681892395,
-0.2930590808391571,
0.13504692912101746,
-0.045926421880722046,
0.07790637016296387,
0.3408798575401306,
0.4686256945133209,
0.1594371795654297,
0.15901990234851837,
0.12807227671146393,
-0.07846985012292862,
-0.1273026466369629,
-0.15719866752624512,
-0.27594149112701416,
0.12326546013355255,
0.15722161531448364,
0.3227648138999939,
-0.14190265536308289,
-0.30693697929382324,
-0.031696636229753494,
-0.2432241439819336,
0.15255092084407806,
0.2242453694343567,
0.03508298099040985,
0.26241546869277954,
0.08291757106781006,
0.14542049169540405,
0.03808847814798355,
0.1452261060476303,
-0.0325770229101181,
0.06034042686223984,
0.13259713351726532,
0.008637335151433945,
-0.3284144997596741,
0.086027130484581,
0.1578465849161148,
0.1782963126897812,
0.06044992804527283,
-0.34261712431907654,
0.12840670347213745,
-0.24629516899585724,
-0.12121552228927612,
0.533488392829895,
0.12669099867343903,
0.14722609519958496,
-0.18509535491466522,
-0.2004210650920868,
0.3222845494747162,
0.15077432990074158,
-0.19149065017700195,
-0.14500641822814941,
0.13872691988945007,
0.07234510034322739,
0.21922826766967773,
0.4213688373565674,
0.03133247420191765,
0.12340271472930908,
0.20022450387477875,
-0.2787536680698395,
0.24349245429039001,
-0.12170472741127014,
0.4035918712615967,
0.24051699042320251,
0.0675162672996521,
-0.049730706959962845,
0.541353166103363,
0.23443253338336945,
0.2593272626399994,
0.095394566655159,
-0.12652751803398132,
0.2397661954164505,
0.11108151823282242,
0.11758960783481598,
0.14942245185375214,
0.20317761600017548,
0.2169349044561386,
0.12370487302541733,
0.15358304977416992,
0.42403659224510193,
0.23875702917575836,
0.26508742570877075,
-0.4004441499710083,
-0.19299183785915375,
-0.19069716334342957,
0.09196843951940536,
-0.005867458879947662,
-0.34190812706947327,
-0.17250117659568787,
-0.08467553555965424,
0.06912945210933685,
-0.2123410403728485,
-0.2062603235244751,
-0.4833948612213135,
0.234795942902565,
-0.14192892611026764,
0.32209426164627075,
-0.5453603267669678,
-0.2271679937839508,
-0.008690986782312393,
0.5639973282814026,
-0.03594135865569115,
0.10830631107091904,
0.027061372995376587,
0.020235616713762283,
0.34428468346595764,
-0.1548267900943756,
-0.13946428894996643,
0.03574487566947937,
-0.008967490866780281,
-0.07037526369094849,
-0.015412956476211548,
0.011126285418868065,
0.17529045045375824,
0.056765131652355194,
-0.2153337597846985,
-0.26708662509918213,
0.15809503197669983,
0.10625091195106506,
-0.2018490582704544,
-0.07119207084178925,
0.06674041599035263,
0.4466891288757324,
-0.2264135181903839,
0.5022766590118408,
-0.11849765479564667,
-0.13933202624320984,
-0.06860383599996567,
-0.06643862277269363,
-0.07718472182750702,
-0.12345786392688751,
0.04421485587954521,
-0.08302441984415054,
-0.15079829096794128,
0.05709955841302872,
0.06495427340269089,
-0.011081419885158539,
0.1407163143157959,
0.09265027195215225,
-0.21855714917182922,
-0.18628039956092834,
-0.007482253015041351,
-0.21423090994358063,
0.026764944195747375,
0.15223544836044312,
-0.1578134000301361,
0.11323127895593643,
0.0951978862285614,
0.19988010823726654,
-0.21262799203395844,
0.129304900765419,
-0.5245034694671631,
0.06114833056926727,
0.17930381000041962,
-0.14840924739837646,
0.05456957966089249,
0.1338532269001007,
0.07940775901079178,
0.08560172468423843,
-0.14878883957862854,
-0.26100632548332214,
0.05104110389947891,
-0.16579614579677582,
-0.29484879970550537,
0.44542568922042847,
-0.0427853949368,
-0.21890544891357422,
0.3568893373012543,
-0.16303977370262146,
0.3237386643886566,
0.1251823902130127,
-0.0700489729642868,
0.3438671827316284,
-0.19172054529190063,
-0.28675681352615356,
0.41246360540390015,
0.06924396008253098,
0.40435656905174255,
0.02997286058962345,
-0.33454829454421997,
-0.019701659679412842,
0.0696970671415329,
0.055769048631191254,
0.07156087458133698,
-0.1567438244819641,
0.4436010420322418,
-0.21169230341911316,
-0.20377877354621887,
-0.06277615576982498,
0.10939591377973557,
0.16535615921020508,
0.28062859177589417,
0.17972661554813385,
-0.5023598074913025,
0.39721620082855225,
-0.5298249125480652,
-0.18267852067947388,
0.23851610720157623,
0.27486130595207214,
0.12422154098749161,
0.08442089706659317,
-0.24957820773124695,
0.02910543978214264,
0.4088211953639984,
-0.06685775518417358,
-0.1432216465473175,
0.34021618962287903,
-0.061568040400743484,
-0.07596487551927567,
-0.1593262255191803,
0.06467285007238388,
0.06682918965816498,
0.10030505061149597,
-0.22799769043922424,
-0.3212224841117859
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.